{"info":{"_postman_id":"5622074d-070d-4573-bb2e-12d609601e4e","name":"PayDock  API","description":"<html><head></head><body><p>This is a quick start guide on how to navigate the PayDock API</p>\n<p><strong>Note:</strong> The field will be disregarded if it is marked as optional and the format provided is incorrect. However, a validation error will be displayed if the field is marked as mandatory and the format provided is incorrect.</p>\n<p>\"+\" - means required <em>(for all flows)</em><br>\"-\" - means not required <em>(for any flow)</em><br>For instance, in _POST Create Charge flow:__<strong>+6 means that the field is required for flow number 6</strong>_<em>-6 means that the field is not required for flow number 6</em></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"6912944","collectionId":"5622074d-070d-4573-bb2e-12d609601e4e","publishedId":"Uyr5my5q","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-04-15T14:31:30.000Z"},"item":[{"name":"charges","item":[{"name":"search","id":"31dedd72-ab4a-4f41-9567-d4a4adea39fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/charges","description":"<p>Returns all charges.</p>\n<h2 id=\"request-query-params\">Request query params</h2>\n<p><strong>Pagination</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required [flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>skip</td>\n<td>-</td>\n<td>number</td>\n<td>A pagination parameter to skip first <em>N</em> transactions from the list, default = 0</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>-</td>\n<td>number</td>\n<td>A pagination parameter to limit output to <em>N</em> , default = 100, maximum value = 1000</td>\n</tr>\n<tr>\n<td>sortkey</td>\n<td>-</td>\n<td>string</td>\n<td>A sorting key parameter, i.e. created_at</td>\n</tr>\n<tr>\n<td>sortdirection</td>\n<td>-</td>\n<td>string</td>\n<td>A sorting order direction parameter <em>ASC</em> or <em>DESC</em> (<em>DESC</em> by default)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Filters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required [flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>subscription_id</td>\n<td>-</td>\n<td>string (24 hex characters)</td>\n<td>To fetch only those charges which are related to a particular subscription</td>\n</tr>\n<tr>\n<td>gateway_id</td>\n<td>-</td>\n<td>string (24 hex characters)</td>\n<td>To fetch only those charges which are created with a particular gateway</td>\n</tr>\n<tr>\n<td>company_id</td>\n<td>-</td>\n<td>string (24 hex characters)</td>\n<td>To fetch charges created within a particular company</td>\n</tr>\n<tr>\n<td>status</td>\n<td>-</td>\n<td>string[,string]</td>\n<td>To fetch only those charges which have a particular status. See <em>Status table</em>. It can be one or several statuses, separated by commas.</td>\n</tr>\n<tr>\n<td>gateway_type</td>\n<td>-</td>\n<td>string[,string]</td>\n<td>To fetch only those charges which have a particular gateway type. See <em>Gateway types</em> table. It can be one or several gateway types, separated by commas.</td>\n</tr>\n<tr>\n<td>archived</td>\n<td>-</td>\n<td>bool</td>\n<td>To fetch only archived charges. If set to true, it will show all the archived charges. Default: <em>false</em></td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>To fetch only those charges which have a particular reference. transaction_external_id can also be used to search by reference</td>\n</tr>\n<tr>\n<td>one_off</td>\n<td>-</td>\n<td>bool</td>\n<td>To fetch only one-off charges. If set to true, it will show charges without a subscription only. If set to false, it will show charges created by subscriptions only</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>-</td>\n<td>string</td>\n<td>To fetch charges with a particular amount only</td>\n</tr>\n<tr>\n<td>card_number_last4</td>\n<td>-</td>\n<td>string</td>\n<td>To fetch charges with particular last 4 digits in the payment source card number</td>\n</tr>\n<tr>\n<td>transaction_type</td>\n<td>-</td>\n<td>string[,string]</td>\n<td>To fetch transactions with a particular status. See <em>Transaction types table</em></td>\n</tr>\n<tr>\n<td>only_matched_transactions</td>\n<td>-</td>\n<td>bool</td>\n<td>If set to true, it will filter transactions by the transaction_type. Default: <em>false</em></td>\n</tr>\n<tr>\n<td>authorization</td>\n<td>-</td>\n<td>bool</td>\n<td>If set to true, it will filter charges followed authorization flow. If set to false, it will filter charges followed capture flow</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Other</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required [flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>created_at.from</td>\n<td>-</td>\n<td>string</td>\n<td>A parameter to set a charge creation date range (from)</td>\n</tr>\n<tr>\n<td>created_at.to</td>\n<td>-</td>\n<td>string</td>\n<td>A parameter to set a charge creation date range (to)</td>\n</tr>\n<tr>\n<td>updated_at.from</td>\n<td>-</td>\n<td>string (ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>A parameter to set a charge update date range (from)</td>\n</tr>\n<tr>\n<td>updated_at.to</td>\n<td>-</td>\n<td>string (ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>A parameter to set charge update date range (to)</td>\n</tr>\n<tr>\n<td>range.key</td>\n<td>-</td>\n<td>string</td>\n<td>Key which is used for date range filtering. Available values: <code>created_at</code>, <code>updated_at</code>, <code>transactions.remittance_date</code></td>\n</tr>\n<tr>\n<td>range.from</td>\n<td>-</td>\n<td>(ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>A parameter to set a charge range (from). Based on <code>range.key</code> param</td>\n</tr>\n<tr>\n<td>range.to</td>\n<td>-</td>\n<td>(ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>A parameter to set a charge range (to). Based on <code>range.key</code> param</td>\n</tr>\n<tr>\n<td>search</td>\n<td>-</td>\n<td>string</td>\n<td>Initiates a search by a word or phrase (search works by fields: First, Last names and Emails)</td>\n</tr>\n<tr>\n<td>select</td>\n<td>-</td>\n<td>string[,string]</td>\n<td>Choose what fields from charge will be returned in the search result</td>\n</tr>\n<tr>\n<td>view_mode</td>\n<td>-</td>\n<td>string</td>\n<td>Used for charge decomposition.  <br />Available values: <code>charge</code>, <code>transaction</code>.</td>\n</tr>\n<tr>\n<td>expand</td>\n<td>-</td>\n<td>array(value,value,...)</td>\n<td><code>current_subscription_details</code> Displays detailed information from the subscription history. This parameter returns a ‘snapshot’ of the Subscription at the point of time when the Charge request was triggered. <code>subscription</code> Displays ‘live’ information from the Subscription service at the time of the API request. <code>possible_fields</code> Extends the meta with information about possible charge fields in the response. <code>possible_transaction_fields</code> Extends the meta with information about possible charge transaction fields in the response. <code>possible_custom_transaction_fields</code> Extends the meta with information about possible charge transaction custom fields in the response  <br /><code>query_token</code> Extend the query token used for generating reports(<code>view_mode</code> and <code>select</code> params required for generating it)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","charges"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"43763b06-8098-4aac-af38-dccafed0be5b","name":"search with filters","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/charges?customer_id=5e4bfbd86d244b438451fbd7","host":["{{url}}"],"path":["v1","charges"],"query":[{"key":"customer_id","value":"5e4bfbd86d244b438451fbd7"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 21 May 2020 14:33:28 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2162"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-info-limit","value":"2"},{"key":"x-info-skip","value":"0"},{"key":"x-info-sort-key","value":"created_at"},{"key":"x-info-sort-direction","value":"DESC"},{"key":"x-info-count","value":"4"},{"key":"etag","value":"W/\"872-2+aAQVFVJoo94Eq2y4buQktatmo\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charges\",\n        \"data\": [\n            {\n                \"_id\": \"5ec63451b12c99579e46ee31\",\n                \"created_at\": \"2020-05-21T07:57:05.911Z\",\n                \"updated_at\": \"2020-05-21T07:57:06.565Z\",\n                \"amount\": 10,\n                \"currency\": \"AUD\",\n                \"_source_ip_address\": \"192.168.0.1\",\n                \"transactions\": [\n                    {\n                        \"created_at\": \"2020-05-21T07:57:05.909Z\",\n                        \"amount\": 10,\n                        \"currency\": \"AUD\",\n                        \"_id\": \"5ec63451b12c99579e46ee32\",\n                        \"error_code\": null,\n                        \"error_message\": null,\n                        \"gateway_specific_description\": null,\n                        \"gateway_specific_code\": null,\n                        \"_source_ip_address\": \"192.168.0.1\",\n                        \"status\": \"complete\",\n                        \"type\": \"sale\"\n                    }\n                ],\n                \"one_off\": true,\n                \"archived\": false,\n                \"customer\": {\n                    \"customer_id\": \"5e4bfbd86d244b438451fbd7\",\n                    \"first_name\": \"Wanda\",\n                    \"last_name\": \"Mertz\",\n                    \"company_name\": \"Hahn Mertz LLC\",\n                    \"payment_source\": {\n                        \"source_id\": \"5e4bfbc96d244b438451fbd6\",\n                        \"type\": \"card\",\n                        \"card_name\": \"Wanda Mertz\",\n                        \"card_number_last4\": \"4242\",\n                        \"card_number_bin\": \"42424242\",\n                        \"card_scheme\": \"visa\",\n                        \"expire_month\": 12,\n                        \"expire_year\": 2020,\n                        \"address_country\": \"AU\",\n                        \"gateway_id\": \"5cbede1f151b842653e987be\"\n                    }\n                },\n                \"capture\": true,\n                \"status\": \"complete\",\n                \"items\": [],\n                \"transfer\": {\n                    \"items\": []\n                },\n                \"external_id\": \"ch_0Gl9H4jQKtR4Rpd2kZBVPd2l\"\n            },\n            {\n                \"_id\": \"5ec63445b12c99579e46ee27\",\n                \"created_at\": \"2020-05-21T07:56:53.298Z\",\n                \"updated_at\": \"2020-05-21T07:56:53.841Z\",\n                \"amount\": 10,\n                \"currency\": \"AUD\",\n                \"_source_ip_address\": \"192.168.0.1\",\n                \"transactions\": [\n                    {\n                        \"created_at\": \"2020-05-21T07:56:53.291Z\",\n                        \"amount\": 10,\n                        \"currency\": \"AUD\",\n                        \"_id\": \"5ec63445b12c99579e46ee28\",\n                        \"error_code\": null,\n                        \"error_message\": null,\n                        \"gateway_specific_description\": null,\n                        \"gateway_specific_code\": null,\n                        \"_source_ip_address\": \"192.168.0.1\",\n                        \"status\": \"pending\",\n                        \"type\": \"sale\",\n                        \"pended_at\": \"2020-05-22T07:56:53.840Z\"\n                    }\n                ],\n                \"one_off\": true,\n                \"archived\": false,\n                \"customer\": {\n                    \"customer_id\": \"5e4bfbd86d244b438451fbd7\",\n                    \"first_name\": \"Wanda\",\n                    \"last_name\": \"Mertz\",\n                    \"company_name\": \"Hahn Mertz LLC\",\n                    \"payment_source\": {\n                        \"source_id\": \"5e4bfbc96d244b438451fbd6\",\n                        \"type\": \"card\",\n                        \"card_name\": \"Wanda Mertz\",\n                        \"card_number_last4\": \"4242\",\n                        \"card_number_bin\": \"42424242\",\n                        \"card_scheme\": \"visa\",\n                        \"expire_month\": 12,\n                        \"expire_year\": 2020,\n                        \"address_country\": \"AU\",\n                        \"gateway_id\": \"5cbede1f151b842653e987be\"\n                    }\n                },\n                \"capture\": true,\n                \"status\": \"pending\",\n                \"items\": [],\n                \"transfer\": {\n                    \"items\": []\n                },\n                \"external_id\": \"ch_0Gl9GrjQKtR4Rpd2pRu8np3P\"\n            }\n        ],\n        \"skip\": 0,\n        \"limit\": 2,\n        \"sortkey\": \"created_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 4\n    }\n}"},{"id":"143e2bbd-fddc-4ea5-8604-f361aa18eede","name":"search with expand","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/charges?expand=subscription,current_subscription_details","host":["{{url}}"],"path":["v1","charges"],"query":[{"key":"expand","value":"subscription,current_subscription_details"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 22 May 2020 14:48:50 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1090"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-info-limit","value":"1"},{"key":"x-info-skip","value":"0"},{"key":"x-info-sort-key","value":"created_at"},{"key":"x-info-sort-direction","value":"DESC"},{"key":"x-info-count","value":"1"},{"key":"etag","value":"W/\"442-h7hly/GbeF7vmk9oiNvn0Q8BnEA\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charges\",\n        \"data\": [\n            {\n                \"_id\": \"5ec7b21cb12c99579e46f270\",\n                \"created_at\": \"2020-05-22T11:06:04.900Z\",\n                \"updated_at\": \"2020-05-22T11:06:06.000Z\",\n                \"amount\": 1,\n                \"currency\": \"AUD\",\n                \"subscription_id\": \"5ec7b20ab12c99579e46f26b\",\n                \"_source_ip_address\": \"127.0.0.1\",\n                \"transactions\": [\n                    {\n                        \"created_at\": \"2020-05-22T11:06:04.894Z\",\n                        \"amount\": 1,\n                        \"currency\": \"AUD\",\n                        \"_id\": \"5ec7b21cb12c99579e46f271\",\n                        \"error_code\": null,\n                        \"error_message\": null,\n                        \"gateway_specific_description\": null,\n                        \"gateway_specific_code\": null,\n                        \"_source_ip_address\": \"127.0.0.1\",\n                        \"status\": \"complete\",\n                        \"type\": \"sale\"\n                    }\n                ],\n                \"one_off\": false,\n                \"archived\": false,\n                \"customer\": {\n                    \"customer_id\": \"5ec7b209b12c99579e46f268\",\n                    \"email\": \"wanda.mertz@example.com\",\n                    \"payment_source\": {\n                        \"type\": \"card\",\n                        \"card_name\": \"Wanda Mertz\",\n                        \"card_number_last4\": \"4242\",\n                        \"card_number_bin\": \"42424242\",\n                        \"card_scheme\": \"visa\",\n                        \"expire_month\": 3,\n                        \"expire_year\": 2020,\n                        \"address_country\": \"AU\",\n                        \"gateway_id\": \"5cffefaa18b6546015794998\"\n                    }\n                },\n                \"capture\": true,\n                \"status\": \"complete\",\n                \"items\": [],\n                \"transfer\": {\n                    \"items\": []\n                },\n                \"external_id\": \"b7vyt6xm\",\n                \"subscription\": {\n\t                \"created_at\": \"2020-05-22T11:05:46.160Z\",\n\t                \"updated_at\": \"2020-05-22T11:06:06.039Z\",\n\t                \"status\": \"active\",\n\t                \"statistics\": {\n\t                    \"total_collected_amount\": 1,\n\t                    \"successful_transactions\": 1\n\t                },\n\t                \"schedule\": {\n\t                    \"interval\": \"day\",\n\t                    \"start_date\": \"2020-05-22T11:05:45.440Z\",\n\t                    \"end_transactions\": 2,\n\t                    \"next_assessment\": \"2020-05-23T11:05:45.440Z\",\n\t                    \"next_assessment_planned\": \"2020-05-23T11:05:45.440Z\",\n\t                    \"last_assessment_planned\": \"2020-05-22T11:05:45.440Z\",\n\t                    \"first_assessment\": \"2020-05-22T11:05:45.440Z\",\n\t                    \"last_assessment\": \"2020-05-22T11:06:06.025Z\",\n\t                    \"completed_count\": 1,\n\t                    \"held_count\": 0,\n\t                    \"retry_count\": 0,\n\t                    \"frequency\": 1,\n\t                    \"status\": \"complete\"\n\t                }\n                }\n            }\n        ],\n        \"skip\": 0,\n        \"limit\": 100,\n        \"sortkey\": \"created_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 1\n    }\n}"},{"id":"5fb1907d-837a-469c-8917-2911d1fdfbc3","name":"search by phrase","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/charges?search=Wanda","host":["{{url}}"],"path":["v1","charges"],"query":[{"key":"search","value":"Wanda"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 21 May 2020 14:39:26 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1049"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-info-limit","value":"100"},{"key":"x-info-skip","value":"0"},{"key":"x-info-sort-key","value":"created_at"},{"key":"x-info-sort-direction","value":"DESC"},{"key":"x-info-count","value":"1"},{"key":"etag","value":"W/\"419-GTaNC0tX/cSU+NnmCBh7HoFz8h8\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charges\",\n        \"data\": [\n            {\n                \"_id\": \"5ec69295b12c99579e46ee58\",\n                \"created_at\": \"2020-05-21T14:39:17.056Z\",\n                \"updated_at\": \"2020-05-21T14:39:17.783Z\",\n                \"amount\": 10,\n                \"currency\": \"AUD\",\n                \"_source_ip_address\": \"192.168.0.1\",\n                \"transactions\": [\n                    {\n                        \"created_at\": \"2020-05-21T14:39:17.054Z\",\n                        \"amount\": 10,\n                        \"currency\": \"AUD\",\n                        \"_id\": \"5ec69295b12c99579e46ee59\",\n                        \"error_code\": null,\n                        \"error_message\": null,\n                        \"gateway_specific_description\": null,\n                        \"gateway_specific_code\": null,\n                        \"_source_ip_address\": \"192.168.0.1\",\n                        \"status\": \"complete\",\n                        \"type\": \"sale\"\n                    }\n                ],\n                \"one_off\": true,\n                \"archived\": false,\n                \"customer\": {\n                    \"first_name\": \"Wanda\",\n                    \"last_name\": \"Mertz\",\n                    \"payment_source\": {\n                        \"card_name\": \"Wanda Mertz\",\n                        \"card_number_last4\": \"4242\",\n                        \"card_number_bin\": \"42424242\",\n                        \"expire_month\": 9,\n                        \"expire_year\": 21,\n                        \"gateway_id\": \"5cbede1f151b842653e987be\",\n                        \"card_scheme\": \"visa\",\n                        \"gateway_name\": \"Stripe 1\",\n                        \"gateway_type\": \"Stripe\"\n                    }\n                },\n                \"capture\": true,\n                \"status\": \"complete\",\n                \"items\": [],\n                \"transfer\": {\n                    \"items\": []\n                },\n                \"external_id\": \"ch_0GlFYHjQKtR4Rpd2Vtykp0x2\"\n            }\n        ],\n        \"skip\": 0,\n        \"limit\": 100,\n        \"sortkey\": \"created_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 1\n    }\n}"},{"id":"b11e3ca6-bf52-4cc2-94af-a4fa8e467d7b","name":"search with pagination and sorts","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/charges?limit=2&skip=1&sortkey=updated_at&sortdirection=DESC","host":["{{url}}"],"path":["v1","charges"],"query":[{"key":"limit","value":"2"},{"key":"skip","value":"1"},{"key":"sortkey","value":"updated_at"},{"key":"sortdirection","value":"DESC"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 21 May 2020 14:29:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2163"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-info-limit","value":"2"},{"key":"x-info-skip","value":"1"},{"key":"x-info-sort-key","value":"updated_at"},{"key":"x-info-sort-direction","value":"DESC"},{"key":"x-info-count","value":"19"},{"key":"etag","value":"W/\"873-2n8rca7tWEniayvsaGdhSjGTSD0\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charges\",\n        \"data\": [\n            {\n                \"_id\": \"5ec63451b12c99579e46ee31\",\n                \"created_at\": \"2020-05-21T07:57:05.911Z\",\n                \"updated_at\": \"2020-05-21T07:57:06.565Z\",\n                \"amount\": 10,\n                \"currency\": \"AUD\",\n                \"_source_ip_address\": \"192.168.0.1\",\n                \"transactions\": [\n                    {\n                        \"created_at\": \"2020-05-21T07:57:05.909Z\",\n                        \"amount\": 10,\n                        \"currency\": \"AUD\",\n                        \"_id\": \"5ec63451b12c99579e46ee32\",\n                        \"error_code\": null,\n                        \"error_message\": null,\n                        \"gateway_specific_description\": null,\n                        \"gateway_specific_code\": null,\n                        \"_source_ip_address\": \"192.168.0.1\",\n                        \"status\": \"complete\",\n                        \"type\": \"sale\"\n                    }\n                ],\n                \"one_off\": true,\n                \"archived\": false,\n                \"customer\": {\n                    \"customer_id\": \"5e4bfbd86d244b438451fbd7\",\n                    \"first_name\": \"Wanda\",\n                    \"last_name\": \"Mertz\",\n                    \"company_name\": \"Hahn Mertz LLC\",\n                    \"payment_source\": {\n                        \"source_id\": \"5e4bfbc96d244b438451fbd6\",\n                        \"type\": \"card\",\n                        \"card_name\": \"Wanda Mertz\",\n                        \"card_number_last4\": \"4242\",\n                        \"card_number_bin\": \"42424242\",\n                        \"card_scheme\": \"visa\",\n                        \"expire_month\": 12,\n                        \"expire_year\": 2020,\n                        \"address_country\": \"AU\",\n                        \"gateway_id\": \"5cbede1f151b842653e987be\"\n                    }\n                },\n                \"capture\": true,\n                \"status\": \"complete\",\n                \"items\": [],\n                \"transfer\": {\n                    \"items\": []\n                },\n                \"external_id\": \"ch_0Gl9H4jQKtR4Rpd2kZBVPd2l\"\n            },\n            {\n                \"_id\": \"5ec63445b12c99579e46ee27\",\n                \"created_at\": \"2020-05-21T07:56:53.298Z\",\n                \"updated_at\": \"2020-05-21T07:56:53.841Z\",\n                \"amount\": 10,\n                \"currency\": \"AUD\",\n                \"_source_ip_address\": \"192.168.0.1\",\n                \"transactions\": [\n                    {\n                        \"created_at\": \"2020-05-21T07:56:53.291Z\",\n                        \"amount\": 10,\n                        \"currency\": \"AUD\",\n                        \"_id\": \"5ec63445b12c99579e46ee28\",\n                        \"error_code\": null,\n                        \"error_message\": null,\n                        \"gateway_specific_description\": null,\n                        \"gateway_specific_code\": null,\n                        \"_source_ip_address\": \"192.168.0.1\",\n                        \"status\": \"pending\",\n                        \"type\": \"sale\",\n                        \"pended_at\": \"2020-05-22T07:56:53.840Z\"\n                    }\n                ],\n                \"one_off\": true,\n                \"archived\": false,\n                \"customer\": {\n                    \"customer_id\": \"5e4bfbd86d244b438451fbd7\",\n                    \"first_name\": \"Wanda\",\n                    \"last_name\": \"Mertz\",\n                    \"company_name\": \"Hahn Mertz LLC\",\n                    \"payment_source\": {\n                        \"source_id\": \"5e4bfbc96d244b438451fbd6\",\n                        \"type\": \"card\",\n                        \"card_name\": \"Wanda Mertz\",\n                        \"card_number_last4\": \"4242\",\n                        \"card_number_bin\": \"42424242\",\n                        \"card_scheme\": \"visa\",\n                        \"expire_month\": 12,\n                        \"expire_year\": 2020,\n                        \"address_country\": \"AU\",\n                        \"gateway_id\": \"5cbede1f151b842653e987be\"\n                    }\n                },\n                \"capture\": true,\n                \"status\": \"pending\",\n                \"items\": [],\n                \"transfer\": {\n                    \"items\": []\n                },\n                \"external_id\": \"ch_0Gl9GrjQKtR4Rpd2pRu8np3P\"\n            }\n        ],\n        \"skip\": 1,\n        \"limit\": 2,\n        \"sortkey\": \"updated_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 19\n    }\n}"}],"_postman_id":"31dedd72-ab4a-4f41-9567-d4a4adea39fd"},{"name":"create","id":"221e2cfe-1471-48e4-9c9b-72fe5fa86a65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"10.00\",\n    \"currency\": \"AUD\",\n    \"customer_id\":\"5e4bfbd86d244b438451fbd7\",\n    \"payment_source_id\": \"5e4bfbc96d244b438451fbd6\"\n}"},"url":"{{url}}/v1/charges","description":"<p>A Charge is a one-time payment that can be requested against any connected processing service.</p>\n<p>Charges can be initatied through of the following payment instruments in Paydock. Charges can have different states (i.e. when used within a 3DS or anti-fraud workflow) and can be manipulated based on the various states.</p>\n<h2 id=\"flow\">Flow</h2>\n<p>You can create a charge using:</p>\n<ol>\n<li><p>One-time token</p>\n</li>\n<li><p>An existing customer (with default or non-default payment source)</p>\n</li>\n<li><p>Direct with credit card</p>\n</li>\n<li><p>Direct with bank account</p>\n</li>\n<li><p>Transfer, using any of the payment options (e.g for stripe connect)</p>\n</li>\n<li><p>Authorisation of a one time charge (all authorised payments can be captured or cancelled in future.)</p>\n</li>\n<li><p>With pre-auth (3ds) charge id</p>\n</li>\n<li><p>Fraud</p>\n</li>\n<li><p>Direct with vault token (permanent or session)</p>\n</li>\n<li><p>Direct with vault token reference (permanent or session)</p>\n</li>\n<li><p>An existing customer (with vault token payment source)</p>\n</li>\n<li><p>3DS is performed within the charge flow</p>\n</li>\n</ol>\n<p>For a one time charge, payments are made using a one-time token, credit card or direct debit. Otherwise if you are making a payment for an existing customer, it’s simpler to store the payment source with the customer and make a payment using the customer ID.</p>\n<p>You can also use Stripe Connect through PayDock. You can support this by sending through requests inside the Transfer object, or by sending through meta parameters. Paydock fully supports all aspects of Stripe Connect, including Direct Charges, Destination Charges and Charges and Transfers.</p>\n<p><strong>Network Tokens Support</strong>: For flows 9, 10, and 11, if the Vault token has an active Network Token, it will be used during payment processing. If the Network Token can't be used, the charge will be processed with card details. Network Tokens are supported only for permanent Vault.</p>\n<h2 id=\"request-query-params\">Request query params</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>capture</td>\n<td>+6</td>\n<td>bool</td>\n<td>Automatically capturing or just authorize. By default <em>true</em></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>+</td>\n<td>float</td>\n<td>Amount of payment</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>+</td>\n<td>string (iso4217 alpha-3)</td>\n<td>Currency code</td>\n</tr>\n<tr>\n<td>bulk_reference</td>\n<td>-</td>\n<td>string (exclude Mongo DB ObjectID format)</td>\n<td>Identifier of a bulk with charges</td>\n</tr>\n<tr>\n<td>description</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined description for payments in payment systems</td>\n</tr>\n<tr>\n<td>descriptor</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined descriptor for payments in payment systems</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined reference for customer in payment systems</td>\n</tr>\n<tr>\n<td>reference2</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined reference for customer in payment systems.  <br />It only exists for certain gateways.</td>\n</tr>\n<tr>\n<td>reference3</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined reference for customer in payment systems.  <br />It only exists for certain gateways.</td>\n</tr>\n<tr>\n<td>amount_surcharge</td>\n<td>-</td>\n<td>float</td>\n<td>An additional amount added to the original amount of a good or service</td>\n</tr>\n<tr>\n<td>amount_original</td>\n<td>-</td>\n<td>float</td>\n<td>Total payment amount without surcharge</td>\n</tr>\n<tr>\n<td>initialization_source</td>\n<td>-</td>\n<td>string</td>\n<td>The mechanism the cardholder used to accept the transaction</td>\n</tr>\n<tr>\n<td>fraud_charge_id</td>\n<td>-</td>\n<td>string (24 hex characters)</td>\n<td>The fraud charge ID you want to attach</td>\n</tr>\n<tr>\n<td>_3ds_charge_id</td>\n<td>-</td>\n<td>string (UUID)</td>\n<td>The standalone 3ds charge \"_3ds.id\" you want to attach. You can find this value when initializing a Standalone 3ds charge.</td>\n</tr>\n<tr>\n<td>bypass_3ds</td>\n<td>-1</td>\n<td>boolean</td>\n<td>A flag to skip 3DS for gateways which are configured at Paydock to be 3DS required</td>\n</tr>\n<tr>\n<td>token</td>\n<td>+1</td>\n<td>string(UUID)</td>\n<td>One-time token with all the payment source information</td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>+2, +11</td>\n<td>string (24 hex characters)</td>\n<td>Existing customer ID</td>\n</tr>\n<tr>\n<td>payment_source_id</td>\n<td>-2</td>\n<td>string (24 hex characters)</td>\n<td>Payment source ID for creating charge with non-default payment source</td>\n</tr>\n<tr>\n<td>channel_id</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>Channel identifier</td>\n</tr>\n<tr>\n<td>wallet_id</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>Wallet identifier</td>\n</tr>\n<tr>\n<td>enable_rejection_rules</td>\n<td>-</td>\n<td>boolean</td>\n<td>Enables reject rules check before payment. By default <em>false</em></td>\n</tr>\n<tr>\n<td>card_acceptor</td>\n<td>-1, -3, -7, -9, -10, -11</td>\n<td>object</td>\n<td>Contact information identifying the location from which the money transfer originates</td>\n</tr>\n<tr>\n<td>card_acceptor.address_city</td>\n<td>-1, -3, -7, -9, -10, -11</td>\n<td>string</td>\n<td>Card acceptor address city</td>\n</tr>\n<tr>\n<td>card_acceptor.address_company</td>\n<td>-1, -3, -7, -9, -10, -11</td>\n<td>string</td>\n<td>Card acceptor address company</td>\n</tr>\n<tr>\n<td>card_acceptor.address_postcode</td>\n<td>-1, -3, -7, -9, -10, -11</td>\n<td>string</td>\n<td>Card acceptor address postcode</td>\n</tr>\n<tr>\n<td>card_acceptor.address_country</td>\n<td>-1, -3, -7, -9, -10, -11</td>\n<td>string</td>\n<td>Card acceptor address country</td>\n</tr>\n<tr>\n<td>card_acceptor.address_state</td>\n<td>-1, -3, -7, -9, -10, -11</td>\n<td>string</td>\n<td>Card acceptor address state</td>\n</tr>\n<tr>\n<td>card_acceptor.address_line1</td>\n<td>-1, -3, -7, -9, -10, -11</td>\n<td>string</td>\n<td>Card acceptor address line 1</td>\n</tr>\n<tr>\n<td>card_acceptor.address_line2</td>\n<td>-1, -3, -7, -9, -10, -11</td>\n<td>string</td>\n<td>Card acceptor address line 2</td>\n</tr>\n<tr>\n<td>card_acceptor.name</td>\n<td>-1, -3, -7, -9, -10, -11</td>\n<td>string</td>\n<td>Card acceptor name</td>\n</tr>\n<tr>\n<td>card_acceptor.phone</td>\n<td>-1, -3, -7, -9, -10, -11</td>\n<td>string</td>\n<td>Card acceptor phone</td>\n</tr>\n<tr>\n<td>certainty</td>\n<td>-6</td>\n<td>string(estimated, final)</td>\n<td>Indicates if you expect to capture the full order amount for which you are requesting authorization.</td>\n</tr>\n<tr>\n<td>customer</td>\n<td>+3, +4, +9, +10</td>\n<td>object</td>\n<td>Object with the customer’s information.</td>\n</tr>\n<tr>\n<td>customer.first_name</td>\n<td>-</td>\n<td>string</td>\n<td>Customer first name</td>\n</tr>\n<tr>\n<td>customer.last_name</td>\n<td>-</td>\n<td>string</td>\n<td>Customer last name</td>\n</tr>\n<tr>\n<td>customer.email</td>\n<td>-</td>\n<td>string</td>\n<td>Customer email</td>\n</tr>\n<tr>\n<td>customer.phone</td>\n<td>-</td>\n<td>string(E.164)</td>\n<td>Customer phone in E.164 international notation (Example: +12345678901)</td>\n</tr>\n<tr>\n<td>customer.payment_source</td>\n<td>+</td>\n<td>object</td>\n<td>Object with payment information</td>\n</tr>\n<tr>\n<td>customer.payment_source.vault_token</td>\n<td>+9</td>\n<td>string (uuid)</td>\n<td>vault token ID (permanent or session)</td>\n</tr>\n<tr>\n<td>customer.payment_source.vault_token_reference</td>\n<td>+10</td>\n<td>string (uuid, alphanumeric, digits)</td>\n<td>A unique identifier assigned to each vault token upon creation</td>\n</tr>\n<tr>\n<td>customer.payment_source.gateway_id</td>\n<td>+, -1</td>\n<td>string (24 hex characters)</td>\n<td>Gateway ID  <br />Note: For charges with standalone 3DS, the gateway_id must match the one used for standalone 3ds</td>\n</tr>\n<tr>\n<td>customer.payment_source.type</td>\n<td>+4</td>\n<td>string</td>\n<td>Type of payment. By default <em>card</em>. Use <em>card</em> for payment with credit card. Use <em>bank_account</em> for using direct debit payments</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_name</td>\n<td>+3, -9, -10</td>\n<td>string</td>\n<td>Cardholder name (as on card)</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_number</td>\n<td>+3, -9, -10</td>\n<td>string(numeric)</td>\n<td>Card number</td>\n</tr>\n<tr>\n<td>customer.payment_source.expire_month</td>\n<td>+3, -9, -10</td>\n<td>string(mm)</td>\n<td>Card expiration month mm</td>\n</tr>\n<tr>\n<td>customer.payment_source.expire_year</td>\n<td>+3, -9, -10</td>\n<td>string(yyyy)</td>\n<td>Card expiration year</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_ccv</td>\n<td>-3, -9, -10</td>\n<td>string(numeric)</td>\n<td>Card CCV number</td>\n</tr>\n<tr>\n<td>customer.payment_source.account_name</td>\n<td>+4, -9, -10</td>\n<td>string</td>\n<td>Customer account name.</td>\n</tr>\n<tr>\n<td>customer.payment_source.account_number</td>\n<td>+4, -9, -10</td>\n<td>string</td>\n<td>Number of Customer account.</td>\n</tr>\n<tr>\n<td>customer.payment_source.account_bsb</td>\n<td>-4, -9, -10</td>\n<td>string</td>\n<td>Customer bank state branch number.</td>\n</tr>\n<tr>\n<td>customer.payment_source.account_routing</td>\n<td>-4, -9, -10</td>\n<td>string(numeric)</td>\n<td>Number of Customer account. BSB/Routing/SWIFT/IBAN Number.</td>\n</tr>\n<tr>\n<td>customer.payment_source.account_holder_type</td>\n<td>-4, -9, -10</td>\n<td>string</td>\n<td>account type (<em>personal</em> or <em>business</em>)</td>\n</tr>\n<tr>\n<td>customer.payment_source.account_bank_name</td>\n<td>-4, -9, -10</td>\n<td>string</td>\n<td>Name of account bank</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, line 1</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, line 2</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_state</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, State</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_country</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, Country Code</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_city</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, City</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, Postcode</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_accept_type</td>\n<td>-</td>\n<td>string</td>\n<td>The mechanism the cardholder used to send card details</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_holder_accept_method</td>\n<td>-</td>\n<td>string</td>\n<td>The mechanism the cardholder used to accept the transaction</td>\n</tr>\n<tr>\n<td>customer.payment_source.stored_on_file</td>\n<td>-</td>\n<td>enum(not_stored,to_be_stored,stored)</td>\n<td>Determines whether card should be stored, already stored or not to be stored.</td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td>-</td>\n<td>object</td>\n<td>The object of custom fields for transaction. These fields were sent to a payment gateway if this option has been enabled using the gateway creation and modification endpoints</td>\n</tr>\n<tr>\n<td>custom_fields.any</td>\n<td>-</td>\n<td>string</td>\n<td>This fields can have any custom name and value</td>\n</tr>\n<tr>\n<td>meta</td>\n<td>-</td>\n<td>object</td>\n<td>Optional object with specific fields for different gateways</td>\n</tr>\n<tr>\n<td>meta.stripe_direct_account_id</td>\n<td>-</td>\n<td>string</td>\n<td>ID of an existing, connected stripe account. Use to create Stripe connect Direct Charges</td>\n</tr>\n<tr>\n<td>meta.stripe_application_fee</td>\n<td>-</td>\n<td>string</td>\n<td>A fee in cents that will be applied to the charge and transferred to the application owner’s Stripe account</td>\n</tr>\n<tr>\n<td>meta.stripe_destination_account_id</td>\n<td>-</td>\n<td>string</td>\n<td>ID of an existing, connected stripe account. Use to create Stripe connect Destination Charges</td>\n</tr>\n<tr>\n<td>meta.stripe_destination_amount</td>\n<td>-</td>\n<td>string</td>\n<td>The amount to transfer to the destination account without creating an Application Fee</td>\n</tr>\n<tr>\n<td>meta.stripe_descriptor</td>\n<td>-</td>\n<td>string</td>\n<td>A Stripe statement descriptor suffix</td>\n</tr>\n<tr>\n<td>meta.securepay_fraud_guard</td>\n<td>-</td>\n<td>bool</td>\n<td>applies only for Secure Pay, enables SecurePay fraud guard for this transaction</td>\n</tr>\n<tr>\n<td>meta.ip_address</td>\n<td>-</td>\n<td>string</td>\n<td>applies only for Secure Pay, pass through the client IP for fraud validation</td>\n</tr>\n<tr>\n<td>meta.customer_storage_number</td>\n<td>-</td>\n<td>string</td>\n<td>Bambora gateway only. This value dictates which account the card details will be stored against</td>\n</tr>\n<tr>\n<td>meta.tokenise_algorithm</td>\n<td>-</td>\n<td>number</td>\n<td>Bambora alorithm Id for creating charges. (Default - 8, if not specified.)</td>\n</tr>\n<tr>\n<td>transfer</td>\n<td>-5</td>\n<td>object</td>\n<td>Object, optional</td>\n</tr>\n<tr>\n<td>transfer.stripe_transfer_group</td>\n<td>-</td>\n<td>string</td>\n<td>transfer group Id (specific field for Stripe)</td>\n</tr>\n<tr>\n<td>transfer.items</td>\n<td>+</td>\n<td>array</td>\n<td>items</td>\n</tr>\n<tr>\n<td>transfer.items[].amount</td>\n<td>+</td>\n<td>float</td>\n<td>Amount of a transfer</td>\n</tr>\n<tr>\n<td>transfer.items[].currency</td>\n<td>+</td>\n<td>string (iso4217 alpha-3)</td>\n<td>Currency of a transfer</td>\n</tr>\n<tr>\n<td>transfer.items[].destination</td>\n<td>+</td>\n<td>string</td>\n<td>transfer destination (e.g. stripe destination account Id)</td>\n</tr>\n<tr>\n<td>_3ds</td>\n<td>+7</td>\n<td>object</td>\n<td>A 3DS option</td>\n</tr>\n<tr>\n<td>_3ds.charge_id</td>\n<td>+7</td>\n<td>string (24 hex characters)</td>\n<td>A pre-auth (3DS) charge ID</td>\n</tr>\n<tr>\n<td>_3ds.mandatory</td>\n<td>-12</td>\n<td>boolean</td>\n<td>A flag to force 3DS for the charge</td>\n</tr>\n<tr>\n<td>_3ds.browser_details</td>\n<td>+12</td>\n<td>object</td>\n<td>3DS browser options</td>\n</tr>\n<tr>\n<td>_3ds.browser_details.user_agent</td>\n<td>+12</td>\n<td>string</td>\n<td>Browser info <a href=\"https://null\">https://developer.mozilla.org/en-US/docs/Web/API/Navigator</a></td>\n</tr>\n<tr>\n<td>_3ds.browser_details.java_enabled</td>\n<td>+12</td>\n<td>string (bool)</td>\n<td>Browser info <a href=\"https://null\">https://developer.mozilla.org/en-US/docs/Web/API/Navigator</a></td>\n</tr>\n<tr>\n<td>_3ds.browser_details.language</td>\n<td>+12</td>\n<td>string (BCP 47)</td>\n<td>Browser info <a href=\"https://null\">https://developer.mozilla.org/en-US/docs/Web/API/Navigator</a></td>\n</tr>\n<tr>\n<td>_3ds.browser_details.time_zone</td>\n<td>+12</td>\n<td>string (numeric)</td>\n<td>Browser info <a href=\"https://null\">https://developer.mozilla.org/en-US/docs/Web/API/Navigator</a></td>\n</tr>\n<tr>\n<td>_3ds.browser_details.screen_height</td>\n<td>+12</td>\n<td>string (numeric)</td>\n<td>Browser info <a href=\"https://null\">https://developer.mozilla.org/en-US/docs/Web/API/Screen</a></td>\n</tr>\n<tr>\n<td>_3ds.browser_details.screen_width</td>\n<td>+12</td>\n<td>string (numeric)</td>\n<td>Browser info <a href=\"https://null\">https://developer.mozilla.org/en-US/docs/Web/API/Screen</a></td>\n</tr>\n<tr>\n<td>_3ds.browser_details.color_depth</td>\n<td>+12</td>\n<td>string (numeric)</td>\n<td>Browser info <a href=\"https://null\">https://developer.mozilla.org/en-US/docs/Web/API/Screen</a></td>\n</tr>\n<tr>\n<td>_3ds.browser_details.accept_header</td>\n<td>+12</td>\n<td>string</td>\n<td>Headers accepted</td>\n</tr>\n<tr>\n<td>_3ds.browser_details.container_height</td>\n<td>+12</td>\n<td>string (numeric)</td>\n<td>The container height</td>\n</tr>\n<tr>\n<td>_3ds.browser_details.container_width</td>\n<td>+12</td>\n<td>string (numeric)</td>\n<td>The container width</td>\n</tr>\n<tr>\n<td>_3ds.browser_details.ip</td>\n<td>+12</td>\n<td>string</td>\n<td>An IP address of the client's browser</td>\n</tr>\n<tr>\n<td>_3ds.authentication</td>\n<td>-3, -9, -10</td>\n<td>object</td>\n<td>Authentication payload</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result</td>\n<td>-3, -9, -10</td>\n<td>object</td>\n<td>Authentication result</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.reference</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>Authentication result reference id for tracking approved 3DS</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.reference_2</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>Authentication result reference id assigned upon testing and approval of 3DS</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.identifier</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>The unique transaction id assigned by the Directory Server (DS)</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.identifier_2</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>The unique transaction id assigned by the 3DS SDK</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.identifier_3</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>The unique transaction id assigned by the 3DS Server</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.identifier_4</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>The unique transaction id assigned by the Access Control Server (ACS)</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.identifier_5</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>The unique transaction id for AMEX transactions</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.type</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>Indicates the type of authentication</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.status</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>Indicates if a transaction is authenticated</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.status_2</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>A value used to indicate the result of an attempt to authenticate a cardholder</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.status_code</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>Indicates why the transaction status field has a specific value</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.ref_token</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>A payment system-specific token provided by the Access Control Server (ACS) or the Directory Server (DS)</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.cancellation</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>Indicates whether the authentication process was canceled</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.count</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>The number of authentication attempts made</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.version</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>The version of the 3DS authentication protocol used</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.whitelist</td>\n<td>-3, -9, -10</td>\n<td>object</td>\n<td>Authentication result whitelist</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.whitelist.status</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>The status of the trusted whitelist services communication</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.whitelist.source</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>Values provided by Whitelist status</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.source</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>The source of the authentication result</td>\n</tr>\n<tr>\n<td>fraud</td>\n<td>+8</td>\n<td>object</td>\n<td>Fraud payload</td>\n</tr>\n<tr>\n<td>fraud.token</td>\n<td>+8</td>\n<td>string</td>\n<td>Token for fraud</td>\n</tr>\n<tr>\n<td>fraud.service_id</td>\n<td>-8</td>\n<td>string (24 hex characters)</td>\n<td>id of fraud service</td>\n</tr>\n<tr>\n<td>fraud.mode</td>\n<td>-8</td>\n<td>string</td>\n<td>fraud service mode: look at <em>Fraud mode</em> table</td>\n</tr>\n<tr>\n<td>fraud.data</td>\n<td>+8</td>\n<td>object</td>\n<td>Fraud data</td>\n</tr>\n<tr>\n<td>fraud.result</td>\n<td>-3, -9, -10</td>\n<td>object</td>\n<td>Fraud external result. Not supported alongside fraud_charge_id field</td>\n</tr>\n<tr>\n<td>fraud.result.source</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>Fraud external result source</td>\n</tr>\n<tr>\n<td>fraud.result.reason</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>Fraud external result reason</td>\n</tr>\n<tr>\n<td>fraud.result.specific_code</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>Fraud external result specific code</td>\n</tr>\n<tr>\n<td>fraud.result.specific_message</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>Fraud external result specific message</td>\n</tr>\n<tr>\n<td>fraud.result.status</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>Fraud external result status</td>\n</tr>\n<tr>\n<td>fraud.result.score</td>\n<td>-3, -9, -10</td>\n<td>string</td>\n<td>Fraud external result score</td>\n</tr>\n<tr>\n<td>shipping</td>\n<td>-</td>\n<td>Object</td>\n<td>A shipping payload</td>\n</tr>\n<tr>\n<td>shipping.amount</td>\n<td>-</td>\n<td>number</td>\n<td>Shipping amount</td>\n</tr>\n<tr>\n<td>shipping.address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping address line 1</td>\n</tr>\n<tr>\n<td>shipping.address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping address line 2</td>\n</tr>\n<tr>\n<td>shipping.address_line3</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping address line 3</td>\n</tr>\n<tr>\n<td>shipping.address_city</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping address city</td>\n</tr>\n<tr>\n<td>shipping.address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping address postal code</td>\n</tr>\n<tr>\n<td>shipping.address_state</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping address state</td>\n</tr>\n<tr>\n<td>shipping.address_country</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping address country</td>\n</tr>\n<tr>\n<td>shipping.address_company</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping address company</td>\n</tr>\n<tr>\n<td>shipping.address_origin_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping address origin postal code</td>\n</tr>\n<tr>\n<td>shipping.method</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping method</td>\n</tr>\n<tr>\n<td>shipping.type</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping type</td>\n</tr>\n<tr>\n<td>shipping.contact</td>\n<td>-</td>\n<td>Object</td>\n<td>Shipping contact payload</td>\n</tr>\n<tr>\n<td>shipping.contact.first_name</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping contact first name</td>\n</tr>\n<tr>\n<td>shipping.contact.last_name</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping contact last name</td>\n</tr>\n<tr>\n<td>shipping.contact.email</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping contact email</td>\n</tr>\n<tr>\n<td>shipping.contact.phone</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping contact phone</td>\n</tr>\n<tr>\n<td>shipping.contact.phone2</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping contact phone 2</td>\n</tr>\n<tr>\n<td>device_data</td>\n<td>-</td>\n<td>object</td>\n<td>An optional object with device data</td>\n</tr>\n<tr>\n<td>device_data.correlation_id</td>\n<td>-</td>\n<td>string</td>\n<td>Device data correlation id. Returned by the PayPalDataCollector widget</td>\n</tr>\n<tr>\n<td>agreement</td>\n<td>-</td>\n<td>object</td>\n<td>Payment agreement data. Only supported for Subscription Pass-Through if payments were processed via MPGS</td>\n</tr>\n<tr>\n<td>agreement.amount_variability</td>\n<td>-</td>\n<td>enum(variable,fixed)</td>\n<td>Indicates if all the payments within the agreement use the same amount or if the amount differs between the payments.</td>\n</tr>\n<tr>\n<td>agreement.custom_data</td>\n<td>-</td>\n<td>JSON string</td>\n<td>Additional information requested for the agreement which cannot be passed using other available data fields.</td>\n</tr>\n<tr>\n<td>agreement.expiry_date</td>\n<td>-</td>\n<td>iso string date</td>\n<td>Date at which your agreement with the payer to process payments expires.</td>\n</tr>\n<tr>\n<td>agreement.external_id</td>\n<td>-</td>\n<td>string(required if agreement object is provided)</td>\n<td>Your identifier for the agreement you have with the payer to process payments.</td>\n</tr>\n<tr>\n<td>agreement.amount_per_payment_max</td>\n<td>-</td>\n<td>number</td>\n<td>The maximum amount for a single payment in the series as agreed with the payer under your agreement with them.</td>\n</tr>\n<tr>\n<td>agreement.amount_per_payment_min</td>\n<td>-</td>\n<td>number</td>\n<td>The minimum amount for a single payment in the series as agreed with the payer under your agreement with them.</td>\n</tr>\n<tr>\n<td>agreement.days_between_payments_min</td>\n<td>-</td>\n<td>integer (0 &lt; integer &lt; 10000)</td>\n<td>The minimum number of days between payments agreed with the payer under your agreement with them.</td>\n</tr>\n<tr>\n<td>agreement.payments_count</td>\n<td>-</td>\n<td>integer (0 &lt; integer &lt; 1000)</td>\n<td>The number of merchant-initiated payments within the recurring payment agreement.</td>\n</tr>\n<tr>\n<td>agreement.payment_frequency</td>\n<td>-</td>\n<td>enum(ad_hoc,daily,fortnightly,monthly,other,quarterly,twice_yearly,weekly,yearly)</td>\n<td>The frequency of the payments within the series as agreed with the payer under your agreement with them.</td>\n</tr>\n<tr>\n<td>agreement.start_date</td>\n<td>-</td>\n<td>iso string date</td>\n<td>This is the effective start date for the payment agreement. Date cannot be in the past</td>\n</tr>\n<tr>\n<td>agreement.type</td>\n<td>-</td>\n<td>enum(installment,other,recurring,unscheduled)</td>\n<td>The type of commercial agreement that the payer has with you.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"fraud-mode\">Fraud mode</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>mode</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>active</td>\n<td>fraud service is able to reject charges deteted by the service</td>\n</tr>\n<tr>\n<td>passive</td>\n<td>Fraud does no affect charges. Charge may be rejected by gateway, PayDock or 3ds but not by fraud</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","charges"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"de62e2a1-b1d1-4e50-bc26-cd463604eb4e","name":"Charge with one-time token","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"amount\":\"100\",\n\t\"currency\":\"AUD\",\n\t\"token\":\"2839b39b-1865-4cbb-9387-fb2f3c83c822\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 20 May 2020 07:45:43 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"945"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"3b1-VFzSJOLQeQaLr8ag4N8oFQ\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"external_id\": \"ec55910d-248e-40f1-bcdf-2605c2f42f6f:d7ea82de-dd30-4ebe-a6e4-f81cc25afb87\",\n            \"_id\": \"5ec4e026b12c99579e46e852\",\n            \"created_at\": \"2020-05-20T07:45:42.574Z\",\n            \"updated_at\": \"2020-05-20T07:45:43.294Z\",\n            \"remittance_date\": \"2020-05-21T07:45:43.294Z\",\n            \"amount\": 100,\n            \"company_id\": \"5cbeda664fdfb25772b5547f\",\n            \"currency\": \"AUD\",\n            \"__v\": 0,\n            \"transactions\": [\n                {\n                    \"external_id\": \"ec55910d-248e-40f1-bcdf-2605c2f42f6f:d7ea82de-dd30-4ebe-a6e4-f81cc25afb87\",\n                    \"external_reference\": \"87633456\",\n                    \"created_at\": \"2020-05-20T07:45:42.574Z\",\n                    \"currency\": \"AUD\",\n                    \"amount\": 100,\n                    \"_id\": \"5ec4e026b12c99579e46e853\",\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"status\": \"complete\",\n                    \"type\": \"sale\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": false,\n            \"customer\": {\n                \"payment_source\": {\n                    \"gateway_type\": \"Stripe\",\n                    \"gateway_name\": \"Stripe 1\",\n                    \"type\": \"card\",\n                    \"gateway_id\": \"5cbede1f151b842653e987be\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2020,\n                    \"card_scheme\": \"visa\"\n                }\n            },\n            \"capture\": true,\n            \"authorization\": false,\n            \"status\": \"complete\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            }\n        }\n    }\n}"},{"id":"91c59cb6-e894-4cec-8cbd-97af64a3f1b2","name":"Charge with raw credit card details","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"10.00\",\n    \"currency\": \"AUD\",\n    \"reference\": \"reference123\",\n    \"reference2\": \"reference 2\",\n    \"reference3\": \"reference 3\",\n    \"customer\": {\n        \"payment_source\": {\n            \"gateway_id\": \"5cbede1f151b842653e987be\",\n            \"card_name\": \"Wanda Mertz\",\n            \"card_number\": \"4242424242424242\",\n            \"expire_month\": \"09\",\n            \"expire_year\": \"21\",\n            \"card_ccv\": \"123\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 20 May 2020 08:14:16 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"937"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"3a9-RHeI/9QgoGN4LUXmHI5DTg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"external_id\": \"ch_0Gkn48jQKtR4Rpd2u3MoHoVU\",\n            \"_id\": \"5ec4e6d8b12c99579e46e86e\",\n            \"created_at\": \"2020-05-20T08:14:16.285Z\",\n            \"updated_at\": \"2020-05-20T08:14:16.980Z\",\n            \"remittance_date\": \"2020-05-20T08:14:16.980Z\",\n            \"company_id\": \"5cbeda664fdfb25772b5547f\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"__v\": 0,\n            \"transactions\": [\n                {\n                    \"created_at\": \"2020-05-20T08:14:16.282Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5ec4e6d8b12c99579e46e86f\",\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"status\": \"complete\",\n                    \"type\": \"sale\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": false,\n            \"customer\": {\n                \"payment_source\": {\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 21,\n                    \"gateway_id\": \"5cbede1f151b842653e987be\",\n                    \"card_scheme\": \"visa\",\n                    \"gateway_name\": \"Stripe 1\",\n                    \"gateway_type\": \"Stripe\"\n                }\n            },\n            \"capture\": true,\n            \"authorization\": false,\n            \"status\": \"complete\",\n            \"reference\": \"reference123\",\n            \"reference2\": \"reference 2\",\n            \"reference3\": \"reference 3\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            }\n        }\n    }\n}"},{"id":"98f441d9-5051-4287-95da-5a6d03d1eacd","name":"Charge with customer id","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"amount\":\"100\",\n\t\"currency\":\"AUD\",\n\t\"customer_id\":\"5e4bfbd86d244b438451fbd7\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 20 May 2020 07:53:38 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1066"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"42a-Lib0kj6GVhzlJSZAhyanog\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"external_id\": \"ch_0Gkmk9jQKtR4Rpd2GZJNT9Q6\",\n            \"_id\": \"5ec4e201b12c99579e46e862\",\n            \"created_at\": \"2020-05-20T07:53:37.286Z\",\n            \"updated_at\": \"2020-05-20T07:53:38.258Z\",\n            \"remittance_date\": \"2020-05-21T07:53:38.258Z\",\n            \"company_id\": \"5cbeda664fdfb25772b5547f\",\n            \"amount\": 100,\n            \"currency\": \"AUD\",\n            \"__v\": 0,\n            \"transactions\": [\n                {\n                    \"created_at\": \"2020-05-20T07:53:37.285Z\",\n                    \"amount\": 100,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5ec4e201b12c99579e46e863\",\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"status\": \"complete\",\n                    \"type\": \"sale\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": false,\n            \"customer\": {\n                \"customer_id\": \"5e4bfbd86d244b438451fbd7\",\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"company_name\": \"Hahn Mertz LLC\",\n                \"payment_source\": {\n                    \"source_id\": \"5e4bfbc96d244b438451fbd6\",\n                    \"type\": \"card\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 12,\n                    \"expire_year\": 2020,\n                    \"address_country\": \"AU\",\n                    \"gateway_id\": \"5cbede1f151b842653e987be\"\n                }\n            },\n            \"capture\": true,\n            \"authorization\": false,\n            \"status\": \"complete\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            }\n        }\n    }\n}"},{"id":"7ee021e0-5427-436a-ba66-31df4e42737c","name":"Charge with bank-account","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"10.00\",\n    \"currency\": \"AUD\",\n    \"customer\": {\n        \"payment_source\": {\n            \"gateway_id\": \"5d1df20be205944082f778b8\",\n            \"type\": \"bank_account\",\n            \"account_name\": \"Wanda Mertz\", \n            \"account_number\": \"064000\",\n            \"account_routing\": \"064000\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 20 May 2020 08:30:04 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"950"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"3b6-uqtdDNY0gE4Hw+3ifEhA4w\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"external_id\": \"2697785196\",\n            \"_id\": \"5ec4ea81b12c99579e46e87e\",\n            \"created_at\": \"2020-05-20T08:29:53.516Z\",\n            \"updated_at\": \"2020-05-20T08:30:04.210Z\",\n            \"company_id\": \"5cbeda664fdfb25772b5547f\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"__v\": 0,\n            \"transactions\": [\n                {\n                    \"pended_at\": \"2020-05-21T08:30:04.208Z\",\n                    \"created_at\": \"2020-05-20T08:29:53.515Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5ec4ea81b12c99579e46e87f\",\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"status\": \"requested\",\n                    \"type\": \"sale\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": false,\n            \"customer\": {\n                \"payment_source\": {\n                    \"type\": \"bank_account\",\n                    \"account_name\": \"Wanda Mertz\",\n                    \"account_routing\": \"064000\",\n                    \"account_number\": \"XXXX00\",\n                    \"gateway_id\": \"5d1df20be205944082f778b8\",\n                    \"gateway_name\": \"Pay Way\",\n                    \"gateway_type\": \"PaywayRest\"\n                }\n            },\n            \"capture\": true,\n            \"authorization\": false,\n            \"status\": \"requested\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            }\n        }\n    }\n}"},{"id":"01b92035-ef71-4f57-8bb0-197e08e7d432","name":"Charge with vault token","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"10.00\",\n    \"currency\": \"AUD\",\n    \"customer\": {\n        \"payment_source\": {\n            \"vault_token\": \"8617374d-2a5f-405b-aa9e-a9e942dd7c95\",\n            \"gateway_id\": \"5dde1f3799cfea21ed2fc942\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 21 Jan 2021 14:46:11 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1101"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"44d-ZK1LEOt4ehVXVgQ2nju+ag\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"transfer\": {\n                \"items\": []\n            },\n            \"customer\": {\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"card_name\": \"Carlie Kuvalis\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2021,\n                    \"gateway_id\": \"5dde1f3799cfea21ed2fc942\",\n                    \"vault_token\": \"8617374d-2a5f-405b-aa9e-a9e942dd7c95\",\n                    \"vault_type\": \"permanent\",\n                    \"card_scheme\": \"visa\",\n                    \"gateway_name\": \"Stripe\",\n                    \"gateway_type\": \"Stripe\"\n                }\n            },\n            \"status\": \"complete\",\n            \"capture\": true,\n            \"authorization\": false,\n            \"archived\": false,\n            \"one_off\": true,\n            \"_id\": \"60a193b2079e3f2cb2d9ba5a\",\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"items\": [],\n            \"transactions\": [\n                {\n                    \"type\": \"sale\",\n                    \"status\": \"complete\",\n                    \"gateway_specific_code\": null,\n                    \"gateway_specific_description\": null,\n                    \"error_message\": null,\n                    \"error_code\": null,\n                    \"status_code\": null,\n                    \"status_code_description\": null,\n                    \"_id\": \"60a193b2079e3f2cb2d9ba5a\",\n                    \"created_at\": \"2021-01-21T14:46:10.849Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"external_id\": \"ch_1DC3QJIXZXv8Hpj44W7I00eOr\",\n                    \"remittance_date\": \"2021-01-22T14:46:10.852Z\"\n                }\n            ],\n            \"updated_at\": \"2021-01-21T14:46:11.804Z\",\n            \"created_at\": \"2021-01-21T14:46:10.852Z\",\n            \"__v\": 0,\n            \"external_id\": \"ch_1DC3QJIXZXv8Hpj44W7I00eOr\"\n        }\n    }\n}"},{"id":"31be08eb-0bdc-4d3e-b4d6-24ebef611c26","name":"Authorized charge (blocking money on a card)","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"10.00\",\n    \"currency\": \"AUD\",\n    \"customer\": {\n        \"payment_source\": {\n            \"gateway_id\": \"5cbede1f151b842653e987be\",\n            \"card_name\": \"Wanda Mertz\",\n            \"card_number\": \"4242424242424242\",\n            \"expire_month\": \"01\",\n            \"expire_year\": \"21\",\n            \"card_ccv\": \"123\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/charges?capture=false","host":["{{url}}"],"path":["v1","charges"],"query":[{"key":"capture","value":"false"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 21 May 2020 07:44:35 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"974"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"3ce-9tDe4KdWGUtzRwsVWeU02A\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"external_id\": \"ch_0Gl94xjQKtR4Rpd2I9ssjATJ\",\n            \"_id\": \"5ec63162b12c99579e46ee13\",\n            \"created_at\": \"2020-05-21T07:44:34.960Z\",\n            \"updated_at\": \"2020-05-21T07:44:35.457Z\",\n            \"company_id\": \"5cbeda664fdfb25772b5547f\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"__v\": 0,\n            \"transactions\": [\n                {\n                    \"external_id\": \"ch_0Gl94xjQKtR4Rpd2I9ssjATJ\",\n                    \"external_reference\" : \"98324563\",\n                    \"pended_at\": \"2020-05-22T07:44:35.456Z\",\n                    \"created_at\": \"2020-05-21T07:44:34.959Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5ec63162b12c99579e46ee14\",\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"status\": \"pending\",\n                    \"type\": \"sale\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": false,\n            \"customer\": {\n                \"payment_source\": {\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"expire_month\": 1,\n                    \"expire_year\": 21,\n                    \"gateway_id\": \"5cbede1f151b842653e987be\",\n                    \"card_scheme\": \"visa\",\n                    \"gateway_name\": \"Stripe 1\",\n                    \"gateway_type\": \"Stripe\"\n                }\n            },\n            \"capture\": false,\n            \"authorization\": true,\n            \"status\": \"pending\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            }\n        }\n    }\n}"},{"id":"33e064ee-1347-413a-8227-ecdad59161ff","name":"Charge with with already authenticated 3DS","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"100.00\",\n    \"currency\": \"AUD\",\n    \"_3ds\": {\n        \"charge_id\": \"5eda5031b97da4248e766f36\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 05 Jun 2020 14:07:57 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"153"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"99-K3pdssv5GvA1//6kThdWuQ\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"5ee0fa666c43c31b799780f6\",\n            \"created_at\": \"2020-06-10T15:21:10.210Z\",\n            \"updated_at\": \"2020-06-10T15:26:05.696Z\",\n            \"company_id\": \"580f17b15cc3e4e3199ef9a6\",\n            \"amount\": 100,\n            \"currency\": \"AUD\",\n            \"__v\": 1,\n            \"external_id\": \"37b1ebc6-a746-4b5e-b55a-b352026e3cf3:b33d49ec-1689-478b-9bb3-90168cbcb003\",\n            \"_3ds\": {\n                \"token\": \"NUXCIWM6Ly9tdGYuZ2F0ZXdheS5tYXN0ZXJjYXJkLmNvbS9hY3MvTWFzdGVyY2FyZEFDUy9hNTc1YTI2My02ODdhLTQ1ZWDYwMVjdFRvM2RzMUZyYW1lXCI+IDCB0GVuXCIgbmFtZT1cIlBhUmVxXCIgdmFsdWU9XCJlQUZWVVZ0cndqQVlmUmY4RDZYc2RVMVNpVlA1akhnYks5U2hUaG5zTGFTZjcra3RuUExVODVKem5jN\"\n            },\n            \"transactions\": [\n                {\n                    \"external_id\": \"37b1ebc6-a746-4b5e-b55a-b352026e3cf3:b33d49ec-1689-478b-9bb3-90168cbcb003\",\n                    \"created_at\": \"2020-06-10T15:26:03.037Z\",\n                    \"currency\": \"AUD\",\n                    \"amount\": 100,\n                    \"_id\": \"5ee0fb8b6c43c31b799780f7\",\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"127.0.0.1\",\n                    \"status\": \"complete\",\n                    \"type\": \"sale\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": false,\n            \"customer\": {\n                \"payment_source\": {\n                    \"ref_token\": \"9212140974255241\",\n                    \"gateway_id\": \"5eda22bb37356514ddaabee7\",\n                    \"gateway_type\": \"MasterCard\",\n                    \"gateway_name\": \"MasterCard\",\n                    \"card_number_last4\": \"5559\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2021,\n                    \"card_scheme\": \"mastercard\"\n                }\n            },\n            \"capture\": true,\n            \"status\": \"complete\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            }\n        }\n    }\n}"},{"id":"b23605ca-bde8-49b9-9640-f6db8bc14891","name":"Charge with customer and default vault token payment source","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"10.00\",\n    \"currency\": \"AUD\",\n    \"customer_id\": \"{{customer_id}}\",\n    \"customer\": {\n        \"payment_source\": {\n            \"gateway_id\": \"{{gateway_id}}\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 26 Mar 2021 11:41:33 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1412"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"584-uX8yQijdr9eMRhm6XRu80g\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"transfer\": {\n                \"items\": []\n            },\n            \"statistics\": {\n                \"total_refunded_amount\": 0,\n                \"full_refund\": false,\n                \"need_sync\": true\n            },\n            \"customer\": {\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"expire_month\": 12,\n                    \"expire_year\": 2021,\n                    \"address_country\": \"AU\",\n                    \"gateway_id\": \"5fbfba998ae90b0a56dbbc5e\",\n                    \"vault_token\": \"a6b81f38-f9de-4754-b679-8791cb503a8e\",\n                    \"vault_type\": \"permanent\",\n                    \"card_scheme\": \"visa\",\n                    \"gateway_name\": \"Stripe_dashboard\",\n                    \"gateway_type\": \"Stripe\"\n                },\n                \"first_name\": \"Manda\",\n                \"last_name\": \"Mertz\",\n                \"email\": \"wanda.mertz@example.com\",\n                \"customer_id\": \"605da97a0a43121cff2b5f6c\"\n            },\n            \"status\": \"complete\",\n            \"capture\": true,\n            \"authorization\": false,\n            \"archived\": false,\n            \"one_off\": true,\n            \"_id\": \"605dc86c9aa41521e6138a70\",\n            \"company_id\": \"5f7ac85507b3352c6b299703\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"items\": [],\n            \"transactions\": [\n                {\n                    \"type\": \"sale\",\n                    \"status\": \"complete\",\n                    \"gateway_specific_code\": null,\n                    \"gateway_specific_description\": null,\n                    \"error_message\": null,\n                    \"error_code\": null,\n                    \"status_code\": null,\n                    \"status_code_description\": null,\n                    \"_id\": \"605dc86c9aa41521e6138a71\",\n                    \"created_at\": \"2021-03-26T11:41:32.509Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"amount_surcharge\": null,\n                    \"amount_original\": null,\n                    \"external_id\": \"ch_1IZE2iLoNlQR3SfLoK2DskY3\",\n                    \"remittance_date\": \"2021-03-27T11:41:32.518Z\"\n                }\n            ],\n            \"amount_surcharge\": null,\n            \"amount_original\": null,\n            \"updated_at\": \"2021-03-26T11:41:33.409Z\",\n            \"created_at\": \"2021-03-26T11:41:32.518Z\",\n            \"__v\": 0,\n            \"external_id\": \"ch_1IZE2iLoNlQR3SfLoK2DskY3\"\n        }\n    }\n}"},{"id":"24c1c091-2d9c-40e1-ac3d-5ff5d6f2b863","name":"Charge with customer id and  non-default payment source of customer","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"10.00\",\n    \"currency\": \"AUD\",\n    \"customer_id\":\"5e4bfbd86d244b438451fbd7\",\n    \"payment_source_id\": \"5e4bfbc96d244b438451fbd6\"\n}"},"url":"{{url}}/v1/charges"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 21 May 2020 07:57:06 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1064"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"428-QTOZp0KY0P6tcgJr6xQvVA\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"external_id\": \"ch_0Gl9H4jQKtR4Rpd2kZBVPd2l\",\n            \"_id\": \"5ec63451b12c99579e46ee31\",\n            \"created_at\": \"2020-05-21T07:57:05.911Z\",\n            \"updated_at\": \"2020-05-21T07:57:06.565Z\",\n            \"remittance_date\": \"2020-05-22T07:57:06.565Z\",\n            \"company_id\": \"5cbeda664fdfb25772b5547f\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"__v\": 0,\n            \"transactions\": [\n                {\n                    \"created_at\": \"2020-05-21T07:57:05.909Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5ec63451b12c99579e46ee32\",\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"status\": \"complete\",\n                    \"type\": \"sale\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": false,\n            \"customer\": {\n                \"customer_id\": \"5e4bfbd86d244b438451fbd7\",\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"company_name\": \"Hahn Mertz LLC\",\n                \"payment_source\": {\n                    \"source_id\": \"5e4bfbc96d244b438451fbd6\",\n                    \"type\": \"card\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 12,\n                    \"expire_year\": 2020,\n                    \"address_country\": \"AU\",\n                    \"gateway_id\": \"5cbede1f151b842653e987be\"\n                }\n            },\n            \"capture\": true,\n            \"status\": \"complete\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            }\n        }\n    }\n}"},{"id":"73f1f0e7-8975-4de7-a5ea-be7a6b197c07","name":"Charge with 3DS authentication","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"10.1\",\n    \"currency\": \"AUD\",\n    \"customer\": {\n        \"payment_source\": {\n            \"gateway_id\": \"60c99fbe47646a2b1e962cac\",\n            \"card_name\": \"Wanda Mertz\",\n            \"card_number\": \"5555555555554444\",\n            \"expire_month\": \"12\",\n            \"expire_year\": \"21\",\n            \"card_ccv\": \"123\"\n        }\n    },\n    \"_3ds\": {\n        \"mandatory\": true,\n        \"browser_details\": {\n            \"user_agent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36\", \n            \"time_zone\": -120,\n            \"screen_height\": 900,\n            \"screen_width\": 1440,\n            \"color_depth\": \"30\",\n            \"language\": \"en-US\",\n            \"java_enabled\": false,\n            \"ip\": \"84.241.201.7\",\n            \"accept_header\": \"*/*\",\n            \"container_height\": 400,\n            \"container_width\": 300\n        }\n    },\n    \"reference\": \"till_payments\",\n    \"description\": \"till_desc\",\n    \"descriptor\": \"descriptor\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"60f81e592249c9466e94f8f5\",\n            \"amount\": 10.1,\n            \"currency\": \"AUD\",\n            \"reference\": \"till_payments\",\n            \"description\": \"till_desc\",\n            \"status\": \"pre_authentication_pending\",\n            \"external_id\": \"1ebbcd86b4225e9605f9\",\n            \"capture\": true,\n            \"one_off\": true,\n            \"amount_surcharge\": null,\n            \"amount_original\": null,\n            \"created_at\": \"2021-07-21T13:17:13.133Z\",\n            \"updated_at\": \"2021-07-21T13:17:14.448Z\",\n            \"_3ds\": {\n                \"status\": \"challenge_pending\",\n                \"custom_implementation\": false,\n                \"token\": \"eyJjb250ZW50IjoiaHR0cHM6Ly90ZXN0LWdhdGV3YXkudGlsbHBheW1lbnRzLmNvbS9yZWRpcmVjdC8xZWJiY2Q4NmI0MjI1ZTk2MDVmOS9OVGswWW1KbE16RmtNREkxTkdSaU56Umlaak0yT0RZeVpUVmlNR001WVRWbFpXVTFaRGhqWkRFM056RmhabVF6WW1ZeU4ySmxNRE5qTlRNMllUYzBObVZsTnpFek5XWXlZalZpTVRZMU9EVTVPV1ZpT1RVeE9EVXdZMlkxWWpGbE0yWTJaR1ZoTlRNNU1UQTROMkprTmpVeU1EazVNMkpqTW1Jd05HRTFOMk09IiwiZm9ybWF0IjoidXJsIiwiY2hhcmdlXzNkc19pZCI6IjYwZjgxZTU5MjI0OWM5NDY2ZTk0ZjhmNSJ9\"\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"60f81e592249c9466e94f8f8\",\n                    \"external_id\": \"1ebbcd86b4225e9605f9\",\n                    \"amount\": 10.1,\n                    \"amount_fee\": null,\n                    \"currency\": \"AUD\",\n                    \"type\": \"sale\",\n                    \"status\": \"authentication_pending\",\n                    \"created_at\": \"2021-07-21T13:17:13.148Z\",\n                    \"updated_at\": \"2021-07-21T13:17:14.448Z\",\n                    \"include_authorization\": false,\n                    \"_source_ip_address\": \"127.0.0.1\",\n                    \"descriptor\": \"descriptor\",\n                    \"service_logs\": []\n                }\n            ],\n            \"customer\": {\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"gateway_id\": \"60c99fbe47646a2b1e962cac\",\n                    \"gateway_name\": \"TillPayments\",\n                    \"gateway_type\": \"TillPayments\"\n                }\n            },\n            \"meta\": {}\n        }\n    }\n}"},{"id":"90519bfe-9afe-484d-b60d-0ecf338435b1","name":"Direct with vault token and additional fields","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"10.00\",\n    \"currency\": \"AUD\",\n    \"customer\": {\n        \"payment_source\": {\n            \"vault_token\": \"8617374d-2a5f-405b-aa9e-a9e942dd7c95\",\n            \"gateway_id\": \"5dde1f3799cfea21ed2fc942\",\n            \"card_accept_type\": \"electronicCommerce\",\n            \"card_holder_accept_method\": \"pc\"\n        }\n    },\n    \"initialization_source\": \"telephone_order\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 21 Jan 2021 14:46:11 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1101"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"44d-ZK1LEOt4ehVXVgQ2nju+ag\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"transfer\": {\n                \"items\": []\n            },\n            \"customer\": {\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"card_name\": \"Carlie Kuvalis\",\n                    \"card_number_last4\": \"4242\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2021,\n                    \"gateway_id\": \"5dde1f3799cfea21ed2fc942\",\n                    \"vault_token\": \"8617374d-2a5f-405b-aa9e-a9e942dd7c95\",\n                    \"card_scheme\": \"visa\",\n                    \"gateway_name\": \"Stripe\",\n                    \"gateway_type\": \"Stripe\",\n                    \"card_accept_type\": \"electronicCommerce\",\n                    \"card_holder_accept_method\": \"pc\"\n                }\n            },\n            \"status\": \"complete\",\n            \"capture\": true,\n            \"authorization\": false,\n            \"archived\": false,\n            \"one_off\": true,\n            \"_id\": \"60a193b2079e3f2cb2d9ba5a\",\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"items\": [],\n            \"transactions\": [\n                {\n                    \"type\": \"sale\",\n                    \"status\": \"complete\",\n                    \"gateway_specific_code\": null,\n                    \"gateway_specific_description\": null,\n                    \"error_message\": null,\n                    \"error_code\": null,\n                    \"status_code\": null,\n                    \"status_code_description\": null,\n                    \"_id\": \"60a193b2079e3f2cb2d9ba5a\",\n                    \"created_at\": \"2021-01-21T14:46:10.849Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"external_id\": \"ch_1DC3QJIXZXv8Hpj44W7I00eOr\",\n                    \"remittance_date\": \"2021-01-22T14:46:10.852Z\",\n                    \"initialization_source\": \"telephone_order\"\n                }\n            ],\n            \"updated_at\": \"2021-01-21T14:46:11.804Z\",\n            \"created_at\": \"2021-01-21T14:46:10.852Z\",\n            \"__v\": 0,\n            \"external_id\": \"ch_1DC3QJIXZXv8Hpj44W7I00eOr\"\n        }\n    }\n}"},{"id":"7e3b3730-abcf-4f3e-a214-29016b4f887d","name":"Direct with vault token reference","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"10.00\",\n    \"currency\": \"AUD\",\n    \"customer\": {\n        \"payment_source\": {\n             \"vault_token_reference\": \"49837263849382745\",\n            \"gateway_id\": \"5dde1f3799cfea21ed2fc942\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 21 Jan 2021 14:46:11 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1101"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"44d-ZK1LEOt4ehVXVgQ2nju+ag\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"transfer\": {\n                \"items\": []\n            },\n            \"customer\": {\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"card_name\": \"Carlie Kuvalis\",\n                    \"card_number_last4\": \"4242\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2021,\n                    \"gateway_id\": \"5dde1f3799cfea21ed2fc942\",\n                    \"vault_token\": \"8617374d-2a5f-405b-aa9e-a9e942dd7c95\",\n                     \"vault_token_reference\": \"49837263849382745\",\n                    \"card_scheme\": \"visa\",\n                    \"gateway_name\": \"Stripe\",\n                    \"gateway_type\": \"Stripe\",\n                    \"card_accept_type\": \"electronicCommerce\",\n                    \"card_holder_accept_method\": \"pc\"\n                }\n            },\n            \"status\": \"complete\",\n            \"capture\": true,\n            \"authorization\": false,\n            \"archived\": false,\n            \"one_off\": true,\n            \"_id\": \"60a193b2079e3f2cb2d9ba5a\",\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"items\": [],\n            \"transactions\": [\n                {\n                    \"type\": \"sale\",\n                    \"status\": \"complete\",\n                    \"gateway_specific_code\": null,\n                    \"gateway_specific_description\": null,\n                    \"error_message\": null,\n                    \"error_code\": null,\n                    \"status_code\": null,\n                    \"status_code_description\": null,\n                    \"_id\": \"60a193b2079e3f2cb2d9ba5a\",\n                    \"created_at\": \"2021-01-21T14:46:10.849Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"external_id\": \"ch_1DC3QJIXZXv8Hpj44W7I00eOr\",\n                    \"remittance_date\": \"2021-01-22T14:46:10.852Z\",\n                    \"initialization_source\": \"telephone_order\"\n                }\n            ],\n            \"updated_at\": \"2021-01-21T14:46:11.804Z\",\n            \"created_at\": \"2021-01-21T14:46:10.852Z\",\n            \"__v\": 0,\n            \"external_id\": \"ch_1DC3QJIXZXv8Hpj44W7I00eOr\"\n        }\n    }\n}"},{"id":"3028d049-fae6-477d-8b5b-e1a7ee9c0451","name":"Direct with credit card and external 3ds","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"10.00\",\n    \"currency\": \"AUD\",\n    \"customer\": {\n        \"payment_source\": {\n            \"gateway_id\": \"6397a3a6dd22c3ce7e4db904\",\n            \"card_name\": \"Wanda Mertz\",\n            \"card_number\": \"4242424242424242\",\n            \"expire_month\": \"09\",\n            \"expire_year\": \"25\",\n            \"card_ccv\": \"123\"\n        }\n    },\n    \"_3ds\": {\n        \"authentication\": {\n            \"result\": {\n                \"reference\": \"3DS_GP_DS_201_13579\",\n                \"reference_2\": \"3DS_GP_ACS_201_13579\",\n                \"identifier\": \"6afa6072-9412-446b-9673-2f98b3ee98a2\",\n                \"identifier_2\": \"6afa6072-9412-446b-9673-2f98b3ee98a2\",\n                \"identifier_3\": \"6afa6072-9412-446b-9673-2f98b3ee98a2\",\n                \"identifier_4\": \"375d90ad-3873-498b-9133-380cbbc8d99d\",\n                \"identifier_5\": \"020100006afa60729412446b96732f98b3ee98a2\",\n                \"type\": \"02\",\n                \"status\": \"Y\",\n                \"status_2\": \"02\",\n                \"status_code\": \"11\",\n                \"ref_token\": \"MTIzNDU2Nzg5MDA5ODc2NTQzMjE=\",\n                \"version\": \"2.1.0\",\n                \"source\": \"some_source\"\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 21 Jan 2021 14:46:11 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1101"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"44d-ZK1LEOt4ehVXVgQ2nju+ag\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"transfer\": {\n                \"items\": []\n            },\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"statistics\": {\n                \"total_refunded_amount\": 0,\n                \"full_refund\": false,\n                \"need_sync\": true\n            },\n            \"customer\": {\n                \"payment_source\": {\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 25,\n                    \"gateway_id\": \"6397a3a6dd22c3ce7e4db904\",\n                    \"card_scheme\": null,\n                    \"card_number_bin\": \"42424242\",\n                    \"gateway_name\": \"MasterCard_Gateway\",\n                    \"gateway_type\": \"MasterCard\"\n                }\n            },\n            \"_3ds\": {\n                \"authentication_id\": \"63fe53a04d5f4c8dbd142ead\"\n            },\n            \"type\": \"financial\",\n            \"status\": \"complete\",\n            \"capture\": true,\n            \"authorization\": false,\n            \"archived\": false,\n            \"one_off\": true,\n            \"_source_ip_address\": \"::1\",\n            \"_id\": \"63fe53a04d5f4c8dbd142eae\",\n            \"company_id\": \"5adacf0c30efdb1c6d055ae5\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"items\": [],\n            \"transactions\": [\n                {\n                    \"type\": \"sale\",\n                    \"status\": \"complete\",\n                    \"_source_ip_address\": \"::1\",\n                    \"gateway_specific_code\": null,\n                    \"gateway_specific_description\": null,\n                    \"error_message\": null,\n                    \"error_code\": null,\n                    \"status_code\": null,\n                    \"status_code_description\": null,\n                    \"include_authorization\": false,\n                    \"_id\": \"63fe53a04d5f4c8dbd142eaf\",\n                    \"created_at\": \"2023-02-28T19:18:56.314Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"amount_fee\": null,\n                    \"amount_surcharge\": null,\n                    \"amount_original\": null,\n                    \"external_id\": \"648bd44d-7019-4498-a758-df918859dacf:80eb72f8-9c36-4269-b8af-1ded0a04d075\",\n                    \"external_reference\": \"305919236898\"\n                }\n            ],\n            \"amount_surcharge\": null,\n            \"amount_original\": null,\n            \"updated_at\": \"2023-02-28T19:18:57.573Z\",\n            \"created_at\": \"2023-02-28T19:18:56.323Z\",\n            \"__v\": 0,\n            \"external_id\": \"648bd44d-7019-4498-a758-df918859dacf:80eb72f8-9c36-4269-b8af-1ded0a04d075\"\n        }\n    }\n}"},{"id":"327e43c1-1ad0-456c-93e9-4e952ce4e58d","name":"Direct with vault token and attach standalone 3ds","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"4\",\n    \"currency\": \"AUD\",\n    \"customer\": {\n        \"payment_source\": {\n            \"vault_token\": \"8617374d-2a5f-405b-aa9e-a9e942dd7c95\",\n            \"gateway_id\": \"5dde1f3799cfea21ed2fc942\"\n        }\n    },\n    \"_3ds_charge_id\": \"2349f051-60f5-475a-b206-9e9c9fc4c57e\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 21 Jan 2021 14:46:11 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1101"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"44d-ZK1LEOt4ehVXVgQ2nju+ag\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"transfer\": {\n                \"items\": []\n            },\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"statistics\": {\n                \"total_refunded_amount\": 0,\n                \"full_refund\": false,\n                \"need_sync\": true\n            },\n            \"customer\": {\n                \"payment_source\": {\n                    \"card_name\": \"Carlie Kuvalis\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2021,\n                    \"gateway_id\": \"5dde1f3799cfea21ed2fc942\",\n                    \"vault_token\": \"8617374d-2a5f-405b-aa9e-a9e942dd7c95\",\n                    \"vault_type\": \"permanent\",\n                    \"card_scheme\": \"visa\",  \n                    \"gateway_name\": \"MasterCard\",\n                    \"gateway_type\": \"MasterCard\"\n                }\n            },\n            \"_3ds\": {\n                \"charge_id\": \"61d73aa88738150e843e8e44\",\n                \"authentication_id\": \"61d73aa88738150e843e8e46\"\n            },\n            \"type\": \"financial\",\n            \"status\": \"complete\",\n            \"capture\": true,\n            \"authorization\": false,\n            \"archived\": false,\n            \"one_off\": true,\n            \"_source_ip_address\": \"179.24.228.218\",\n            \"_id\": \"61d73b977080eb0e7eed8096\",\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"amount\": 4,\n            \"currency\": \"AUD\",\n            \"items\": [],\n            \"transactions\": [\n                {\n                    \"type\": \"sale\",\n                    \"status\": \"complete\",\n                    \"gateway_specific_code\": null,\n                    \"gateway_specific_description\": null,\n                    \"error_message\": null,\n                    \"error_code\": null,\n                    \"status_code\": null,\n                    \"status_code_description\": null,\n                    \"include_authorization\": false,\n                    \"_id\": \"61d73b977080eb0e7eed8097\",\n                    \"created_at\": \"2022-01-06T18:57:27.870Z\",\n                    \"amount\": 4,\n                    \"currency\": \"AUD\",\n                    \"amount_fee\": null,\n                    \"amount_surcharge\": null,\n                    \"amount_original\": null,\n                    \"external_id\": \"ch_1DC3QJIXZXv8Hpj44W7I00eOr\",\n                    \"external_reference\": \"external_ref\"\n                },\n                {\n                    \"type\": \"process_standalone_3ds\",\n                    \"status\": \"complete\",\n                    \"gateway_specific_code\": null,\n                    \"gateway_specific_description\": null,\n                    \"error_message\": null,\n                    \"error_code\": null,\n                    \"status_code\": null,\n                    \"status_code_description\": null,\n                    \"include_authorization\": false,\n                    \"_id\": \"61d73abc8738150e843e8e5c\",\n                    \"amount\": 4,\n                    \"currency\": \"AUD\",\n                    \"created_at\": \"2022-01-06T18:53:48.173Z\",\n                    \"amount_fee\": null,\n                    \"amount_surcharge\": null,\n                    \"amount_original\": null\n                }\n            ],\n            \"updated_at\": \"2021-01-21T14:46:11.804Z\",\n            \"created_at\": \"2021-01-21T14:46:10.852Z\",\n            \"__v\": 0,\n            \"external_id\": \"ch_1DC3QJIXZXv8Hpj44W7I00eOr\"\n        }\n    }\n}"},{"id":"d8be7b58-9071-474b-bcbe-d2045e52041a","name":"Direct with vault token and external 3ds","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"10.00\",\n    \"currency\": \"AUD\",\n    \"description\": \"asd\",\n        \"customer\": {\n        \"payment_source\": {\n            \"vault_token\": \"89b44edf-dda4-4757-afef-263910341f76\",\n            \"gateway_id\": \"6397a3a6dd22c3ce7e4db904\"\n        }\n    },\n    \"_3ds\": {\n        \"authentication\": {\n            \"result\": {\n                \"reference\": \"3DS_GP_DS_201_13579\",\n                \"reference_2\": \"3DS_GP_ACS_201_13579\",\n                \"identifier\": \"6afa6072-9412-446b-9673-2f98b3ee98a2\",\n                \"identifier_2\": \"6afa6072-9412-446b-9673-2f98b3ee98a2\",\n                \"identifier_3\": \"6afa6072-9412-446b-9673-2f98b3ee98a2\",\n                \"identifier_4\": \"375d90ad-3873-498b-9133-380cbbc8d99d\",\n                \"identifier_5\": \"020100006afa60729412446b96732f98b3ee98a2\",\n                \"type\": \"02\",\n                \"status\": \"Y\",\n                \"status_2\": \"02\",\n                \"status_code\": \"11\",\n                \"ref_token\": \"MTIzNDU2Nzg5MDA5ODc2NTQzMjE=\",\n                \"version\": \"2.1.0\",\n                \"source\": \"some_source\"\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 21 Jan 2021 14:46:11 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1101"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"44d-ZK1LEOt4ehVXVgQ2nju+ag\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"transfer\": {\n                \"items\": []\n            },\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"statistics\": {\n                \"total_refunded_amount\": 0,\n                \"full_refund\": false,\n                \"need_sync\": true\n            },\n            \"customer\": {\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"card_name\": \"Second Merchant\",\n                    \"card_number_last4\": \"1111\",\n                    \"expire_month\": 8,\n                    \"expire_year\": 2025,\n                    \"gateway_id\": \"6397a3a6dd22c3ce7e4db904\",\n                    \"vault_token\": \"89b44edf-dda4-4757-afef-263910341f76\",\n                    \"vault_type\": \"permanent\",\n                    \"card_scheme\": null,\n                    \"card_number_bin\": \"41111111\",\n                    \"gateway_name\": \"MasterCard_Gateway\",\n                    \"gateway_type\": \"MasterCard\"\n                },\n                \"first_name\": \"Last Name Vault\",\n                \"last_name\": \"Last Name Vault\"\n            },\n            \"_3ds\": {\n                \"authentication_id\": \"63fe53ea4d5f4c8dbd142eda\"\n            },\n            \"type\": \"financial\",\n            \"status\": \"complete\",\n            \"capture\": true,\n            \"authorization\": false,\n            \"archived\": false,\n            \"one_off\": true,\n            \"_source_ip_address\": \"::1\",\n            \"_id\": \"63fe53ea4d5f4c8dbd142edb\",\n            \"company_id\": \"5adacf0c30efdb1c6d055ae5\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"description\": \"asd\",\n            \"items\": [],\n            \"transactions\": [\n                {\n                    \"type\": \"sale\",\n                    \"status\": \"complete\",\n                    \"_source_ip_address\": \"::1\",\n                    \"gateway_specific_code\": null,\n                    \"gateway_specific_description\": null,\n                    \"error_message\": null,\n                    \"error_code\": null,\n                    \"status_code\": null,\n                    \"status_code_description\": null,\n                    \"include_authorization\": false,\n                    \"_id\": \"63fe53ea4d5f4c8dbd142edc\",\n                    \"created_at\": \"2023-02-28T19:20:10.397Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"amount_fee\": null,\n                    \"amount_surcharge\": null,\n                    \"amount_original\": null,\n                    \"external_id\": \"7da6d2c1-1ee2-4213-8a2b-6392b6a56d85:a3b52068-f28e-4047-aae2-b29d815a61e8\",\n                    \"external_reference\": \"305919236899\"\n                }\n            ],\n            \"amount_surcharge\": null,\n            \"amount_original\": null,\n            \"updated_at\": \"2023-02-28T19:20:12.298Z\",\n            \"created_at\": \"2023-02-28T19:20:10.403Z\",\n            \"__v\": 0,\n            \"external_id\": \"7da6d2c1-1ee2-4213-8a2b-6392b6a56d85:a3b52068-f28e-4047-aae2-b29d815a61e8\"\n        }\n    }\n}"},{"id":"3bfce5b7-4c51-4051-84d3-bd27402a4dba","name":"Direct with vault token and external fraud result","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"10.00\",\n    \"currency\": \"AUD\",\n    \"customer\": {\n        \"payment_source\": {\n            \"vault_token\": \"8617374d-2a5f-405b-aa9e-a9e942dd7c95\",\n            \"gateway_id\": \"5dde1f3799cfea21ed2fc942\"\n        }\n    },\n    \"fraud\": {\n        \"result\" : {\n            \"source\": \"external\",\n            \"reason\": \"yes\",\n            \"specific_code\": \"100\",\n            \"specific_message\": \"Test message for fraud\",\n            \"status\": \"approved\",\n            \"score\": \"0\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 21 Jan 2021 14:46:11 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1101"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"44d-ZK1LEOt4ehVXVgQ2nju+ag\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"transfer\": {\n                \"items\": []\n            },\n            \"customer\": {\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"card_name\": \"Carlie Kuvalis\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2021,\n                    \"gateway_id\": \"5dde1f3799cfea21ed2fc942\",\n                    \"vault_token\": \"8617374d-2a5f-405b-aa9e-a9e942dd7c95\",\n                    \"vault_type\": \"permanent\",\n                    \"card_scheme\": \"visa\",\n                    \"gateway_name\": \"Stripe\",\n                    \"gateway_type\": \"Stripe\"\n                }\n            },\n            \"status\": \"complete\",\n            \"capture\": true,\n            \"authorization\": false,\n            \"archived\": false,\n            \"one_off\": true,\n            \"_id\": \"60a193b2079e3f2cb2d9ba5a\",\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"items\": [],\n            \"transactions\": [\n                {\n                    \"fraud\": {\n                        \"external\": true,\n                        \"specific_code\": \"100\",\n                        \"specific_message\": \"Test message for fraud\",\n                        \"status\": \"approved\",\n                        \"score\": \"0\",\n                        \"reason\": \"yes\",\n                        \"source\": \"external\"\n                    },\n                    \"type\": \"sale\",\n                    \"status\": \"complete\",\n                    \"gateway_specific_code\": null,\n                    \"gateway_specific_description\": null,\n                    \"error_message\": null,\n                    \"error_code\": null,\n                    \"status_code\": null,\n                    \"status_code_description\": null,\n                    \"_id\": \"60a193b2079e3f2cb2d9ba5a\",\n                    \"created_at\": \"2021-01-21T14:46:10.849Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"external_id\": \"ch_1DC3QJIXZXv8Hpj44W7I00eOr\",\n                    \"remittance_date\": \"2021-01-22T14:46:10.852Z\"\n                }\n            ],\n            \"updated_at\": \"2021-01-21T14:46:11.804Z\",\n            \"created_at\": \"2021-01-21T14:46:10.852Z\",\n            \"__v\": 0,\n            \"external_id\": \"ch_1DC3QJIXZXv8Hpj44W7I00eOr\"\n        }\n    }\n}"},{"id":"1bea591c-f998-420d-a5b0-2590b8bb0ec0","name":"Charge with one-time token based on Click to Pay","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"This is your PayDock API Secret Key"},{"key":"x-user-secret-key","value":"{{secretkey}}","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"4\",\n    \"currency\": \"AUD\",\n    \"token\": \"65366bfe-4a09-4a38-843c-f75f4055fd8a\",\n    \"reference\": \"test reference\",\n    \"reference2\": \"test reference 2\",\n    \"customer\": {\n        \"payment_source\": {\n            \"gateway_id\": \"649b28580afd643b1708866f\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": 201,\r\n    \"error\": null,\r\n    \"resource\": {\r\n        \"type\": \"charge\",\r\n        \"data\": {\r\n            \"transfer\": {\r\n                \"items\": []\r\n            },\r\n            \"schedule\": {\r\n                \"stopped\": false\r\n            },\r\n            \"statistics\": {\r\n                \"total_refunded_amount\": 0,\r\n                \"full_refund\": false,\r\n                \"need_sync\": true\r\n            },\r\n            \"customer\": {\r\n                \"payment_source\": {\r\n                    \"type\": \"card\",\r\n                    \"card_name\": \"Wanda Mertz\",\r\n                    \"card_number_bin\": \"518600\",\r\n                    \"card_number_last4\": \"8876\",\r\n                    \"card_scheme\": \"mastercard\",\r\n                    \"expire_month\": 5,\r\n                    \"expire_year\": 2030,\r\n                    \"address_line1\": \"Address Line 1\",\r\n                    \"address_city\": \"City\",\r\n                    \"address_postcode\": \"78700\",\r\n                    \"address_state\": \"State\",\r\n                    \"address_country\": \"AU\",\r\n                    \"gateway_id\": \"649b28580afd643b1708866f\",\r\n                    \"service_id\": \"65bceb420dfcea18548caa56\",\r\n                    \"service_name\": \"ServiceName\",\r\n                    \"service_type\": \"ClickToPay\",\r\n                    \"service_group\": \"click_to_pay\",\r\n                    \"items\": [],\r\n                    \"gateway_name\": \"MasterCard\",\r\n                    \"gateway_type\": \"MasterCard\"\r\n                },\r\n                \"email\": \"m*****0@paydock.com\",\r\n                \"phone\": \"+598*****123\",\r\n                \"reference\": \"4f339be7.3c104d44-cb63-4953-b997-11fd60c33faf#0a4e0d3.4f339be7.fce7c84387d3ee67a07474a1cc03fb124843ff37#4f339be7.3c104d44-cb63-4953-b997-11fd60c33faf.1709925656\"\r\n            },\r\n            \"_id\": \"65eb62c44a4b6a3c3325741b\",\r\n            \"type\": \"financial\",\r\n            \"amount\": 4,\r\n            \"currency\": \"AUD\",\r\n            \"status\": \"complete\",\r\n            \"capture\": true,\r\n            \"authorization\": false,\r\n            \"archived\": false,\r\n            \"one_off\": true,\r\n            \"reference\": \"test reference\",\r\n            \"_source_ip_address\": \"167.57.85.241\",\r\n            \"items\": [],\r\n            \"transactions\": [\r\n                {\r\n                    \"type\": \"sale\",\r\n                    \"status\": \"complete\",\r\n                    \"amount\": 4,\r\n                    \"currency\": \"AUD\",\r\n                    \"_source_ip_address\": \"167.57.85.241\",\r\n                    \"gateway_specific_code\": null,\r\n                    \"gateway_specific_description\": null,\r\n                    \"error_message\": null,\r\n                    \"error_code\": null,\r\n                    \"status_code\": null,\r\n                    \"status_code_description\": null,\r\n                    \"include_authorization\": false,\r\n                    \"_id\": \"65eb62c44a4b6a3c3325741c\",\r\n                    \"created_at\": \"2024-03-08T19:11:00.242Z\",\r\n                    \"external_id\": \"169ae7d8-64ab-4268-99a7-37c4791837e1:9ef4adc1-ae34-4241-9bdb-3425a4ebaa26\",\r\n                    \"external_reference\": \"406819206967\",\r\n                    \"processed_at\": \"2024-03-08T19:11:02.519Z\"\r\n                }\r\n            ],\r\n            \"company_id\": \"6308bccfb150df6d264ff8bd\",\r\n            \"reference2\": \"test reference 2\",\r\n            \"updated_at\": \"2024-03-08T19:11:02.519Z\",\r\n            \"created_at\": \"2024-03-08T19:11:00.242Z\",\r\n            \"__v\": 0,\r\n            \"external_id\": \"169ae7d8-64ab-4268-99a7-37c4791837e1:9ef4adc1-ae34-4241-9bdb-3425a4ebaa26\"\r\n        }\r\n    }\r\n}"},{"id":"4761eedd-90df-4ae6-8dcc-504a2ae42239","name":"Charge with one-time token  and fraud active mode. Reject","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"This is your PayDock API Secret Key"},{"key":"x-user-secret-key","value":"{{secretkey}}","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"101\",\n    \"currency\": \"AUD\",\n    \"token\": \"fbcecd0a-7afe-48d1-87b3-068395ca1f2a\",\n    \"fraud\": {\n        \"token\": \"eyJpdGVtcyI6W3sicHJvdmlkZXIiOiJBY2NlcnRpZnkiLCJ2YWx1ZSI6IlZJUlRVQUwiLCJ2ZXJzaW9uIjoibGF0ZXN0In1dfQ==\",\n        \"service_id\": \"5f19e2756f48941648a490d9\",\n        \"mode\": \"active\",\n        \"data\": {\n            \"transaction\": {\n                \"billing\": {\n                    \"customerEmailAddress\": \"reject@fraudtest.com\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": 400,\r\n    \"error\": {\r\n        \"message\": \"Fraud check failed\",\r\n        \"code\": \"FraudWarning\",\r\n        \"details\": {\r\n            \"status_code\": \"59\",\r\n            \"status_code_description\": \"Suspected fraud\"\r\n        }\r\n    },\r\n    \"resource\": {\r\n        \"type\": \"charge\",\r\n        \"data\": {\r\n            \"__v\": 0,\r\n            \"created_at\": \"2020-07-27T11:12:50.944Z\",\r\n            \"updated_at\": \"2020-07-27T11:12:50.944Z\",\r\n            \"status\": \"failed\",\r\n            \"user_id\": \"5de656818ebed20cee14ff85\",\r\n            \"company_id\": \"5de656818ebed20cee14ff86\",\r\n            \"amount\": 101,\r\n            \"currency\": \"AUD\",\r\n            \"_id\": \"5f1eb6b2435632337dab1858\",\r\n            \"fraud\": {\r\n                \"mode\": \"active\",\r\n                \"service_id\": \"5f19e2756f48941648a490d9\"\r\n            },\r\n            \"transactions\": [\r\n                {\r\n                    \"created_at\": \"2020-07-27T11:12:50.944Z\",\r\n                    \"currency\": \"AUD\",\r\n                    \"amount\": 101,\r\n                    \"_id\": \"5f1eb6b2435632337dab1859\",\r\n                    \"fraud\": {\r\n                        \"specific_code\": null,\r\n                        \"specific_message\": \"REJECT:5000;\",\r\n                        \"status\": \"reject\",\r\n                        \"score\": \"5000\"\r\n                    },\r\n                    \"status_code_description\": \"Suspected fraud\",\r\n                    \"status_code\": \"59\",\r\n                    \"error_code\": \"fraud_warning\",\r\n                    \"error_message\": \"Fraud Warning\",\r\n                    \"gateway_specific_description\": null,\r\n                    \"gateway_specific_code\": null,\r\n                    \"_source_ip_address\": \"192.168.0.1\",\r\n                    \"service_logs\": [],\r\n                    \"status\": \"rejected\",\r\n                    \"type\": \"sale\",\r\n                    \"id\": \"5f1eb6b2435632337dab1859\"\r\n                }\r\n            ],\r\n            \"one_off\": true,\r\n            \"archived\": false,\r\n            \"customer\": {\r\n                \"first_name\": \"Wanda\",\r\n                \"last_name\": \"Mertz\",\r\n                \"email\": \"reject@example.com\",\r\n                \"payment_source\": {\r\n                    \"gateway_type\": \"MasterCard\",\r\n                    \"gateway_name\": \"MasterCardTest\",\r\n                    \"type\": \"card\",\r\n                    \"gateway_id\": \"5eeb7470c6f56c58107671ab\",\r\n                    \"card_name\": \"Wanda Mertz\",\r\n                    \"card_number_last4\": \"4242\",\r\n                    \"card_number_bin\": \"42424242\",\r\n                    \"expire_month\": 12,\r\n                    \"expire_year\": 2020,\r\n                    \"card_scheme\": \"visa\",\r\n                    \"address_country\": \"AU\",\r\n                    \"ref_token\": \"9370231019726318\"\r\n                }\r\n            },\r\n            \"capture\": true,\r\n            \"items\": [],\r\n            \"transfer\": {\r\n                \"items\": []\r\n            },\r\n            \"id\": \"5f1eb6b2435632337dab1858\"\r\n        }\r\n    },\r\n    \"error_summary\": {\r\n        \"message\": \"Fraud check failed\",\r\n        \"code\": \"fraud_warning\",\r\n        \"details\": {\r\n            \"messages\": []\r\n        }\r\n    }\r\n}"},{"id":"1310f72c-325f-4325-b334-a90cbaa1e4fb","name":"Charge with one-time token  and fraud active mode. Review","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"This is your PayDock API Secret Key","type":"text"},{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"101\",\n    \"currency\": \"AUD\",\n    \"token\": \"fbcecd0a-7afe-48d1-87b3-068395ca1f2a\",\n    \"fraud\": {\n        \"token\": \"eyJpdGVtcyI6W3sicHJvdmlkZXIiOiJBY2NlcnRpZnkiLCJ2YWx1ZSI6IlZJUlRVQUwiLCJ2ZXJzaW9uIjoibGF0ZXN0In1dfQ==\",\n        \"service_id\": \"5f19e2756f48941648a490d9\",\n        \"mode\": \"active\",\n        \"data\": {\n            \"transaction\": {\n                \"billing\": {\n                    \"customerEmailAddress\": \"review@fraudtest.com\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": 201,\r\n    \"error\": null,\r\n    \"resource\": {\r\n        \"type\": \"charge\",\r\n        \"data\": {\r\n            \"_id\": \"64923b91edc95e2ced2c74fc\",\r\n            \"amount\": 90,\r\n            \"currency\": \"AUD\",\r\n            \"company_id\": \"5f7ac85507b3352c6b299703\",\r\n            \"type\": \"fraud\",\r\n            \"status\": \"inreview\",\r\n            \"external_id\": \"dc5bbde3-c0ae-4c24-bbd5-92596bf27026\",\r\n            \"capture\": true,\r\n            \"authorization\": false,\r\n            \"one_off\": true,\r\n            \"amount_surcharge\": null,\r\n            \"amount_original\": null,\r\n            \"created_at\": \"2023-06-20T23:51:45.854Z\",\r\n            \"updated_at\": \"2023-06-20T23:51:45.985Z\",\r\n            \"schedule\": {\r\n                \"stopped\": false\r\n            },\r\n            \"archived\": false,\r\n            \"fraud\": {\r\n                \"service_id\": \"60ddc514809b607ce7e676e9\",\r\n                \"mode\": \"active\",\r\n                \"service_name\": \"AssertifyLabel\",\r\n                \"service_type\": \"Accertify\"\r\n            },\r\n            \"meta\": {},\r\n            \"customer\": {\r\n                \"payment_source\": {\r\n                    \"type\": \"card\",\r\n                    \"gateway_id\": \"6464cab25e05450f2ed856c0\",\r\n                    \"gateway_name\": \"MASTERCARD\",\r\n                    \"gateway_type\": \"MasterCard\",\r\n                    \"vault_token\": \"0ff0dfd2-524e-4713-8461-2b57946784d6\",\r\n                    \"card_name\": \"Samantha Washington\",\r\n                    \"card_number_bin\": \"42424242\",\r\n                    \"card_number_last4\": \"4242\",\r\n                    \"card_scheme\": \"visa\",\r\n                    \"expire_month\": 5,\r\n                    \"expire_year\": 2027\r\n                }\r\n            },\r\n            \"transactions\": [\r\n                {\r\n                    \"_id\": \"64923b91edc95e2ced2c74ff\",\r\n                    \"external_id\": \"dc5bbde3-c0ae-4c24-bbd5-92596bf27026\",\r\n                    \"amount\": 90,\r\n                    \"amount_fee\": null,\r\n                    \"currency\": \"AUD\",\r\n                    \"type\": \"fraud\",\r\n                    \"status\": \"rejected\",\r\n                    \"created_at\": \"2023-06-20T23:51:45.872Z\",\r\n                    \"updated_at\": \"2023-06-20T23:51:45.953Z\",\r\n                    \"include_authorization\": false,\r\n                    \"error_code\": \"fraud_warning\",\r\n                    \"_source_ip_address\": \"127.0.0.1\",\r\n                    \"service_logs\": [],\r\n                    \"fraud\": {\r\n                        \"external_id\": \"dc5bbde3-c0ae-4c24-bbd5-92596bf27026\",\r\n                        \"status\": \"review\",\r\n                        \"score\": \"2500\",\r\n                        \"specific_code\": null,\r\n                        \"specific_message\": \"5237260000001540566:Transaction Is REVIEW:2500;\"\r\n                    }\r\n                }\r\n            ]\r\n        }\r\n    }\r\n}"},{"id":"0ee9b4ae-9c37-4393-a5a8-6965ecee44bc","name":"Charge with one-time token and fraud active mode. Failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"This is your PayDock API Secret Key","type":"text"},{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"101\",\n    \"currency\": \"AUD\",\n    \"token\": \"76884a44-2a56-4c55-a413-fd264075f000\",\n    \"fraud\": {\n        \"token\": \"eyJpdGVtcyI6W3sicHJvdmlkZXIiOiJBY2NlcnRpZnkiLCJ2YWx1ZSI6IlZJUlRVQUwiLCJ2ZXJzaW9uIjoibGF0ZXN0In1dfQ==\",\n        \"service_id\": \"5f19e2756f48941648a490d9\",\n        \"mode\": \"active\",\n        \"data\": {\n            \"transaction\": {\n                \"billing\": {\n                    \"customerEmailAddress\": \"failed@fraudtest.com\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Fraud check failed\",\n        \"code\": \"SystemError\",\n        \"details\": {}\n    },\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"__v\": 0,\n            \"created_at\": \"2020-07-27T11:17:03.576Z\",\n            \"updated_at\": \"2020-07-27T11:17:03.576Z\",\n            \"status\": \"failed\",\n            \"user_id\": \"5de656818ebed20cee14ff85\",\n            \"company_id\": \"5de656818ebed20cee14ff86\",\n            \"amount\": 101,\n            \"currency\": \"AUD\",\n            \"_id\": \"5f1eb7af435632337dab185f\",\n            \"fraud\": {\n                \"mode\": \"active\",\n                \"service_id\": \"5f19e2756f48941648a490d9\"\n            },\n            \"transactions\": [\n                {\n                    \"created_at\": \"2020-07-27T11:17:03.576Z\",\n                    \"currency\": \"AUD\",\n                    \"amount\": 101,\n                    \"_id\": \"5f1eb7af435632337dab1860\",\n                    \"fraud\": {\n                        \"specific_code\": null,\n                        \"specific_message\": \"The request could not be processed\",\n                        \"status\": \"failed\"\n                    },\n                    \"status_code_description\": null,\n                    \"status_code\": null,\n                    \"error_code\": \"system_error\",\n                    \"error_message\": \"System Error\",\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"failed\",\n                    \"type\": \"sale\",\n                    \"id\": \"5f1eb7af435632337dab1860\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": false,\n            \"customer\": {\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"email\": \"wanda.mertz@example.com\",\n                \"payment_source\": {\n                    \"gateway_type\": \"MasterCard\",\n                    \"gateway_name\": \"MasterCardTest\",\n                    \"type\": \"card\",\n                    \"gateway_id\": \"5eeb7470c6f56c58107671ab\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"expire_month\": 12,\n                    \"expire_year\": 2020,\n                    \"card_scheme\": \"visa\",\n                    \"address_country\": \"AU\",\n                    \"ref_token\": \"9146960566347838\"\n                }\n            },\n            \"capture\": true,\n            \"authorization\": false,\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            },\n            \"id\": \"5f1eb7af435632337dab185f\"\n        }\n    },\n    \"error_summary\": {\n        \"message\": \"Fraud check failed\",\n        \"code\": \"system_error\",\n        \"details\": {\n            \"messages\": []\n        }\n    }\n}"},{"id":"16dbe6e0-d1ab-4706-8aea-57cb4aaea6ed","name":"Charge with one-time token and fraud in active mode. Success","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"101\",\n    \"currency\": \"AUD\",\n    \"token\": \"d397b06c-2525-4d4f-9d3b-3328f3156a34\",\n    \"fraud\": {\n        \"token\": \"eyJpdGVtcyI6W3sicHJvdmlkZXIiOiJBY2NlcnRpZnkiLCJ2YWx1ZSI6IlZJUlRVQUwiLCJ2ZXJzaW9uIjoibGF0ZXN0In1dfQ==\",\n        \"service_id\": \"5f19e2756f48941648a490d9\",\n        \"mode\": \"active\",\n        \"data\": {\n            \"transaction\": {\n                \"billing\": {\n                    \"customerEmailAddress\": \"wanda.mertz@example.com\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": 201,\r\n    \"error\": null,\r\n    \"resource\": {\r\n        \"type\": \"charge\",\r\n        \"data\": {\r\n            \"status\": \"complete\",\r\n            \"external_id\": \"470b3a66-63bc-4568-a8d6-c22c99bb671b:9c20adc0-d10c-489e-b92b-21ab0a86f004\",\r\n            \"_id\": \"5f1eb002435632337dab1849\",\r\n            \"created_at\": \"2020-07-27T10:44:18.697Z\",\r\n            \"updated_at\": \"2020-07-27T10:44:19.790Z\",\r\n            \"user_id\": \"5de656818ebed20cee14ff85\",\r\n            \"company_id\": \"5de656818ebed20cee14ff86\",\r\n            \"amount\": 101,\r\n            \"currency\": \"AUD\",\r\n            \"__v\": 0,\r\n            \"fraud\": {\r\n                \"mode\": \"active\",\r\n                \"service_id\": \"5f19e2756f48941648a490d9\"\r\n            },\r\n            \"transactions\": [\r\n                {\r\n                    \"external_id\": \"470b3a66-63bc-4568-a8d6-c22c99bb671b:9c20adc0-d10c-489e-b92b-21ab0a86f004\",\r\n                    \"external_reference\": \"87633456\",\r\n                    \"created_at\": \"2020-07-27T10:44:18.697Z\",\r\n                    \"currency\": \"AUD\",\r\n                    \"amount\": 101,\r\n                    \"_id\": \"5f1eb002435632337dab184a\",\r\n                    \"fraud\": {\r\n                        \"specific_code\": null,\r\n                        \"specific_message\": \"Specific_message\",\r\n                        \"status\": \"approve\",\r\n                        \"score\": \"1000\"\r\n                    },\r\n                    \"status_code_description\": null,\r\n                    \"status_code\": null,\r\n                    \"error_code\": null,\r\n                    \"error_message\": null,\r\n                    \"gateway_specific_description\": null,\r\n                    \"gateway_specific_code\": null,\r\n                    \"_source_ip_address\": \"192.168.0.1\",\r\n                    \"status\": \"complete\",\r\n                    \"type\": \"sale\"\r\n                }\r\n            ],\r\n            \"one_off\": true,\r\n            \"archived\": false,\r\n            \"customer\": {\r\n                \"first_name\": \"Wanda\",\r\n                \"last_name\": \"Mertz\",\r\n                \"email\": \"wanda.mertz@example.com\",\r\n                \"payment_source\": {\r\n                    \"gateway_type\": \"MasterCard\",\r\n                    \"gateway_name\": \"MasterCardTest\",\r\n                    \"type\": \"card\",\r\n                    \"gateway_id\": \"5eeb7470c6f56c58107671ab\",\r\n                    \"card_name\": \"Wanda Mertz\",\r\n                    \"card_number_last4\": \"4242\",\r\n                    \"card_number_bin\": \"42424242\",\r\n                    \"expire_month\": 12,\r\n                    \"expire_year\": 2020,\r\n                    \"card_scheme\": \"visa\",\r\n                    \"address_country\": \"AU\"\r\n                }\r\n            },\r\n            \"capture\": true,\r\n            \"authorization\": false,\r\n            \"items\": [],\r\n            \"transfer\": {\r\n                \"items\": []\r\n            }\r\n        }\r\n    }\r\n}"},{"id":"57f09c21-1d2a-4556-82f7-fcdf0c162b06","name":"Charge with one-time token and fraud passive mode","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"This is your PayDock API Secret Key","type":"text"},{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"101\",\n    \"currency\": \"AUD\",\n    \"token\": \"a5b290f3-1bfc-481c-be35-688f9d26045f\",\n    \"fraud\": {\n        \"token\": \"eyJpdGVtciOiJBY2NlckiLCJ2YWx1ZSI6IlZJUlRVQUwiLCJ2ZXoibGZXN0In1dfQ==\",\n        \"service_id\": \"5f19e2756f48941648a490d9\",\n        \"mode\": \"passive\",\n        \"data\": {\n            \"billing\": {\n                \"customerEmailAddress\": \"carlie.kuvalis@example.com\"\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"status\": \"complete\",\n            \"external_id\": \"75b3d3f9-6fcc-4175-b08c-301e9b424e92:f72c9f10-fff0-491d-8e80-f54210f94384\",\n            \"_id\": \"5f1eb972435632337dab1862\",\n            \"created_at\": \"2020-07-27T11:24:34.654Z\",\n            \"updated_at\": \"2020-07-27T11:24:35.905Z\",\n            \"user_id\": \"5de656818ebed20cee14ff85\",\n            \"company_id\": \"5de656818ebed20cee14ff86\",\n            \"amount\": 101,\n            \"currency\": \"AUD\",\n            \"__v\": 0,\n            \"fraud\": {\n                \"mode\": \"passive\",\n                \"service_id\": \"5f19e2756f48941648a490d9\"\n            },\n            \"transactions\": [\n                {\n                    \"external_id\": \"75b3d3f9-6fcc-4175-b08c-301e9b424e92:f72c9f10-fff0-491d-8e80-f54210f94384\",\n                    \"external_reference\": \"87633456\",\n                    \"created_at\": \"2020-07-27T11:24:34.654Z\",\n                    \"currency\": \"AUD\",\n                    \"amount\": 101,\n                    \"_id\": \"5f1eb972435632337dab1863\",\n                    \"fraud\": {\n                        \"specific_code\": null,\n                        \"specific_message\": \"REJECT:5000;\",\n                        \"status\": \"reject\",\n                        \"score\": \"5000\"\n                    },\n                    \"status_code_description\": null,\n                    \"status_code\": null,\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"status\": \"complete\",\n                    \"type\": \"sale\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": false,\n            \"customer\": {\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"email\": \"carlie.kuvalis@example.com\",\n                \"payment_source\": {\n                    \"gateway_type\": \"MasterCard\",\n                    \"gateway_name\": \"MasterCardTest\",\n                    \"type\": \"card\",\n                    \"gateway_id\": \"5eeb7470c6f56c58107671ab\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"2346\",\n                    \"card_number_bin\": \"42424242\",\n                    \"expire_month\": 12,\n                    \"expire_year\": 2020,\n                    \"card_scheme\": \"mastercard\",\n                    \"address_country\": \"AU\"\n                }\n            },\n            \"capture\": true,\n            \"authorization\": false,\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            }\n        }\n    }\n}"},{"id":"ff37fdf4-8aae-4387-b351-3adaea7eb77e","name":"Charge with session vault token and fraud active mode. Reject","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"This is your PayDock API Secret Key"},{"key":"x-user-secret-key","value":"{{secretkey}}","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"150\",\n    \"currency\": \"AUD\",\n    \"reference\": \"some_reference\",\n    \"description\": \"some_description\",\n    \"customer\": {\n        \"email\": \"test@paydock.com\",\n        \"first_name\": \"Wanda\",\n        \"last_name\": \"Mertz\",\n        \"payment_source\": {\n            \"gateway_id\": \"5dde1f3799cfea21ed2fc942\",\n            \"vault_token\": \"14f7be79-5d43-4f4f-a575-a73504304f85\"\n        }\n    },\n    \"fraud\": {\n        \"token\": \"eyJpdGVtcyI6W3sicHJvdmlkZXIiOiJBY2NlcnRpZnkiLCJ2YWx1ZSI6IlZJUlRVQUwiLCJ2ZXJzaW9uIjoibGF0ZXN0In1dfQ==\",\n        \"service_id\": \"5dde1f3799cfea21ed2fc123\",\n        \"mode\": \"active\",\n        \"data\": {\n            \"transaction\": {\n                \"billing\": {\n                    \"customerEmailAddress\": \"reject@fraudtest.com\",\n                    \"shippingFirstName\": \"Wanda\",\n                    \"shippingAddress1\": \"61426 Osvaldo Plains\",\n                    \"shippingAddress2\": \"\",\n                    \"shippingCity\": \"Lake Robyn\",\n                    \"shippingState\": \"WY\",\n                    \"shippingPostcode\": \"3000\",\n                    \"shippingCountry\": \"US\",\n                    \"shippingPhone\": \"231231\",\n                    \"shippingMethod\": \"N\",\n                    \"shippingEmail\": \"wanda.mertz@example.com\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Fraud check failed\",\n        \"code\": \"fraud_warning\",\n        \"details\": {\n            \"path\": \"\",\n            \"messages\": [],\n            \"status_code\": \"59\",\n            \"status_code_description\": \"Suspected fraud\"\n        }\n    },\n    \"resource\": {\n        \"data\": {\n            \"transfer\": {\n                \"items\": []\n            },\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"statistics\": {\n                \"total_refunded_amount\": 0,\n                \"full_refund\": false,\n                \"need_sync\": true\n            },\n            \"customer\": {\n                \"payment_source\": {\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2025,\n                    \"gateway_id\": \"65085a250845ce237175fb00\",\n                    \"gateway_type\": \"MasterCard\",\n                    \"gateway_name\": \"MasterCard_Gateway\",\n                    \"type\": \"card\",\n                    \"vault_token\": \"37bf5c2d-3102-4807-9fb4-6109578aaf86\",\n                    \"vault_type\": \"session\",\n                    \"card_number_hash_uuid\": \"c0af3625-e7d7-4b6f-b5d9-15c8bb094de8\",\n                    \"items\": []\n                },\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"email\": \"test@paydock.com\"\n            },\n            \"fraud\": {\n                \"mode\": \"active\",\n                \"service_id\": \"64aee3a410b21952fa2103cc\"\n            },\n            \"logs_migrated\": false,\n            \"status\": \"failed\",\n            \"type\": \"financial\",\n            \"capture\": true,\n            \"authorization\": false,\n            \"archived\": false,\n            \"one_off\": true,\n            \"_source_ip_address\": \"167.57.118.28\",\n            \"_id\": \"652702b13f2ea8913d5b2dca\",\n            \"amount\": 150,\n            \"currency\": \"AUD\",\n            \"reference\": \"some_reference\",\n            \"description\": \"some_description\",\n            \"company_id\": \"6308bccfb150df6d264ff8bd\",\n            \"items\": [],\n            \"transactions\": [\n                {\n                    \"fraud\": {\n                        \"external_id\": \"e78c6a4e-cc61-4e37-a171-e1381d3b82d5\",\n                        \"specific_code\": null,\n                        \"specific_message\": \"5237260000001540565:liquor_Transaction Is REJECT:100000;\",\n                        \"status\": \"reject\",\n                        \"score\": \"100000\",\n                        \"reason\": \" \"\n                    },\n                    \"_id\": \"652702b13f2ea8913d5b2dcd\",\n                    \"status\": \"rejected\",\n                    \"type\": \"sale\",\n                    \"amount\": 150,\n                    \"currency\": \"AUD\",\n                    \"service_logs\": [],\n                    \"created_at\": \"2023-10-11T20:16:49.885Z\",\n                    \"updated_at\": \"2023-10-11T20:16:51.602Z\",\n                    \"amount_fee\": null,\n                    \"error_code\": \"fraud_warning\",\n                    \"processed_at\": \"2023-10-11T20:16:51.603Z\",\n                    \"status_code\": \"59\",\n                    \"status_code_description\": \"Suspected fraud\"\n                }\n            ],\n            \"created_at\": \"2023-10-11T20:16:49.863Z\",\n            \"updated_at\": \"2023-10-11T20:16:51.626Z\",\n            \"amount_surcharge\": null,\n            \"amount_original\": null,\n            \"__v\": 1\n        },\n        \"type\": \"charge\"\n    },\n    \"error_summary\": {\n        \"message\": \"Fraud check failed\",\n        \"code\": \"fraud_warning\",\n        \"details\": {\n            \"messages\": []\n        }\n    }\n}"},{"id":"85b123a1-1a06-4063-b02f-fb34f7c31efe","name":"Charge with session vault token and fraud active mode. Review","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"This is your PayDock API Secret Key"},{"key":"x-user-secret-key","value":"{{secretkey}}","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"150\",\n    \"currency\": \"AUD\",\n    \"reference\": \"some_reference\",\n    \"description\": \"some_description\",\n    \"customer\": {\n        \"email\": \"test@paydock.com\",\n        \"first_name\": \"Wanda\",\n        \"last_name\": \"Mertz\",\n        \"payment_source\": {\n            \"gateway_id\": \"5dde1f3799cfea21ed2fc942\",\n            \"vault_token\": \"14f7be79-5d43-4f4f-a575-a73504304f85\"\n        }\n    },\n    \"fraud\": {\n        \"token\": \"eyJpdGVtcyI6W3sicHJvdmlkZXIiOiJBY2NlcnRpZnkiLCJ2YWx1ZSI6IlZJUlRVQUwiLCJ2ZXJzaW9uIjoibGF0ZXN0In1dfQ==\",\n        \"service_id\": \"5dde1f3799cfea21ed2fc123\",\n        \"mode\": \"active\",\n        \"data\": {\n            \"transaction\": {\n                \"billing\": {\n                    \"customerEmailAddress\": \"review@fraudtest.com\",\n                    \"shippingFirstName\": \"Wanda\",\n                    \"shippingAddress1\": \"61426 Osvaldo Plains\",\n                    \"shippingAddress2\": \"\",\n                    \"shippingCity\": \"Lake Robyn\",\n                    \"shippingState\": \"WY\",\n                    \"shippingPostcode\": \"3000\",\n                    \"shippingCountry\": \"US\",\n                    \"shippingPhone\": \"231231\",\n                    \"shippingMethod\": \"N\",\n                    \"shippingEmail\": \"wanda.mertz@example.com\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"652703263f2ea8913d5b2e0b\",\n            \"amount\": 150,\n            \"currency\": \"AUD\",\n            \"reference\": \"some_reference\",\n            \"company_id\": \"6308bccfb150df6d264ff8bd\",\n            \"description\": \"some_description\",\n            \"type\": \"financial\",\n            \"status\": \"inreview\",\n            \"capture\": true,\n            \"authorization\": false,\n            \"one_off\": true,\n            \"amount_surcharge\": null,\n            \"amount_original\": null,\n            \"created_at\": \"2023-10-11T20:18:46.392Z\",\n            \"updated_at\": \"2023-10-11T20:18:48.022Z\",\n            \"shipping\": {\n                \"contact\": {}\n            },\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"archived\": false,\n            \"_3ds\": {},\n            \"fraud\": {\n                \"service_id\": \"64aee3a410b21952fa2103cc\",\n                \"mode\": \"active\"\n            },\n            \"meta\": {},\n            \"customer\": {\n                \"last_name\": \"Mertz\",\n                \"first_name\": \"Wanda\",\n                \"email\": \"test@paydock.com\",\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"gateway_id\": \"65085a250845ce237175fb00\",\n                    \"gateway_name\": \"MasterCard_Gateway\",\n                    \"gateway_type\": \"MasterCard\",\n                    \"vault_token\": \"5ac0e63a-e6df-464b-be27-ffcdd1eecb49\",\n                    \"vault_type\": \"session\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2025\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"652703263f2ea8913d5b2e0e\",\n                    \"amount\": 150,\n                    \"amount_fee\": null,\n                    \"currency\": \"AUD\",\n                    \"type\": \"sale\",\n                    \"status\": \"rejected\",\n                    \"created_at\": \"2023-10-11T20:18:46.412Z\",\n                    \"updated_at\": \"2023-10-11T20:18:47.991Z\",\n                    \"include_authorization\": false,\n                    \"processed_at\": \"2023-10-11T20:18:47.991Z\",\n                    \"error_code\": \"fraud_warning\",\n                    \"_source_ip_address\": \"167.57.118.28\",\n                    \"_3ds\": {},\n                    \"card_acceptor\": {},\n                    \"service_logs\": [],\n                    \"fraud\": {\n                        \"external_id\": \"c50b84d6-e56d-410e-8c10-8a3afc13d7a2\",\n                        \"status\": \"review\",\n                        \"score\": \"100\",\n                        \"specific_code\": null,\n                        \"specific_message\": \"5237260000001540566:liquor_Transaction Is REVIEW:100;\"\n                    }\n                }\n            ]\n        }\n    }\n}"},{"id":"46c6c2be-1367-4682-b6fe-5f28daa27907","name":"Charge with session vault token and fraud active mode. Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"This is your PayDock API Secret Key"},{"key":"x-user-secret-key","value":"{{secretkey}}","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"150\",\n    \"currency\": \"AUD\",\n    \"reference\": \"some_reference\",\n    \"description\": \"some_description\",\n    \"customer\": {\n        \"email\": \"test@paydock.com\",\n        \"first_name\": \"Wanda\",\n        \"last_name\": \"Mertz\",\n        \"payment_source\": {\n            \"gateway_id\": \"5dde1f3799cfea21ed2fc942\",\n            \"vault_token\": \"14f7be79-5d43-4f4f-a575-a73504304f85\"\n        }\n    },\n    \"fraud\": {\n        \"token\": \"eyJpdGVtcyI6W3sicHJvdmlkZXIiOiJBY2NlcnRpZnkiLCJ2YWx1ZSI6IlZJUlRVQUwiLCJ2ZXJzaW9uIjoibGF0ZXN0In1dfQ==\",\n        \"service_id\": \"5dde1f3799cfea21ed2fc123\",\n        \"mode\": \"active\",\n        \"data\": {\n            \"transaction\": {\n                \"billing\": {\n                    \"customerEmailAddress\": \"wanda.mertz@example.com\",\n                    \"shippingFirstName\": \"Wanda\",\n                    \"shippingAddress1\": \"61426 Osvaldo Plains\",\n                    \"shippingAddress2\": \"\",\n                    \"shippingCity\": \"Lake Robyn\",\n                    \"shippingState\": \"WY\",\n                    \"shippingPostcode\": \"3000\",\n                    \"shippingCountry\": \"US\",\n                    \"shippingPhone\": \"231231\",\n                    \"shippingMethod\": \"N\",\n                    \"shippingEmail\": \"wanda.mertz@example.com\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"652703ed3f2ea8913d5b2e95\",\n            \"amount\": 150,\n            \"currency\": \"AUD\",\n            \"reference\": \"some_reference\",\n            \"company_id\": \"6308bccfb150df6d264ff8bd\",\n            \"description\": \"some_description\",\n            \"type\": \"financial\",\n            \"status\": \"complete\",\n            \"external_id\": \"13bd37f5-4005-43cf-b612-69667009007a:5371b189-3818-42ab-a9fb-37ad62480d46\",\n            \"capture\": true,\n            \"authorization\": false,\n            \"one_off\": true,\n            \"amount_surcharge\": null,\n            \"amount_original\": null,\n            \"created_at\": \"2023-10-11T20:22:05.214Z\",\n            \"updated_at\": \"2023-10-11T20:22:07.809Z\",\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"archived\": false,\n            \"fraud\": {\n                \"service_id\": \"64aee3a410b21952fa2103cc\",\n                \"mode\": \"active\"\n            },\n            \"meta\": {},\n            \"customer\": {\n                \"last_name\": \"Mertz\",\n                \"first_name\": \"Wanda\",\n                \"email\": \"test@paydock.com\",\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"gateway_id\": \"65085a250845ce237175fb00\",\n                    \"gateway_name\": \"MasterCard_Gateway\",\n                    \"gateway_type\": \"MasterCard\",\n                    \"vault_token\": \"9eca871a-7828-4aa9-837f-cc07b7391d68\",\n                    \"vault_type\": \"session\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2025\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"652703ed3f2ea8913d5b2e98\",\n                    \"external_id\": \"13bd37f5-4005-43cf-b612-69667009007a:5371b189-3818-42ab-a9fb-37ad62480d46\",\n                    \"amount\": 150,\n                    \"amount_fee\": null,\n                    \"currency\": \"AUD\",\n                    \"type\": \"sale\",\n                    \"status\": \"complete\",\n                    \"created_at\": \"2023-10-11T20:22:05.232Z\",\n                    \"updated_at\": \"2023-10-11T20:22:07.808Z\",\n                    \"include_authorization\": false,\n                    \"processed_at\": \"2023-10-11T20:22:07.808Z\",\n                    \"_source_ip_address\": \"167.57.118.28\",\n                    \"service_logs\": [],\n                    \"fraud\": {\n                        \"external_id\": \"df1a1977-d844-4eb6-926e-46bb390b8cd8\",\n                        \"status\": \"approve\",\n                        \"score\": \"-9\",\n                        \"specific_code\": null,\n                        \"specific_message\": \"5237260000001540614:liquor_More Than 1 Transaction With Same Customer Email Address In 7 Days:1;5237260000001604796:liquor_Sales Channel:0;5237260000001540578:liquor_Transaction Total Amount Less Than 50:-10;5237260000001540899:liquor_Device Browser Service Rule - Test:0;\"\n                    }\n                }\n            ]\n        }\n    }\n}"},{"id":"e68aeb22-6650-4996-8eb6-aa1292e41e84","name":"Charge with session vault token and fraud passive mode. Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"This is your PayDock API Secret Key"},{"key":"x-user-secret-key","value":"{{secretkey}}","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"150\",\n    \"currency\": \"AUD\",\n    \"reference\": \"some_reference\",\n    \"description\": \"some_description\",\n    \"customer\": {\n        \"email\": \"test@paydock.com\",\n        \"first_name\": \"Wanda\",\n        \"last_name\": \"Mertz\",\n        \"payment_source\": {\n            \"gateway_id\": \"5dde1f3799cfea21ed2fc942\",\n            \"vault_token\": \"14f7be79-5d43-4f4f-a575-a73504304f85\"\n        }\n    },\n    \"fraud\": {\n        \"token\": \"eyJpdGVtcyI6W3sicHJvdmlkZXIiOiJBY2NlcnRpZnkiLCJ2YWx1ZSI6IlZJUlRVQUwiLCJ2ZXJzaW9uIjoibGF0ZXN0In1dfQ==\",\n        \"service_id\": \"5dde1f3799cfea21ed2fc123\",\n        \"mode\": \"passive\",\n        \"data\": {\n            \"transaction\": {\n                \"billing\": {\n                    \"customerEmailAddress\": \"wanda@paydock.com\",\n                    \"shippingFirstName\": \"Wanda\",\n                    \"shippingAddress1\": \"61426 Osvaldo Plains\",\n                    \"shippingAddress2\": \"\",\n                    \"shippingCity\": \"Lake Robyn\",\n                    \"shippingState\": \"WY\",\n                    \"shippingPostcode\": \"3000\",\n                    \"shippingCountry\": \"US\",\n                    \"shippingPhone\": \"231231\",\n                    \"shippingMethod\": \"N\",\n                    \"shippingEmail\": \"wanda.mertz@example.com\"\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"652704ad3f2ea8913d5b31cc\",\n            \"amount\": 150,\n            \"currency\": \"AUD\",\n            \"reference\": \"some_reference\",\n            \"company_id\": \"6308bccfb150df6d264ff8bd\",\n            \"description\": \"some_description\",\n            \"type\": \"financial\",\n            \"status\": \"complete\",\n            \"external_id\": \"b08bb600-8b5e-473b-ac22-d9b5dae161fd:5088ca1b-f80b-4590-ac51-4c5abd4fffc6\",\n            \"capture\": true,\n            \"authorization\": false,\n            \"one_off\": true,\n            \"amount_surcharge\": null,\n            \"amount_original\": null,\n            \"created_at\": \"2023-10-11T20:25:17.219Z\",\n            \"updated_at\": \"2023-10-11T20:25:19.504Z\",\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"archived\": false,\n            \"fraud\": {\n                \"service_id\": \"64aee3a410b21952fa2103cc\",\n                \"mode\": \"passive\"\n            },\n            \"meta\": {},\n            \"customer\": {\n                \"last_name\": \"Mertz\",\n                \"first_name\": \"Wanda\",\n                \"email\": \"test@paydock.com\",\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"gateway_id\": \"65085a250845ce237175fb00\",\n                    \"gateway_name\": \"MasterCard_Gateway\",\n                    \"gateway_type\": \"MasterCard\",\n                    \"vault_token\": \"cfa10ae2-a5b8-4937-8309-193695f3f7ca\",\n                    \"vault_type\": \"session\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2025\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"652704ad3f2ea8913d5b31cf\",\n                    \"external_id\": \"b08bb600-8b5e-473b-ac22-d9b5dae161fd:5088ca1b-f80b-4590-ac51-4c5abd4fffc6\",\n                    \"amount\": 150,\n                    \"amount_fee\": null,\n                    \"currency\": \"AUD\",\n                    \"type\": \"sale\",\n                    \"status\": \"complete\",\n                    \"created_at\": \"2023-10-11T20:25:17.241Z\",\n                    \"updated_at\": \"2023-10-11T20:25:19.504Z\",\n                    \"include_authorization\": false,\n                    \"processed_at\": \"2023-10-11T20:25:19.504Z\",\n                    \"_source_ip_address\": \"167.57.118.28\",\n                    \"service_logs\": [],\n                    \"fraud\": {\n                        \"external_id\": \"1d80f753-bb98-488d-9ec5-ae6d7519c69e\",\n                        \"status\": \"approve\",\n                        \"score\": \"-9\",\n                        \"specific_code\": null,\n                        \"specific_message\": \"5237260000001540614:liquor_More Than 1 Transaction With Same Customer Email Address In 7 Days:1;5237260000001604796:liquor_Sales Channel:0;5237260000001540578:liquor_Transaction Total Amount Less Than 50:-10;5237260000001540899:liquor_Device Browser Service Rule - Test:0;\"\n                    }\n                }\n            ]\n        }\n    }\n}"},{"id":"d79e416e-eaa9-45f4-9632-504721a9c59f","name":"Validation error - amount in 3DS is different then in financial charge","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"1.00\",\n    \"currency\": \"AUD\",\n    \"_3ds\": {\n        \"charge_id\": \"5eda4ee7b97da4248e766f09\"\n    }\n}"},"url":"{{url}}/v1/charges"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 05 Jun 2020 13:59:02 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"148"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"94-97DpWGx2lvTe81CZsnjIXQ\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Charge authorized using different amount\",\n        \"code\": \"UnfulfilledCondition\"\n    },\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": null\n    }\n}"},{"id":"417d882b-6523-4025-9ec7-022b0a32b89a","name":"Error received from a gateway","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"10.00\",\n    \"currency\": \"AUD\",\n    \"customer\": {\n        \"payment_source\": {\n            \"gateway_id\": \"5de6660699f6910cede12651\",\n            \"type\": \"bank_account\",\n            \"account_name\": \"Wanda Mertz\", \n            \"account_number\": \"064000\",\n            \"account_routing\": \"invalid\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 20 May 2020 10:19:45 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1155"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"483-ULvU8iKBImc2AQR/xQ2UPQ\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Invalid Bank Account Details\",\n        \"details\": [\n            {\n                \"gateway_specific_code\": \"bsb\",\n                \"gateway_specific_description\": \"Invalid BSB number\",\n                \"param_name\": null,\n                \"description\": \"Invalid Bank Account Details\",\n                \"hard_error\": true\n            }\n        ]\n    },\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"5f08533e9c63b80a26e52b0a\",\n            \"created_at\": \"2020-07-10T11:38:38.695Z\",\n            \"updated_at\": \"2020-07-10T11:38:38.929Z\",\n            \"company_id\": \"5de656818ebed20cee14ff86\",\n            \"user_id\": \"5de656818ebed20cee14ff85\",\n            \"amount\": 50,\n            \"currency\": \"AUD\",\n            \"__v\": 0,\n            \"transactions\": [\n                {\n                    \"created_at\": \"2020-07-10T11:38:38.692Z\",\n                    \"amount\": 50,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5f08533e9c63b80a26e52b0b\",\n                    \"status_code_description\": null,\n                    \"status_code\": null,\n                    \"error_code\": null,\n                    \"error_message\": \"Invalid Bank Account Details\",\n                    \"gateway_specific_description\": \"Invalid BSB number\",\n                    \"gateway_specific_code\": \"bsb\",\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"failed\",\n                    \"type\": \"sale\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": false,\n            \"customer\": {\n                \"payment_source\": {\n                    \"type\": \"bank_account\",\n                    \"account_name\": \"Wanda Mertz\",\n                    \"account_routing\": \"invalid\",\n                    \"account_number\": \"XXXX00\",\n                    \"gateway_id\": \"5de6660699f6910cede12651\",\n                    \"gateway_name\": \"Pay Way\",\n                    \"gateway_type\": \"PaywayRest\"\n                }\n            },\n            \"capture\": true,\n            \"status\": \"failed\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            }\n        }\n    },\n    \"error_summary\": {\n        \"message\": \"Invalid Bank Account Details\",\n        \"code\": \"unspecified_error\",\n        \"details\": {\n            \"gateway_specific_code\": \"bsb\",\n            \"gateway_specific_description\": \"Invalid BSB number\",\n            \"messages\": [\n                \"Invalid Bank Account Details\"\n            ]\n        }\n    }\n}"},{"id":"c3201391-2623-4a23-8ca6-7ebc33f53d9d","name":"Error when processing charge is in status not pre_authenticated","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"amount\": \"17\",\n    \"currency\": \"USD\",\n    \"reference\": \"ch_ref\",\n    \"description\": \"ch_desc\",\n    \"_3ds\":  {\n    \t\"charge_id\": \"5f084eb39c63b80a26e52b01\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 05 Jun 2020 14:07:57 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"153"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"99-K3pdssv5GvA1//6kThdWuQ\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Charge authenticated using different currency\",\n        \"code\": \"UnfulfilledCondition\"\n    },\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": null\n    },\n    \"error_summary\": {\n        \"message\": \"Charge authenticated using different currency\",\n        \"code\": \"unfulfilled_condition\",\n        \"details\": {\n            \"messages\": []\n        }\n    }\n}"},{"id":"5efc82ee-ad59-4b3f-82b1-c597b2624fcf","name":"Internal validation error","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"incorrect\",\n    \"currency\": \"AUD\",\n    \"customer\": {\n        \"payment_source\": {\n            \"gateway_id\": \"5d1df20be205944082f778b8\",\n            \"type\": \"bank_account\",\n            \"account_name\": \"Wanda Mertz\", \n            \"account_number\": \"064000\",\n            \"account_routing\": \"064000\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 20 May 2020 10:23:01 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"177"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"b1-l6EqWEfmxlTdo6jXRBz2ZA\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Invalid Transaction Details\",\n        \"details\": [\n            {\n                \"gateway_specific_code\": \"107\",\n                \"gateway_specific_description\": \"Invalid transaction amount\",\n                \"param_name\": null,\n                \"description\": \"Invalid Transaction Details\",\n                \"hard_error\": true\n            }\n        ]\n    },\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"5f0851259c63b80a26e52b04\",\n            \"created_at\": \"2020-07-10T11:29:41.489Z\",\n            \"updated_at\": \"2020-07-10T11:29:41.769Z\",\n            \"company_id\": \"5de656818ebed20cee14ff86\",\n            \"user_id\": \"5de656818ebed20cee14ff85\",\n            \"amount\": 0,\n            \"currency\": \"AUD\",\n            \"__v\": 0,\n            \"transactions\": [\n                {\n                    \"created_at\": \"2020-07-10T11:29:41.486Z\",\n                    \"amount\": 0,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5f0851259c63b80a26e52b05\",\n                    \"status_code_description\": null,\n                    \"status_code\": null,\n                    \"error_code\": null,\n                    \"error_message\": \"Invalid Transaction Details\",\n                    \"gateway_specific_description\": \"Invalid transaction amount\",\n                    \"gateway_specific_code\": \"107\",\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"failed\",\n                    \"type\": \"sale\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": false,\n            \"customer\": {\n                \"payment_source\": {\n                    \"type\": \"bank_account\",\n                    \"account_name\": \"Wanda Mertz\",\n                    \"account_routing\": \"064000\",\n                    \"account_number\": \"XXXX00\",\n                    \"gateway_id\": \"5e29a154e8e3dc7bc5aa4db6\",\n                    \"gateway_name\": \"*********\",\n                    \"gateway_type\": \"IpPayments\"\n                }\n            },\n            \"capture\": true,\n            \"status\": \"failed\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            }\n        }\n    },\n    \"error_summary\": {\n        \"message\": \"Invalid Transaction Details\",\n        \"code\": \"unspecified_error\",\n        \"details\": {\n            \"gateway_specific_code\": \"107\",\n            \"gateway_specific_description\": \"Invalid transaction amount\",\n            \"messages\": [\n                \"Invalid Transaction Details\"\n            ]\n        }\n    }\n}"},{"id":"aac5497d-c3b0-4620-b0a9-75466d4b4dba","name":"Direct with Network Token pass through","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 10,\n    \"currency\": \"AUD\",\n    \"customer\": {\n        \"payment_source\": {\n            \"gateway_id\": {{gateway_id}},\n            \"network_token\": {\n                \"token\": \"5186151969015078\",\n                \"cryptogram\": \"AMF7SeyDYUrHAAFXBj4kAAADFA==\",\n                \"eci\": \"06\",\n                \"token_expire_month\": \"04\",\n                \"token_expire_year\": \"28\"\n            }\n        }\n    }\n}"},"url":"{{url}}/v1/charges"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"221e2cfe-1471-48e4-9c9b-72fe5fa86a65"},{"name":"update authorization","id":"0165d2e6-45ad-4514-9e03-7194e641f476","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"<p>This is your PayDock API Secret Key</p>\n"},{"key":"Content-Type","value":"application/json","description":"<p>Content-Type will always be application/json</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 10,\n    \"reference\": \"charge-refference\",\n    \"description\": \"Manually defined description for authorization update\",\n    \"fraud\": {\n        \"status\": \"approve\",\n        \"source\": \"source\",\n        \"reason\": \"reason\",\n        \"specific_code\": \"123\",\n        \"specific_message\": \"Country Not Equal to US;Total Amount Greater Than 500:500\",\n        \"score\": \"1000\"\n    }\n}"},"url":"{{url}}/v1/charges/:id/update-authorization","description":"<p>Request to update an existing authorization. If successful, this operation allows you to extend the authorization validity period and/or update the authorized amount for this order</p>\n<h2 id=\"flows\">Flows</h2>\n<ol>\n<li><p>Extend Authorization Validity Period<br /> Update Authorization API should be called without passing the Amount</p>\n</li>\n<li><p>Increase/Decrease Authorized Amount<br /> Update Authorization API should be called, passing the new order Amount</p>\n</li>\n</ol>\n<h2 id=\"supported-gateways\">Supported Gateways</h2>\n<ol>\n<li><p>MPGS</p>\n</li>\n<li><p>PayPal</p>\n</li>\n</ol>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the Charge creation stage</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required [flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>+2</td>\n<td>float</td>\n<td>New amount of the payment</td>\n</tr>\n<tr>\n<td>description</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined description for authorization update</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>A manually defined reference for payments in payment systems</td>\n</tr>\n<tr>\n<td>fraud</td>\n<td>-</td>\n<td>object</td>\n<td>Fraud Result Object (applicable when fraud check completed outside Paydock)</td>\n</tr>\n<tr>\n<td>fraud.status</td>\n<td>-</td>\n<td>string</td>\n<td>Fraud external result status</td>\n</tr>\n<tr>\n<td>fraud.source</td>\n<td>-</td>\n<td>string</td>\n<td>Fraud external result source</td>\n</tr>\n<tr>\n<td>fraud.reason</td>\n<td>-</td>\n<td>string</td>\n<td>Fraud external result reason</td>\n</tr>\n<tr>\n<td>fraud.specific_code</td>\n<td>-</td>\n<td>string</td>\n<td>Fraud external result specific code</td>\n</tr>\n<tr>\n<td>fraud.specific_message</td>\n<td>-</td>\n<td>string</td>\n<td>Fraud external result specific message</td>\n</tr>\n<tr>\n<td>fraud.score</td>\n<td>-</td>\n<td>string</td>\n<td>Fraud external result score</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","charges",":id","update-authorization"],"host":["{{url}}"],"query":[],"variable":[{"id":"8df27af6-c75c-4715-9aa9-756d8e76185f","type":"any","value":"","key":"id"}]}},"response":[{"id":"8f553436-17cf-4cc7-a860-06bff8ad6974","name":"extend auth validity period","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"reference\": \"charge-refference\",\n    \"description\": \"Manually defined description for authorization update\"\n}"},"url":{"raw":"{{url}}/v1/charges/:id/update-authorization","host":["{{url}}"],"path":["v1","charges",":id","update-authorization"],"variable":[{"key":"id","value":""}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 25 Jul 2025 07:48:17 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1964"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"vary","value":"Origin"},{"key":"x-monitoring-acl-permission","value":"charges:update-authorization"},{"key":"x-monitoring-acl-company-id","value":"668d70e8972872d84765b41c"},{"key":"x-monitoring-acl-brand-id","value":"633d47238307936dd9319b79"},{"key":"x-monitoring-acl-global-id","value":"62a8a712af847e01f041b874"},{"key":"x-monitoring-acl-ip","value":"54.86.50.139"},{"key":"x-monitoring-acl-scope","value":"company"},{"key":"x-monitoring-acl-scope-id","value":"668d70e8972872d84765b41c"},{"key":"x-monitoring-charge-customer-payment-source-type","value":"card"},{"key":"x-monitoring-charge-customer-payment-source-scheme","value":"mastercard"},{"key":"x-monitoring-charge-status","value":"pending"},{"key":"x-monitoring-charge-type","value":"financial"},{"key":"x-monitoring-charge-amount","value":"10"},{"key":"x-monitoring-charge-currency","value":"AUD"},{"key":"x-monitoring-charge-customer-payment-source-service-id","value":"686fa32cb7be5d4642972cbd"},{"key":"x-monitoring-charge-customer-payment-source-service-type","value":"MasterCard"},{"key":"x-external-duration","value":"1479"},{"key":"x-retry-delay","value":"0"},{"key":"x-correlation-id","value":"97bdc822-076d-4bb1-864f-4b585e45e16e"},{"key":"etag","value":"W/\"7ac-HEFvOk2wKKNag2hSZirlZiMJasM\""},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charges\",\n        \"data\": {\n            \"_id\": \"6883369b3284792bd09d054c\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"company_id\": \"668d70e8972872d84765b41c\",\n            \"type\": \"financial\",\n            \"status\": \"pending\",\n            \"external_id\": \"b175d207-c255-4fff-9eea-88cec8e86405:b5aa3644-a2a4-41d7-9450-45074b0dc517\",\n            \"capture\": false,\n            \"authorization\": true,\n            \"one_off\": true,\n            \"created_at\": \"2025-07-25T07:47:39.128Z\",\n            \"updated_at\": \"2025-07-25T07:48:17.215Z\",\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"archived\": false,\n            \"meta\": {},\n            \"customer\": {\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"gateway_id\": \"688337698effd92ad6bc7735\",\n                    \"gateway_name\": \"MasterCard\",\n                    \"gateway_type\": \"MasterCard\",\n                    \"card_name\": \"Test Test\",\n                    \"card_number_bin\": \"51234567\",\n                    \"card_number_last4\": \"2346\",\n                    \"card_scheme\": \"mastercard\",\n                    \"expire_month\": 1,\n                    \"expire_year\": 2039,\n                    \"card_funding_method\": \"DEBIT\"\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"6883369b3284792bd09d054d\",\n                    \"external_id\": \"b175d207-c255-4fff-9eea-88cec8e86405:b5aa3644-a2a4-41d7-9450-45074b0dc517\",\n                    \"external_reference\": \"520607079226\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"type\": \"sale\",\n                    \"status\": \"pending\",\n                    \"created_at\": \"2025-07-25T07:47:39.124Z\",\n                    \"error_message\": null,\n                    \"updated_at\": \"2025-07-25T07:47:51.787Z\",\n                    \"pended_at\": \"2025-07-25T09:47:51.768Z\",\n                    \"include_authorization\": false,\n                    \"processed_at\": \"2025-07-25T07:47:40.850Z\",\n                    \"gateway_specific_code\": null,\n                    \"gateway_specific_description\": null,\n                    \"error_code\": null,\n                    \"status_code\": null,\n                    \"status_code_description\": null,\n                    \"_source_ip_address\": \"188.129.76.80\",\n                    \"custom_fields\": {},\n                    \"authorization_code\": \"906650\",\n                    \"service_logs\": []\n                },\n                {\n                    \"_id\": \"688336bf3e78ca650a49effe\",\n                    \"external_id\": \"b175d207-c255-4fff-9eea-88cec8e86405:f1c81269-2c41-4556-af21-c14758294d95\",\n                    \"external_reference\": \"520607080226\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"type\": \"auth_update\",\n                    \"status\": \"complete\",\n                    \"created_at\": \"2025-07-25T07:48:15.687Z\",\n                    \"updated_at\": \"2025-07-25T07:48:17.199Z\",\n                    \"include_authorization\": false,\n                    \"processed_at\": \"2025-07-25T07:48:17.199Z\",\n                    \"_source_ip_address\": \"54.86.50.139\",\n                    \"authorization_code\": \"794600\",\n                    \"service_logs\": []\n                }\n            ]\n        }\n    }\n}"},{"id":"37b2ed54-6e57-46af-993a-63558f0aa742","name":"full update authorization","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 15,\n    \"reference\": \"charge-refference\",\n    \"description\": \"Manually defined description for authorization update\",\n    \"fraud\": {\n        \"status\": \"approve\",\n        \"source\": \"source\",\n        \"reason\": \"reason\",\n        \"specific_code\": \"123\",\n        \"specific_message\": \"Country Not Equal to US;Total Amount Greater Than 500:500\",\n        \"score\": \"1000\"\n    }\n}"},"url":{"raw":"{{url}}/v1/charges/:id/update-authorization","host":["{{url}}"],"path":["v1","charges",":id","update-authorization"],"variable":[{"key":"id","value":""}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 25 Jul 2025 07:50:39 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2145"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"vary","value":"Origin"},{"key":"x-monitoring-acl-permission","value":"charges:update-authorization"},{"key":"x-monitoring-acl-company-id","value":"668d70e8972872d84765b41c"},{"key":"x-monitoring-acl-brand-id","value":"633d47238307936dd9319b79"},{"key":"x-monitoring-acl-global-id","value":"62a8a712af847e01f041b874"},{"key":"x-monitoring-acl-ip","value":"54.86.50.139"},{"key":"x-monitoring-acl-scope","value":"company"},{"key":"x-monitoring-acl-scope-id","value":"668d70e8972872d84765b41c"},{"key":"x-monitoring-charge-customer-payment-source-type","value":"card"},{"key":"x-monitoring-charge-customer-payment-source-scheme","value":"mastercard"},{"key":"x-monitoring-charge-status","value":"pending"},{"key":"x-monitoring-charge-type","value":"financial"},{"key":"x-monitoring-charge-amount","value":"15"},{"key":"x-monitoring-charge-currency","value":"AUD"},{"key":"x-monitoring-charge-customer-payment-source-service-id","value":"686fa32cb7be5d4642972cbd"},{"key":"x-monitoring-charge-customer-payment-source-service-type","value":"MasterCard"},{"key":"x-external-duration","value":"1529"},{"key":"x-retry-delay","value":"0"},{"key":"x-correlation-id","value":"fa4e1343-6ae3-4be5-a2d5-cf3946ae4c31"},{"key":"etag","value":"W/\"861-uzyxjlxS/8EazkI/6LuD2JUKWVM\""},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charges\",\n        \"data\": {\n            \"_id\": \"688337398effd62ad6bc7734\",\n            \"amount\": 15,\n            \"currency\": \"AUD\",\n            \"company_id\": \"668d70e8972872d84765b41c\",\n            \"type\": \"financial\",\n            \"status\": \"pending\",\n            \"external_id\": \"c8013595-02a9-4a1e-bb0a-0fa6707d4be9:93219d48-c996-4c1e-90a9-2aec06298ba1\",\n            \"capture\": false,\n            \"authorization\": true,\n            \"one_off\": true,\n            \"created_at\": \"2025-07-25T07:50:17.144Z\",\n            \"updated_at\": \"2025-07-25T07:50:39.466Z\",\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"archived\": false,\n            \"meta\": {},\n            \"customer\": {\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"gateway_id\": \"688337698effd92ad6bc7735\",\n                    \"gateway_name\": \"MasterCard\",\n                    \"gateway_type\": \"MasterCard\",\n                    \"card_name\": \"Test Test\",\n                    \"card_number_bin\": \"51234567\",\n                    \"card_number_last4\": \"2346\",\n                    \"card_scheme\": \"mastercard\",\n                    \"expire_month\": 1,\n                    \"expire_year\": 2039,\n                    \"card_funding_method\": \"DEBIT\"\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"688337398effd62ad6bc7735\",\n                    \"external_id\": \"c8013595-02a9-4a1e-bb0a-0fa6707d4be9:93219d48-c996-4c1e-90a9-2aec06298ba1\",\n                    \"external_reference\": \"520607081276\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"type\": \"sale\",\n                    \"status\": \"pending\",\n                    \"created_at\": \"2025-07-25T07:50:17.138Z\",\n                    \"error_message\": null,\n                    \"updated_at\": \"2025-07-25T07:50:29.658Z\",\n                    \"pended_at\": \"2025-07-25T09:50:29.639Z\",\n                    \"include_authorization\": false,\n                    \"processed_at\": \"2025-07-25T07:50:18.717Z\",\n                    \"gateway_specific_code\": null,\n                    \"gateway_specific_description\": null,\n                    \"error_code\": null,\n                    \"status_code\": null,\n                    \"status_code_description\": null,\n                    \"_source_ip_address\": \"188.129.76.80\",\n                    \"custom_fields\": {},\n                    \"authorization_code\": \"411160\",\n                    \"service_logs\": []\n                },\n                {\n                    \"_id\": \"6883374d3e78ca650a49f077\",\n                    \"external_id\": \"c8013595-02a9-4a1e-bb0a-0fa6707d4be9:fd34d9a0-28a8-4329-b57a-04756e8c54de\",\n                    \"external_reference\": \"520607082336\",\n                    \"amount\": 15,\n                    \"currency\": \"AUD\",\n                    \"type\": \"auth_update\",\n                    \"status\": \"complete\",\n                    \"created_at\": \"2025-07-25T07:50:37.891Z\",\n                    \"updated_at\": \"2025-07-25T07:50:39.450Z\",\n                    \"include_authorization\": false,\n                    \"processed_at\": \"2025-07-25T07:50:39.451Z\",\n                    \"_source_ip_address\": \"54.86.50.139\",\n                    \"authorization_code\": \"903040\",\n                    \"service_logs\": [],\n                    \"fraud\": {\n                        \"status\": \"approve\",\n                        \"score\": \"1000\",\n                        \"specific_code\": \"123\",\n                        \"specific_message\": \"Country Not Equal to US;Total Amount Greater Than 500:500\",\n                        \"reason\": \"reason\",\n                        \"source\": \"source\"\n                    }\n                }\n            ]\n        }\n    }\n}"},{"id":"1f907e7b-5cf8-477b-8c11-19b86fcf4705","name":"validation error","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 10,\n    \"reference\": \"charge-refference\",\n    \"description\": \"Manually defined description for authorization update\",\n    \"fraud\": {\n        \"status\": \"approve\",\n        \"source\": \"source\",\n        \"reason\": \"reason\",\n        \"specific_code\": \"123\",\n        \"specific_message\": \"Country Not Equal to US;Total Amount Greater Than 500:500\",\n        \"score\": \"1000\"\n    }\n}"},"url":{"raw":"{{url}}/v1/charges/:id/update-authorization","host":["{{url}}"],"path":["v1","charges",":id","update-authorization"],"variable":[{"key":"id","value":""}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 25 Jul 2025 08:00:44 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"268"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"vary","value":"Origin"},{"key":"x-monitoring-acl-permission","value":"charges:update-authorization"},{"key":"x-monitoring-acl-company-id","value":"668d70e8972872d84765b41c"},{"key":"x-monitoring-acl-brand-id","value":"633d47238307936dd9319b79"},{"key":"x-monitoring-acl-global-id","value":"62a8a712af847e01f041b874"},{"key":"x-monitoring-acl-ip","value":"54.86.50.139"},{"key":"x-monitoring-acl-scope","value":"company"},{"key":"x-monitoring-acl-scope-id","value":"668d70e8972872d84765b41c"},{"key":"x-monitoring-error-summary-message","value":"Charge%20is%20not%20authorized"},{"key":"x-monitoring-error-summary-code","value":"UnfulfilledCondition"},{"key":"x-monitoring-error-summary-gateway-specific-code","value":"undefined"},{"key":"x-monitoring-error-summary-gateway-specific-description","value":"undefined"},{"key":"x-monitoring-error-hard","value":"undefined"},{"key":"x-external-duration","value":"0"},{"key":"x-retry-delay","value":"0"},{"key":"x-correlation-id","value":"3db47af4-4a08-4392-898d-6d7ccf10081f"},{"key":"etag","value":"W/\"9c-fOy2725ooMHq7mIuxp5C9/7QtYM\""},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Charge is not authorized\",\n        \"code\": \"UnfulfilledCondition\",\n        \"details\": {\n            \"path\": \"\",\n            \"messages\": []\n        }\n    },\n    \"resource\": {\n        \"type\": \"charge\"\n    },\n    \"error_summary\": {\n        \"message\": \"Charge is not authorized\",\n        \"code\": \"unfulfilled_condition\",\n        \"details\": {\n            \"messages\": []\n        }\n    }\n}"},{"id":"872add70-818a-4522-b995-2bc518885e7f","name":"gateway error","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 10,\n    \"reference\": \"charge-refference\",\n    \"description\": \"Manually defined description for authorization update\",\n    \"fraud\": {\n        \"status\": \"approve\",\n        \"source\": \"source\",\n        \"reason\": \"reason\",\n        \"specific_code\": \"123\",\n        \"specific_message\": \"Country Not Equal to US;Total Amount Greater Than 500:500\",\n        \"score\": \"1000\"\n    }\n}"},"url":{"raw":"{{url}}/v1/charges/:id/update-authorization","host":["{{url}}"],"path":["v1","charges",":id","update-authorization"],"variable":[{"key":"id","value":""}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 25 Jul 2025 08:06:27 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2657"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"vary","value":"Origin"},{"key":"x-monitoring-acl-permission","value":"charges:update-authorization"},{"key":"x-monitoring-acl-company-id","value":"668d70e8972872d84765b41c"},{"key":"x-monitoring-acl-brand-id","value":"633d47238307936dd9319b79"},{"key":"x-monitoring-acl-global-id","value":"62a8a712af847e01f041b874"},{"key":"x-monitoring-acl-ip","value":"54.86.50.139"},{"key":"x-monitoring-acl-scope","value":"company"},{"key":"x-monitoring-acl-scope-id","value":"668d70e8972872d84765b41c"},{"key":"x-monitoring-charge-customer-payment-source-type","value":"card"},{"key":"x-monitoring-charge-customer-payment-source-scheme","value":"visa"},{"key":"x-monitoring-charge-status","value":"pending"},{"key":"x-monitoring-charge-type","value":"financial"},{"key":"x-monitoring-charge-amount","value":"10"},{"key":"x-monitoring-charge-currency","value":"AUD"},{"key":"x-monitoring-charge-customer-payment-source-service-id","value":"686fa32cb7be5d4642972cbd"},{"key":"x-monitoring-charge-customer-payment-source-service-type","value":"MasterCard"},{"key":"x-external-duration","value":"1063"},{"key":"x-retry-delay","value":"0"},{"key":"x-correlation-id","value":"c3bc58a0-2d03-4270-bfae-74d8f1f151cb"},{"key":"etag","value":"W/\"a61-fz5XIEAiudx6pfARgJHfZtwuFXM\""},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charges\",\n        \"data\": {\n            \"_id\": \"68833acd3120d7427898f062\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"company_id\": \"668d70e8972872d84765b41c\",\n            \"type\": \"financial\",\n            \"status\": \"pending\",\n            \"external_id\": \"cc46a5c8-1925-4c98-a4f2-14bf52564dcf:9c747cd6-ad0c-4f6a-8107-524b9cbb206e\",\n            \"capture\": false,\n            \"authorization\": true,\n            \"one_off\": true,\n            \"created_at\": \"2025-07-25T08:05:33.469Z\",\n            \"updated_at\": \"2025-07-25T08:06:27.103Z\",\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"archived\": false,\n            \"meta\": {},\n            \"customer\": {\n                \"last_name\": \"LastName\",\n                \"first_name\": \"FirstName\",\n                \"email\": \"test@example.com\",\n                \"phone\": \"+12345678910\",\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"gateway_id\": \"688337698effd92ad6bc7735\",\n                    \"gateway_name\": \"MasterCard\",\n                    \"gateway_type\": \"MasterCard\",\n                    \"vault_token\": \"6aa6f890-c275-469b-9fe1-5cffb7f144b2\",\n                    \"vault_type\": \"permanent\",\n                    \"card_name\": \"Test Test\",\n                    \"card_number_bin\": \"40120000\",\n                    \"card_number_last4\": \"0026\",\n                    \"card_scheme\": \"visa\",\n                    \"address_line1\": \"Suite 660\",\n                    \"address_line2\": \"822 Ruiz Square\",\n                    \"address_city\": \"Lake Edward\",\n                    \"address_country\": \"AU\",\n                    \"address_state\": \"TAS\",\n                    \"address_postcode\": \"1234\",\n                    \"expire_month\": 3,\n                    \"expire_year\": 2030,\n                    \"card_funding_method\": \"CREDIT\"\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"68833acd3120d7427898f063\",\n                    \"external_id\": \"cc46a5c8-1925-4c98-a4f2-14bf52564dcf:9c747cd6-ad0c-4f6a-8107-524b9cbb206e\",\n                    \"external_reference\": \"520608077158\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"type\": \"sale\",\n                    \"status\": \"pending\",\n                    \"created_at\": \"2025-07-25T08:05:33.466Z\",\n                    \"error_message\": null,\n                    \"updated_at\": \"2025-07-25T08:05:45.868Z\",\n                    \"pended_at\": \"2025-07-25T10:05:45.853Z\",\n                    \"include_authorization\": false,\n                    \"processed_at\": \"2025-07-25T08:05:34.790Z\",\n                    \"gateway_specific_code\": null,\n                    \"gateway_specific_description\": null,\n                    \"error_code\": null,\n                    \"status_code\": null,\n                    \"status_code_description\": null,\n                    \"_source_ip_address\": \"188.129.76.80\",\n                    \"custom_fields\": {},\n                    \"authorization_code\": \"093835\",\n                    \"service_logs\": []\n                },\n                {\n                    \"_id\": \"68833b013e78ca650a49f32c\",\n                    \"external_id\": \"cc46a5c8-1925-4c98-a4f2-14bf52564dcf:3bed4acf-3efa-486e-9eaf-9f98b72addf1\",\n                    \"external_reference\": \"520608078188\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"type\": \"auth_update\",\n                    \"status\": \"failed\",\n                    \"created_at\": \"2025-07-25T08:06:26.000Z\",\n                    \"error_message\": \"Transaction Declined\",\n                    \"updated_at\": \"2025-07-25T08:06:27.103Z\",\n                    \"include_authorization\": false,\n                    \"processed_at\": \"2025-07-25T08:06:27.103Z\",\n                    \"gateway_specific_code\": \"DECLINED\",\n                    \"gateway_specific_description\": \"The requested operation was not successful\",\n                    \"error_code\": \"transaction_declined\",\n                    \"status_code\": \"DECLINED\",\n                    \"_source_ip_address\": \"54.86.50.139\",\n                    \"service_logs\": [],\n                    \"fraud\": {\n                        \"status\": \"approve\",\n                        \"score\": \"1000\",\n                        \"specific_code\": \"123\",\n                        \"specific_message\": \"Country Not Equal to US;Total Amount Greater Than 500:500\",\n                        \"reason\": \"reason\",\n                        \"source\": \"source\"\n                    }\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"0165d2e6-45ad-4514-9e03-7194e641f476"},{"name":"verification","id":"012bfaa0-c81e-4f32-8b75-0ab75fd0145c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"0\",\n    \"currency\": \"AUD\",\n    \"customer\": {\n        \"payment_source\": {\n            \"gateway_id\": \"6397a3a6dd22c3ce7e4db904\",\n            \"card_name\": \"Wanda Mertz\",\n            \"card_number\": \"4111111111111111\",\n            \"expire_month\": \"09\",\n            \"expire_year\": \"25\",\n            \"card_ccv\": \"123\"\n        }\n    }\n}"},"url":"{{url}}/v1/charges/verification","description":"<p>A Verification charge is used to allow merchants to validate a customer's card prior to submitting a financial transaction to the gateway.</p>\n<h2 id=\"flow\">Flow</h2>\n<p>You can create a verification charge using:</p>\n<ol>\n<li><p>Credit card</p>\n</li>\n<li><p>Vault token</p>\n</li>\n<li><p>Vault token reference</p>\n</li>\n<li><p>An existing customer (with default or non-default payment source)</p>\n</li>\n</ol>\n<h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>-</td>\n<td>float</td>\n<td>Amount to be used for verifying the customer’s payment source during the verification process. If specified and greater than zero, a transaction verification will be performed. Otherwise, only card verification will occur. Note that if a non-zero amount is provided and the underlying gateway does not support transaction verification, the verification will fail.</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>+</td>\n<td>string (iso4217 alpha-3)</td>\n<td>Currency code</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined reference for customer in payment systems</td>\n</tr>\n<tr>\n<td>initialization_source</td>\n<td>-</td>\n<td>string</td>\n<td>The mechanism the cardholder used to accept the transaction</td>\n</tr>\n<tr>\n<td>order_id</td>\n<td>-</td>\n<td>string</td>\n<td>A unique value generated by the merchant to identify a order.  <br />Please ensure that a unique OrderID is provided as the provision of a non-unique OrderID by a merchant could result in a rejected transaction by the gateway as Paydock is unable to validate.</td>\n</tr>\n<tr>\n<td>transaction_id</td>\n<td>-</td>\n<td>string</td>\n<td>A unique value generated by the merchant to identify a transaction.  <br />Please ensure that a unique TransactionID is provided as the provision of a non-unique TransactionID by a merchant could result in a rejected transaction by the gateway as Paydock is unable to validate.</td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>+4</td>\n<td>string (24 hex characters)</td>\n<td>Existing customer ID</td>\n</tr>\n<tr>\n<td>_3ds_charge_id</td>\n<td>-</td>\n<td>string (UUID)</td>\n<td>The standalone 3ds charge \"_3ds.id\" you want to attach. You can find this value when initializing a Standalone 3ds charge.</td>\n</tr>\n<tr>\n<td>customer</td>\n<td>+</td>\n<td>object</td>\n<td>Object with the customer’s information.</td>\n</tr>\n<tr>\n<td>customer.first_name</td>\n<td>-</td>\n<td>string</td>\n<td>Customer first name</td>\n</tr>\n<tr>\n<td>customer.last_name</td>\n<td>-</td>\n<td>string</td>\n<td>Customer last name</td>\n</tr>\n<tr>\n<td>customer.email</td>\n<td>-</td>\n<td>string</td>\n<td>Customer email</td>\n</tr>\n<tr>\n<td>customer.phone</td>\n<td>-</td>\n<td>string(E.164)</td>\n<td>Customer phone in E.164 international notation (Example: +12345678901)</td>\n</tr>\n<tr>\n<td>customer.payment_source</td>\n<td>+</td>\n<td>object</td>\n<td>Object with payment information</td>\n</tr>\n<tr>\n<td>customer.payment_source.vault_token</td>\n<td>+2</td>\n<td>string (uuid)</td>\n<td>vault token id (permanent or session)</td>\n</tr>\n<tr>\n<td>customer.payment_source.vault_token_reference</td>\n<td>+3</td>\n<td>string (uuid, alphanumeric, digits)</td>\n<td>A unique identifier assigned to each vault token upon creation</td>\n</tr>\n<tr>\n<td>customer.payment_source.gateway_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>Gateway ID</td>\n</tr>\n<tr>\n<td>customer.payment_source.type</td>\n<td>-</td>\n<td>string</td>\n<td>Type of payment. By default <em>card</em>. Use <em>card</em> for payment with credit card. Use <em>bank_account</em> for using direct debit payments</td>\n</tr>\n<tr>\n<td>customer.payment_source.source</td>\n<td>-</td>\n<td>string</td>\n<td>Payment method source, Possible values are <em>card_on_file</em>, <em>manual</em>, <em>app</em>, <em>unknown</em></td>\n</tr>\n<tr>\n<td>customer.payment_source.card_name</td>\n<td>-</td>\n<td>string</td>\n<td>Cardholder name (as on card)</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_number</td>\n<td>+1, -2, -3, -4</td>\n<td>string(numeric)</td>\n<td>Card number</td>\n</tr>\n<tr>\n<td>customer.payment_source.expire_month</td>\n<td>+1, -2, -3, -4</td>\n<td>string(mm)</td>\n<td>Card expiration month mm</td>\n</tr>\n<tr>\n<td>customer.payment_source.expire_year</td>\n<td>+1, -2, -3, -4</td>\n<td>string(yyyy)</td>\n<td>Card expiration year</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_ccv</td>\n<td>-</td>\n<td>string(numeric)</td>\n<td>Card CCV number</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, line 1</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, line 2</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_state</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, State</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_country</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, Country Code</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_city</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, City</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, Postcode</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_accept_type</td>\n<td>-</td>\n<td>string</td>\n<td>The mechanism the cardholder used to send card details</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_holder_accept_method</td>\n<td>-</td>\n<td>string</td>\n<td>The mechanism the cardholder used to accept the transaction</td>\n</tr>\n<tr>\n<td>customer.payment_source.stored_on_file</td>\n<td>-</td>\n<td>enum(not_stored,to_be_stored,stored)</td>\n<td>Determines whether card should be stored, already stored or not to be stored.</td>\n</tr>\n<tr>\n<td>payment_source_id</td>\n<td>-</td>\n<td>string (24 hex characters)</td>\n<td>Payment source ID for creating verification with non-default payment source</td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td>-</td>\n<td>object</td>\n<td>The object of custom fields for transaction. These fields were sent to a payment gateway if this option has been enabled using the gateway creation and modification endpoints</td>\n</tr>\n<tr>\n<td>custom_fields.any</td>\n<td>-</td>\n<td>string</td>\n<td>This fields can have any custom name and value</td>\n</tr>\n<tr>\n<td>agreement</td>\n<td>-</td>\n<td>object</td>\n<td>Payment agreement data. Only supported for Subscription Pass-Through if payments were processed via MPGS</td>\n</tr>\n<tr>\n<td>agreement.amount_variability</td>\n<td>-</td>\n<td>enum(variable,fixed)</td>\n<td>Indicates if all the payments within the agreement use the same amount or if the amount differs between the payments.</td>\n</tr>\n<tr>\n<td>agreement.custom_data</td>\n<td>-</td>\n<td>JSON string</td>\n<td>Additional information requested for the agreement which cannot be passed using other available data fields.</td>\n</tr>\n<tr>\n<td>agreement.expiry_date</td>\n<td>-</td>\n<td>Iso string date</td>\n<td>Date at which your agreement with the payer to process payments expires.</td>\n</tr>\n<tr>\n<td>agreement.external_id</td>\n<td>-</td>\n<td>string(required if agreement object is provided)</td>\n<td>Your identifier for the agreement you have with the payer to process payments.</td>\n</tr>\n<tr>\n<td>agreement.amount_per_payment_max</td>\n<td>-</td>\n<td>number</td>\n<td>The maximum amount for a single payment in the series as agreed with the payer under your agreement with them.</td>\n</tr>\n<tr>\n<td>agreement.amount_per_payment_min</td>\n<td>-</td>\n<td>number</td>\n<td>The minimum amount for a single payment in the series as agreed with the payer under your agreement with them.</td>\n</tr>\n<tr>\n<td>agreement.days_between_payments_min</td>\n<td>-</td>\n<td>integer (0 &lt; integer &lt; 10000)</td>\n<td>The minimum number of days between payments agreed with the payer under your agreement with them.</td>\n</tr>\n<tr>\n<td>agreement.payments_count</td>\n<td>-</td>\n<td>integer (0 &lt; integer &lt; 1000)</td>\n<td>The number of merchant-initiated payments within the recurring payment agreement.</td>\n</tr>\n<tr>\n<td>agreement.payment_frequency</td>\n<td>-</td>\n<td>enum(ad_hoc,daily,fortnightly,monthly,other,quarterly,twice_yearly,weekly,yearly)</td>\n<td>The frequency of the payments within the series as agreed with the payer under your agreement with them.</td>\n</tr>\n<tr>\n<td>agreement.start_date</td>\n<td>-</td>\n<td>Iso string date</td>\n<td>This is the effective start date for the payment agreement. Date cannot be in the past</td>\n</tr>\n<tr>\n<td>agreement.type</td>\n<td>-</td>\n<td>enum(installment,other,recurring,unscheduled)</td>\n<td>The type of commercial agreement that the payer has with you.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","charges","verification"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"eff1a34c-d3d2-4782-beaf-ce107b4cb654","name":"verification with cof fields","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"currency\": \"AUD\",  \n  \"initialization_source\": \"internet\",\n  \"order_id\": \"13597\",\n  \"transaction_id\": \"24687\",\n  \"reference\": \"Reference 123\",\n  \"reference2\": \"Reference2 123\",\n  \"description\": \"Description\",\n  \"customer\": {\n    \"first_name\": \"Wanda\",\n    \"last_name\": \"Mertz\",\n    \"email\": \"test@paydock.com\",\n    \"payment_source\": {\n      \"gateway_id\": \"6397a3a6dd22c3ce7e4db904\",\n      \"expire_year\": \"2025\",\n      \"expire_month\": \"01\",\n      \"address_country\": \"US\",\n      \"address_line1\": \"706 Brazos St\",\n      \"address_line2\": \"Suite A20241\",\n      \"address_city\": \"Austin\",\n      \"address_state\": \"Texas\",\n      \"address_postcode\": \"78701\",\n      \"card_name\": \"WANDA MERTZ\",\n      \"card_number\": \"4111111111111111\",\n      \"card_ccv\": \"123\",\n      \"type\": \"card\",\n      \"source\": \"card_on_file\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/verification"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 20 May 2020 07:53:38 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1066"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"42a-Lib0kj6GVhzlJSZAhyanog\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"63fd28dfdc1a690652970f5a\",\n            \"amount\": 0,\n            \"currency\": \"AUD\",\n            \"reference\": \"Reference 123\",\n            \"reference2\": \"Reference2 123\",\n            \"company_id\": \"5adacf0c30efdb1c6d055ae5\",\n            \"description\": \"Description\",\n            \"type\": \"verification\",\n            \"status\": \"complete\",\n            \"external_id\": \"468253220753-749353\",\n            \"created_at\": \"2023-02-27T22:04:15.217Z\",\n            \"updated_at\": \"2023-02-27T22:04:15.401Z\",\n            \"order_id\": \"13597\",\n            \"customer\": {\n                \"last_name\": \"Mertz\",\n                \"first_name\": \"Wanda\",\n                \"email\": \"test@paydock.com\",\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"gateway_id\": \"63caf7c7df3a7a236169a56c\",\n                    \"gateway_name\": \"EFTPOS_GATEWAY\",\n                    \"gateway_type\": \"EFTPOS\",\n                    \"card_name\": \"WANDA MERTZ\",\n                    \"card_number_bin\": \"41111111\",\n                    \"card_number_last4\": \"1111\",\n                    \"address_line1\": \"706 Brazos St\",\n                    \"address_line2\": \"Suite A20241\",\n                    \"address_city\": \"Austin\",\n                    \"address_country\": \"US\",\n                    \"address_state\": \"Texas\",\n                    \"address_postcode\": \"78701\",\n                    \"expire_month\": 1,\n                    \"expire_year\": 2025\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"63fd28dfdc1a690652970f5b\",\n                    \"external_id\": \"468253220753-749353\",\n                    \"external_reference\": \"468253220753\",\n                    \"amount\": 0,\n                    \"currency\": \"AUD\",\n                    \"type\": \"verification\",\n                    \"status\": \"complete\",\n                    \"created_at\": \"2023-02-27T22:04:15.238Z\",\n                    \"updated_at\": \"2023-02-27T22:04:15.362Z\",\n                    \"_source_ip_address\": \"127.0.0.1\",\n                    \"transaction_id\": \"24687\",\n                    \"service_logs\": []\n                }\n            ]\n        }\n    }\n}"},{"id":"fe98b4b1-bc73-4701-ab27-d6dcf193d1fc","name":"verification with credit card","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"currency\": \"AUD\",\n    \"customer\": {\n        \"payment_source\": {\n            \"type\": \"card\",\n            \"gateway_id\": \"6397a3a6dd22c3ce7e4db904\",\n            \"card_name\": \"Wanda Mertz\",\n            \"card_number\": \"4111111111111111\",\n            \"expire_month\": \"09\",\n            \"expire_year\": \"25\",\n            \"card_ccv\": \"123\"\n        }\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/verification"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 20 May 2020 08:14:16 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"937"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"3a9-RHeI/9QgoGN4LUXmHI5DTg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"63fd2856dc1a690652970f38\",\n            \"amount\": 0,\n            \"currency\": \"AUD\",\n            \"company_id\": \"5adacf0c30efdb1c6d055ae5\",\n            \"type\": \"verification\",\n            \"status\": \"complete\",\n            \"external_id\": \"715793808248-723023\",\n            \"created_at\": \"2023-02-27T22:01:58.747Z\",\n            \"updated_at\": \"2023-02-27T22:01:59.082Z\",\n            \"customer\": {\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"gateway_id\": \"63caf7c7df3a7a236169a56c\",\n                    \"gateway_name\": \"EFTPOS_GATEWAY\",\n                    \"gateway_type\": \"EFTPOS\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_bin\": \"41111111\",\n                    \"card_number_last4\": \"1111\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2025\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"63fd2856dc1a690652970f39\",\n                    \"external_id\": \"715793808248-723023\",\n                    \"external_reference\": \"715793808248\",\n                    \"amount\": 0,\n                    \"currency\": \"AUD\",\n                    \"type\": \"verification\",\n                    \"status\": \"complete\",\n                    \"created_at\": \"2023-02-27T22:01:58.770Z\",\n                    \"updated_at\": \"2023-02-27T22:01:59.065Z\",\n                    \"_source_ip_address\": \"127.0.0.1\",\n                    \"service_logs\": []\n                }\n            ]\n        }\n    }\n}"},{"id":"8c6fc90d-e66d-421f-88b3-b7047c216dc1","name":"verification with custom amount","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"20\",\n    \"currency\": \"AUD\",\n    \"customer\": {\n        \"payment_source\": {\n            \"card_ccv\": \"123\",\n            \"card_name\": \"Wanda Mertz\",\n            \"card_number\": \"4111111111111111\",\n            \"expire_month\": \"09\",\n            \"expire_year\": \"25\",\n            \"gateway_id\": \"67166f3aadeaaa3838dc22cd\",\n            \"type\": \"card\"\n        }\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/verification"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"67effd95bab9f8e121136a96\",\n            \"amount\": 20,\n            \"currency\": \"AUD\",\n            \"company_id\": \"65cccde52cad2f1b64e7947e\",\n            \"type\": \"verification\",\n            \"status\": \"complete\",\n            \"external_id\": \"a9b1dff4-74b8-4af1-9b83-999974215d57:491646b8-2a27-4038-b569-493e893ac578\",\n            \"created_at\": \"2025-04-04T15:41:09.254Z\",\n            \"updated_at\": \"2025-04-04T15:41:16.322Z\",\n            \"customer\": {\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"gateway_id\": \"67166f3aadeaaa3838dc22cd\",\n                    \"gateway_name\": \"MasterCard\",\n                    \"gateway_type\": \"MasterCard\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_bin\": \"41111111\",\n                    \"card_number_last4\": \"1111\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2025,\n                    \"card_funding_method\": \"DEBIT\"\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"67effd95bab9f8e121136a99\",\n                    \"external_id\": \"a9b1dff4-74b8-4af1-9b83-999974215d57:491646b8-2a27-4038-b569-493e893ac578\",\n                    \"external_reference\": \"509415148195\",\n                    \"amount\": 20,\n                    \"currency\": \"AUD\",\n                    \"type\": \"verification\",\n                    \"status\": \"complete\",\n                    \"created_at\": \"2025-04-04T15:41:09.918Z\",\n                    \"updated_at\": \"2025-04-04T15:41:15.701Z\",\n                    \"_source_ip_address\": \"::1\",\n                    \"service_logs\": []\n                }\n            ]\n        }\n    }\n}"},{"id":"dde0f352-76d3-4c3a-839f-348eed090aaa","name":"verification with customer id","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"currency\": \"AUD\",\n    \"initialization_source\": \"other\",\n    \"customer_id\": \"5adscf0c30efdb1s6d055he5\",\n    \"customer\": {\n        \"payment_source\": {\n            \"gateway_id\": \"6397a3a6dd22c3ce7e4db904\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/verification"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 20 May 2020 07:53:38 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1066"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"42a-Lib0kj6GVhzlJSZAhyanog\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"63fd288edc1a690652970f49\",\n            \"amount\": 0,\n            \"currency\": \"AUD\",\n            \"company_id\": \"5adacf0c30efdb1c6d055ae5\",\n            \"type\": \"verification\",\n            \"status\": \"complete\",\n            \"external_id\": \"923114960953-738613\",\n            \"created_at\": \"2023-02-27T22:02:54.882Z\",\n            \"updated_at\": \"2023-02-27T22:02:55.298Z\",\n            \"customer\": {\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"gateway_id\": \"63caf7c7df3a7a236169a56c\",\n                    \"gateway_name\": \"EFTPOS_GATEWAY\",\n                    \"gateway_type\": \"EFTPOS\",\n                    \"vault_token\": \"20377dc6-bf91-4f65-b065-a3d75812179a\",\n                    \"card_name\": \"WANDA MERTZ\",\n                    \"card_number_bin\": \"41111111\",\n                    \"card_number_last4\": \"1111\",\n                    \"expire_month\": 8,\n                    \"expire_year\": 2025\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"63fd288edc1a690652970f4a\",\n                    \"external_id\": \"923114960953-738613\",\n                    \"external_reference\": \"923114960953\",\n                    \"amount\": 0,\n                    \"currency\": \"AUD\",\n                    \"type\": \"verification\",\n                    \"status\": \"complete\",\n                    \"created_at\": \"2023-02-27T22:02:54.895Z\",\n                    \"updated_at\": \"2023-02-27T22:02:55.282Z\",\n                    \"_source_ip_address\": \"127.0.0.1\",\n                    \"service_logs\": []\n                }\n            ]\n        }\n    }\n}"},{"id":"79be1da9-997b-4237-af56-6e3568147d1b","name":"verification with vault token","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"currency\": \"AUD\",\n    \"initialization_source\": \"other\",\n    \"customer\": {\n        \"payment_source\": {\n            \"vault_token\": \"20377dc6-bf91-4f65-b065-a3d75812179a\",\n            \"gateway_id\": \"6397a3a6dd22c3ce7e4db904\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/verification"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 20 May 2020 07:53:38 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1066"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"42a-Lib0kj6GVhzlJSZAhyanog\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"63fd288edc1a690652970f49\",\n            \"amount\": 0,\n            \"currency\": \"AUD\",\n            \"company_id\": \"5adacf0c30efdb1c6d055ae5\",\n            \"type\": \"verification\",\n            \"status\": \"complete\",\n            \"external_id\": \"923114960953-738613\",\n            \"created_at\": \"2023-02-27T22:02:54.882Z\",\n            \"updated_at\": \"2023-02-27T22:02:55.298Z\",\n            \"customer\": {\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"gateway_id\": \"63caf7c7df3a7a236169a56c\",\n                    \"gateway_name\": \"EFTPOS_GATEWAY\",\n                    \"gateway_type\": \"EFTPOS\",\n                    \"vault_token\": \"20377dc6-bf91-4f65-b065-a3d75812179a\",\n                    \"card_name\": \"WANDA MERTZ\",\n                    \"card_number_bin\": \"41111111\",\n                    \"card_number_last4\": \"1111\",\n                    \"expire_month\": 8,\n                    \"expire_year\": 2025\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"63fd288edc1a690652970f4a\",\n                    \"external_id\": \"923114960953-738613\",\n                    \"external_reference\": \"923114960953\",\n                    \"amount\": 0,\n                    \"currency\": \"AUD\",\n                    \"type\": \"verification\",\n                    \"status\": \"complete\",\n                    \"created_at\": \"2023-02-27T22:02:54.895Z\",\n                    \"updated_at\": \"2023-02-27T22:02:55.282Z\",\n                    \"_source_ip_address\": \"127.0.0.1\",\n                    \"service_logs\": []\n                }\n            ]\n        }\n    }\n}"},{"id":"3ccda004-5c90-4146-a792-9e0422a7b801","name":"verification with vault token reference","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"currency\": \"AUD\",\n    \"initialization_source\": \"other\",\n    \"customer\": {\n        \"payment_source\": {\n            \"vault_token_reference\": \"49837263849382745\",\n            \"gateway_id\": \"6397a3a6dd22c3ce7e4db904\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/verification"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 20 May 2020 07:53:38 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1066"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"42a-Lib0kj6GVhzlJSZAhyanog\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"63fd288edc1a690652970f49\",\n            \"amount\": 0,\n            \"currency\": \"AUD\",\n            \"company_id\": \"5adacf0c30efdb1c6d055ae5\",\n            \"type\": \"verification\",\n            \"status\": \"complete\",\n            \"external_id\": \"923114960953-738613\",\n            \"created_at\": \"2023-02-27T22:02:54.882Z\",\n            \"updated_at\": \"2023-02-27T22:02:55.298Z\",\n            \"customer\": {\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"gateway_id\": \"63caf7c7df3a7a236169a56c\",\n                    \"gateway_name\": \"EFTPOS_GATEWAY\",\n                    \"gateway_type\": \"EFTPOS\",\n                    \"vault_token_reference\": \"49837263849382745\",\n                    \"vault_token\": \"20377dc6-bf91-4f65-b065-a3d75812179a\",\n                    \"card_name\": \"WANDA MERTZ\",\n                    \"card_number_bin\": \"41111111\",\n                    \"card_number_last4\": \"1111\",\n                    \"expire_month\": 8,\n                    \"expire_year\": 2025\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"63fd288edc1a690652970f4a\",\n                    \"external_id\": \"923114960953-738613\",\n                    \"external_reference\": \"923114960953\",\n                    \"amount\": 0,\n                    \"currency\": \"AUD\",\n                    \"type\": \"verification\",\n                    \"status\": \"complete\",\n                    \"created_at\": \"2023-02-27T22:02:54.895Z\",\n                    \"updated_at\": \"2023-02-27T22:02:55.282Z\",\n                    \"_source_ip_address\": \"127.0.0.1\",\n                    \"service_logs\": []\n                }\n            ]\n        }\n    }\n}"},{"id":"d59bc197-5502-4f48-aaaf-4c79c1855b25","name":"gateway error","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n  \"currency\": \"AUD\",  \n  \"reference\": \"Test Reference 123\",\n  \"customer\": {\n    \"first_name\": \"Wanda\",\n    \"last_name\": \"Mertz\",\n    \"email\": \"test@paydock.com\",\n    \"payment_source\": {\n      \"gateway_id\": \"6397a3a6dd22c3ce7e4db904\",\n      \"expire_year\": \"2025\",\n      \"expire_month\": \"01\",\n      \"address_country\": \"US\",\n      \"address_line1\": \"706 Brazos St\",\n      \"card_name\": \"WANDA MERTZ\",\n      \"card_number\": \"123123123123123\",\n      \"card_ccv\": \"123\",\n      \"type\": \"card\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/verification"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 20 May 2020 10:19:45 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1155"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"483-ULvU8iKBImc2AQR/xQ2UPQ\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Invalid Transaction Details\",\n        \"code\": \"invalid_transaction_details\",\n        \"details\": {\n            \"path\": \"\",\n            \"messages\": [\n                {\n                    \"gateway_specific_code\": \"INVALID_REQUEST:INVALID:sourceOfFunds.provided.card.number\",\n                    \"gateway_specific_description\": \"The request contained a field with a value that did not pass validation.\",\n                    \"description\": \"Invalid Transaction Details\",\n                    \"status_code\": null,\n                    \"status_code_description\": null\n                }\n            ]\n        }\n    },\n    \"resource\": {\n        \"data\": {\n            \"_id\": \"63fd2c29dc1a690652971027\",\n            \"amount\": 0,\n            \"currency\": \"AUD\",\n            \"reference\": \"Test Reference 123\",\n            \"company_id\": \"5adacf0c30efdb1c6d055ae5\",\n            \"type\": \"verification\",\n            \"status\": \"failed\",\n            \"created_at\": \"2023-02-27T22:18:17.046Z\",\n            \"updated_at\": \"2023-02-27T22:18:17.708Z\",\n            \"customer\": {\n                \"last_name\": \"Mertz\",\n                \"first_name\": \"Wanda\",\n                \"email\": \"test@paydock.com\",\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"gateway_id\": \"6397a3a6dd22c3ce7e4db904\",\n                    \"gateway_name\": \"MasterCard_Gateway\",\n                    \"gateway_type\": \"MasterCard\",\n                    \"card_name\": \"WANDA MERTZ\",\n                    \"card_number_bin\": \"123123\",\n                    \"card_number_last4\": \"3123\",\n                    \"address_line1\": \"706 Brazos St\",\n                    \"address_country\": \"US\",\n                    \"expire_month\": 1,\n                    \"expire_year\": 2025\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"63fd2c29dc1a690652971028\",\n                    \"amount\": 0,\n                    \"currency\": \"AUD\",\n                    \"type\": \"verification\",\n                    \"status\": \"failed\",\n                    \"created_at\": \"2023-02-27T22:18:17.076Z\",\n                    \"error_message\": \"Invalid Transaction Details\",\n                    \"updated_at\": \"2023-02-27T22:18:17.690Z\",\n                    \"_source_ip_address\": \"127.0.0.1\",\n                    \"gateway_specific_code\": \"INVALID_REQUEST:INVALID:sourceOfFunds.provided.card.number\",\n                    \"gateway_specific_description\": \"The request contained a field with a value that did not pass validation.\",\n                    \"error_code\": \"invalid_transaction_details\",\n                    \"service_logs\": []\n                }\n            ]\n        },\n        \"type\": \"charge\"\n    },\n    \"error_summary\": {\n        \"message\": \"Invalid Transaction Details\",\n        \"code\": \"invalid_transaction_details\",\n        \"details\": {\n            \"gateway_specific_code\": \"INVALID_REQUEST:INVALID:sourceOfFunds.provided.card.number\",\n            \"gateway_specific_description\": \"The request contained a field with a value that did not pass validation.\",\n            \"messages\": [\n                \"Invalid Transaction Details\"\n            ]\n        }\n    }\n}"},{"id":"ce4555ab-a35f-487f-a01f-9695ad5f42a1","name":"validation error","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"currency\": \"AUD\",\n  \"customer\": {\n    \"payment_source\": {\n      \"gateway_id\": \"6397a3a6dd22c3ce7e4db904\",\n      \"card_name\": \"WANDA MERTZ\",\n      \"card_number\": \"5111111111111\",\n      \"card_ccv\": \"123\",\n      \"type\": \"card\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/verification"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 20 May 2020 10:23:01 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"177"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"b1-l6EqWEfmxlTdo6jXRBz2ZA\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"body validation failed\",\n        \"code\": \"ValidationError\",\n        \"details\": {\n            \"path\": \"customer.payment_source.expire_month\",\n            \"messages\": [\n                \"expire_month must be shorter than or equal to 2 characters\",\n                \"expire_month must be longer than or equal to 1 characters\",\n                \"expire_month must be a number string\"\n            ]\n        }\n    },\n    \"resource\": {\n        \"type\": \"charge\"\n    },\n    \"error_summary\": {\n        \"message\": \"body validation failed\",\n        \"code\": \"validation_error\",\n        \"details\": {\n            \"path\": \"customer.payment_source.expire_month\",\n            \"messages\": [\n                \"expire_month must be shorter than or equal to 2 characters\",\n                \"expire_month must be longer than or equal to 1 characters\",\n                \"expire_month must be a number string\"\n            ]\n        }\n    }\n}"}],"_postman_id":"012bfaa0-c81e-4f32-8b75-0ab75fd0145c"},{"name":"standalone refund","id":"4a91af69-260b-487a-b818-ecc6263d539a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"currency\": \"AUD\",\n    \"amount\": \"10\",\n    \"customer\": {\n        \"payment_source\": {\n            \"gateway_id\": \"5f7ebe83c9867e1d66fbc6e8\",\n            \"card_name\": \"Wanda Mertz\",\n            \"card_number\": \"4242424242424242\",\n            \"expire_month\": \"12\",\n            \"expire_year\": \"2021\",\n            \"card_ccv\": \"000\"\n        }\n    }\n}"},"url":"{{url}}/v1/charges/refunds","description":"<p>A Standalone Refund is a refund that is not linked to a previous transaction and can be of any amount specified by the merchant.</p>\n<h2 id=\"flow\">Flow</h2>\n<p>You can create a charge using:</p>\n<ol>\n<li><p>Direct with credit card</p>\n</li>\n<li><p>Direct with vault token</p>\n</li>\n<li><p>An existing customer (with default or non-default payment source)</p>\n</li>\n</ol>\n<h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>+</td>\n<td>float</td>\n<td>Amount of payment</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>+</td>\n<td>string (iso4217 alpha-3)</td>\n<td>Currency code</td>\n</tr>\n<tr>\n<td>description</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined description for payments in payment systems</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined reference for customer in payment systems</td>\n</tr>\n<tr>\n<td>reference2</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined reference for customer in payment systems</td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>+3</td>\n<td>string (24 hex characters)</td>\n<td>Existing customer ID</td>\n</tr>\n<tr>\n<td>card_acceptor</td>\n<td>-</td>\n<td>object</td>\n<td>Contact information identifying the location from which the money transfer originates</td>\n</tr>\n<tr>\n<td>card_acceptor.address_city</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address city</td>\n</tr>\n<tr>\n<td>card_acceptor.address_company</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address company</td>\n</tr>\n<tr>\n<td>card_acceptor.address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address postcode</td>\n</tr>\n<tr>\n<td>card_acceptor.address_country</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address country</td>\n</tr>\n<tr>\n<td>card_acceptor.address_state</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address state</td>\n</tr>\n<tr>\n<td>card_acceptor.address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address line 1</td>\n</tr>\n<tr>\n<td>card_acceptor.address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address line 2</td>\n</tr>\n<tr>\n<td>card_acceptor.name</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor name</td>\n</tr>\n<tr>\n<td>card_acceptor.phone</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor phone</td>\n</tr>\n<tr>\n<td>customer</td>\n<td>+</td>\n<td>object</td>\n<td>Object with the customer’s information.</td>\n</tr>\n<tr>\n<td>customer.first_name</td>\n<td>-</td>\n<td>string</td>\n<td>Customer first name</td>\n</tr>\n<tr>\n<td>customer.last_name</td>\n<td>-</td>\n<td>string</td>\n<td>Customer last name</td>\n</tr>\n<tr>\n<td>customer.email</td>\n<td>-</td>\n<td>string</td>\n<td>Customer email</td>\n</tr>\n<tr>\n<td>customer.phone</td>\n<td>-</td>\n<td>string(E.164)</td>\n<td>Customer phone in E.164 international notation (Example: +12345678901)</td>\n</tr>\n<tr>\n<td>customer.payment_source</td>\n<td>+</td>\n<td>object</td>\n<td>Object with payment information</td>\n</tr>\n<tr>\n<td>customer.payment_source.gateway_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>Gateway id</td>\n</tr>\n<tr>\n<td>customer.payment_source.vault_token</td>\n<td>+2</td>\n<td>string(UUID)</td>\n<td>A vault token ID (permanent or session)</td>\n</tr>\n<tr>\n<td>customer.payment_source.type</td>\n<td>-</td>\n<td>string</td>\n<td>Type of payment. By default <em>card</em>. Use <em>card</em> for payment with credit card.</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_name</td>\n<td>+1</td>\n<td>string</td>\n<td>Cardholder name (as on card)</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_number</td>\n<td>+1</td>\n<td>string(numeric)</td>\n<td>Card number</td>\n</tr>\n<tr>\n<td>customer.payment_source.expire_month</td>\n<td>+1</td>\n<td>string(mm)</td>\n<td>Card expiration month mm</td>\n</tr>\n<tr>\n<td>customer.payment_source.expire_year</td>\n<td>+1</td>\n<td>string(yyyy)</td>\n<td>Card expiration year</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_ccv</td>\n<td>-</td>\n<td>string(numeric)</td>\n<td>Card CCV number</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, line 1</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, line 2</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_state</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, State</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_country</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, Country Code</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_city</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, City</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, Postcode</td>\n</tr>\n<tr>\n<td>payment_source_id</td>\n<td>-</td>\n<td>string (24 hex characters)</td>\n<td>Payment source ID for creating refund with non-default payment source</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","charges","refunds"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"9f70c854-818c-4876-8fd5-b9cdf11482ad","name":"common","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"currency\": \"AUD\",\n    \"amount\": \"10\",\n    \"customer\": {\n        \"payment_source\": {\n            \"gateway_id\": \"5f7ebe83c9867e1d66fbc6e8\",\n            \"card_name\": \"Wanda Mertz\",\n            \"card_number\": \"4242424242424242\",\n            \"expire_month\": \"12\",\n            \"expire_year\": \"2021\",\n            \"card_ccv\": \"000\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/refunds"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 04 Mar 2021 13:36:59 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"946"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"3b2-m8KNNpxY1jvkoQ/jvQyj0C8vlFs\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charges\",\n        \"data\": {\n            \"_id\": \"6040e27ac9f09e1496268d35\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"customer\": {\n                \"payment_source\": {\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 12,\n                    \"expire_year\": 21,\n                    \"gateway_id\": \"5f7ebe83c9867e1d66fbc6e8\",\n                    \"gateway_name\": \"MasterCard\",\n                    \"gateway_type\": \"MasterCard\"\n                }\n            },\n            \"status\": \"refunded\",\n            \"created_at\": \"2021-03-04T13:36:58.434Z\",\n            \"updated_at\": \"2021-03-04T13:36:59.576Z\",\n            \"external_id\": \"cd2e16de-aaa-aaa-b37a-8ff893613798:6e389b37-16de-ggg-ggg-0d333e450548\",\n            \"transactions\": [\n                {\n                    \"_id\": \"6040e27ac9f09e1496268d36\",\n                    \"created_at\": \"2021-03-04T13:36:58.448Z\",\n                    \"external_id\": \"cd2e16de-aaa-aaa-b37a-8ff893613798:6e389b37-16de-ggg-ggg-0d333e45054\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"error_message\": null,\n                    \"updated_at\": \"2021-03-04T13:36:59.576Z\",\n                    \"type\": \"refund\",\n                    \"status\": \"complete\",\n                    \"gateway_specific_code\": null,\n                    \"gateway_specific_description\": null,\n                    \"error_code\": null\n                }\n            ]\n        }\n    }\n}"},{"id":"10880026-be79-46a8-8660-e1186800593d","name":"with vault token","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"currency\": \"AUD\",\n    \"amount\": \"10\",\n    \"customer\": {\n        \"payment_source\": {\n            \"gateway_id\": \"5f7ebe83c9867e1d66fbc6e8\",\n            \"vault_token_reference\": \"49837263849382745\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/refunds"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 04 Mar 2021 13:36:59 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"946"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"3b2-m8KNNpxY1jvkoQ/jvQyj0C8vlFs\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charges\",\n        \"data\": {\n            \"_id\": \"6040e27ac9f09e1496268d35\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"customer\": {\n                \"payment_source\": {\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 12,\n                    \"expire_year\": 21,\n                    \"vault_token_reference\": \"49837263849382745\",\n                    \"vault_token\": \"20377dc6-bf91-4f65-b065-a3d75812179a\",\n                    \"gateway_id\": \"5f7ebe83c9867e1d66fbc6e8\",\n                    \"gateway_name\": \"MasterCard\",\n                    \"gateway_type\": \"MasterCard\"\n                }\n            },\n            \"status\": \"refunded\",\n            \"created_at\": \"2021-03-04T13:36:58.434Z\",\n            \"updated_at\": \"2021-03-04T13:36:59.576Z\",\n            \"external_id\": \"cd2e16de-aaa-aaa-b37a-8ff893613798:6e389b37-16de-ggg-ggg-0d333e450548\",\n            \"transactions\": [\n                {\n                    \"_id\": \"6040e27ac9f09e1496268d36\",\n                    \"created_at\": \"2021-03-04T13:36:58.448Z\",\n                    \"external_id\": \"cd2e16de-aaa-aaa-b37a-8ff893613798:6e389b37-16de-ggg-ggg-0d333e45054\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"error_message\": null,\n                    \"updated_at\": \"2021-03-04T13:36:59.576Z\",\n                    \"type\": \"refund\",\n                    \"status\": \"complete\",\n                    \"gateway_specific_code\": null,\n                    \"gateway_specific_description\": null,\n                    \"error_code\": null\n                }\n            ]\n        }\n    }\n}"},{"id":"0a9d5669-e2b3-4f01-a8ec-c4c2908a03ba","name":"with customer id","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"currency\": \"AUD\",\n    \"amount\": \"10\",\n    \"customer_id\": \"5adscf0c30efdb1s6d055he5\",\n    \"customer\": {\n        \"payment_source\": {\n            \"gateway_id\": \"5f7ebe83c9867e1d66fbc6e8\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/refunds"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 04 Mar 2021 13:36:59 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"946"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"3b2-m8KNNpxY1jvkoQ/jvQyj0C8vlFs\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charges\",\n        \"data\": {\n            \"_id\": \"6040e27ac9f09e1496268d35\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"customer\": {\n                \"payment_source\": {\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 12,\n                    \"expire_year\": 21,\n                    \"vault_token_reference\": \"49837263849382745\",\n                    \"vault_token\": \"20377dc6-bf91-4f65-b065-a3d75812179a\",\n                    \"gateway_id\": \"5f7ebe83c9867e1d66fbc6e8\",\n                    \"gateway_name\": \"MasterCard\",\n                    \"gateway_type\": \"MasterCard\"\n                }\n            },\n            \"status\": \"refunded\",\n            \"created_at\": \"2021-03-04T13:36:58.434Z\",\n            \"updated_at\": \"2021-03-04T13:36:59.576Z\",\n            \"external_id\": \"cd2e16de-aaa-aaa-b37a-8ff893613798:6e389b37-16de-ggg-ggg-0d333e450548\",\n            \"transactions\": [\n                {\n                    \"_id\": \"6040e27ac9f09e1496268d36\",\n                    \"created_at\": \"2021-03-04T13:36:58.448Z\",\n                    \"external_id\": \"cd2e16de-aaa-aaa-b37a-8ff893613798:6e389b37-16de-ggg-ggg-0d333e45054\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"error_message\": null,\n                    \"updated_at\": \"2021-03-04T13:36:59.576Z\",\n                    \"type\": \"refund\",\n                    \"status\": \"complete\",\n                    \"gateway_specific_code\": null,\n                    \"gateway_specific_description\": null,\n                    \"error_code\": null\n                }\n            ]\n        }\n    }\n}"},{"id":"4b5ce0ea-0a86-40bc-afc2-8a7fa769ee45","name":"with vault token reference","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"currency\": \"AUD\",\n    \"amount\": \"10\",\n    \"customer\": {\n        \"payment_source\": {\n            \"gateway_id\": \"5f7ebe83c9867e1d66fbc6e8\",\n            \"vault_token_reference\": \"49837263849382745\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/refunds"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 04 Mar 2021 13:36:59 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"946"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"3b2-m8KNNpxY1jvkoQ/jvQyj0C8vlFs\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charges\",\n        \"data\": {\n            \"_id\": \"6040e27ac9f09e1496268d35\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"customer\": {\n                \"payment_source\": {\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 12,\n                    \"expire_year\": 21,\n                    \"vault_token_reference\": \"49837263849382745\",\n                    \"vault_token\": \"20377dc6-bf91-4f65-b065-a3d75812179a\",\n                    \"gateway_id\": \"5f7ebe83c9867e1d66fbc6e8\",\n                    \"gateway_name\": \"MasterCard\",\n                    \"gateway_type\": \"MasterCard\"\n                }\n            },\n            \"status\": \"refunded\",\n            \"created_at\": \"2021-03-04T13:36:58.434Z\",\n            \"updated_at\": \"2021-03-04T13:36:59.576Z\",\n            \"external_id\": \"cd2e16de-aaa-aaa-b37a-8ff893613798:6e389b37-16de-ggg-ggg-0d333e450548\",\n            \"transactions\": [\n                {\n                    \"_id\": \"6040e27ac9f09e1496268d36\",\n                    \"created_at\": \"2021-03-04T13:36:58.448Z\",\n                    \"external_id\": \"cd2e16de-aaa-aaa-b37a-8ff893613798:6e389b37-16de-ggg-ggg-0d333e45054\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"error_message\": null,\n                    \"updated_at\": \"2021-03-04T13:36:59.576Z\",\n                    \"type\": \"refund\",\n                    \"status\": \"complete\",\n                    \"gateway_specific_code\": null,\n                    \"gateway_specific_description\": null,\n                    \"error_code\": null\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"4a91af69-260b-487a-b818-ecc6263d539a"},{"name":"get","id":"6d27dc9b-6c8b-4548-b9a9-85527aa886f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/charges/:id","description":"<p>Retrieves data on a charge with specified ID.</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","charges",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"2b530928-0755-4e06-9e26-9bc606e1d56f","type":"string","value":"5f084eb39c63b80a26e52b01","key":"id"}]}},"response":[{"id":"1ea5aba6-f867-4fd4-a9b4-5b1c9d7c3ce3","name":"get with expand","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/charges/:id?expand=current_subscription_details,subscription","host":["{{url}}"],"path":["v1","charges",":id"],"query":[{"key":"expand","value":"current_subscription_details,subscription"}],"variable":[{"key":"id","value":"5ec7b21cb12c99579e46f270"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 22 May 2020 14:46:32 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"6304"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"18a0-ddATdsXBmeJKtEbC3eyquHtlSe4\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"5ec7b21cb12c99579e46f270\",\n            \"created_at\": \"2020-05-22T11:06:04.900Z\",\n            \"updated_at\": \"2020-05-22T11:06:06.000Z\",\n            \"company_id\": \"5cbeda664fdfb25772b5547f\",\n            \"user_id\": \"5cbeda664fdfb25772b5547e\",\n            \"amount\": 1,\n            \"currency\": \"AUD\",\n            \"subscription_id\": \"5ec7b20ab12c99579e46f26b\",\n            \"_source_ip_address\": \"127.0.0.1\",\n            \"transactions\": [\n                {\n                    \"created_at\": \"2020-05-22T11:06:04.894Z\",\n                    \"amount\": 1,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5ec7b21cb12c99579e46f271\",\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"127.0.0.1\",\n                    \"service_logs\": [\n                        {\n                            \"req\": {\n                                \"format\": \"json\",\n                                \"body\": \"{\\\"body\\\":{\\\"amount\\\":1,\\\"customerId\\\":\\\"536537284\\\",\\\"type\\\":\\\"sale\\\"}}\"\n                            },\n                            \"response_body\": {\n                                \"format\": \"json\",\n                                \"body\": \"{\\\"transaction\\\":{\\\"id\\\":\\\"b7vyt6xm\\\",\\\"status\\\":\\\"authorized\\\",\\\"type\\\":\\\"sale\\\",\\\"currencyIsoCode\\\":\\\"USD\\\",\\\"amount\\\":\\\"1.00\\\",\\\"merchantAccountId\\\":\\\"4cptn45444ks9cw4\\\",\\\"subMerchantAccountId\\\":null,\\\"masterMerchantAccountId\\\":null,\\\"orderId\\\":null,\\\"createdAt\\\":\\\"2020-05-22T11:06:05Z\\\",\\\"updatedAt\\\":\\\"2020-05-22T11:06:05Z\\\",\\\"customer\\\":{\\\"id\\\":\\\"536537284\\\",\\\"firstName\\\":null,\\\"lastName\\\":null,\\\"company\\\":null,\\\"email\\\":\\\"wanda.mertz@example.com\\\",\\\"website\\\":null,\\\"phone\\\":null,\\\"fax\\\":null,\\\"globalId\\\":\\\"Y3VzdG9tZXJfNTM2NTM3Mjg0\\\"},\\\"billing\\\":{\\\"id\\\":null,\\\"firstName\\\":null,\\\"lastName\\\":null,\\\"company\\\":null,\\\"streetAddress\\\":null,\\\"extendedAddress\\\":null,\\\"locality\\\":null,\\\"region\\\":null,\\\"postalCode\\\":null,\\\"countryName\\\":null,\\\"countryCodeAlpha2\\\":null,\\\"countryCodeAlpha3\\\":null,\\\"countryCodeNumeric\\\":null},\\\"refundId\\\":null,\\\"refundIds\\\":[],\\\"refundedTransactionId\\\":null,\\\"partialSettlementTransactionIds\\\":[],\\\"authorizedTransactionId\\\":null,\\\"settlementBatchId\\\":null,\\\"shipping\\\":{\\\"id\\\":null,\\\"firstName\\\":null,\\\"lastName\\\":null,\\\"company\\\":null,\\\"streetAddress\\\":null,\\\"extendedAddress\\\":null,\\\"locality\\\":null,\\\"region\\\":null,\\\"postalCode\\\":null,\\\"countryName\\\":null,\\\"countryCodeAlpha2\\\":null,\\\"countryCodeAlpha3\\\":null,\\\"countryCodeNumeric\\\":null},\\\"customFields\\\":\\\"\\\",\\\"avsErrorResponseCode\\\":null,\\\"avsPostalCodeResponseCode\\\":\\\"I\\\",\\\"avsStreetAddressResponseCode\\\":\\\"I\\\",\\\"cvvResponseCode\\\":\\\"I\\\",\\\"gatewayRejectionReason\\\":null,\\\"processorAuthorizationCode\\\":\\\"2783KW\\\",\\\"processorResponseCode\\\":\\\"1000\\\",\\\"processorResponseText\\\":\\\"Approved\\\",\\\"additionalProcessorResponse\\\":null,\\\"voiceReferralNumber\\\":null,\\\"purchaseOrderNumber\\\":null,\\\"taxAmount\\\":null,\\\"taxExempt\\\":false,\\\"creditCard\\\":{\\\"token\\\":\\\"8x6m7fg\\\",\\\"bin\\\":\\\"424242\\\",\\\"last4\\\":\\\"4242\\\",\\\"cardType\\\":\\\"Visa\\\",\\\"expirationMonth\\\":\\\"03\\\",\\\"expirationYear\\\":\\\"2020\\\",\\\"customerLocation\\\":\\\"US\\\",\\\"cardholderName\\\":\\\"Wanda Mertz\\\",\\\"imageUrl\\\":\\\"https://assets.braintreegateway.com/payment_method_logo/visa.png?environment=sandbox\\\",\\\"prepaid\\\":\\\"Unknown\\\",\\\"healthcare\\\":\\\"Unknown\\\",\\\"debit\\\":\\\"Unknown\\\",\\\"durbinRegulated\\\":\\\"Unknown\\\",\\\"commercial\\\":\\\"Unknown\\\",\\\"payroll\\\":\\\"Unknown\\\",\\\"issuingBank\\\":\\\"Unknown\\\",\\\"countryOfIssuance\\\":\\\"Unknown\\\",\\\"productId\\\":\\\"Unknown\\\",\\\"globalId\\\":\\\"cGF5bWVudG1ldGhvZF9jY184eDZtN2Zn\\\",\\\"accountType\\\":null,\\\"uniqueNumberIdentifier\\\":\\\"8a8e0755d14e2ee2a306f4788f4e480a\\\",\\\"venmoSdk\\\":false,\\\"maskedNumber\\\":\\\"424242******4242\\\",\\\"expirationDate\\\":\\\"03/2020\\\"},\\\"statusHistory\\\":[{\\\"timestamp\\\":\\\"2020-05-22T11:06:05Z\\\",\\\"status\\\":\\\"authorized\\\",\\\"amount\\\":\\\"1.00\\\",\\\"user\\\":\\\"juls\\\",\\\"transactionSource\\\":\\\"api\\\"}],\\\"planId\\\":null,\\\"subscriptionId\\\":null,\\\"subscription\\\":{\\\"billingPeriodEndDate\\\":null,\\\"billingPeriodStartDate\\\":null},\\\"addOns\\\":[],\\\"discounts\\\":[],\\\"descriptor\\\":{\\\"name\\\":null,\\\"phone\\\":null,\\\"url\\\":null},\\\"recurring\\\":false,\\\"channel\\\":null,\\\"serviceFeeAmount\\\":null,\\\"escrowStatus\\\":null,\\\"disbursementDetails\\\":{\\\"disbursementDate\\\":null,\\\"settlementAmount\\\":null,\\\"settlementCurrencyIsoCode\\\":null,\\\"settlementCurrencyExchangeRate\\\":null,\\\"fundsHeld\\\":null,\\\"success\\\":null},\\\"disputes\\\":[],\\\"authorizationAdjustments\\\":[],\\\"paymentInstrumentType\\\":\\\"credit_card\\\",\\\"processorSettlementResponseCode\\\":\\\"\\\",\\\"processorSettlementResponseText\\\":\\\"\\\",\\\"networkResponseCode\\\":\\\"XX\\\",\\\"networkResponseText\\\":\\\"sample network response text\\\",\\\"threeDSecureInfo\\\":null,\\\"shipsFromPostalCode\\\":null,\\\"shippingAmount\\\":null,\\\"discountAmount\\\":null,\\\"networkTransactionId\\\":\\\"020200522110605\\\",\\\"processorResponseType\\\":\\\"approved\\\",\\\"authorizationExpiresAt\\\":\\\"2020-05-29T11:06:05Z\\\",\\\"refundGlobalIds\\\":[],\\\"partialSettlementTransactionGlobalIds\\\":[],\\\"refundedTransactionGlobalId\\\":null,\\\"authorizedTransactionGlobalId\\\":null,\\\"globalId\\\":\\\"dHJhbnNhY3Rpb25fYjd2eXQ2eG0\\\",\\\"retryIds\\\":[],\\\"retriedTransactionId\\\":null,\\\"retrievalReferenceNumber\\\":\\\"1234567\\\",\\\"paypalAccount\\\":{},\\\"coinbaseAccount\\\":{},\\\"applePayCard\\\":{},\\\"androidPayCard\\\":{}},\\\"success\\\":true}\"\n                            }\n                        }\n                    ],\n                    \"status\": \"complete\",\n                    \"type\": \"sale\"\n                }\n            ],\n            \"one_off\": false,\n            \"archived\": false,\n            \"customer\": {\n                \"customer_id\": \"5ec7b209b12c99579e46f268\",\n                \"email\": \"wanda.mertz@example.com\",\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 3,\n                    \"expire_year\": 2020,\n                    \"address_country\": \"AU\",\n                    \"gateway_id\": \"5cffefaa18b6546015794998\"\n                }\n            },\n            \"capture\": true,\n            \"status\": \"complete\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            },\n            \"__v\": 0,\n            \"external_id\": \"b7vyt6xm\",\n            \"subscription\": {\n                \"created_at\": \"2020-05-22T11:05:46.160Z\",\n                \"updated_at\": \"2020-05-22T11:06:06.039Z\",\n                \"status\": \"active\",\n                \"statistics\": {\n                    \"total_collected_amount\": 1,\n                    \"successful_transactions\": 1\n                },\n                \"schedule\": {\n                    \"interval\": \"day\",\n                    \"start_date\": \"2020-05-22T11:05:45.440Z\",\n                    \"end_transactions\": 2,\n                    \"next_assessment\": \"2020-05-23T11:05:45.440Z\",\n                    \"next_assessment_planned\": \"2020-05-23T11:05:45.440Z\",\n                    \"last_assessment_planned\": \"2020-05-22T11:05:45.440Z\",\n                    \"first_assessment\": \"2020-05-22T11:05:45.440Z\",\n                    \"last_assessment\": \"2020-05-22T11:06:06.025Z\",\n                    \"completed_count\": 1,\n                    \"held_count\": 0,\n                    \"retry_count\": 0,\n                    \"frequency\": 1,\n                    \"status\": \"complete\"\n                }\n            },\n            \"current_subscription_details\": {\n                \"status\": \"active\",\n                \"schedule\": {\n                    \"interval\": \"day\",\n                    \"frequency\": 1,\n                    \"start_date\": \"2020-05-22T11:05:45.440Z\",\n                    \"end_transactions\": 2,\n                    \"next_assessment\": \"2020-05-23T11:05:45.440Z\",\n                    \"last_assessment\": \"2020-05-22T11:06:06.025Z\",\n                    \"next_assessment_planned\": \"2020-05-23T11:05:45.440Z\",\n                    \"last_assessment_planned\": \"2020-05-22T11:05:45.440Z\",\n                    \"first_assessment\": \"2020-05-22T11:05:45.440Z\",\n                    \"retry_count\": 0,\n                    \"status\": \"complete\"\n                }\n            }\n        }\n    }\n}"},{"id":"1ece9451-bd5d-4951-81c4-93b0e8e33a01","name":"get","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/charges/:id","host":["{{url}}"],"path":["v1","charges",":id"],"variable":[{"key":"id","value":"5ec7b21cb12c99579e46f270"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 22 May 2020 14:36:36 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"5267"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"1493-189qrJovkcqiD7ZNoR1GCdbdxRI\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"5ec7b21cb12c99579e46f270\",\n            \"created_at\": \"2020-05-22T11:06:04.900Z\",\n            \"updated_at\": \"2020-05-22T11:06:06.000Z\",\n            \"remittance_date\": \"2020-05-23T11:06:06.000Z\",\n            \"company_id\": \"5cbeda664fdfb25772b5547f\",\n            \"user_id\": \"5cbeda664fdfb25772b5547e\",\n            \"amount\": 1,\n            \"currency\": \"AUD\",\n            \"subscription_id\": \"5ec7b20ab12c99579e46f26b\",\n            \"_source_ip_address\": \"127.0.0.1\",\n            \"transactions\": [\n                {\n                    \"created_at\": \"2020-05-22T11:06:04.894Z\",\n                    \"amount\": 1,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5ec7b21cb12c99579e46f271\",\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"127.0.0.1\",\n                    \"service_logs\": [\n                        {\n                            \"req\": {\n                                \"format\": \"json\",\n                                \"body\": \"{\\\"body\\\":{\\\"amount\\\":1,\\\"customerId\\\":\\\"536537284\\\",\\\"type\\\":\\\"sale\\\"}}\"\n                            },\n                            \"response_body\": {\n                                \"format\": \"json\",\n                                \"body\": \"{\\\"transaction\\\":{\\\"id\\\":\\\"b7vyt6xm\\\",\\\"status\\\":\\\"authorized\\\",\\\"type\\\":\\\"sale\\\",\\\"currencyIsoCode\\\":\\\"USD\\\",\\\"amount\\\":\\\"1.00\\\",\\\"merchantAccountId\\\":\\\"4cptn45444ks9cw4\\\",\\\"subMerchantAccountId\\\":null,\\\"masterMerchantAccountId\\\":null,\\\"orderId\\\":null,\\\"createdAt\\\":\\\"2020-05-22T11:06:05Z\\\",\\\"updatedAt\\\":\\\"2020-05-22T11:06:05Z\\\",\\\"customer\\\":{\\\"id\\\":\\\"536537284\\\",\\\"firstName\\\":null,\\\"lastName\\\":null,\\\"company\\\":null,\\\"email\\\":\\\"wanda.mertz@example.com\\\",\\\"website\\\":null,\\\"phone\\\":null,\\\"fax\\\":null,\\\"globalId\\\":\\\"Y3VzdG9tZXJfNTM2NTM3Mjg0\\\"},\\\"billing\\\":{\\\"id\\\":null,\\\"firstName\\\":null,\\\"lastName\\\":null,\\\"company\\\":null,\\\"streetAddress\\\":null,\\\"extendedAddress\\\":null,\\\"locality\\\":null,\\\"region\\\":null,\\\"postalCode\\\":null,\\\"countryName\\\":null,\\\"countryCodeAlpha2\\\":null,\\\"countryCodeAlpha3\\\":null,\\\"countryCodeNumeric\\\":null},\\\"refundId\\\":null,\\\"refundIds\\\":[],\\\"refundedTransactionId\\\":null,\\\"partialSettlementTransactionIds\\\":[],\\\"authorizedTransactionId\\\":null,\\\"settlementBatchId\\\":null,\\\"shipping\\\":{\\\"id\\\":null,\\\"firstName\\\":null,\\\"lastName\\\":null,\\\"company\\\":null,\\\"streetAddress\\\":null,\\\"extendedAddress\\\":null,\\\"locality\\\":null,\\\"region\\\":null,\\\"postalCode\\\":null,\\\"countryName\\\":null,\\\"countryCodeAlpha2\\\":null,\\\"countryCodeAlpha3\\\":null,\\\"countryCodeNumeric\\\":null},\\\"customFields\\\":\\\"\\\",\\\"avsErrorResponseCode\\\":null,\\\"avsPostalCodeResponseCode\\\":\\\"I\\\",\\\"avsStreetAddressResponseCode\\\":\\\"I\\\",\\\"cvvResponseCode\\\":\\\"I\\\",\\\"gatewayRejectionReason\\\":null,\\\"processorAuthorizationCode\\\":\\\"2783KW\\\",\\\"processorResponseCode\\\":\\\"1000\\\",\\\"processorResponseText\\\":\\\"Approved\\\",\\\"additionalProcessorResponse\\\":null,\\\"voiceReferralNumber\\\":null,\\\"purchaseOrderNumber\\\":null,\\\"taxAmount\\\":null,\\\"taxExempt\\\":false,\\\"creditCard\\\":{\\\"token\\\":\\\"8x6m7fg\\\",\\\"bin\\\":\\\"424242\\\",\\\"last4\\\":\\\"4242\\\",\\\"cardType\\\":\\\"Visa\\\",\\\"expirationMonth\\\":\\\"03\\\",\\\"expirationYear\\\":\\\"2020\\\",\\\"customerLocation\\\":\\\"US\\\",\\\"cardholderName\\\":\\\"Wanda Mertz\\\",\\\"imageUrl\\\":\\\"https://assets.braintreegateway.com/payment_method_logo/visa.png?environment=sandbox\\\",\\\"prepaid\\\":\\\"Unknown\\\",\\\"healthcare\\\":\\\"Unknown\\\",\\\"debit\\\":\\\"Unknown\\\",\\\"durbinRegulated\\\":\\\"Unknown\\\",\\\"commercial\\\":\\\"Unknown\\\",\\\"payroll\\\":\\\"Unknown\\\",\\\"issuingBank\\\":\\\"Unknown\\\",\\\"countryOfIssuance\\\":\\\"Unknown\\\",\\\"productId\\\":\\\"Unknown\\\",\\\"globalId\\\":\\\"cGF5bWVudG1ldGhvZF9jY184eDZtN2Zn\\\",\\\"accountType\\\":null,\\\"uniqueNumberIdentifier\\\":\\\"8a8e0755d14e2ee2a306f4788f4e480a\\\",\\\"venmoSdk\\\":false,\\\"maskedNumber\\\":\\\"424242******4242\\\",\\\"expirationDate\\\":\\\"03/2020\\\"},\\\"statusHistory\\\":[{\\\"timestamp\\\":\\\"2020-05-22T11:06:05Z\\\",\\\"status\\\":\\\"authorized\\\",\\\"amount\\\":\\\"1.00\\\",\\\"user\\\":\\\"juls\\\",\\\"transactionSource\\\":\\\"api\\\"}],\\\"planId\\\":null,\\\"subscriptionId\\\":null,\\\"subscription\\\":{\\\"billingPeriodEndDate\\\":null,\\\"billingPeriodStartDate\\\":null},\\\"addOns\\\":[],\\\"discounts\\\":[],\\\"descriptor\\\":{\\\"name\\\":null,\\\"phone\\\":null,\\\"url\\\":null},\\\"recurring\\\":false,\\\"channel\\\":null,\\\"serviceFeeAmount\\\":null,\\\"escrowStatus\\\":null,\\\"disbursementDetails\\\":{\\\"disbursementDate\\\":null,\\\"settlementAmount\\\":null,\\\"settlementCurrencyIsoCode\\\":null,\\\"settlementCurrencyExchangeRate\\\":null,\\\"fundsHeld\\\":null,\\\"success\\\":null},\\\"disputes\\\":[],\\\"authorizationAdjustments\\\":[],\\\"paymentInstrumentType\\\":\\\"credit_card\\\",\\\"processorSettlementResponseCode\\\":\\\"\\\",\\\"processorSettlementResponseText\\\":\\\"\\\",\\\"networkResponseCode\\\":\\\"XX\\\",\\\"networkResponseText\\\":\\\"sample network response text\\\",\\\"threeDSecureInfo\\\":null,\\\"shipsFromPostalCode\\\":null,\\\"shippingAmount\\\":null,\\\"discountAmount\\\":null,\\\"networkTransactionId\\\":\\\"020200522110605\\\",\\\"processorResponseType\\\":\\\"approved\\\",\\\"authorizationExpiresAt\\\":\\\"2020-05-29T11:06:05Z\\\",\\\"refundGlobalIds\\\":[],\\\"partialSettlementTransactionGlobalIds\\\":[],\\\"refundedTransactionGlobalId\\\":null,\\\"authorizedTransactionGlobalId\\\":null,\\\"globalId\\\":\\\"dHJhbnNhY3Rpb25fYjd2eXQ2eG0\\\",\\\"retryIds\\\":[],\\\"retriedTransactionId\\\":null,\\\"retrievalReferenceNumber\\\":\\\"1234567\\\",\\\"paypalAccount\\\":{},\\\"coinbaseAccount\\\":{},\\\"applePayCard\\\":{},\\\"androidPayCard\\\":{}},\\\"success\\\":true}\"\n                            }\n                        }\n                    ],\n                    \"status\": \"complete\",\n                    \"type\": \"sale\"\n                }\n            ],\n            \"one_off\": false,\n            \"archived\": false,\n            \"customer\": {\n                \"customer_id\": \"5ec7b209b12c99579e46f268\",\n                \"email\": \"wanda.mertz@example.com\",\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 3,\n                    \"expire_year\": 2020,\n                    \"address_country\": \"AU\",\n                    \"gateway_id\": \"5cffefaa18b6546015794998\"\n                }\n            },\n            \"capture\": true,\n            \"status\": \"complete\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            },\n            \"__v\": 0,\n            \"external_id\": \"b7vyt6xm\"\n        }\n    }\n}"}],"_postman_id":"6d27dc9b-6c8b-4548-b9a9-85527aa886f5"},{"name":"capture","id":"d8ec3c53-bdfb-4131-9b59-24f0acf90809","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/charges/:id/capture","description":"<p>For capturing an authorised charge, make a POST call</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>-</td>\n<td>float</td>\n<td>Amount to capture. If no amount is specified, the full amount of the original charge is to be captured.</td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td>-</td>\n<td>object</td>\n<td>The object of custom fields for transaction. These fields were sent to a payment gateway if this option has been enabled using the gateway creation and modification endpoints</td>\n</tr>\n<tr>\n<td>custom_fields.any</td>\n<td>-</td>\n<td>string</td>\n<td>This fields can have any custom name and value</td>\n</tr>\n<tr>\n<td>channel_id</td>\n<td>-</td>\n<td>string</td>\n<td>Channel identifier</td>\n</tr>\n<tr>\n<td>wallet_id</td>\n<td>-</td>\n<td>string</td>\n<td>Wallet identifier</td>\n</tr>\n<tr>\n<td>card_acceptor</td>\n<td>-</td>\n<td>object</td>\n<td>Contact information identifying the location from which the money transfer originates</td>\n</tr>\n<tr>\n<td>card_acceptor.address_city</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address city</td>\n</tr>\n<tr>\n<td>card_acceptor.address_company</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address company</td>\n</tr>\n<tr>\n<td>card_acceptor.address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address postcode</td>\n</tr>\n<tr>\n<td>card_acceptor.address_country</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address country</td>\n</tr>\n<tr>\n<td>card_acceptor.address_state</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address state</td>\n</tr>\n<tr>\n<td>card_acceptor.address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address line 1</td>\n</tr>\n<tr>\n<td>card_acceptor.address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address line 2</td>\n</tr>\n<tr>\n<td>card_acceptor.name</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor name</td>\n</tr>\n<tr>\n<td>card_acceptor.phone</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor phone</td>\n</tr>\n<tr>\n<td>authorization_adjustment_actions</td>\n<td>-</td>\n<td>string</td>\n<td>The action you want the gateway to take if you submit a capture amount that is different from the outstanding authorization amount for the order.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","charges",":id","capture"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"5f084eb39c63b80a26e52b01","key":"id"}]}},"response":[{"id":"2b0a67ee-e1ab-4339-a7a7-4730a5ce1b9c","name":"capture not pending status","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/v1/charges/:id/capture","host":["{{url}}"],"path":["v1","charges",":id","capture"],"variable":[{"key":"id","value":""}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 22 May 2020 15:03:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1095"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"447-W5NXxs3sQjK0T6SiJsD9Rg\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Charge not in pending status\",\n        \"code\": \"UnfulfilledCondition\",\n        \"details\": {\n            \"path\": \"status\"\n        }\n    },\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"5f085abf9c63b80a26e52b45\",\n            \"created_at\": \"2020-07-10T12:10:39.926Z\",\n            \"updated_at\": \"2020-07-10T12:10:41.039Z\",\n            \"company_id\": \"5de656818ebed20cee14ff86\",\n            \"user_id\": \"5de656818ebed20cee14ff85\",\n            \"amount\": 111,\n            \"currency\": \"AUD\",\n            \"__v\": 0,\n            \"external_id\": \"d75545f3-e4f3-4546-8a9e-ecfb792becc9:9c7a9ac1-f263-4dc8-92f2-ba8fd17b5ca7\",\n            \"transactions\": [\n                {\n                    \"created_at\": \"2020-07-10T12:10:39.923Z\",\n                    \"amount\": 111,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5f085abf9c63b80a26e52b46\",\n                    \"external_id\": \"d75545f3-e4f3-4546-8a9e-ecfb792becc9:9c7a9ac1-f263-4dc8-92f2-ba8fd17b5ca7\",\n                    \"status_code_description\": null,\n                    \"status_code\": null,\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"complete\",\n                    \"type\": \"sale\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": false,\n            \"customer\": {\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"expire_month\": 12,\n                    \"expire_year\": 21,\n                    \"address_country\": \"AU\",\n                    \"gateway_id\": \"5eeb7470c6f56c58107671ab\",\n                    \"card_scheme\": \"visa\",\n                    \"gateway_name\": \"MasterCardTest\",\n                    \"gateway_type\": \"MasterCard\"\n                }\n            },\n            \"capture\": true,\n            \"status\": \"complete\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            }\n        }\n    },\n    \"error_summary\": {\n        \"message\": \"Charge not in pending status\",\n        \"code\": \"unfulfilled_condition\",\n        \"details\": {\n            \"path\": \"status\",\n            \"messages\": []\n        }\n    }\n}"},{"id":"a706d350-07c9-42da-861e-705d10d5feaa","name":"capture","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/v1/charges/:id/capture","host":["{{url}}"],"path":["v1","charges",":id","capture"],"variable":[{"key":"id","value":"5ec6305eb12c99579e46edef"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 22 May 2020 15:02:05 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1039"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"40f-h4iitGvjF+fKWxTqvLCoXg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"5ec6305eb12c99579e46edef\",\n            \"created_at\": \"2020-05-21T07:40:14.179Z\",\n            \"updated_at\": \"2020-05-22T15:02:05.580Z\",\n            \"company_id\": \"5cbeda664fdfb25772b5547f\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"__v\": 0,\n            \"external_id\": \"ch_0Gl90kjQKtR4Rpd2KlGhQamr\",\n            \"transactions\": [\n                {\n                    \"created_at\": \"2020-05-21T07:40:14.177Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5ec6305eb12c99579e46edf0\",\n                    \"pended_at\": \"2020-05-23T07:40:57.991Z\",\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"status\": \"complete\",\n                    \"type\": \"sale\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": false,\n            \"customer\": {\n                \"payment_source\": {\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"expire_month\": 1,\n                    \"expire_year\": 21,\n                    \"gateway_id\": \"5cbede1f151b842653e987be\",\n                    \"card_scheme\": \"visa\",\n                    \"gateway_name\": \"Stripe 1\",\n                    \"gateway_type\": \"Stripe\"\n                }\n            },\n            \"capture\": true,\n            \"status\": \"complete\",\n            \"schedule\": {\n                \"authorised_pended_at\": \"2020-05-22T09:40:57.324Z\"\n            },\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            }\n        }\n    }\n}"}],"_postman_id":"d8ec3c53-bdfb-4131-9b59-24f0acf90809"},{"name":"cancel authorised","id":"95667eb7-033e-4ac6-93b9-98cfac384d95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/charges/:id/capture","description":"<p>For cancelling an authorised charge, make a DELETE call.</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>custom_fields</td>\n<td>-</td>\n<td>object</td>\n<td>The object of custom fields for transaction. These fields were sent to a payment gateway if this option has been enabled using the gateway creation and modification endpoints</td>\n</tr>\n<tr>\n<td>custom_fields.any</td>\n<td>-</td>\n<td>string</td>\n<td>This fields can have any custom name and value</td>\n</tr>\n<tr>\n<td>card_acceptor</td>\n<td>-</td>\n<td>object</td>\n<td>Contact information identifying the location from which the money transfer originates</td>\n</tr>\n<tr>\n<td>card_acceptor.address_city</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address city</td>\n</tr>\n<tr>\n<td>card_acceptor.address_company</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address company</td>\n</tr>\n<tr>\n<td>card_acceptor.address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address postcode</td>\n</tr>\n<tr>\n<td>card_acceptor.address_country</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address country</td>\n</tr>\n<tr>\n<td>card_acceptor.address_state</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address state</td>\n</tr>\n<tr>\n<td>card_acceptor.address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address line 1</td>\n</tr>\n<tr>\n<td>card_acceptor.address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address line 2</td>\n</tr>\n<tr>\n<td>card_acceptor.name</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor name</td>\n</tr>\n<tr>\n<td>card_acceptor.phone</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor phone</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","charges",":id","capture"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"5ec7b6b3b12c99579e46f27d","key":"id"}]}},"response":[{"id":"8546339e-7f63-4384-bf91-97f4d9681679","name":"cancel authorised not pending status","originalRequest":{"method":"DELETE","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/v1/charges/:id/capture","host":["{{url}}"],"path":["v1","charges",":id","capture"],"variable":[{"key":"id","value":""}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 22 May 2020 15:05:18 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"118"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"76-jkkeypCmJvq7I3bnF0oM/g\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Charge not found or not in pending state\",\n        \"code\": \"UnfulfilledCondition\"\n    },\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": null\n    },\n    \"error_summary\": {\n        \"message\": \"Charge not found or not in pending state\",\n        \"code\": \"unfulfilled_condition\",\n        \"details\": {\n            \"messages\": []\n        }\n    }\n}"}],"_postman_id":"95667eb7-033e-4ac6-93b9-98cfac384d95"},{"name":"archive","id":"185a1885-fd49-4cb1-9e6d-c3f9986ea9f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/:id","description":"<p>Archive Charge to hide it from charges list. You can still retrieve archived charges</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","charges",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"42b91b8a-9731-4c2f-946b-9a5395002dd9","type":"string","value":"5ec691dfb12c99579e46ee4e","key":"id"}]}},"response":[{"id":"964fc4af-b6ff-46a6-843a-d1076b67c4ab","name":"archive success","originalRequest":{"method":"DELETE","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/charges/:id","host":["{{url}}"],"path":["v1","charges",":id"],"variable":[{"key":"id","value":"5ec691dfb12c99579e46ee4e"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 25 May 2020 10:18:32 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1121"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"461-ZmW1jbhJNwakBf/S7e8VFw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"5ec691dfb12c99579e46ee4e\",\n            \"created_at\": \"2020-05-21T14:36:15.368Z\",\n            \"updated_at\": \"2020-05-25T10:18:32.707Z\",\n            \"company_id\": \"5cbeda664fdfb25772b5547f\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"description\": \"Wanda Mertz is charged\",\n            \"__v\": 0,\n            \"external_id\": \"ch_0GlFVLjQKtR4Rpd21QwOjU9U\",\n            \"transactions\": [\n                {\n                    \"created_at\": \"2020-05-21T14:36:15.366Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5ec691dfb12c99579e46ee4f\",\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"complete\",\n                    \"type\": \"sale\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": true,\n            \"customer\": {\n                \"customer_id\": \"5e4bfbd86d244b438451fbd7\",\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"company_name\": \"Hahn Mertz LLC\",\n                \"payment_source\": {\n                    \"source_id\": \"5e4bfbc96d244b438451fbd6\",\n                    \"type\": \"card\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 12,\n                    \"expire_year\": 2020,\n                    \"address_country\": \"AU\",\n                    \"gateway_id\": \"5cbede1f151b842653e987be\"\n                }\n            },\n            \"capture\": true,\n            \"status\": \"complete\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            }\n        }\n    }\n}"}],"_postman_id":"185a1885-fd49-4cb1-9e6d-c3f9986ea9f2"},{"name":"refund","id":"87377178-e7fe-4a3a-98f2-d2a5fad346d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 10\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/:id/refunds","description":"<p>refund request for a previously made financial charge.</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>-</td>\n<td>float</td>\n<td>Amount to refund. If no amount is specified, the full amount of the original charge is to be refunded.</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined reference. This field is passed through to a payment service without being saved to Paydock system. If no value is provided, charge.reference is used. Not supported with all services.</td>\n</tr>\n<tr>\n<td>reference2</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined reference. This field is passed through to a payment service without being saved to Paydock system. If no value is provided, charge.reference2 is used. Not supported with all services.</td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td>-</td>\n<td>object</td>\n<td>The object of custom fields for transaction. These fields are sent to a payment gateway if this option has been enabled using the gateway creation and modification endpoints</td>\n</tr>\n<tr>\n<td>custom_fields.any</td>\n<td>-</td>\n<td>string</td>\n<td>These fields can have any custom name and value</td>\n</tr>\n<tr>\n<td>card_acceptor</td>\n<td>-</td>\n<td>object</td>\n<td>Contact information identifying the location from which the money transfer originates</td>\n</tr>\n<tr>\n<td>card_acceptor.address_city</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address city</td>\n</tr>\n<tr>\n<td>card_acceptor.address_company</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address company</td>\n</tr>\n<tr>\n<td>card_acceptor.address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address postcode</td>\n</tr>\n<tr>\n<td>card_acceptor.address_country</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address country</td>\n</tr>\n<tr>\n<td>card_acceptor.address_state</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address state</td>\n</tr>\n<tr>\n<td>card_acceptor.address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address line 1</td>\n</tr>\n<tr>\n<td>card_acceptor.address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address line 2</td>\n</tr>\n<tr>\n<td>card_acceptor.name</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor name</td>\n</tr>\n<tr>\n<td>card_acceptor.phone</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor phone</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","charges",":id","refunds"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"5ecd108a51eff9228f882b8b","key":"id"}]}},"response":[{"id":"530c87e6-93de-4ca8-b111-730c54174c13","name":"refund of already refunded transaction with gateway error","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 10\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/charges/5f085abf9c63b80a26e52b45/refunds","host":["{{url}}"],"path":["v1","charges","5f085abf9c63b80a26e52b45","refunds"],"variable":[{"key":"id","value":"5ecd108a51eff9228f882b8b"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 May 2020 13:01:58 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2268"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"8dc-0k7rwX+nxdWdF29cYaMIeg\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Invalid Transaction Details\",\n        \"code\": \"invalid_transaction_details\",\n        \"details\": [\n            {\n                \"gateway_specific_code\": \"INVALID_REQUEST:INVALID:apiOperation\",\n                \"gateway_specific_description\": \"The request contained a field with a value that did not pass validation.\",\n                \"param_name\": null,\n                \"description\": \"Invalid Transaction Details\"\n            }\n        ]\n    },\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"5f085a919c63b80a26e52b3d\",\n            \"created_at\": \"2020-07-10T12:09:54.001Z\",\n            \"updated_at\": \"2020-07-10T12:57:13.148Z\",\n            \"company_id\": \"5de656818ebed20cee14ff86\",\n            \"user_id\": \"5de656818ebed20cee14ff85\",\n            \"amount\": 111,\n            \"currency\": \"AUD\",\n            \"__v\": 2,\n            \"external_id\": \"c7016979-7ec2-49a0-89db-255f0409ad7d:68c534c0-991b-4040-a032-f3a7369a53ca\",\n            \"_source_ip_address\": \"192.168.0.1\",\n            \"transactions\": [\n                {\n                    \"created_at\": \"2020-07-10T12:09:53.999Z\",\n                    \"amount\": 111,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5f085a929c63b80a26e52b3e\",\n                    \"external_id\": \"c7016979-7ec2-49a0-89db-255f0409ad7d:68c534c0-991b-4040-a032-f3a7369a53ca\",\n                    \"status_code_description\": null,\n                    \"status_code\": null,\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"complete\",\n                    \"type\": \"sale\"\n                },\n                {\n                    \"created_at\": \"2020-07-10T12:56:46.847Z\",\n                    \"amount\": 111,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5f08658e9c63b80a26e52d48\",\n                    \"external_id\": \"c7016979-7ec2-49a0-89db-255f0409ad7d:e2b11bcb-6861-4d8f-9333-cb6e7cb626ff\",\n                    \"status_code_description\": null,\n                    \"status_code\": null,\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"complete\",\n                    \"type\": \"refund\"\n                },\n                {\n                    \"created_at\": \"2020-07-10T12:57:12.210Z\",\n                    \"amount\": 111,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5f0865a89c63b80a26e52d49\",\n                    \"status_code_description\": null,\n                    \"status_code\": null,\n                    \"error_code\": \"invalid_transaction_details\",\n                    \"error_message\": \"Invalid Transaction Details\",\n                    \"gateway_specific_description\": \"The request contained a field with a value that did not pass validation.\",\n                    \"gateway_specific_code\": \"INVALID_REQUEST:INVALID:apiOperation\",\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"failed\",\n                    \"type\": \"refund\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": false,\n            \"customer\": {\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"expire_month\": 12,\n                    \"expire_year\": 21,\n                    \"address_country\": \"AU\",\n                    \"gateway_id\": \"5eeb7470c6f56c58107671ab\",\n                    \"card_scheme\": \"visa\",\n                    \"gateway_name\": \"MasterCardTest\",\n                    \"gateway_type\": \"MasterCard\"\n                }\n            },\n            \"capture\": true,\n            \"status\": \"refunded\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            },\n            \"transaction\": {\n                \"created_at\": \"2020-07-10T12:57:12.210Z\",\n                \"amount\": 111,\n                \"currency\": \"AUD\",\n                \"_id\": \"5f0865a89c63b80a26e52d49\",\n                \"status_code_description\": null,\n                \"status_code\": null,\n                \"error_code\": \"invalid_transaction_details\",\n                \"error_message\": \"Invalid Transaction Details\",\n                \"gateway_specific_description\": \"The request contained a field with a value that did not pass validation.\",\n                \"gateway_specific_code\": \"INVALID_REQUEST:INVALID:apiOperation\",\n                \"_source_ip_address\": \"192.168.0.1\",\n                \"service_logs\": [],\n                \"status\": \"failed\",\n                \"type\": \"refund\"\n            }\n        }\n    },\n    \"error_summary\": {\n        \"message\": \"Invalid Transaction Details\",\n        \"code\": \"invalid_transaction_details\",\n        \"details\": {\n            \"gateway_specific_code\": \"INVALID_REQUEST:INVALID:apiOperation\",\n            \"gateway_specific_description\": \"The request contained a field with a value that did not pass validation.\",\n            \"messages\": [\n                \"Invalid Transaction Details\"\n            ]\n        }\n    }\n}"},{"id":"b1b2401a-8880-45c5-b8b6-b454d90b0cad","name":"partial refund","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 5\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/charges/:id/refunds","host":["{{url}}"],"path":["v1","charges",":id","refunds"],"variable":[{"key":"id","value":"5ecd153551eff9228f882b98"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 May 2020 13:10:46 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1467"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"5bb-qmSt35IyUD+CBrVGwbgcJg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"5ecd153551eff9228f882b98\",\n            \"created_at\": \"2020-05-26T13:10:13.489Z\",\n            \"updated_at\": \"2020-05-26T13:10:46.807Z\",\n            \"company_id\": \"5cbeda664fdfb25772b5547f\",\n            \"user_id\": \"5cbeda664fdfb25772b5547e\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"__v\": 1,\n            \"external_id\": \"ch_0Gn2XpjQKtR4Rpd21n4wyxte\",\n            \"transactions\": [\n                {\n                    \"created_at\": \"2020-05-26T13:10:13.488Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5ecd153551eff9228f882b99\",\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"complete\",\n                    \"type\": \"sale\"\n                },\n                {\n                    \"pended_at\": \"2020-05-27T13:10:46.804Z\",\n                    \"created_at\": \"2020-05-26T13:10:46.241Z\",\n                    \"amount\": 5,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5ecd155651eff9228f882ba2\",\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"requested\",\n                    \"type\": \"refund\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": false,\n            \"customer\": {\n                \"customer_id\": \"5e4bfbd86d244b438451fbd7\",\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertzst\",\n                \"payment_source\": {\n                    \"source_id\": \"5e4bfbc96d244b438451fbd6\",\n                    \"type\": \"card\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 12,\n                    \"expire_year\": 2020,\n                    \"address_country\": \"AU\",\n                    \"gateway_id\": \"5cbede1f151b842653e987be\"\n                }\n            },\n            \"capture\": true,\n            \"status\": \"refund_requested\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            }\n        }\n    }\n}"},{"id":"18bd6808-b34c-4ce8-b2c5-2246bc1d0160","name":"refund success","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 10\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/charges/:id/refunds","host":["{{url}}"],"path":["v1","charges",":id","refunds"],"variable":[{"key":"id","value":"5ecd108a51eff9228f882b8b"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 May 2020 12:51:21 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1468"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"5bc-Iw38hRQ78sWevJgoux5jJw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"5ecd108a51eff9228f882b8b\",\n            \"created_at\": \"2020-05-26T12:50:18.586Z\",\n            \"updated_at\": \"2020-05-26T12:51:21.921Z\",\n            \"company_id\": \"5cbeda664fdfb25772b5547f\",\n            \"user_id\": \"5cbeda664fdfb25772b5547e\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"__v\": 1,\n            \"external_id\": \"ch_0Gn2EYjQKtR4Rpd2Z409qPmQ\",\n            \"transactions\": [\n                {\n                    \"created_at\": \"2020-05-26T12:50:18.579Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5ecd108a51eff9228f882b8c\",\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"complete\",\n                    \"type\": \"sale\"\n                },\n                {\n                    \"pended_at\": \"2020-05-27T12:51:21.917Z\",\n                    \"created_at\": \"2020-05-26T12:51:21.331Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5ecd10c951eff9228f882b95\",\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"requested\",\n                    \"type\": \"refund\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": false,\n            \"customer\": {\n                \"customer_id\": \"5e4bfbd86d244b438451fbd7\",\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"payment_source\": {\n                    \"source_id\": \"5e4bfbc96d244b438451fbd6\",\n                    \"type\": \"card\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 12,\n                    \"expire_year\": 2020,\n                    \"address_country\": \"AU\",\n                    \"gateway_id\": \"5cbede1f151b842653e987be\"\n                }\n            },\n            \"capture\": true,\n            \"status\": \"refund_requested\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            }\n        }\n    }\n}"}],"_postman_id":"87377178-e7fe-4a3a-98f2-d2a5fad346d1"},{"name":"refund transaction","id":"9f630769-efda-4caa-971d-c7eaa9fdd90d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 10\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/:charge_id/transactions/:transaction_id/refunds","description":"<p>refund request for specified transaction.</p>\n<h2 id=\"request-params\">Request params</h2>\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>charge_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id of specific charge received at the creation stage</td>\n</tr>\n<tr>\n<td>transaction_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id of specific transaction received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>-</td>\n<td>float</td>\n<td>Amount to refund. If no amount is specified, the full amount of the original transaction is to be refunded.</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined reference. This field is passed through to a payment service without being saved to Paydock system. If no value is provided, charge.reference is used. Not supported with all services.</td>\n</tr>\n<tr>\n<td>reference2</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined reference. This field is passed through to a payment service without being saved to Paydock system. If no value is provided, charge.reference2 is used. Not supported with all services.</td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td>-</td>\n<td>object</td>\n<td>The object of custom fields for transaction. These fields are sent to a payment gateway if this option has been enabled using the gateway creation and modification endpoints</td>\n</tr>\n<tr>\n<td>custom_fields.any</td>\n<td>-</td>\n<td>string</td>\n<td>These fields can have any custom name and value</td>\n</tr>\n<tr>\n<td>card_acceptor</td>\n<td>-</td>\n<td>object</td>\n<td>Contact information identifying the location from which the money transfer originates</td>\n</tr>\n<tr>\n<td>card_acceptor.address_city</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address city</td>\n</tr>\n<tr>\n<td>card_acceptor.address_company</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address company</td>\n</tr>\n<tr>\n<td>card_acceptor.address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address postcode</td>\n</tr>\n<tr>\n<td>card_acceptor.address_country</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address country</td>\n</tr>\n<tr>\n<td>card_acceptor.address_state</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address state</td>\n</tr>\n<tr>\n<td>card_acceptor.address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address line 1</td>\n</tr>\n<tr>\n<td>card_acceptor.address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor address line 2</td>\n</tr>\n<tr>\n<td>card_acceptor.name</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor name</td>\n</tr>\n<tr>\n<td>card_acceptor.phone</td>\n<td>-</td>\n<td>string</td>\n<td>Card acceptor phone</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","charges",":charge_id","transactions",":transaction_id","refunds"],"host":["{{url}}"],"query":[],"variable":[{"id":"5abfc11d-eaf2-4cdc-9c0a-f0b54626b833","type":"any","value":"","key":"charge_id"},{"id":"d7eb00be-2bf4-4a5e-9efc-714d6c8a8017","type":"any","value":"","key":"transaction_id"}]}},"response":[{"id":"a0f00ada-2e9a-48c3-8055-af2abdbdbaa0","name":"refund of already refunded transaction with gateway error","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 10\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/5f085abf9c63b80a26e52b45/transactions/5f085a929c63b80a26e52b3e/refunds"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 May 2020 13:01:58 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2268"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"8dc-0k7rwX+nxdWdF29cYaMIeg\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Invalid Transaction Details\",\n        \"code\": \"invalid_transaction_details\",\n        \"details\": [\n            {\n                \"gateway_specific_code\": \"INVALID_REQUEST:INVALID:apiOperation\",\n                \"gateway_specific_description\": \"The request contained a field with a value that did not pass validation.\",\n                \"param_name\": null,\n                \"description\": \"Invalid Transaction Details\"\n            }\n        ]\n    },\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"5f085a919c63b80a26e52b3d\",\n            \"created_at\": \"2020-07-10T12:09:54.001Z\",\n            \"updated_at\": \"2020-07-10T12:57:13.148Z\",\n            \"company_id\": \"5de656818ebed20cee14ff86\",\n            \"user_id\": \"5de656818ebed20cee14ff85\",\n            \"amount\": 111,\n            \"currency\": \"AUD\",\n            \"__v\": 2,\n            \"external_id\": \"c7016979-7ec2-49a0-89db-255f0409ad7d:68c534c0-991b-4040-a032-f3a7369a53ca\",\n            \"_source_ip_address\": \"192.168.0.1\",\n            \"transactions\": [\n                {\n                    \"created_at\": \"2020-07-10T12:09:53.999Z\",\n                    \"amount\": 111,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5f085a929c63b80a26e52b3e\",\n                    \"external_id\": \"c7016979-7ec2-49a0-89db-255f0409ad7d:68c534c0-991b-4040-a032-f3a7369a53ca\",\n                    \"status_code_description\": null,\n                    \"status_code\": null,\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"complete\",\n                    \"type\": \"sale\"\n                },\n                {\n                    \"created_at\": \"2020-07-10T12:56:46.847Z\",\n                    \"amount\": 111,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5f08658e9c63b80a26e52d48\",\n                    \"external_id\": \"c7016979-7ec2-49a0-89db-255f0409ad7d:e2b11bcb-6861-4d8f-9333-cb6e7cb626ff\",\n                    \"status_code_description\": null,\n                    \"status_code\": null,\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"complete\",\n                    \"type\": \"refund\"\n                },\n                {\n                    \"created_at\": \"2020-07-10T12:57:12.210Z\",\n                    \"amount\": 111,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5f0865a89c63b80a26e52d49\",\n                    \"status_code_description\": null,\n                    \"status_code\": null,\n                    \"error_code\": \"invalid_transaction_details\",\n                    \"error_message\": \"Invalid Transaction Details\",\n                    \"gateway_specific_description\": \"The request contained a field with a value that did not pass validation.\",\n                    \"gateway_specific_code\": \"INVALID_REQUEST:INVALID:apiOperation\",\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"failed\",\n                    \"type\": \"refund\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": false,\n            \"customer\": {\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"expire_month\": 12,\n                    \"expire_year\": 21,\n                    \"address_country\": \"AU\",\n                    \"gateway_id\": \"5eeb7470c6f56c58107671ab\",\n                    \"card_scheme\": \"visa\",\n                    \"gateway_name\": \"MasterCardTest\",\n                    \"gateway_type\": \"MasterCard\"\n                }\n            },\n            \"capture\": true,\n            \"status\": \"refunded\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            },\n            \"transaction\": {\n                \"created_at\": \"2020-07-10T12:57:12.210Z\",\n                \"amount\": 111,\n                \"currency\": \"AUD\",\n                \"_id\": \"5f0865a89c63b80a26e52d49\",\n                \"status_code_description\": null,\n                \"status_code\": null,\n                \"error_code\": \"invalid_transaction_details\",\n                \"error_message\": \"Invalid Transaction Details\",\n                \"gateway_specific_description\": \"The request contained a field with a value that did not pass validation.\",\n                \"gateway_specific_code\": \"INVALID_REQUEST:INVALID:apiOperation\",\n                \"_source_ip_address\": \"192.168.0.1\",\n                \"service_logs\": [],\n                \"status\": \"failed\",\n                \"type\": \"refund\"\n            }\n        }\n    },\n    \"error_summary\": {\n        \"message\": \"Invalid Transaction Details\",\n        \"code\": \"invalid_transaction_details\",\n        \"details\": {\n            \"gateway_specific_code\": \"INVALID_REQUEST:INVALID:apiOperation\",\n            \"gateway_specific_description\": \"The request contained a field with a value that did not pass validation.\",\n            \"messages\": [\n                \"Invalid Transaction Details\"\n            ]\n        }\n    }\n}"},{"id":"628653d1-8e1b-4aab-9401-8a9a1f548d11","name":"partial refund","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 5\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/charges/:charge_id/transactions/:transaction_id/refunds","host":["{{url}}"],"path":["v1","charges",":charge_id","transactions",":transaction_id","refunds"],"variable":[{"key":"charge_id","value":"5ecd153551eff9228f882b98"},{"key":"transaction_id","value":"5ecd153551eff9228f882b99"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 May 2020 13:10:46 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1467"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"5bb-qmSt35IyUD+CBrVGwbgcJg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"5ecd153551eff9228f882b98\",\n            \"created_at\": \"2020-05-26T13:10:13.489Z\",\n            \"updated_at\": \"2020-05-26T13:10:46.807Z\",\n            \"company_id\": \"5cbeda664fdfb25772b5547f\",\n            \"user_id\": \"5cbeda664fdfb25772b5547e\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"__v\": 1,\n            \"external_id\": \"ch_0Gn2XpjQKtR4Rpd21n4wyxte\",\n            \"transactions\": [\n                {\n                    \"created_at\": \"2020-05-26T13:10:13.488Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5ecd153551eff9228f882b99\",\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"complete\",\n                    \"type\": \"sale\"\n                },\n                {\n                    \"pended_at\": \"2020-05-27T13:10:46.804Z\",\n                    \"created_at\": \"2020-05-26T13:10:46.241Z\",\n                    \"amount\": 5,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5ecd155651eff9228f882ba2\",\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"requested\",\n                    \"type\": \"refund\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": false,\n            \"customer\": {\n                \"customer_id\": \"5e4bfbd86d244b438451fbd7\",\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertzst\",\n                \"payment_source\": {\n                    \"source_id\": \"5e4bfbc96d244b438451fbd6\",\n                    \"type\": \"card\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 12,\n                    \"expire_year\": 2020,\n                    \"address_country\": \"AU\",\n                    \"gateway_id\": \"5cbede1f151b842653e987be\"\n                }\n            },\n            \"capture\": true,\n            \"status\": \"refund_requested\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            }\n        }\n    }\n}"},{"id":"e0407876-1192-41b7-b633-e0c1c8cb5e46","name":"refund success","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 10\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/charges/:charge_id/transactions/:transaction_id/refunds","host":["{{url}}"],"path":["v1","charges",":charge_id","transactions",":transaction_id","refunds"],"variable":[{"key":"charge_id","value":"5ecd108a51eff9228f882b8b"},{"key":"transaction_id","value":"5ecd108a51eff9228f882b8c"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 May 2020 12:51:21 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1468"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"5bc-Iw38hRQ78sWevJgoux5jJw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"5ecd108a51eff9228f882b8b\",\n            \"created_at\": \"2020-05-26T12:50:18.586Z\",\n            \"updated_at\": \"2020-05-26T12:51:21.921Z\",\n            \"company_id\": \"5cbeda664fdfb25772b5547f\",\n            \"user_id\": \"5cbeda664fdfb25772b5547e\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"__v\": 1,\n            \"external_id\": \"ch_0Gn2EYjQKtR4Rpd2Z409qPmQ\",\n            \"transactions\": [\n                {\n                    \"created_at\": \"2020-05-26T12:50:18.579Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5ecd108a51eff9228f882b8c\",\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"complete\",\n                    \"type\": \"sale\"\n                },\n                {\n                    \"pended_at\": \"2020-05-27T12:51:21.917Z\",\n                    \"created_at\": \"2020-05-26T12:51:21.331Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5ecd10c951eff9228f882b95\",\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"requested\",\n                    \"type\": \"refund\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": false,\n            \"customer\": {\n                \"customer_id\": \"5e4bfbd86d244b438451fbd7\",\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"payment_source\": {\n                    \"source_id\": \"5e4bfbc96d244b438451fbd6\",\n                    \"type\": \"card\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 12,\n                    \"expire_year\": 2020,\n                    \"address_country\": \"AU\",\n                    \"gateway_id\": \"5cbede1f151b842653e987be\"\n                }\n            },\n            \"capture\": true,\n            \"status\": \"refund_requested\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            }\n        }\n    }\n}"}],"_postman_id":"9f630769-efda-4caa-971d-c7eaa9fdd90d"},{"name":"get with refund status","id":"f5699b14-a1b7-40e2-a6d3-de0519205373","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/:id/refunds","description":"<p>Manually request update the refund transaction status and get charge with actual refund info</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","charges",":id","refunds"],"host":["{{url}}"],"query":[],"variable":[{"id":"e7403a56-fc03-437f-b8ef-a40cff5780c8","type":"string","value":"5ecd108a51eff9228f882b8b","key":"id"}]}},"response":[{"id":"f5a8295d-ef81-439c-b806-c3f4b39b7835","name":"refund of already refunded transaction with gateway error","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 10\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/charges/:id/refunds","host":["{{url}}"],"path":["v1","charges",":id","refunds"],"variable":[{"key":"id","value":"5ecd108a51eff9228f882b8b"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 May 2020 13:01:58 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2268"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"8dc-0k7rwX+nxdWdF29cYaMIeg\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Invalid Transaction Details\",\n        \"code\": \"invalid_transaction_details\",\n        \"details\": [\n            {\n                \"gateway_specific_code\": \"INVALID_REQUEST:INVALID:apiOperation\",\n                \"gateway_specific_description\": \"The request contained a field with a value that did not pass validation.\",\n                \"param_name\": null,\n                \"description\": \"Invalid Transaction Details\"\n            }\n        ]\n    },\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"5f085a919c63b80a26e52b3d\",\n            \"created_at\": \"2020-07-10T12:09:54.001Z\",\n            \"updated_at\": \"2020-07-10T12:57:13.148Z\",\n            \"company_id\": \"5de656818ebed20cee14ff86\",\n            \"user_id\": \"5de656818ebed20cee14ff85\",\n            \"amount\": 111,\n            \"currency\": \"AUD\",\n            \"__v\": 2,\n            \"external_id\": \"c7016979-7ec2-49a0-89db-255f0409ad7d:68c534c0-991b-4040-a032-f3a7369a53ca\",\n            \"_source_ip_address\": \"192.168.0.1\",\n            \"transactions\": [\n                {\n                    \"created_at\": \"2020-07-10T12:09:53.999Z\",\n                    \"amount\": 111,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5f085a929c63b80a26e52b3e\",\n                    \"external_id\": \"c7016979-7ec2-49a0-89db-255f0409ad7d:68c534c0-991b-4040-a032-f3a7369a53ca\",\n                    \"status_code_description\": null,\n                    \"status_code\": null,\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"complete\",\n                    \"type\": \"sale\"\n                },\n                {\n                    \"created_at\": \"2020-07-10T12:56:46.847Z\",\n                    \"amount\": 111,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5f08658e9c63b80a26e52d48\",\n                    \"external_id\": \"c7016979-7ec2-49a0-89db-255f0409ad7d:e2b11bcb-6861-4d8f-9333-cb6e7cb626ff\",\n                    \"status_code_description\": null,\n                    \"status_code\": null,\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"complete\",\n                    \"type\": \"refund\"\n                },\n                {\n                    \"created_at\": \"2020-07-10T12:57:12.210Z\",\n                    \"amount\": 111,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5f0865a89c63b80a26e52d49\",\n                    \"status_code_description\": null,\n                    \"status_code\": null,\n                    \"error_code\": \"invalid_transaction_details\",\n                    \"error_message\": \"Invalid Transaction Details\",\n                    \"gateway_specific_description\": \"The request contained a field with a value that did not pass validation.\",\n                    \"gateway_specific_code\": \"INVALID_REQUEST:INVALID:apiOperation\",\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"failed\",\n                    \"type\": \"refund\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": false,\n            \"customer\": {\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"expire_month\": 12,\n                    \"expire_year\": 21,\n                    \"address_country\": \"AU\",\n                    \"gateway_id\": \"5eeb7470c6f56c58107671ab\",\n                    \"card_scheme\": \"visa\",\n                    \"gateway_name\": \"MasterCardTest\",\n                    \"gateway_type\": \"MasterCard\"\n                }\n            },\n            \"capture\": true,\n            \"status\": \"refunded\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            },\n            \"transaction\": {\n                \"created_at\": \"2020-07-10T12:57:12.210Z\",\n                \"amount\": 111,\n                \"currency\": \"AUD\",\n                \"_id\": \"5f0865a89c63b80a26e52d49\",\n                \"status_code_description\": null,\n                \"status_code\": null,\n                \"error_code\": \"invalid_transaction_details\",\n                \"error_message\": \"Invalid Transaction Details\",\n                \"gateway_specific_description\": \"The request contained a field with a value that did not pass validation.\",\n                \"gateway_specific_code\": \"INVALID_REQUEST:INVALID:apiOperation\",\n                \"_source_ip_address\": \"192.168.0.1\",\n                \"service_logs\": [],\n                \"status\": \"failed\",\n                \"type\": \"refund\"\n            }\n        }\n    },\n    \"error_summary\": {\n        \"message\": \"Invalid Transaction Details\",\n        \"code\": \"invalid_transaction_details\",\n        \"details\": {\n            \"gateway_specific_code\": \"INVALID_REQUEST:INVALID:apiOperation\",\n            \"gateway_specific_description\": \"The request contained a field with a value that did not pass validation.\",\n            \"messages\": [\n                \"Invalid Transaction Details\"\n            ]\n        }\n    }\n}"},{"id":"62ab59d3-eada-4d94-aad2-a053c63fdb7d","name":"get with refund status","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/v1/charges/:id/refunds","host":["{{url}}"],"path":["v1","charges",":id","refunds"],"variable":[{"key":"id","value":"5ecd108a51eff9228f882b8b"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 May 2020 13:09:34 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1758"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"6de-xXz5YgIzZfXv+POOXq3zdg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"5ecd108a51eff9228f882b8b\",\n            \"created_at\": \"2020-05-26T12:50:18.586Z\",\n            \"updated_at\": \"2020-05-26T13:05:34.527Z\",\n            \"company_id\": \"5cbeda664fdfb25772b5547f\",\n            \"user_id\": \"5cbeda664fdfb25772b5547e\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"__v\": 2,\n            \"external_id\": \"ch_0Gn2EYjQKtR4Rpd2Z409qPmQ\",\n            \"transactions\": [\n                {\n                    \"created_at\": \"2020-05-26T12:50:18.579Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5ecd108a51eff9228f882b8c\",\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"complete\",\n                    \"type\": \"sale\"\n                },\n                {\n                    \"created_at\": \"2020-05-26T12:51:21.331Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5ecd10c951eff9228f882b95\",\n                    \"pended_at\": \"2020-05-27T12:51:21.917Z\",\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"complete\",\n                    \"type\": \"refund\"\n                },\n                {\n                    \"created_at\": \"2020-05-26T13:01:58.145Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5ecd134651eff9228f882b97\",\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"failed\",\n                    \"type\": \"refund\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": false,\n            \"customer\": {\n                \"customer_id\": \"5e4bfbd86d244b438451fbd7\",\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"payment_source\": {\n                    \"source_id\": \"5e4bfbc96d244b438451fbd6\",\n                    \"type\": \"card\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 12,\n                    \"expire_year\": 2020,\n                    \"address_country\": \"AU\",\n                    \"gateway_id\": \"5cbede1f151b842653e987be\"\n                }\n            },\n            \"capture\": true,\n            \"status\": \"refunded\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            }\n        }\n    }\n}"},{"id":"34acf949-13ec-4678-b58c-a6954742a592","name":"refund success","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 10\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/charges/:id/refunds","host":["{{url}}"],"path":["v1","charges",":id","refunds"],"variable":[{"key":"id","value":"5ecd108a51eff9228f882b8b"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 May 2020 12:51:21 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1468"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"5bc-Iw38hRQ78sWevJgoux5jJw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"5ecd108a51eff9228f882b8b\",\n            \"created_at\": \"2020-05-26T12:50:18.586Z\",\n            \"updated_at\": \"2020-05-26T12:51:21.921Z\",\n            \"company_id\": \"5cbeda664fdfb25772b5547f\",\n            \"user_id\": \"5cbeda664fdfb25772b5547e\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"__v\": 1,\n            \"external_id\": \"ch_0Gn2EYjQKtR4Rpd2Z409qPmQ\",\n            \"transactions\": [\n                {\n                    \"created_at\": \"2020-05-26T12:50:18.579Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5ecd108a51eff9228f882b8c\",\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"complete\",\n                    \"type\": \"sale\"\n                },\n                {\n                    \"pended_at\": \"2020-05-27T12:51:21.917Z\",\n                    \"created_at\": \"2020-05-26T12:51:21.331Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5ecd10c951eff9228f882b95\",\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"requested\",\n                    \"type\": \"refund\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": false,\n            \"customer\": {\n                \"customer_id\": \"5e4bfbd86d244b438451fbd7\",\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"payment_source\": {\n                    \"source_id\": \"5e4bfbc96d244b438451fbd6\",\n                    \"type\": \"card\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 12,\n                    \"expire_year\": 2020,\n                    \"address_country\": \"AU\",\n                    \"gateway_id\": \"5cbede1f151b842653e987be\"\n                }\n            },\n            \"capture\": true,\n            \"status\": \"refund_requested\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            }\n        }\n    }\n}"}],"_postman_id":"f5699b14-a1b7-40e2-a6d3-de0519205373"},{"name":"modify","id":"0e8f9b3e-b67b-4330-941f-7150efa4baa7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"subscription_id\": \"5ec7b20ab12c99579e46f26b\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/:id","description":"<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request body</h2>\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>subscription_id</td>\n<td>-</td>\n<td>string (24 hex characters)</td>\n<td>You can assign a single charge to an existing subscription.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body-for-charges-of-a-wallet-type-apple-pay-flypay-paypal-smart-button\">Request body for charges of a wallet type (Apple Pay, Flypay, PayPal Smart Button)</h2>\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>currency</td>\n<td>-</td>\n<td>string (iso4217 alpha-3)</td>\n<td>The currency code of the transaction</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>-</td>\n<td>string</td>\n<td>To update amount of a charge</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined reference for customer in payment systems</td>\n</tr>\n<tr>\n<td>shipping</td>\n<td>-</td>\n<td>object</td>\n<td>Shipping details of the transaction</td>\n</tr>\n<tr>\n<td>shipping.address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's shipping address, line 1</td>\n</tr>\n<tr>\n<td>shipping.address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's shipping address, line 2</td>\n</tr>\n<tr>\n<td>shipping.address_state</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's shipping address, state</td>\n</tr>\n<tr>\n<td>shipping.address_country</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's shipping address, country code</td>\n</tr>\n<tr>\n<td>shipping.address_city</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's shipping address, city</td>\n</tr>\n<tr>\n<td>shipping.address_postcode</td>\n<td>-</td>\n<td>string(numeric)</td>\n<td>The customer's shipping address, postcode</td>\n</tr>\n<tr>\n<td>shipping.address_origin_postcode</td>\n<td>-</td>\n<td>string(numeric)</td>\n<td>The customer's shipping address, origin postcode</td>\n</tr>\n<tr>\n<td>shipping.address_company</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's shipping address, company</td>\n</tr>\n<tr>\n<td>shipping.method</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's shipping method for a transaction</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","charges",":id"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"5ecd186b51eff9228f882bb0","key":"id"}]}},"response":[{"id":"456c0c8d-1c32-4a73-8792-14617843f05d","name":"assign to a subscription with unfulfilled condition","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"subscription_id\": \"5ec7b20ab12c99579e46f26b\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/charges/:id","host":["{{url}}"],"path":["v1","charges",":id"],"variable":[{"key":"id","value":"5ecd186b51eff9228f882bb0"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 May 2020 13:24:17 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"164"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"a4-kw0lZzjOmFuwqFIFZzX9GQ\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Charge has relations with subscription\",\n        \"code\": \"UnfulfilledCondition\"\n    },\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {}\n    },\n    \"error_summary\": {\n        \"message\": \"Charge has relations with subscription\",\n        \"code\": \"unfulfilled_condition\",\n        \"details\": {\n            \"messages\": []\n        }\n    }\n}"},{"id":"9a4bd378-7dee-4809-8519-41cdf3d1633c","name":"assign to a subscription success","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"subscription_id\": \"5ecd192e51eff9228f882bba\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/charges/:id","host":["{{url}}"],"path":["v1","charges",":id"],"variable":[{"key":"id","value":"5ecd186b51eff9228f882bb0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 May 2020 13:27:57 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1165"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"48d-XmBcoXwkc/iObeCCi4drkw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"subscription_id\": \"5ecd192e51eff9228f882bba\",\n            \"_id\": \"5ecd186b51eff9228f882bb0\",\n            \"created_at\": \"2020-05-26T13:23:55.150Z\",\n            \"updated_at\": \"2020-05-26T13:27:57.412Z\",\n            \"company_id\": \"5cbeda664fdfb25772b5547f\",\n            \"user_id\": \"5cbeda664fdfb25772b5547e\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"__v\": 0,\n            \"external_id\": \"ch_0Gn2l5jQKtR4Rpd2K635oA4f\",\n            \"transactions\": [\n                {\n                    \"created_at\": \"2020-05-26T13:23:55.148Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"_id\": \"5ecd186b51eff9228f882bb1\",\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"192.168.0.1\",\n                    \"service_logs\": [],\n                    \"status\": \"complete\",\n                    \"type\": \"sale\"\n                }\n            ],\n            \"one_off\": false,\n            \"archived\": false,\n            \"customer\": {\n                \"customer_id\": \"5e4bfbd86d244b438451fbd7\",\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"payment_source\": {\n                    \"source_id\": \"5e4bfbc96d244b438451fbd6\",\n                    \"type\": \"card\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 12,\n                    \"expire_year\": 2020,\n                    \"address_country\": \"AU\",\n                    \"gateway_id\": \"5cbede1f151b842653e987be\"\n                }\n            },\n            \"capture\": true,\n            \"status\": \"complete\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            }\n        }\n    }\n}"}],"_postman_id":"0e8f9b3e-b67b-4330-941f-7150efa4baa7"},{"name":"pre-auth","id":"d31d4067-10db-45e1-83f6-0d217a4f2630","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Public Key</p>\n","key":"x-user-public-key","value":"{{publickey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"100\",\n    \"currency\": \"AUD\",\n    \"token\": \"079f5a99-ac71-44ed-b8e9-0f78defc5d79\",\n    \"_3ds\": {\n        \"browser_details\": {\n            \"name\": \"CHROME\",\n            \"java_enabled\": \"true\",\n            \"language\": \"en-US\",\n            \"screen_height\": \"640\",\n            \"screen_width\": \"480\",\n            \"time_zone\": \"273\",\n            \"color_depth\": \"24\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/3ds","description":"<p>You can make pre-auth (3ds) for a charge, then accept with the client-sdk (Canvas3ds widget) and use this charge id to create a common charge. For pre-auth (3DS) charge made with Vault Token. (session or permanent) a gateway_id is required in the request</p>\n<h2 id=\"flow\">Flow</h2>\n<ol>\n<li><p>One-time token</p>\n</li>\n<li><p>Vault token</p>\n</li>\n<li><p>Vault token reference</p>\n</li>\n<li><p>An existing customer (with default or non-default payment source)</p>\n</li>\n</ol>\n<h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>+</td>\n<td>float</td>\n<td>Amount of payment</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>+</td>\n<td>string (iso4217 alpha-3)</td>\n<td>Currency code</td>\n</tr>\n<tr>\n<td>description</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined description for payments in payment systems</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined reference for customer in payment systems</td>\n</tr>\n<tr>\n<td>token</td>\n<td>+1</td>\n<td>string(UUID)</td>\n<td>One-time token with all the payment source information</td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>+4</td>\n<td>string (24 hex characters)</td>\n<td>Existing customer ID</td>\n</tr>\n<tr>\n<td>_3ds</td>\n<td>+</td>\n<td>object</td>\n<td>3ds options.</td>\n</tr>\n<tr>\n<td>_3ds.show_messages</td>\n<td>-</td>\n<td>boolean</td>\n<td>Indicates if the result of the operation will be displayed inside the iframe</td>\n</tr>\n<tr>\n<td>_3ds.redirect_url</td>\n<td>-</td>\n<td>string (url)</td>\n<td>custom redirect url for canvas3ds</td>\n</tr>\n<tr>\n<td>_3ds.challenge_preference</td>\n<td>-</td>\n<td>enum</td>\n<td>value that indicates if merchant wants the payer to be presented with an authentication challenge for the transaction. Value should be one of: no_challenge, no_preference, challenge_mandated, challenge_preferred, request_trusted_merchant_listing</td>\n</tr>\n<tr>\n<td>_3ds.browser_details</td>\n<td>+</td>\n<td>object</td>\n<td>3ds browser options. Client SDK automatically generates this object</td>\n</tr>\n<tr>\n<td>_3ds.browser_details.name</td>\n<td>+</td>\n<td>string</td>\n<td>Browser info <a href=\"https://developer.mozilla.org/en-US/docs/Web/API/Navigator\">https://developer.mozilla.org/en-US/docs/Web/API/Navigator</a></td>\n</tr>\n<tr>\n<td>_3ds.browser_details.java_enabled</td>\n<td>+</td>\n<td>string (bool)</td>\n<td>Browser info <a href=\"https://developer.mozilla.org/en-US/docs/Web/API/Navigator\">https://developer.mozilla.org/en-US/docs/Web/API/Navigator</a></td>\n</tr>\n<tr>\n<td>_3ds.browser_details.language</td>\n<td>+</td>\n<td>string (BCP 47)</td>\n<td>Browser info <a href=\"https://developer.mozilla.org/en-US/docs/Web/API/Navigator\">https://developer.mozilla.org/en-US/docs/Web/API/Navigator</a></td>\n</tr>\n<tr>\n<td>_3ds.browser_details.time_zone</td>\n<td>+</td>\n<td>string (numeric)</td>\n<td>Browser info <a href=\"https://developer.mozilla.org/en-US/docs/Web/API/Navigator\">https://developer.mozilla.org/en-US/docs/Web/API/Navigator</a></td>\n</tr>\n<tr>\n<td>_3ds.browser_details.screen_height</td>\n<td>+</td>\n<td>string (numeric)</td>\n<td>Browser info <a href=\"https://developer.mozilla.org/en-US/docs/Web/API/Screen\">https://developer.mozilla.org/en-US/docs/Web/API/Screen</a></td>\n</tr>\n<tr>\n<td>_3ds.browser_details.screen_width</td>\n<td>+</td>\n<td>string (numeric)</td>\n<td>Browser info <a href=\"https://developer.mozilla.org/en-US/docs/Web/API/Screen\">https://developer.mozilla.org/en-US/docs/Web/API/Screen</a></td>\n</tr>\n<tr>\n<td>_3ds.browser_details.color_depth</td>\n<td>+</td>\n<td>string (numeric)</td>\n<td>Browser info <a href=\"https://developer.mozilla.org/en-US/docs/Web/API/Screen\">https://developer.mozilla.org/en-US/docs/Web/API/Screen</a></td>\n</tr>\n<tr>\n<td>_3ds.browser_details.ip</td>\n<td>-</td>\n<td>string</td>\n<td>Browser info IP of the requested browser</td>\n</tr>\n<tr>\n<td>customer</td>\n<td>-1,+2,+3,+4</td>\n<td>object</td>\n<td>An object with the customer’s information</td>\n</tr>\n<tr>\n<td>customer.first_name</td>\n<td>-</td>\n<td>string</td>\n<td>Customer First name</td>\n</tr>\n<tr>\n<td>customer.last_name</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Last Name</td>\n</tr>\n<tr>\n<td>customer.email</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Email</td>\n</tr>\n<tr>\n<td>customer.phone</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Phone</td>\n</tr>\n<tr>\n<td>customer.phone2</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Phone 2</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_company</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address Company</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_city</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address City</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_country</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address Country</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address line 1</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address line 2</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_line3</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address line 3</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Postcode</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address State</td>\n</tr>\n<tr>\n<td>customer.payment_source.gateway_id</td>\n<td>+2, +3,+4</td>\n<td>string (24 hex characters)</td>\n<td>Gateway ID (required for charge made with Vault Token)</td>\n</tr>\n<tr>\n<td>customer.payment_source.vault_token</td>\n<td>+2</td>\n<td>string(UUID)</td>\n<td>A vault token ID (permanent or session)</td>\n</tr>\n<tr>\n<td>customer.payment_source.vault_token_reference</td>\n<td>+3</td>\n<td>string (uuid, alphanumeric, digits)</td>\n<td>A unique identifier assigned to each vault token upon creation</td>\n</tr>\n<tr>\n<td>payment_source_id</td>\n<td>-</td>\n<td>string (24 hex characters)</td>\n<td>Payment source ID for creating 3ds with non-default payment source</td>\n</tr>\n<tr>\n<td>shipping.address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, line 1</td>\n</tr>\n<tr>\n<td>shipping.address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, line 2</td>\n</tr>\n<tr>\n<td>shipping.address_state</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, State</td>\n</tr>\n<tr>\n<td>shipping.address_country</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, Country Code</td>\n</tr>\n<tr>\n<td>shipping.address_city</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, City</td>\n</tr>\n<tr>\n<td>shipping.address_postcode</td>\n<td>-</td>\n<td>string(numeric)</td>\n<td>Customer Address, Postcode</td>\n</tr>\n<tr>\n<td>shipping.address_company</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Shipping Address, Company</td>\n</tr>\n<tr>\n<td>shipping.address_origin_postcode</td>\n<td>-</td>\n<td>string(numeric)</td>\n<td>Origin Shipping Address Postcode</td>\n</tr>\n<tr>\n<td>shipping.contact.first_name</td>\n<td>-</td>\n<td>string</td>\n<td>Customer first name</td>\n</tr>\n<tr>\n<td>shipping.contact.last_name</td>\n<td>-</td>\n<td>string</td>\n<td>Customer last name</td>\n</tr>\n<tr>\n<td>shipping.contact.email</td>\n<td>-</td>\n<td>string</td>\n<td>Customer email</td>\n</tr>\n<tr>\n<td>shipping.contact.phone</td>\n<td>-</td>\n<td>string(E.164)</td>\n<td>Customer phone in E.164 international notation (Example: +12345678901)</td>\n</tr>\n<tr>\n<td>shipping.contact.phone2</td>\n<td>-</td>\n<td>string(E.164)</td>\n<td>Customer additional phone in E.164 international notation (Example: +12345678901)</td>\n</tr>\n<tr>\n<td>shipping.method</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping method for a transaction</td>\n</tr>\n<tr>\n<td>agreement</td>\n<td>-</td>\n<td>object</td>\n<td>Payment agreement data. Only supported for Subscription Pass-Through if payments were processed via MPGS</td>\n</tr>\n<tr>\n<td>agreement.amount_variability</td>\n<td>-</td>\n<td>enum(variable,fixed)</td>\n<td>Indicates if all the payments within the agreement use the same amount or if the amount differs between the payments.</td>\n</tr>\n<tr>\n<td>agreement.custom_data</td>\n<td>-</td>\n<td>JSON string</td>\n<td>Additional information requested for the agreement which cannot be passed using other available data fields.</td>\n</tr>\n<tr>\n<td>agreement.expiry_date</td>\n<td>-</td>\n<td>Iso string date</td>\n<td>Date at which your agreement with the payer to process payments expires.</td>\n</tr>\n<tr>\n<td>agreement.external_id</td>\n<td>-</td>\n<td>string(required if agreement object is provided)</td>\n<td>Your identifier for the agreement you have with the payer to process payments.</td>\n</tr>\n<tr>\n<td>agreement.amount_per_payment_max</td>\n<td>-</td>\n<td>number</td>\n<td>The maximum amount for a single payment in the series as agreed with the payer under your agreement with them.</td>\n</tr>\n<tr>\n<td>agreement.amount_per_payment_min</td>\n<td>-</td>\n<td>number</td>\n<td>The minimum amount for a single payment in the series as agreed with the payer under your agreement with them.</td>\n</tr>\n<tr>\n<td>agreement.days_between_payments_min</td>\n<td>-</td>\n<td>integer (0 &lt; integer &lt; 10000)</td>\n<td>The minimum number of days between payments agreed with the payer under your agreement with them.</td>\n</tr>\n<tr>\n<td>agreement.payments_count</td>\n<td>-</td>\n<td>integer (0 &lt; integer &lt; 1000)</td>\n<td>The number of merchant-initiated payments within the recurring payment agreement.</td>\n</tr>\n<tr>\n<td>agreement.payment_frequency</td>\n<td>-</td>\n<td>enum(ad_hoc,daily,fortnightly,monthly,other,quarterly,twice_yearly,weekly,yearly)</td>\n<td>The frequency of the payments within the series as agreed with the payer under your agreement with them.</td>\n</tr>\n<tr>\n<td>agreement.start_date</td>\n<td>-</td>\n<td>Iso string date</td>\n<td>This is the effective start date for the payment agreement. Date cannot be in the past</td>\n</tr>\n<tr>\n<td>agreement.type</td>\n<td>-</td>\n<td>enum(installment,other,recurring,unscheduled)</td>\n<td>The type of commercial agreement that the payer has with you.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","charges","3ds"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"3684ba81-8bdd-4deb-aa44-87dc4920fa6b","name":"pre-auth success with secret key","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"},{"key":"x-user-secret-key","value":"{{secretkey}}"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"100\",\n    \"currency\": \"AUD\",\n    \"token\": \"6c1ff557-b234-4b26-8a64-0471b776919b\",\n    \"_3ds\": {\n        \"browser_details\": {\n            \"name\": \"CHROME\",\n            \"java_enabled\": \"true\",\n            \"language\": \"en-US\",\n            \"screen_height\": \"640\",\n            \"screen_width\": \"480\",\n            \"time_zone\": \"273\",\n            \"color_depth\": \"24\"\n        }\n    },\n    \"customer\": {\n        \"phone2\": \"+12345678910\",\n        \"first_name\": \"Wanda\",\n        \"last_name\": \"Wanda\",\n        \"email\": \"wanda.mertz@example.com\",\n        \"phone\": \"+12345678910\",\n        \"payment_source\": {\n            \"address_line1\": \"Suite 660\",\n            \"address_line2\": \"822 Ruiz Square\",\n            \"address_line3\": \"123 Ruiz Square\",\n            \"address_city\": \"Lake Robyn\",\n            \"address_postcode\": \"07396\",\n            \"address_state\": \"WY\",\n            \"address_country\": \"AU\",\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/3ds"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 11 Sep 2020 13:16:53 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2999"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"bb7-NYGGyzfE8FSFL9zaSLfuJw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"external_id\": \"c191ac20-86e6-4a33-867c-05947e2741bb:500837ac-3f5a-4441-99cc-a7c9dcaf042e\",\n            \"__v\": 0,\n            \"created_at\": \"2020-09-11T13:16:41.004Z\",\n            \"updated_at\": \"2020-09-11T13:16:53.870Z\",\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"amount\": 100,\n            \"currency\": \"AUD\",\n            \"_id\": \"5f5b78b9c1d6113b904dadd6\",\n            \"_3ds\": {\n                \"token\": \"eyJjb2508zZHMxQWNzU2ltcGxlXCdHRwOi8vd3d3LnczLm9yZy8xOTk5L2h0bWxcIj4gPGlmcmFGlyZWN0VG8zZHMY3RUbzNkczFGcmFtZVwiIGhlaWdodD3aWR0aD1cIjEwMCVcIiA+IDwvaWZyYW1lPiA8Zm9ybSBpZCA9XCJyZWRp2Q9XCJQT1NUXCIgYWN0aW9uPVwiaHR0cHM6Ly9tdGYuZ2F0ZXdheS5tYXN0ZXJjYXJkL\"\n            },\n            \"transactions\": [\n                {\n                    \"type\": \"3ds\",\n                    \"status\": \"complete\",\n                    \"gateway_specific_code\": null,\n                    \"gateway_specific_description\": null,\n                    \"error_message\": null,\n                    \"error_code\": null,\n                    \"status_code\": null,\n                    \"status_code_description\": null,\n                    \"_id\": \"609e5c60bb70be0f8b6f7948\",\n                    \"currency\": \"AUD\",\n                    \"amount\": 100,\n                    \"amount_fee\": null,\n                    \"amount_surcharge\": null,\n                    \"amount_original\": null,\n                    \"created_at\": \"2020-09-11T13:16:53.870Z\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": false,\n            \"customer\": {\n                \"last_name\": \"Wanda\",\n                \"first_name\": \"Mertz\",\n                \"email\": \"wanda.mertz@example.com\",\n                \"phone\": \"+12345678910\",\n                \"payment_source\": {\n                    \"vault_token\": \"6d288634-3adc-4081-9926-ea8e15d5a9f4\",\n                    \"ref_token\": \"9653202562100530\",\n                    \"address_line1\": \"Suite 660\",\n                    \"address_line2\": \"822 Ruiz Square\",\n                    \"address_line3\": \"123 Ruiz Square\",\n                    \"address_city\": \"Lake Robyn\",\n                    \"address_postcode\": \"07396\",\n                    \"address_state\": \"WY\",\n                    \"address_country\": \"AU\",\n                    \"gateway_id\": \"5ef6167d2e4a1b140f640167\",\n                    \"gateway_type\": \"MasterCard\",\n                    \"gateway_name\": \"TESTMasterCard\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"expire_month\": 12,\n                    \"expire_year\": 2021,\n                    \"card_scheme\": \"visa\"\n                }\n            },\n            \"capture\": true,\n            \"status\": \"pre_authentication_pending\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            }\n        }\n    }\n}"},{"id":"9409cd82-b09b-473c-9e6b-c96f7e58380d","name":"pre-auth success with public key","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Public Key","key":"x-user-public-key","value":"{{publickey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"100\",\n    \"currency\": \"AUD\",\n    \"token\": \"82e05cde-4467-43ec-87f4-5be18bfaf06e\",\n    \"_3ds\": {\n        \"browser_details\": {\n            \"name\": \"CHROME\",\n            \"java_enabled\": \"true\",\n            \"language\": \"en-US\",\n            \"screen_height\": \"640\",\n            \"screen_width\": \"480\",\n            \"time_zone\": \"273\",\n            \"color_depth\": \"24\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/3ds"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 11 Sep 2020 13:12:41 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2027"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"7eb-bX+6jqdx8dIs1KL91cta0w\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_3ds\": {\n                \"id\": \"4c925017-5676-4a7e-afa7-710a7374591e\",\n                \"token\": \"eyJjb250ZW50IjoiPGRpdiBpZD1cInJlZGlyZWN0VG8zZHMxG1sbnM9XCJodHRwOi8vd3d3LnczLm9yZy8xOTk5L2h0bWxcIj4gPGlmcmFtZSBpZD1cInJlZGlyZWNld2F5Lm1tL2NhbGxiYWNrSW50ZXJmYWNlL2dhdGV3YXkvM2EzMDExMWQyYmM5MjM4NmIyNjU1NGU3OTNlZDE1Yzc3ZjJlNGQxYWExOTMwYjc1MTYxMDNkYzAyZDUzMWQ3Y1wiIC8+IDxpbnB1dCB0eXBlPVwiaW1vdmVDaGlsZChlKTsgfSB9IDwvc2NyaXB0PiA8L2iOiJodG1sIiwiY2hhcmdlXzNkc19pZCI6IjRjOTI1MDE3LTU2NzYtNGE3ZS1hZmE3LTcxMGE3Mzc0NTkxZSJ9\"\n            },\n            \"status\": \"pre_authentication_pending\"\n        }\n    }\n}"},{"id":"b1f76b96-0299-40b4-a9bc-6866a34687d1","name":"pre-auth not_supported","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Public Key","key":"x-user-public-key","value":"{{publickey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"100\",\n    \"currency\": \"AUD\",\n    \"token\": \"6999d477-1640-4f94-9d0d-d94558b78487\",\n    \"_3ds\": {\n        \"browser_details\": {\n            \"name\": \"CHROME\",\n            \"java_enabled\": \"true\",\n            \"language\": \"en-US\",\n            \"screen_height\": \"640\",\n            \"screen_width\": \"480\",\n            \"time_zone\": \"273\",\n            \"color_depth\": \"24\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/3ds"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 05 Jun 2020 13:51:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"649"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"289-PlRkm4s/KvJqIBK5xFCyRQ\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"external_id\": null,\n            \"__v\": 0,\n            \"created_at\": \"2020-06-05T13:51:05.820Z\",\n            \"updated_at\": \"2020-06-05T13:51:10.693Z\",\n            \"company_id\": \"580f17b15cc3e4e3199ef9a6\",\n            \"amount\": 100,\n            \"currency\": \"AUD\",\n            \"_id\": \"5eda4dc96a8f17256bd3f7d4\",\n            \"_3ds\": {\n                \"token\": \"eyJjaGFyZ2VfaWQiOiI1ZWRhNGRjOTZhOGYxNzI1NmJkM2Y3ZDQifQ==\"\n            },\n            \"transactions\": [\n                {\n                    \"type\": \"3ds\",\n                    \"status\": \"complete\",\n                    \"gateway_specific_code\": null,\n                    \"gateway_specific_description\": null,\n                    \"error_message\": null,\n                    \"error_code\": null,\n                    \"status_code\": null,\n                    \"status_code_description\": null,\n                    \"_id\": \"609e5c60bb70be0f8b6f7948\",\n                    \"currency\": \"AUD\",\n                    \"amount\": 100,\n                    \"amount_fee\": null,\n                    \"amount_surcharge\": null,\n                    \"amount_original\": null,\n                    \"created_at\": \"2020-06-05T13:51:10.693Z\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": false,\n            \"customer\": {\n                \"payment_source\": {\n                    \"ref_token\": \"9680477382167375\",\n                    \"gateway_id\": \"5eda22bb37356514ddaabee7\",\n                    \"gateway_type\": \"MasterCard\",\n                    \"gateway_name\": \"MasterCard\"\n                }\n            },\n            \"capture\": true,\n            \"status\": \"authentication_not_supported\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            }\n        }\n    }\n}"},{"id":"7fb04600-dcd5-4d75-9ac6-74da01c24378","name":"pre-auth with vault token","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Public Key","key":"x-user-public-key","value":"{{publickey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"100\",\n    \"currency\": \"AUD\",\n    \"customer\": {\n        \"payment_source\": {\n            \"vault_token\": \"37d80a15-d5d7-40a4-a5eb-bc811a3476fc\",\n            \"gateway_id\": \"6479fb41430f5d6df51198cc\"\n        }\n    },\n    \"_3ds\": {\n        \"browser_details\": {\n            \"name\": \"CHROME\",\n            \"java_enabled\": \"true\",\n            \"language\": \"en-US\",\n            \"screen_height\": \"640\",\n            \"screen_width\": \"480\",\n            \"time_zone\": \"273\",\n            \"color_depth\": \"24\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/3ds"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 05 Jun 2020 13:51:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"649"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"289-PlRkm4s/KvJqIBK5xFCyRQ\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"transfer\": {\n                \"items\": []\n            },\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"statistics\": {\n                \"total_refunded_amount\": 0,\n                \"full_refund\": false,\n                \"need_sync\": true\n            },\n            \"customer\": {\n                \"payment_source\": {\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"1111\",\n                    \"card_number_bin\": \"41111111\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2025,\n                    \"gateway_id\": \"6479fb41430f5d6df51198cc\",\n                    \"gateway_type\": \"MasterCard\",\n                    \"gateway_name\": \"MasterCard_GATEWAY\",\n                    \"type\": \"card\",\n                    \"vault_token\": \"37d80a15-d5d7-40a4-a5eb-bc811a3476fc\",\n                    \"card_number_hash_uuid\": \"984fd086-b599-4256-8945-764129a2d0b1\",\n                    \"items\": []\n                }\n            },\n            \"_3ds\": {\n                \"id\": \"885885db-3f0d-4be4-9580-fe23fedf92a7\",\n                \"token\": \"eyJjb250ZW50IjoiPGRpdiBpZD1cInRocmVlZHNDaGFsbGVuZ2VSZWRpcmVjdFwiIHhtbG5zPVwiaHR0cDovL3d3dy53My5vcmcvMTk5OS9odG1sXCIgc3R5bGU9XCIgaGVpZ2h0OiAxMDB2aFwiPiA8Zm9ybSBpZCA9XCJ0aHJlZWRzQ2hhbGxlbmdlUmVkaXJlY3RGb3JtXCIgbWV0aG9kPVwiUE9TVFwiIGFjdGlvbj1cImh0dHBzOi8vbXRmLmdhdGV3YXkubWFzdGVyY2FyZC5jb20vYWNzL3Zpc2EvdjIvcHJvbXB0XCIgdGFyZ2V0PVwiY2hhbGxlbmdlRnJhbWVcIj4gPGlucHV0IHR5cGU9XCJoaWRkZW5cIiBuYW1lPVwiY3JlcVwiIHZhbHVlPVwiZXlKMGFISmxaVVJUVTJWeWRtVnlWSEpoYm5OSlJDSTZJbU01WmpJeU1qWTJMVEprWkdRdE5EUmtPQzA0Tnpsa0xUSmtOVGMzTTJOa1pqQmxPU0o5XCIgLz4gPC9mb3JtPiA8aWZyYW1lIGlkPVwiY2hhbGxlbmdlRnJhbWVcIiBuYW1lPVwiY2hhbGxlbmdlRnJhbWVcIiB3aWR0aD1cIjEwMCVcIiBoZWlnaHQ9XCIxMDAlXCIgPjwvaWZyYW1lPiA8c2NyaXB0IGlkPVwiYXV0aGVudGljYXRlLXBheWVyLXNjcmlwdFwiPiB2YXIgZT1kb2N1bWVudC5nZXRFbGVtZW50QnlJZChcInRocmVlZHNDaGFsbGVuZ2VSZWRpcmVjdEZvcm1cIik7IGlmIChlKSB7IGUuc3VibWl0KCk7IGlmIChlLnBhcmVudE5vZGUgIT09IG51bGwpIHsgZS5wYXJlbnROb2RlLnJlbW92ZUNoaWxkKGUpOyB9IH0gPC9zY3JpcHQ+IDwvZGl2PiIsImZvcm1hdCI6Imh0bWwiLCJjaGFyZ2VfM2RzX2lkIjoiODg1ODg1ZGItM2YwZC00YmU0LTk1ODAtZmUyM2ZlZGY5MmE3In0=\"\n            },\n            \"logs_migrated\": false,\n            \"status\": \"pre_authentication_pending\",\n            \"type\": \"financial\",\n            \"capture\": true,\n            \"authorization\": false,\n            \"archived\": false,\n            \"one_off\": true,\n            \"_source_ip_address\": \"186.54.58.8\",\n            \"_id\": \"65240d7343c98db33ed59964\",\n            \"amount\": 100,\n            \"currency\": \"AUD\",\n            \"company_id\": \"6308bccfb150df6d264ff8bd\",\n            \"items\": [],\n            \"transactions\": [\n                {\n                    \"_3ds\": {\n                        \"gateway_status\": \"AUTHENTICATION_PENDING\",\n                        \"challenge\": true\n                    },\n                    \"_id\": \"65240d7343c98db33ed59967\",\n                    \"status\": \"complete\",\n                    \"type\": \"3ds\",\n                    \"amount\": 100,\n                    \"currency\": \"AUD\",\n                    \"service_logs\": [],\n                    \"created_at\": \"2023-10-09T14:25:55.941Z\",\n                    \"updated_at\": \"2023-10-09T14:25:57.749Z\",\n                    \"amount_fee\": null,\n                    \"processed_at\": \"2023-10-09T14:25:57.749Z\"\n                }\n            ],\n            \"created_at\": \"2023-10-09T14:25:55.922Z\",\n            \"updated_at\": \"2023-10-09T14:25:57.793Z\",\n            \"amount_surcharge\": null,\n            \"amount_original\": null,\n            \"__v\": 1,\n            \"external_id\": \"dcf033a1-668b-4c7b-b9a6-9b0983455d41:8c2b4f65-6eb1-4086-898d-d1b62fd12fdf\"\n        }\n    }\n}"},{"id":"67a1bcc3-a2c3-4d36-bee0-409553008a65","name":"pre-auth with customer id","originalRequest":{"method":"POST","header":[{"key":"x-user-public-key","value":"{{publickey}}","description":"This is your PayDock API Public Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"100\",\n    \"currency\": \"AUD\",\n    \"customer_id\": \"8ehs6bfbfac31b4448c92uh6\",\n    \"customer\": {\n        \"payment_source\": {\n            \"gateway_id\": \"6479fb41430f5d6df51198cc\"\n        }\n    },\n    \"_3ds\": {\n        \"browser_details\": {\n            \"name\": \"CHROME\",\n            \"java_enabled\": \"true\",\n            \"language\": \"en-US\",\n            \"screen_height\": \"640\",\n            \"screen_width\": \"480\",\n            \"time_zone\": \"273\",\n            \"color_depth\": \"24\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/3ds"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 05 Jun 2020 13:51:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"649"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"289-PlRkm4s/KvJqIBK5xFCyRQ\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"transfer\": {\n                \"items\": []\n            },\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"statistics\": {\n                \"total_refunded_amount\": 0,\n                \"full_refund\": false,\n                \"need_sync\": true\n            },\n            \"customer\": {\n                \"payment_source\": {\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"1111\",\n                    \"card_number_bin\": \"41111111\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2025,\n                    \"gateway_id\": \"6479fb41430f5d6df51198cc\",\n                    \"gateway_type\": \"MasterCard\",\n                    \"gateway_name\": \"MasterCard_GATEWAY\",\n                    \"type\": \"card\",\n                    \"vault_token\": \"37d80a15-d5d7-40a4-a5eb-bc811a3476fc\",\n                    \"card_number_hash_uuid\": \"984fd086-b599-4256-8945-764129a2d0b1\",\n                    \"items\": []\n                }\n            },\n            \"_3ds\": {\n                \"id\": \"885885db-3f0d-4be4-9580-fe23fedf92a7\",\n                \"token\": \"eyJjb250ZW50IjoiPGRpdiBpZD1cInRocmVlZHNDaGFsbGVuZ2VSZWRpcmVjdFwiIHhtbG5zPVwiaHR0cDovL3d3dy53My5vcmcvMTk5OS9odG1sXCIgc3R5bGU9XCIgaGVpZ2h0OiAxMDB2aFwiPiA8Zm9ybSBpZCA9XCJ0aHJlZWRzQ2hhbGxlbmdlUmVkaXJlY3RGb3JtXCIgbWV0aG9kPVwiUE9TVFwiIGFjdGlvbj1cImh0dHBzOi8vbXRmLmdhdGV3YXkubWFzdGVyY2FyZC5jb20vYWNzL3Zpc2EvdjIvcHJvbXB0XCIgdGFyZ2V0PVwiY2hhbGxlbmdlRnJhbWVcIj4gPGlucHV0IHR5cGU9XCJoaWRkZW5cIiBuYW1lPVwiY3JlcVwiIHZhbHVlPVwiZXlKMGFISmxaVVJUVTJWeWRtVnlWSEpoYm5OSlJDSTZJbU01WmpJeU1qWTJMVEprWkdRdE5EUmtPQzA0Tnpsa0xUSmtOVGMzTTJOa1pqQmxPU0o5XCIgLz4gPC9mb3JtPiA8aWZyYW1lIGlkPVwiY2hhbGxlbmdlRnJhbWVcIiBuYW1lPVwiY2hhbGxlbmdlRnJhbWVcIiB3aWR0aD1cIjEwMCVcIiBoZWlnaHQ9XCIxMDAlXCIgPjwvaWZyYW1lPiA8c2NyaXB0IGlkPVwiYXV0aGVudGljYXRlLXBheWVyLXNjcmlwdFwiPiB2YXIgZT1kb2N1bWVudC5nZXRFbGVtZW50QnlJZChcInRocmVlZHNDaGFsbGVuZ2VSZWRpcmVjdEZvcm1cIik7IGlmIChlKSB7IGUuc3VibWl0KCk7IGlmIChlLnBhcmVudE5vZGUgIT09IG51bGwpIHsgZS5wYXJlbnROb2RlLnJlbW92ZUNoaWxkKGUpOyB9IH0gPC9zY3JpcHQ+IDwvZGl2PiIsImZvcm1hdCI6Imh0bWwiLCJjaGFyZ2VfM2RzX2lkIjoiODg1ODg1ZGItM2YwZC00YmU0LTk1ODAtZmUyM2ZlZGY5MmE3In0=\"\n            },\n            \"logs_migrated\": false,\n            \"status\": \"pre_authentication_pending\",\n            \"type\": \"financial\",\n            \"capture\": true,\n            \"authorization\": false,\n            \"archived\": false,\n            \"one_off\": true,\n            \"_source_ip_address\": \"186.54.58.8\",\n            \"_id\": \"65240d7343c98db33ed59964\",\n            \"amount\": 100,\n            \"currency\": \"AUD\",\n            \"company_id\": \"6308bccfb150df6d264ff8bd\",\n            \"items\": [],\n            \"transactions\": [\n                {\n                    \"_3ds\": {\n                        \"gateway_status\": \"AUTHENTICATION_PENDING\",\n                        \"challenge\": true\n                    },\n                    \"_id\": \"65240d7343c98db33ed59967\",\n                    \"status\": \"complete\",\n                    \"type\": \"3ds\",\n                    \"amount\": 100,\n                    \"currency\": \"AUD\",\n                    \"service_logs\": [],\n                    \"created_at\": \"2023-10-09T14:25:55.941Z\",\n                    \"updated_at\": \"2023-10-09T14:25:57.749Z\",\n                    \"amount_fee\": null,\n                    \"processed_at\": \"2023-10-09T14:25:57.749Z\"\n                }\n            ],\n            \"created_at\": \"2023-10-09T14:25:55.922Z\",\n            \"updated_at\": \"2023-10-09T14:25:57.793Z\",\n            \"amount_surcharge\": null,\n            \"amount_original\": null,\n            \"__v\": 1,\n            \"external_id\": \"dcf033a1-668b-4c7b-b9a6-9b0983455d41:8c2b4f65-6eb1-4086-898d-d1b62fd12fdf\"\n        }\n    }\n}"},{"id":"82c4f5ce-b431-4e04-ad73-813ffd17fa9b","name":"pre-auth with vault token reference","originalRequest":{"method":"POST","header":[{"key":"x-user-public-key","value":"{{publickey}}","description":"This is your PayDock API Public Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"100\",\n    \"currency\": \"AUD\",\n    \"customer\": {\n        \"payment_source\": {\n            \"vault_token_reference\": \"49837263849382745\",\n            \"vault_token\": \"37d80a15-d5d7-40a4-a5eb-bc811a3476fc\",\n            \"gateway_id\": \"6479fb41430f5d6df51198cc\"\n        }\n    },\n    \"_3ds\": {\n        \"browser_details\": {\n            \"name\": \"CHROME\",\n            \"java_enabled\": \"true\",\n            \"language\": \"en-US\",\n            \"screen_height\": \"640\",\n            \"screen_width\": \"480\",\n            \"time_zone\": \"273\",\n            \"color_depth\": \"24\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/3ds"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 05 Jun 2020 13:51:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"649"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"289-PlRkm4s/KvJqIBK5xFCyRQ\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"transfer\": {\n                \"items\": []\n            },\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"statistics\": {\n                \"total_refunded_amount\": 0,\n                \"full_refund\": false,\n                \"need_sync\": true\n            },\n            \"customer\": {\n                \"payment_source\": {\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"1111\",\n                    \"card_number_bin\": \"41111111\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2025,\n                    \"gateway_id\": \"6479fb41430f5d6df51198cc\",\n                    \"gateway_type\": \"MasterCard\",\n                    \"gateway_name\": \"MasterCard_GATEWAY\",\n                    \"type\": \"card\",\n                    \"vault_token_reference\": \"49837263849382745\",\n                    \"vault_token\": \"37d80a15-d5d7-40a4-a5eb-bc811a3476fc\",\n                    \"card_number_hash_uuid\": \"984fd086-b599-4256-8945-764129a2d0b1\",\n                    \"items\": []\n                }\n            },\n            \"_3ds\": {\n                \"id\": \"885885db-3f0d-4be4-9580-fe23fedf92a7\",\n                \"token\": \"eyJjb250ZW50IjoiPGRpdiBpZD1cInRocmVlZHNDaGFsbGVuZ2VSZWRpcmVjdFwiIHhtbG5zPVwiaHR0cDovL3d3dy53My5vcmcvMTk5OS9odG1sXCIgc3R5bGU9XCIgaGVpZ2h0OiAxMDB2aFwiPiA8Zm9ybSBpZCA9XCJ0aHJlZWRzQ2hhbGxlbmdlUmVkaXJlY3RGb3JtXCIgbWV0aG9kPVwiUE9TVFwiIGFjdGlvbj1cImh0dHBzOi8vbXRmLmdhdGV3YXkubWFzdGVyY2FyZC5jb20vYWNzL3Zpc2EvdjIvcHJvbXB0XCIgdGFyZ2V0PVwiY2hhbGxlbmdlRnJhbWVcIj4gPGlucHV0IHR5cGU9XCJoaWRkZW5cIiBuYW1lPVwiY3JlcVwiIHZhbHVlPVwiZXlKMGFISmxaVVJUVTJWeWRtVnlWSEpoYm5OSlJDSTZJbU01WmpJeU1qWTJMVEprWkdRdE5EUmtPQzA0Tnpsa0xUSmtOVGMzTTJOa1pqQmxPU0o5XCIgLz4gPC9mb3JtPiA8aWZyYW1lIGlkPVwiY2hhbGxlbmdlRnJhbWVcIiBuYW1lPVwiY2hhbGxlbmdlRnJhbWVcIiB3aWR0aD1cIjEwMCVcIiBoZWlnaHQ9XCIxMDAlXCIgPjwvaWZyYW1lPiA8c2NyaXB0IGlkPVwiYXV0aGVudGljYXRlLXBheWVyLXNjcmlwdFwiPiB2YXIgZT1kb2N1bWVudC5nZXRFbGVtZW50QnlJZChcInRocmVlZHNDaGFsbGVuZ2VSZWRpcmVjdEZvcm1cIik7IGlmIChlKSB7IGUuc3VibWl0KCk7IGlmIChlLnBhcmVudE5vZGUgIT09IG51bGwpIHsgZS5wYXJlbnROb2RlLnJlbW92ZUNoaWxkKGUpOyB9IH0gPC9zY3JpcHQ+IDwvZGl2PiIsImZvcm1hdCI6Imh0bWwiLCJjaGFyZ2VfM2RzX2lkIjoiODg1ODg1ZGItM2YwZC00YmU0LTk1ODAtZmUyM2ZlZGY5MmE3In0=\"\n            },\n            \"logs_migrated\": false,\n            \"status\": \"pre_authentication_pending\",\n            \"type\": \"financial\",\n            \"capture\": true,\n            \"authorization\": false,\n            \"archived\": false,\n            \"one_off\": true,\n            \"_source_ip_address\": \"186.54.58.8\",\n            \"_id\": \"65240d7343c98db33ed59964\",\n            \"amount\": 100,\n            \"currency\": \"AUD\",\n            \"company_id\": \"6308bccfb150df6d264ff8bd\",\n            \"items\": [],\n            \"transactions\": [\n                {\n                    \"_3ds\": {\n                        \"gateway_status\": \"AUTHENTICATION_PENDING\",\n                        \"challenge\": true\n                    },\n                    \"_id\": \"65240d7343c98db33ed59967\",\n                    \"status\": \"complete\",\n                    \"type\": \"3ds\",\n                    \"amount\": 100,\n                    \"currency\": \"AUD\",\n                    \"service_logs\": [],\n                    \"created_at\": \"2023-10-09T14:25:55.941Z\",\n                    \"updated_at\": \"2023-10-09T14:25:57.749Z\",\n                    \"amount_fee\": null,\n                    \"processed_at\": \"2023-10-09T14:25:57.749Z\"\n                }\n            ],\n            \"created_at\": \"2023-10-09T14:25:55.922Z\",\n            \"updated_at\": \"2023-10-09T14:25:57.793Z\",\n            \"amount_surcharge\": null,\n            \"amount_original\": null,\n            \"__v\": 1,\n            \"external_id\": \"dcf033a1-668b-4c7b-b9a6-9b0983455d41:8c2b4f65-6eb1-4086-898d-d1b62fd12fdf\"\n        }\n    }\n}"}],"_postman_id":"d31d4067-10db-45e1-83f6-0d217a4f2630"},{"name":"process charge with 3DS","id":"adfb85fb-1bb5-4694-8b97-b4af19b3f70f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-user-secret-key","type":"text","value":"{{secret_key}}"}],"body":{"mode":"raw","raw":"{\n\t\"amount\": \"10\",\n    \"currency\": \"AUD\",\n    \"reference\": \"some_reference\",\n    \"description\": \"some_description\",\n    \"_3ds\":  {\n    \t\"id\": \"9d6147d9-30f5-488b-88d9-0cf47420f230\"\n    },\n    \"fraud\": {\n\t\t\"token\": \"eyJpdGVtcyI6W3sicHJvdmlkZXIiOiJBY2NlcnRpZnkiLCJ2YWx1ZSI6IlZJUlRVQUwiLCJ2ZXJzaW9uIjoibGF0ZXN0In1dfQ==\",\n\t\t\"mode\": \"active\",\n\t\t\"data\": {\n\t\t\t\"transaction\": {\n\t\t\t\t\"billing\": {\n\t\t\t\t\t\"customerEmailAddress\": \"wanda.mertz@example.com\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"billing\": {\n\t\t\t\t\"shippingFirstName\": \"Wanda\",\n\t\t\t\t\"shippingLastName\": \"Mertz\",\n\t\t\t\t\"shippingAddress1\": \"61426 Osvaldo Plains\",\n\t\t\t\t\"shippingAddress2\": \"\",\n\t\t\t\t\"shippingCity\": \"Melbourne\",\n\t\t\t\t\"shippingState\": \"WY\",\n\t\t\t\t\"shippingPostcode\": \"07396\",\n\t\t\t\t\"shippingCountry\": \"AU\",\n\t\t\t\t\"shippingPhone\": \"231231\",\n\t\t\t\t\"shippingMethod\": \"N\",\n\t\t\t\t\"shippingEmail\": \"wanda.mertz@example.com\"\n\t\t\t}\n\t\t}\n\t}\n}"},"url":"{{url}}/v1/charges","description":"<p>Process charge functionality gives an ability to send payment transaction request after transaction successfully authenticated using 3ds.</p>\n<h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>+</td>\n<td>float</td>\n<td>Amount of payment</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>+</td>\n<td>string (iso4217 alpha-3)</td>\n<td>Currency code</td>\n</tr>\n<tr>\n<td>description</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined description for payments in payment systems</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined reference for customer in payment systems</td>\n</tr>\n<tr>\n<td>fraud</td>\n<td>-</td>\n<td>object</td>\n<td>Fraud data to be sent to a fraud service to analyze transaction</td>\n</tr>\n<tr>\n<td>fraud.token</td>\n<td>-</td>\n<td>string</td>\n<td>Fraud token to be sent to a fraud service to analyze transaction</td>\n</tr>\n<tr>\n<td>fraud.mode</td>\n<td>-</td>\n<td>string</td>\n<td>Define \"active\" or \"passive\" mode of an fraud check. In case of passive - system would not be stoping payment transaction in case of fraud issue</td>\n</tr>\n<tr>\n<td>fraud.data</td>\n<td>-</td>\n<td>object</td>\n<td>Custom object to be sent to a fraud provider</td>\n</tr>\n<tr>\n<td>_3ds</td>\n<td>+</td>\n<td>object</td>\n<td>3ds data with a charge id, which previously passed 3ds authentication</td>\n</tr>\n<tr>\n<td>_3ds.id</td>\n<td>+</td>\n<td>string(uiid)</td>\n<td>Charge 3ds id, which previously passed 3ds authentication</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","charges"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"efcb704a-0054-4e56-a371-7963b757b694","name":"process charge with 3DS success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-user-secret-key","value":"{{secretkey}}"}],"body":{"mode":"raw","raw":"{\n\t\"amount\": \"10\",\n    \"currency\": \"AUD\",\n    \"reference\": \"some_reference\",\n    \"description\": \"some_description\",\n    \"_3ds\":  {\n    \t\"id\": \"9d6147d9-30f5-488b-88d9-0cf47420f230\"\n    }\n}"},"url":"{{url}}/v1/charges"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 11 Sep 2020 13:37:49 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3869"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"f1d-lSwVVVr+so106ygSqz62Jw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"description\": \"some_description\",\n            \"reference\": \"some_reference\",\n            \"_id\": \"5f5b7d3d5d374c3c7970c19c\",\n            \"created_at\": \"2020-09-11T13:35:57.911Z\",\n            \"updated_at\": \"2020-09-11T13:37:49.252Z\",\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"__v\": 1,\n            \"external_id\": \"b9631d4a-1928-4868-99ca-bb181ec86543:aa4c40d4-8cda-4806-961e-beec4b08e292\",\n            \"fraud\": {\n                \"mode\": \"active\",\n                \"service_id\": \"5f58ed3b1f3a4238e1d73082\"\n            },\n            \"_3ds\": {\n                \"id\": \"9d6147d9-30f5-488b-88d9-0cf47420f230\",\n                \"token\": \"eyJjb250iZXRFbGVtZYgKGUpIHsgZS5zdWJtaXQoKTsgaWYgKGUucGFyZW50Tm9kZSAhPT0gbnVBlLnBhcmVudE5vZGUucmVtGQoZSk7IH0gfSA8L3NjcmlwdD4gPC9kaXY+IiwiZm9ybWF0IjoiaHRtbCIsImNoYXJnZV8zZHNfaWQiOiI5ZDYxNDdkOSItODhkOS0wY2Y0NzQyMGfQ==\"\n            },\n            \"transactions\": [\n                {\n                    \"external_id\": \"b9631d4a-1928-4868-99ca-bb181ec86543:aa4c40d4-8cda-4806-961e-beec4b08e292\",\n                    \"created_at\": \"2020-09-11T13:37:45.802Z\",\n                    \"currency\": \"AUD\",\n                    \"amount\": 10,\n                    \"_id\": \"5f5b7da95d374c3c7970c19d\",\n                    \"fraud\": {\n                        \"score\": \"1\",\n                        \"specific_message\": \"Test:0;\",\n                        \"specific_code\": null,\n                        \"status\": \"approve\"\n                    },\n                    \"status_code_description\": null,\n                    \"status_code\": null,\n                    \"error_code\": null,\n                    \"error_message\": null,\n                    \"gateway_specific_description\": null,\n                    \"gateway_specific_code\": null,\n                    \"_source_ip_address\": \"127.0.0.1\",\n                    \"status\": \"complete\",\n                    \"type\": \"sale\"\n                }\n            ],\n            \"one_off\": true,\n            \"archived\": false,\n            \"customer\": {\n                \"last_name\": \"Wanda\",\n                \"first_name\": \"Mertz\",\n                \"email\": \"wanda.mertz@example.com\",\n                \"phone\": \"+12345678910\",\n                \"payment_source\": {\n                    \"vault_token\": \"e5e68ae1-200c-4868-8de4-dd724d190c9e\",\n                    \"address_line1\": \"61426 Osvaldo Plains\",\n                    \"address_line2\": \"Apt. 276\",\n                    \"address_city\": \"Lake Edward\",\n                    \"address_postcode\": \"07396\",\n                    \"address_state\": \"WY\",\n                    \"address_country\": \"AU\",\n                    \"gateway_id\": \"5ef6167d2e4a1b140f640167\",\n                    \"gateway_type\": \"MasterCard\",\n                    \"gateway_name\": \"TESTMasterCard\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_name\": \"WY\",\n                    \"expire_month\": 12,\n                    \"expire_year\": 2021,\n                    \"card_scheme\": \"visa\"\n                }\n            },\n            \"capture\": true,\n            \"status\": \"complete\",\n            \"items\": [],\n            \"transfer\": {\n                \"items\": []\n            }\n        }\n    }\n}"}],"_postman_id":"adfb85fb-1bb5-4694-8b97-b4af19b3f70f"},{"name":"finalize","id":"acd1d9ed-5674-44e8-b57c-0a72c9b500e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/charges/:id/process","description":"<p>For finalizing a charge after fraud review process,  make a POST call</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","charges",":id","process"],"host":["{{url}}"],"query":[],"variable":[{"id":"369f806e-e6cb-42a1-a769-6f48728ff69d","type":"string","value":"605347b608a83e6e02a3fb1f","key":"id"}]}},"response":[{"id":"99b22697-3536-49ea-aff0-ba1dfaca636d","name":"process","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/v1/charges/:id/process","host":["{{url}}"],"path":["v1","charges",":id","process"],"variable":[{"key":"id","value":"605347b608a83e6e02a3fb1f"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 22 May 2020 15:02:05 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1039"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"40f-h4iitGvjF+fKWxTqvLCoXg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"transfer\": {\n                \"items\": []\n            },\n            \"schedule\": {\n                \"statistics_pended_at\": \"2021-03-18T13:00:58.411Z\"\n            },\n            \"statistics\": {\n                \"full_refund\": false,\n                \"last_sync_date\": \"2021-03-18T12:30:58.627Z\",\n                \"total_refunded_amount\": 0\n            },\n            \"customer\": {\n                \"payment_source\": {\n                    \"vault_token\": \"9445ff1f-3f61-4103-9106-155580f88e11\",\n                    \"gateway_id\": \"5eda11aa37356514ddaabee7\",\n                    \"gateway_type\": \"MasterCard\",\n                    \"gateway_name\": \"MasterCard\",\n                    \"card_number_last4\": \"2346\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"expire_month\": 5,\n                    \"expire_year\": 2021,\n                    \"card_scheme\": \"mastercard\"\n                }\n            },\n            \"fraud\": {\n                \"service_id\": \"5e28f0f56e70276adaef9b6c\",\n                \"mode\": \"active\"\n            },\n            \"status\": \"complete\",\n            \"capture\": true,\n            \"archived\": false,\n            \"one_off\": true,\n            \"_id\": \"605347b608a83e6e02a3fb1f\",\n            \"company_id\": \"580f17b15cc3e4e3199ef9a6\",\n            \"amount\": 32,\n            \"currency\": \"AUD\",\n            \"items\": [],\n            \"transactions\": [\n                {\n                    \"fraud\": {\n                        \"specific_code\": null,\n                        \"specific_message\": \"5000000000000000066:Transaction Is REVIEW:100;\",\n                        \"status\": \"review\",\n                        \"score\": \"100\"\n                    },\n                    \"type\": \"sale\",\n                    \"status\": \"rejected\",\n                    \"gateway_specific_code\": null,\n                    \"gateway_specific_description\": null,\n                    \"error_message\": \"Fraud Warning\",\n                    \"error_code\": \"fraud_warning\",\n                    \"status_code\": null,\n                    \"status_code_description\": null,\n                    \"_id\": \"6018480108a83e6e02a3fb21\",\n                    \"currency\": \"AUD\",\n                    \"amount\": 32,\n                    \"created_at\": \"2021-03-18T12:30:57.673Z\"\n                },\n                {\n                    \"type\": \"sale\",\n                    \"status\": \"complete\",\n                    \"gateway_specific_code\": null,\n                    \"gateway_specific_description\": null,\n                    \"error_message\": null,\n                    \"error_code\": null,\n                    \"status_code\": null,\n                    \"status_code_description\": null,\n                    \"_id\": \"60534b6708a83e6e02a3fb45\",\n                    \"currency\": \"AUD\",\n                    \"amount\": 32,\n                    \"created_at\": \"2021-03-18T12:44:53.128Z\",\n                    \"external_id\": \"9f000c38-c6ed-4f7f-b9b9-886625349c68:48158fb6-3317-4d33-858f-c1c47c853508\"\n                }\n            ],\n            \"updated_at\": \"2021-03-18T12:44:57.237Z\",\n            \"created_at\": \"2021-03-18T12:29:42.005Z\",\n            \"__v\": 3,\n            \"external_id\": \"9f055d38-c6ed-4f7f-b9b9-886625349c68:48158fb6-3317-4d33-858f-c1b67c853508\",\n            \"logs_migrated\": false\n        }\n    }\n}"}],"_postman_id":"acd1d9ed-5674-44e8-b57c-0a72c9b500e0"},{"name":"decline","id":"8980fd01-c169-4f4d-a481-cea0c544f437","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/charges/:id/decline","description":"<p>For declining a charge after fraud review process,  make a POST call</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","charges",":id","decline"],"host":["{{url}}"],"query":[],"variable":[{"id":"df23f8dd-7400-4943-ad61-e60544148e67","type":"string","value":"60534e9a9fd08f11ceb3ba1c","key":"id"}]}},"response":[{"id":"2ebbc99f-d824-4ac6-8a98-a7f3a9e85658","name":"decline","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/v1/charges/:id/decline","host":["{{url}}"],"path":["v1","charges",":id","decline"],"variable":[{"key":"id","value":"60534e9a9fd08f11ceb3ba1c"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 22 May 2020 15:02:05 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1039"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"40f-h4iitGvjF+fKWxTqvLCoXg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"transfer\": {\n                \"items\": []\n            },\n            \"schedule\": {\n                \"statistics_pended_at\": \"2021-03-18T13:29:37.958Z\"\n            },\n            \"statistics\": {\n                \"full_refund\": false,\n                \"last_sync_date\": \"2021-03-18T12:59:38.175Z\",\n                \"total_refunded_amount\": 0\n            },\n            \"customer\": {\n                \"payment_source\": {\n                    \"vault_token\": \"2a357e6a-4bff-41ed-a46f-5b147dd43a72\",\n                    \"ref_token\": \"9943395218333966\",\n                    \"gateway_id\": \"5eda22bb37356514ddaabee7\",\n                    \"gateway_type\": \"MasterCard\",\n                    \"gateway_name\": \"MasterCard\",\n                    \"card_number_last4\": \"2346\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"expire_month\": 5,\n                    \"expire_year\": 2021,\n                    \"card_scheme\": \"mastercard\"\n                }\n            },\n            \"fraud\": {\n                \"service_id\": \"5f17f0f56e70276adaef9b6c\",\n                \"mode\": \"active\"\n            },\n            \"status\": \"declined\",\n            \"capture\": true,\n            \"archived\": false,\n            \"one_off\": true,\n            \"_id\": \"60534e9a9fd08f11ceb3ba1c\",\n            \"company_id\": \"580f17b15cc3e4e3199ef9a6\",\n            \"amount\": 32,\n            \"currency\": \"AUD\",\n            \"items\": [],\n            \"transactions\": [\n                {\n                    \"fraud\": {\n                        \"specific_code\": null,\n                        \"specific_message\": \"5000060000001540566:Transaction Is REVIEW:100;\",\n                        \"status\": \"review\",\n                        \"score\": \"100\"\n                    },\n                    \"type\": \"sale\",\n                    \"status\": \"rejected\",\n                    \"gateway_specific_code\": null,\n                    \"gateway_specific_description\": null,\n                    \"error_message\": \"Fraud Warning\",\n                    \"error_code\": \"fraud_warning\",\n                    \"status_code\": null,\n                    \"status_code_description\": null,\n                    \"_id\": \"60534ee99fd08f11ceb3ba21\",\n                    \"currency\": \"AUD\",\n                    \"amount\": 32,\n                    \"created_at\": \"2021-03-18T13:00:25.448Z\"\n                }\n            ],\n            \"updated_at\": \"2021-03-18T13:00:27.680Z\",\n            \"created_at\": \"2021-03-18T12:59:06.112Z\",\n            \"__v\": 2,\n            \"external_id\": \"96f83ef3-559b-48f0-919c-545597529a83:3dca2ce9-b583-410f-b226-e53306a9ab82\",\n            \"logs_migrated\": false\n        }\n    }\n}"}],"_postman_id":"8980fd01-c169-4f4d-a481-cea0c544f437"},{"name":"initialize charge for wallet payments","id":"72f60eec-1bbc-4d3b-815d-e266445f7a56","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 10,\n    \"currency\": \"AUD\",\n    \"customer\": {\n        \"payment_source\": {\n            \"gateway_id\": \"60197a61595c657ec05cc94c\"\n        }\n    }\n}"},"url":"{{url}}/v1/charges/wallet","description":"<p>A сharge for the wallet is a method that creates a token to utilize in the Client SDK. It initializes payments using Apple/Google Pay, Flypay, PayPal Smart, AfterPay, etc.</p>\n<h2 id=\"request-query-params\">Request query params</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>capture</td>\n<td>bool</td>\n<td>Automatically capturing or just authorize. By default <em>true</em></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required [flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>+</td>\n<td>float</td>\n<td>An amount of the payment</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>+</td>\n<td>string (iso4217 alpha-3)</td>\n<td>A currency code</td>\n</tr>\n<tr>\n<td>description</td>\n<td>-</td>\n<td>string</td>\n<td>A manually defined description for payments in payment systems</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>A manually defined reference for payments in payment systems</td>\n</tr>\n<tr>\n<td>reference2</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined reference for customer in payment systems.  <br />It only exists for certain gateways.</td>\n</tr>\n<tr>\n<td>reference3</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined reference for customer in payment systems.  <br />It only exists for certain gateways.</td>\n</tr>\n<tr>\n<td>customer</td>\n<td>+</td>\n<td>object</td>\n<td>An object with the customer’s information</td>\n</tr>\n<tr>\n<td>customer.first_name</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's first name</td>\n</tr>\n<tr>\n<td>customer.last_name</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's last name</td>\n</tr>\n<tr>\n<td>customer.email</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's email</td>\n</tr>\n<tr>\n<td>customer.phone</td>\n<td>-</td>\n<td>string(E.164)</td>\n<td>A customer's phone in the E.164 international notation (Example: +12345678901)</td>\n</tr>\n<tr>\n<td>customer.reference</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's reference</td>\n</tr>\n<tr>\n<td>customer.payment_source</td>\n<td>+</td>\n<td>object</td>\n<td>An object with payment source information</td>\n</tr>\n<tr>\n<td>customer.payment_source.gateway_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>A gateway ID used for the customer's payment source</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's payment source address, line 1</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's payment source address, line 2</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_line3</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's payment source address, line 3</td>\n</tr>\n<tr>\n<td>customer.payment_source.city</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's payment source address city</td>\n</tr>\n<tr>\n<td>customer.payment_source.state</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's payment source address state</td>\n</tr>\n<tr>\n<td>customer.payment_source.postcode</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's payment source address post code</td>\n</tr>\n<tr>\n<td>customer.payment_source.country</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's payment source address country</td>\n</tr>\n<tr>\n<td>meta.store_id</td>\n<td>-</td>\n<td>string</td>\n<td>A store ID (required for a Flypay gateway)</td>\n</tr>\n<tr>\n<td>meta.store_name</td>\n<td>-</td>\n<td>string</td>\n<td>A store name (required for Flypay and Apple Pay (via MPGS) gateways)</td>\n</tr>\n<tr>\n<td>meta.store_location</td>\n<td>-</td>\n<td>object</td>\n<td>The store location information</td>\n</tr>\n<tr>\n<td>meta.store_location.address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>The store's address line 1</td>\n</tr>\n<tr>\n<td>meta.store_location.address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>The store's address line 2</td>\n</tr>\n<tr>\n<td>meta.store_location.address_city</td>\n<td>-</td>\n<td>string</td>\n<td>The store's address city</td>\n</tr>\n<tr>\n<td>meta.store_location.address_country</td>\n<td>-</td>\n<td>string</td>\n<td>The store's address country</td>\n</tr>\n<tr>\n<td>meta.store_location.address_state</td>\n<td>-</td>\n<td>string</td>\n<td>The store's address state</td>\n</tr>\n<tr>\n<td>meta.store_location.address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>The store's address postcode</td>\n</tr>\n<tr>\n<td>meta.allow_redemption</td>\n<td>-</td>\n<td>boolean</td>\n<td>Flag to allow or deny authorization+capture flow (supported - Flypay gateway)</td>\n</tr>\n<tr>\n<td>meta.success_url</td>\n<td>-</td>\n<td>string</td>\n<td>Merchant site success redirect URL (required for Afterpay)</td>\n</tr>\n<tr>\n<td>meta.error_url</td>\n<td>-</td>\n<td>string</td>\n<td>Merchant site error redirect URL (required for Afterpay)</td>\n</tr>\n<tr>\n<td>meta.restrict_gift_card</td>\n<td>-</td>\n<td>boolean</td>\n<td>Flag to restrict gift cards (FlypayV2)</td>\n</tr>\n<tr>\n<td>meta.restrict_loyalty</td>\n<td>-</td>\n<td>boolean</td>\n<td>Flag to restrict loyalty (FlypayV2)</td>\n</tr>\n<tr>\n<td>meta.merchant_name</td>\n<td>-</td>\n<td>string</td>\n<td>The merchant name</td>\n</tr>\n<tr>\n<td>meta.payment_context</td>\n<td>-</td>\n<td>string</td>\n<td>The payment context</td>\n</tr>\n<tr>\n<td>shipping</td>\n<td>-</td>\n<td>object</td>\n<td>Shipping details of the transaction</td>\n</tr>\n<tr>\n<td>shipping.address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's shipping address, line 1</td>\n</tr>\n<tr>\n<td>shipping.address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's shipping address, line 2</td>\n</tr>\n<tr>\n<td>shipping.address_line3</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's shipping address, line 3</td>\n</tr>\n<tr>\n<td>shipping.address_state</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's shipping address, state</td>\n</tr>\n<tr>\n<td>shipping.address_country</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's shipping address, country</td>\n</tr>\n<tr>\n<td>shipping.address_city</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's shipping address, city</td>\n</tr>\n<tr>\n<td>shipping.address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's shipping address, postcode</td>\n</tr>\n<tr>\n<td>shipping.address_origin_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's shipping address, origin postcode</td>\n</tr>\n<tr>\n<td>shipping.address_company</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's shipping address, company</td>\n</tr>\n<tr>\n<td>shipping.method</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's shipping method for a transaction</td>\n</tr>\n<tr>\n<td>shipping.amount</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's shipping amount (required for Afterpay)</td>\n</tr>\n<tr>\n<td>shipping.currency</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's shipping currency (required for Afterpay)</td>\n</tr>\n<tr>\n<td>shipping.contact</td>\n<td>-</td>\n<td>object</td>\n<td>The customer's shipping contact info</td>\n</tr>\n<tr>\n<td>shipping.contact.phone</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's shipping contact phone number</td>\n</tr>\n<tr>\n<td>shipping.contact.first_name</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's shipping contact first name</td>\n</tr>\n<tr>\n<td>shipping.contact.last_name</td>\n<td>-</td>\n<td>string</td>\n<td>The customer's shipping contact last name</td>\n</tr>\n<tr>\n<td>items</td>\n<td>-</td>\n<td>array</td>\n<td>Only for Afterpay (optional), each item could have amount, name, type, quantity, item_uri and image_uri.</td>\n</tr>\n<tr>\n<td>items[].name</td>\n<td>-</td>\n<td>string</td>\n<td>Item name</td>\n</tr>\n<tr>\n<td>items[].type</td>\n<td>-</td>\n<td>string</td>\n<td>Item type</td>\n</tr>\n<tr>\n<td>items[].quantity</td>\n<td>-</td>\n<td>number</td>\n<td>Item quantity</td>\n</tr>\n<tr>\n<td>items[].item_uri</td>\n<td>-</td>\n<td>string</td>\n<td>Item uri</td>\n</tr>\n<tr>\n<td>items[].image_uri</td>\n<td>-</td>\n<td>string</td>\n<td>Item image uri</td>\n</tr>\n<tr>\n<td>item[].amount</td>\n<td>-</td>\n<td>string (numeric)</td>\n<td>Item amount</td>\n</tr>\n<tr>\n<td>fraud</td>\n<td>-</td>\n<td>object</td>\n<td>Fraud payload</td>\n</tr>\n<tr>\n<td>fraud.token</td>\n<td>-</td>\n<td>string</td>\n<td>Token for fraud</td>\n</tr>\n<tr>\n<td>fraud.service_id</td>\n<td>-</td>\n<td>string (24 hex characters)</td>\n<td>id of fraud service</td>\n</tr>\n<tr>\n<td>fraud.mode</td>\n<td>-</td>\n<td>string</td>\n<td>fraud service mode: look at <em>Fraud mode</em> table</td>\n</tr>\n<tr>\n<td>fraud.data</td>\n<td>-</td>\n<td>object</td>\n<td>Custom fraud data</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-body\">Response body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required [flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>token</td>\n<td>+</td>\n<td>string</td>\n<td>A token to be used in the Client SDK to process Apple/Google Pay, Flypay, PayPal Smart, AfterPay, etc. transactions</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","charges","wallet"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"9bf5558f-8be2-4ee3-a676-36d65e1bd634","name":"initialize charge for wallet payments","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer\": {\n        \"first_name\": \"Wanda\",\n        \"last_name\": \"Mertz\",\n        \"email\": \"wanda.mertz@example.com\",\n        \"phone\": \"+1234567890\",\n        \"payment_source\": {\n            \"gateway_id\": \"60e84f19a7cc2c2e513d6c99\"\n        }\n    },\n    \"amount\": 10,\n    \"currency\": \"AUD\",\n    \"reference\": \"reference123\",\n    \"reference2\": \"reference 2\",\n    \"reference3\": \"reference 3\",\n    \"description\": \"description123\",\n    \"meta\": {\n        \"store_name\": \"123\",\n        \"store_id\": \"123\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/wallet"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 02 Feb 2021 16:17:52 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"668"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"29c-wjPRMTiP24BKEd4W0uNlJy1gGKw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYwZjU0NGZlOGVmZDZiNWViMTU4MjczOSIsIm1ldGEiOiJleUp0WlhSaElqcDdJbU5vWVhKblpTSTZleUpwWkNJNklqWXdaalUwTkdabE5tTTBOREl5TldWaFpXUXdaVEprWkNJc0ltRnRiM1Z1ZENJNk1UQXNJbU4xY25KbGJtTjVJam9pUVZWRUlpd2lZMkZ3ZEhWeVpTSTZkSEoxWlgwc0ltZGhkR1YzWVhraU9uc2lkSGx3WlNJNklrWnNlWEJoZVNJc0ltMXZaR1VpT2lKMFpYTjBJbjE5ZlE9PSIsImlhdCI6MTYyNjY4NjcxOCwiZXhwIjoxNjI2NzczMTE4fQ.-hi56NjusbZVZwickfFrcYHvWvbLIcWz6Wc5zsMtZko\",\n            \"charge\": {\n                \"_id\": \"60f544fe6c44225eaed0e2dd\",\n                \"amount\": 10,\n                \"currency\": \"AUD\",\n                \"reference\": \"reference123\",\n                \"reference2\": \"reference 2\",\n                \"reference3\": \"reference 3\",\n                \"description\": \"description123\",\n                \"status\": \"wallet_initialized\",\n                \"capture\": true,\n                \"one_off\": true,\n                \"amount_surcharge\": null,\n                \"amount_original\": null,\n                \"created_at\": \"2021-07-19T09:25:18.782Z\",\n                \"updated_at\": \"2021-07-19T09:25:18.782Z\",\n                \"transactions\": [],\n                \"customer\": {\n                    \"last_name\": \"Mertz\",\n                    \"first_name\": \"Wanda\",\n                    \"email\": \"wanda.mertz@example.com\",\n                    \"phone\": \"+1234567890\",\n                    \"payment_source\": {\n                        \"type\": \"wallet\",\n                        \"wallet_type\": \"Flypay\",\n                        \"gateway_id\": \"60e84f19a7cc2c2e523b6c99\",\n                        \"gateway_name\": \"Flypay\",\n                        \"gateway_type\": \"Flypay\"\n                    }\n                },\n                \"meta\": {\n                    \"store_id\": \"123\",\n                    \"store_name\": \"123\"\n                },\n                \"shipping\": {\n                    \"options\": []\n                }\n            }\n        }\n    }\n}"},{"id":"7a3ac5fa-a4a6-4895-979c-716477c17a10","name":"initialize charge for wallet payments (ApplePay)","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"customer\": {\n        \"payment_source\": {\n            \"gateway_id\": \"61c1c7192dc2f86ba9fe6ed6\"\n        }\n    },\n    \"meta\": {\n        \"store_id\": \"123\",\n        \"store_name\": \"Store 123\"\n    },\n    \"amount\": 10,\n    \"reference\": \"reference123\",\n    \"description\": \"description123\",\n    \"currency\": \"AUD\",\n    \"capture\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/wallet"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 02 Feb 2021 16:17:52 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"668"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"29c-wjPRMTiP24BKEd4W0uNlJy1gGKw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYxZDU4ZTRjMjBmYzM1ODZlNjIwNDM3NyIsIm1ldGEiOiJleUp0WlhSaElqcDdJbU5vWVhKblpTSTZleUpwWkNJNklqWXhaRFU0WlRSaU0yTXdNMlUzTW1FMU0yWmxPV1JtTXlJc0ltRnRiM1Z1ZENJNk1UQXNJbU4xY25KbGJtTjVJam9pUVZWRUlpd2lZMkZ3ZEhWeVpTSTZkSEoxWlgwc0ltZGhkR1YzWVhraU9uc2lkSGx3WlNJNklrMWhjM1JsY2tOaGNtUWlMQ0p0YjJSbElqb2lkR1Z6ZENJc0ltTnlaV1JsYm5ScFlXeHpJanA3SW1Gd2NHeGxJanA3SW0xbGNtTm9ZVzUwSWpvaWJXVnlZMmhoYm5RdWRHVnpkQzF3WVhsa2IyTnJJbjBzSW1kdmIyZHNaU0k2ZXlKdFpYSmphR0Z1ZENJNkltZHZiMmRzWlhSbGMzUWlmWDE5ZlgwPSIsImlhdCI6MTY0MTM4NTU0OCwiZXhwIjoxNjQxNDcxOTQ4fQ.qURkl_nu73H1lP0bMFvV727G9ucjGz0D_n2pqvewGvA\",\n            \"charge\": {\n                \"_id\": \"61d58e4b3c03e72a53fe9df3\",\n                \"amount\": 10,\n                \"currency\": \"AUD\",\n                \"reference\": \"reference123\",\n                \"company_id\": \"5adacf0c30efdb1c6d055ae5\",\n                \"description\": \"description123\",\n                \"type\": \"financial\",\n                \"status\": \"wallet_initialized\",\n                \"capture\": true,\n                \"authorization\": false,\n                \"one_off\": true,\n                \"amount_surcharge\": null,\n                \"amount_original\": null,\n                \"created_at\": \"2022-01-05T12:25:48.005Z\",\n                \"updated_at\": \"2022-01-05T12:25:48.005Z\",\n                \"schedule\": {\n                    \"stopped\": false\n                },\n                \"archived\": false,\n                \"meta\": {\n                    \"store_id\": \"123\",\n                    \"store_name\": \"Store 123\"\n                },\n                \"customer\": {\n                    \"payment_source\": {\n                        \"type\": \"wallet\",\n                        \"wallet_type\": null,\n                        \"gateway_id\": \"61c1c7192dc2f86ba9fe6ed6\",\n                        \"gateway_name\": \"MasterCard + ApplePay\",\n                        \"gateway_type\": \"MasterCard\"\n                    }\n                },\n                \"transactions\": [],\n                \"shipping\": {}\n            }\n        }\n    }\n}"},{"id":"90aa0c6c-0f3a-4270-99a3-778e40662968","name":"initialize charge for wallet payments (GooglePay)","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"customer\": {\n        \"payment_source\": {\n            \"gateway_id\": \"61d58972c3c0333ec8919775\"\n        }\n    },\n    \"amount\": 10,\n    \"reference\": \"reference\",\n    \"description\": \"description\",\n    \"currency\": \"AUD\",\n    \"capture\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/wallet"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 02 Feb 2021 16:17:52 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"668"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"29c-wjPRMTiP24BKEd4W0uNlJy1gGKw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYxZDU4ZDdlMjBmYzM1ODZlNjIwNDM3NCIsIm1ldGEiOiJleUp0WlhSaElqcDdJbU5vWVhKblpTSTZleUpwWkNJNklqWXhaRFU0WkRkbE0yTXdNMlUzTW1FMU0yWmxPV1E0TlNJc0ltRnRiM1Z1ZENJNk1UQXNJbU4xY25KbGJtTjVJam9pUVZWRUlpd2lZMkZ3ZEhWeVpTSTZkSEoxWlgwc0ltZGhkR1YzWVhraU9uc2lkSGx3WlNJNklrMWhjM1JsY2tOaGNtUWlMQ0p0YjJSbElqb2lkR1Z6ZENJc0ltTnlaV1JsYm5ScFlXeHpJanA3SW1kdmIyZHNaU0k2ZXlKdFpYSmphR0Z1ZENJNkltZHZiMmRzWlhSbGMzUWlmWDE5ZlgwPSIsImlhdCI6MTY0MTM4NTM0MywiZXhwIjoxNjQxNDcxNzQzfQ.hdOObef5E0a0S1GOpNa7zX16TYgscy_j-BtMqPj41AE\",\n            \"charge\": {\n                \"_id\": \"61d58d7e3c03e72a53fe9d85\",\n                \"amount\": 10,\n                \"currency\": \"AUD\",\n                \"reference\": \"reference\",\n                \"company_id\": \"5adacf0c30efdb1c6d055ae5\",\n                \"description\": \"description\",\n                \"type\": \"financial\",\n                \"status\": \"wallet_initialized\",\n                \"capture\": true,\n                \"authorization\": false,\n                \"one_off\": true,\n                \"amount_surcharge\": null,\n                \"amount_original\": null,\n                \"created_at\": \"2022-01-05T12:22:22.692Z\",\n                \"updated_at\": \"2022-01-05T12:22:22.692Z\",\n                \"schedule\": {\n                    \"stopped\": false\n                },\n                \"archived\": false,\n                \"meta\": {},\n                \"customer\": {\n                    \"payment_source\": {\n                        \"type\": \"wallet\",\n                        \"wallet_type\": null,\n                        \"gateway_id\": \"61d58972c3c0333ec8919775\",\n                        \"gateway_name\": \"MasterCard + GooglePay\",\n                        \"gateway_type\": \"MasterCard\"\n                    }\n                },\n                \"transactions\": [],\n                \"shipping\": {}\n            }\n        }\n    }\n}"},{"id":"fbb0be3f-dd05-4c87-bbd7-9f3c94fdbe74","name":"initialize charge for wallet payments (AfterPay)","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"amount\": 1,\n  \"reference\": \"reference\",\n  \"description\": \"description\",\n  \"currency\": \"AUD\",\n  \"customer\": {\n    \"email\": \"wanda.mertz@example.com\",\n    \"first_name\": \"Wanda\",\n    \"last_name\": \"Mertz\",\n    \"phone\": \"+5555555555\",\n    \"payment_source\": {\n      \"gateway_id\": \"6329c9573226a249d8a46db6\",\n      \"address_line1\": \"asd1\",\n      \"address_line2\": \"asd2\",\n      \"address_line3\": \"asd3\",\n      \"address_city\": \"city\",\n      \"address_state\": \"state\",\n      \"address_country\": \"US\",\n      \"address_postcode\": \"12345\"\n    }\n  },\n  \"meta\": {\n    \"store_id\": \"1234\",\n    \"store_name\": \"Store 1234\",\n    \"success_url\": \"https://sucessurl.com\",\n    \"error_url\": \"https://errorURL.com\"\n  },\n  \"shipping\": {\n      \"amount\": 1,\n      \"currency\": \"AUD\",\n      \"address_line1\": \"ship1\",\n      \"address_line2\": \"ship22\",\n      \"address_line3\": \"ship3\",\n      \"address_city\": \"shipcity\",\n      \"address_state\": \"shipstate\",\n      \"address_country\": \"US\",\n      \"address_postcode\": \"123456\",\n      \"contact\": {\n            \"first_name\": \"ship_contact\",\n            \"last_name\": \"contact_last_name\",\n            \"phone\": \"+5555555556\"\n      }\n  },\n  \"items\": [{\n        \"amount\": 1,\n        \"name\" : \"itemname\",\n        \"type\": \"itemtype\",\n        \"quantity\": 1,\n        \"item_uri\": \"https://asd.com\",\n        \"image_uri\": \"https://asd2.com\"\n  }]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/wallet"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 02 Feb 2021 16:17:52 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"668"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"29c-wjPRMTiP24BKEd4W0uNlJy1gGKw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYzMzJmN2NlNjI5Y2Y0MjNmNGU2MmQ4MSIsIm1ldGEiOiJleUp0WlhSaElqcDdJbU5vWVhKblpTSTZleUpwWkNJNklqWXpNekptTjJOa01UTmtaV1JoTWpObE9HVmhOR0UxWlNJc0ltRnRiM1Z1ZENJNk1Td2lZM1Z5Y21WdVkza2lPaUpCVlVRaUxDSmpZWEIwZFhKbElqcDBjblZsTENKeVpXWmxjbVZ1WTJVaU9pSnlaV1psY21WdVkyVTBPREVpTENKdFpYUmhJanA3SW5OMVkyTmxjM05mZFhKc0lqb2lhSFIwY0hNNkx5OXpkV05sYzNOMWNtd3VZMjl0SWl3aVpYSnliM0pmZFhKc0lqb2lhSFIwY0hNNkx5OWxjbkp2Y2xWU1RDNWpiMjBpZlgwc0ltZGhkR1YzWVhraU9uc2lkSGx3WlNJNklrRm1kR1Z5Y0dGNUlpd2liVzlrWlNJNkluUmxjM1FpZlgxOSIsImlhdCI6MTY2NDI4NDYyMiwiZXhwIjoxNjY0MzcxMDIyfQ.A_XiSe5nrnGUpMBXeV_2okMdz79oJN7KkvhW-5Mj8o0\",\n            \"charge\": {\n                \"_id\": \"6332f7cd13deda23e8ea4a5e\",\n                \"amount\": 1,\n                \"currency\": \"AUD\",\n                \"reference\": \"reference\",\n                \"company_id\": \"5adacf0c30efdb1c6d055ae5\",\n                \"description\": \"description\",\n                \"type\": \"financial\",\n                \"status\": \"wallet_initialized\",\n                \"capture\": true,\n                \"authorization\": false,\n                \"one_off\": true,\n                \"amount_surcharge\": null,\n                \"amount_original\": null,\n                \"created_at\": \"2022-09-27T13:17:01.807Z\",\n                \"updated_at\": \"2022-09-27T13:17:01.807Z\",\n                \"shipping\": {\n                    \"amount\": 1,\n                    \"currency\": \"AUD\",\n                    \"address_line1\": \"ship1\",\n                    \"address_line2\": \"ship22\",\n                    \"address_line3\": \"ship3\",\n                    \"address_city\": \"shipcity\",\n                    \"address_postcode\": \"123456\",\n                    \"address_state\": \"shipstate\",\n                    \"address_country\": \"US\",\n                    \"contact\": {\n                        \"first_name\": \"ship_contact\",\n                        \"last_name\": \"contact_last_name\",\n                        \"phone\": \"+5555555556\"\n                    }\n                },\n                \"schedule\": {\n                    \"stopped\": false\n                },\n                \"archived\": false,\n                \"meta\": {\n                    \"store_id\": \"1234\",\n                    \"store_name\": \"Store 1234\",\n                    \"success_url\": \"https://sucessurl.com\",\n                    \"error_url\": \"https://errorURL.com\"\n                },\n                \"customer\": {\n                    \"last_name\": \"Mertz\",\n                    \"first_name\": \"Wanda\",\n                    \"email\": \"wanda.mertz@example.com\",\n                    \"phone\": \"+5555555555\",\n                    \"payment_source\": {\n                        \"type\": \"wallet\",\n                        \"wallet_type\": \"afterpay\",\n                        \"gateway_id\": \"6329c9573226a249d8a46db6\",\n                        \"gateway_name\": \"Afterpay\",\n                        \"gateway_type\": \"Afterpay\",\n                        \"address_line1\": \"asd1\",\n                        \"address_line2\": \"asd2\",\n                        \"address_line3\": \"asd3\",\n                        \"address_city\": \"city\",\n                        \"address_country\": \"US\",\n                        \"address_state\": \"state\",\n                        \"address_postcode\": \"12345\"\n                    }\n                },\n                \"transactions\": [],\n                \"items\": [\n                    {\n                        \"name\": \"itemname\",\n                        \"amount\": 1,\n                        \"quantity\": 1,\n                        \"item_uri\": \"https://asd.com\",\n                        \"image_uri\": \"https://asd2.com\",\n                        \"type\": \"itemtype\"\n                    }\n                ]\n            }\n        }\n    }\n}"},{"id":"aee00304-e7cb-4d65-b6ef-9da13d790e4e","name":"initialize charge for wallet payments (FlypayV2)","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 1,\n    \"reference\": \"97b961c9-d58b-4d85-b7c0-c49796b06233\",\n    \"reference2\": \"97b961c9-d58b-4d85-b7c0-c49796b06233\",\n    \"description\": \"description123\",\n    \"currency\": \"AUD\",\n    \"customer\": {\n        \"email\": \"wandamertz@test.com\",\n        \"first_name\": \"Wanda\",\n        \"last_name\": \"Mertz\",\n        \"phone\": \"+5555555555\",\n        \"payment_source\": {\n            \"gateway_id\": \"651c724b286e398e35a576c7\"\n        }\n    },\n    \"meta\": {\n        \"store_id\": \"123\",\n        \"restrict_gift_card\": true,\n        \"restrict_loyalty\": \"false\",\n        \"merchant_name\": \"merchant123\",\n        \"store_location\": {\n            \"address_line1\": \"test\",\n            \"address_city\": \"test\",\n            \"address_country\": \"test\",\n            \"address_state\": \"test\",\n            \"address_postcode\": \"123\"\n        }\n    },\n    \"shipping\": {\n        \"amount\": 1,\n        \"currency\": \"AUD\",\n        \"address_line1\": \"ship1\",\n        \"address_line2\": \"ship22\",\n        \"address_line3\": \"ship3\",\n        \"address_city\": \"shipcity\",\n        \"address_state\": \"shipstate\",\n        \"address_country\": \"US\",\n        \"address_postcode\": \"123456\",\n        \"contact\": {\n            \"first_name\": \"ship_contact\",\n            \"last_name\": \"contact_last_name\",\n            \"phone\": \"+5555555556\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/wallet"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 02 Feb 2021 16:17:52 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"668"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"29c-wjPRMTiP24BKEd4W0uNlJy1gGKw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY1MmZjZGU4ZmZhMTljMjk4ZjQ2NDMwNSIsIm1ldGEiOiJleUp0WlhSaElqcDdJbU5vWVhKblpTSTZleUpwWkNJNklqWTFNbVpqWkdVNE1UVmxOMk5sTWprNE9ETTNNelJpT1NJc0ltRnRiM1Z1ZENJNk1Td2lZM1Z5Y21WdVkza2lPaUpCVlVRaUxDSmpZWEIwZFhKbElqcDBjblZsTENKeVpXWmxjbVZ1WTJVaU9pSTVOMkk1TmpGak9TMWtOVGhpTFRSa09EVXRZamRqTUMxak5EazNPVFppTURZeU16TWlmU3dpWjJGMFpYZGhlU0k2ZXlKMGVYQmxJam9pUm14NWNHRjVWaklpTENKdGIyUmxJam9pZEdWemRDSjlmWDA9IiwiaWF0IjoxNjk3NjMxNzIwLCJleHAiOjE2OTc3MTgxMjB9.2HFksllPGUpxx4msa8pssF_H_gT9N0ep1z0xZCVyzD8\",\n            \"charge\": {\n                \"_id\": \"652fcde815e7ce29883734b9\",\n                \"amount\": 1,\n                \"currency\": \"AUD\",\n                \"reference\": \"97b961c9-d58b-4d85-b7c0-c49796b06233\",\n                \"reference2\": \"97b961c9-d58b-4d85-b7c0-c49796b06233\",\n                \"company_id\": \"63e0d20e642d903cd41d912f\",\n                \"description\": \"description123\",\n                \"type\": \"financial\",\n                \"status\": \"wallet_initialized\",\n                \"capture\": true,\n                \"authorization\": false,\n                \"one_off\": true,\n                \"amount_surcharge\": null,\n                \"amount_original\": null,\n                \"created_at\": \"2023-10-18T12:22:00.027Z\",\n                \"updated_at\": \"2023-10-18T12:22:00.027Z\",\n                \"shipping\": {\n                    \"amount\": 1,\n                    \"currency\": \"AUD\",\n                    \"address_line1\": \"ship1\",\n                    \"address_line2\": \"ship22\",\n                    \"address_line3\": \"ship3\",\n                    \"address_city\": \"shipcity\",\n                    \"address_postcode\": \"123456\",\n                    \"address_state\": \"shipstate\",\n                    \"address_country\": \"US\",\n                    \"contact\": {\n                        \"first_name\": \"ship_contact\",\n                        \"last_name\": \"contact_last_name\",\n                        \"phone\": \"+5555555556\"\n                    }\n                },\n                \"schedule\": {\n                    \"stopped\": false\n                },\n                \"archived\": false,\n                \"meta\": {\n                    \"store_id\": \"123\",\n                    \"restrict_loyalty\": false,\n                    \"restrict_gift_card\": true,\n                    \"merchant_name\": \"merchant123\",\n                    \"store_location\": {\n                        \"address_line1\": \"test\",\n                        \"address_city\": \"test\",\n                        \"address_country\": \"test\",\n                        \"address_postcode\": \"123\",\n                        \"address_state\": \"test\"\n                    }\n                },\n                \"customer\": {\n                    \"last_name\": \"Mertz\",\n                    \"first_name\": \"Wanda\",\n                    \"email\": \"wandamertz@test.com\",\n                    \"phone\": \"+5555555555\",\n                    \"payment_source\": {\n                        \"type\": \"wallet\",\n                        \"wallet_type\": \"flypay_v2\",\n                        \"gateway_id\": \"651c724b286e398e35a576c7\",\n                        \"gateway_name\": \"Flypay V2\",\n                        \"gateway_type\": \"FlypayV2\"\n                    }\n                },\n                \"transactions\": [],\n                \"items\": []\n            }\n        }\n    }\n}"}],"_postman_id":"72f60eec-1bbc-4d3b-815d-e266445f7a56"},{"name":"check currency rates","id":"946fe9d1-424f-4d28-a81f-12b6f779ad59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 10,\n    \"foreign_currency\": \"AUD\",\n    \"gateway_id\": \"60197a61595c657ec05cc94c\"\n}"},"url":"{{url}}/v1/charges/dynamic-pricing","description":"<p>Check currency rates and convert the amount in foreign currency to the amount in the default currency of your gateway account.</p>\n<h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required [flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>+</td>\n<td>float</td>\n<td>A payment amount in the settlement currency (default currency of your gateway account)</td>\n</tr>\n<tr>\n<td>foreign_currency</td>\n<td>+</td>\n<td>string (iso4217 alpha-3)</td>\n<td>The currency code used for a payment. This is the currency against which you would like to check the converted amount</td>\n</tr>\n<tr>\n<td>gateway_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>A gateway ID. Supported gateways: Fiserv</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-body\">Response body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required [flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>external_id</td>\n<td>+</td>\n<td>string</td>\n<td>AN ID of a query call to a gateway</td>\n</tr>\n<tr>\n<td>foreign_amount</td>\n<td>+</td>\n<td>string</td>\n<td>The amount converted from the 'settlement_currency' to the 'foreign_currency'</td>\n</tr>\n<tr>\n<td>foreign_currency</td>\n<td>+</td>\n<td>string</td>\n<td>The currency that the amount has been converted to</td>\n</tr>\n<tr>\n<td>exchange_rates</td>\n<td>+</td>\n<td>string</td>\n<td>The exchange rate of the currency conversion</td>\n</tr>\n<tr>\n<td>expiration_time</td>\n<td>+</td>\n<td>string</td>\n<td>The timestamp after which the conversion rates offering expires</td>\n</tr>\n<tr>\n<td>settlement_currency</td>\n<td>+</td>\n<td>string</td>\n<td>The default currency of a merchant account at the gateway</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","charges","dynamic-pricing"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"4ea84218-fe45-4d3b-bfbd-d2a20d6812ca","name":"check currency rates","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 10,\n    \"foreign_currency\": \"AUD\",\n    \"gateway_id\": \"60197a61595c657ec05cc94c\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/dynamic-pricing"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 02 Feb 2021 16:17:52 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"668"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"29c-wjPRMTiP24BKEd4W0uNlJy1gGKw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charges:dynamic-pricing\",\n        \"data\": {\n            \"external_id\": \"79819552\",\n            \"foreign_amount\": \"8.01\",\n            \"foreign_currency\": \"USD\",\n            \"settlement_currency\": \"EUR\",\n            \"exchange_rates\": \"0.8010\",\n            \"expiration_time\": \"2022-01-22T00:57:23.000+01:00\"\n            \n        }\n    }\n}"}],"_postman_id":"946fe9d1-424f-4d28-a81f-12b6f779ad59"},{"name":"modify transaction custom fields","id":"9c5b6275-611a-4780-a3c9-36c548a5b17d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"custom_key\": \"custom value\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/:charge_id/transactions/:id/custom-fields","description":"<p>This endpoint, allows you to modify, delete and add new custom fields.</p>\n<h2 id=\"request-params\">Request params</h2>\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>charge_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>charge _id received at the creation stage</td>\n</tr>\n<tr>\n<td>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>transaction _id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request body</h2>\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>any</td>\n<td>-</td>\n<td>string</td>\n<td>This fields can have any custom name and value. Already existed field will be overwritten with a new value, If the new value is empty, this field will be removed</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-body\">Response body</h2>\n<p>Include an actual list of custom fields with the same format as the request body inside the transaction</p>\n","urlObject":{"path":["v1","charges",":charge_id","transactions",":id","custom-fields"],"host":["{{url}}"],"query":[],"variable":[{"id":"c6008ac0-62a7-440d-ab9e-b5e9aa245f58","type":"any","value":"6051e84bb2dee34c9ff3ed8b","key":"charge_id"},{"id":"f116ab96-4316-4a61-a0bb-086a96db83da","type":"any","value":"6051e84bb2dee34c9ff3ed8c","key":"id"}]}},"response":[{"id":"b483acd8-2b15-46ca-9ff1-56a612f9b373","name":"common","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"custom_key\": \"custom value\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/charges/:charge_id/transactions/:id/custom-fields","host":["{{url}}"],"path":["v1","charges",":charge_id","transactions",":id","custom-fields"],"variable":[{"key":"charge_id","value":"60536a6eaa7b27148d636478"},{"key":"id","value":"60536a6eaa7b27148d636479"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 18 Mar 2021 15:14:55 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"425"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"1a9-oxCeDK6K2XkjvWyU8waljavFqoo\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"transaction\",\n        \"data\": {\n            \"service_logs\": [],\n            \"type\": \"sale\",\n            \"status\": \"failed\",\n            \"_id\": \"60536a6eaa7b27148d636479\",\n            \"created_at\": \"2021-03-18T14:57:50.884Z\",\n            \"amount\": 10.123,\n            \"currency\": \"KWD\",\n            \"custom_fields\": {\n                \"custom_key\": \"custom value\"\n            },\n            \"updated_at\": \"2021-03-18T15:14:55.916Z\"\n        }\n    }\n}"}],"_postman_id":"9c5b6275-611a-4780-a3c9-36c548a5b17d"},{"name":"modify transaction and charge status","id":"75a1442d-d77a-4bec-b83f-68866a9aa08f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"status\": \"complete\",\n    \"external_id\": \"1234123\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/:charge_id/transactions/:id","description":"<p>This endpoint allows you to modify a transaction and charge status and specify a potential error code and an identificator of a transaction on a gateway side. It is allowed to update charges and transactions in the \"requested\" status only.</p>\n<h2 id=\"request-body\">Request body</h2>\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>status</td>\n<td>+</td>\n<td>string</td>\n<td>A transaction status: complete or failed</td>\n</tr>\n<tr>\n<td>external_id</td>\n<td>+</td>\n<td>string</td>\n<td>An identificator of a transaction on a gateway side</td>\n</tr>\n<tr>\n<td>charge_status</td>\n<td>+</td>\n<td>string</td>\n<td>A charge status: complete or failed</td>\n</tr>\n<tr>\n<td>error_code</td>\n<td>-</td>\n<td>string</td>\n<td>An error code on a gateway side for a failed transaction</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-body\">Response body</h2>\n<p>Charge resource with an updated status</p>\n","urlObject":{"path":["v1","charges",":charge_id","transactions",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"c6008ac0-62a7-440d-ab9e-b5e9aa245f58","type":"any","value":"6051e84bb2dee34c9ff3ed8b","key":"charge_id"},{"id":"f116ab96-4316-4a61-a0bb-086a96db83da","type":"any","value":"6051e84bb2dee34c9ff3ed8c","key":"id"}]}},"response":[{"id":"0ba62a05-c06b-447f-91b4-1df8a8795e81","name":"modify transaction status","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"status\": \"complete\",\n    \"external_id\": \"1234123\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/charges/:charge_id/transactions/:id","host":["{{url}}"],"path":["v1","charges",":charge_id","transactions",":id"],"variable":[{"id":"c6008ac0-62a7-440d-ab9e-b5e9aa245f58","key":"charge_id","value":"6051e84bb2dee34c9ff3ed8b"},{"id":"f116ab96-4316-4a61-a0bb-086a96db83da","key":"id","value":"6051e84bb2dee34c9ff3ed8c"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"transaction\",\n        \"data\": {\n            \"_id\": \"60f805c353f4df4691cb917d\",\n            \"amount\": 10,\n            \"currency\": \"NZD\",\n            \"status\": \"complete\",\n            \"external_id\": \"1234123\",\n            \"subscription_id\": \"60f805ad53f4df4691cb9144\",\n            \"capture\": true,\n            \"one_off\": false,\n            \"amount_surcharge\": null,\n            \"amount_original\": null,\n            \"created_at\": \"2021-07-21T11:32:19.770Z\",\n            \"updated_at\": \"2021-07-22T07:48:59.367Z\",\n            \"_3ds\": {},\n            \"shipping\": {\n                \"contact\": {}\n            },\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"60f805c353f4df4691cb917e\",\n                    \"external_id\": \"1234123\",\n                    \"amount\": 10,\n                    \"amount_fee\": null,\n                    \"currency\": \"NZD\",\n                    \"type\": \"sale\",\n                    \"status\": \"complete\",\n                    \"created_at\": \"2021-07-21T11:32:19.767Z\",\n                    \"error_message\": null,\n                    \"updated_at\": \"2021-07-22T07:48:59.307Z\",\n                    \"pended_at\": \"2021-07-22T11:32:20.198Z\",\n                    \"include_authorization\": false,\n                    \"gateway_specific_code\": null,\n                    \"gateway_specific_description\": null,\n                    \"error_code\": null,\n                    \"status_code\": null,\n                    \"status_code_description\": null,\n                    \"_source_ip_address\": \"127.0.0.1\",\n                    \"_3ds\": {},\n                    \"service_logs\": []\n                }\n            ],\n            \"customer\": {\n                \"customer_id\": \"60f7cf2c8970eb28e1582db3\",\n                \"last_name\": \"F2C\",\n                \"first_name\": \"Bank\",\n                \"payment_source\": {\n                    \"type\": \"bank_account\",\n                    \"gateway_id\": \"60f6b97a8970eb28e155eb9d\",\n                    \"gateway_name\": \"Flo 2 Cash\",\n                    \"gateway_type\": \"Flo2Cash\",\n                    \"address_country\": \"NZ\"\n                }\n            },\n            \"meta\": {}\n        }\n    }\n}"}],"_postman_id":"75a1442d-d77a-4bec-b83f-68866a9aa08f"},{"name":"standalone fraud","id":"c17c82f6-a404-441d-a804-716547525b4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 10,\n    \"currency\": \"USD\",\n    \"first_name\": \"Wanda\",\n    \"last_name\": \"Mertz\",\n    \"customer\": {\n        \"payment_source\": {\n            \"vault_token\": \"e4fb7389-3efc-4b39-b9a6-8d71466c6169\"\n        }\n    },\n    \"fraud\": {\n        \"service_id\": \"61518e99ea9aea650e28e8ba\",\n        \"data\": {}\n    }\n}"},"url":"{{url}}/v1/charges/fraud","description":"<p>A fraud charge is a one-time charge that allows sending a fraud transaction separately from the sale transaction to be able to gather and validate fraud data without making charges.</p>\n<h2 id=\"flows\">Flows</h2>\n<p>You can create a charge using:</p>\n<ol>\n<li><p>Vault Token</p>\n</li>\n<li><p>Vault Token Reference</p>\n</li>\n<li><p>An existing customer (with default or non-default payment source)</p>\n</li>\n<li><p>Credit Card</p>\n</li>\n</ol>\n<h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required [flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>+</td>\n<td>float</td>\n<td>An amount of the payment</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>+</td>\n<td>string (iso4217 alpha-3)</td>\n<td>The currency code</td>\n</tr>\n<tr>\n<td>description</td>\n<td>-</td>\n<td>string</td>\n<td>A manually defined description for payments in payment systems</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>A manually defined reference for payments in payment systems</td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>+3</td>\n<td>string (24 hex characters)</td>\n<td>Existing customer ID</td>\n</tr>\n<tr>\n<td>customer</td>\n<td>+1, +2</td>\n<td>object</td>\n<td>An object with the customer’s information</td>\n</tr>\n<tr>\n<td>customer.first_name</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's first name</td>\n</tr>\n<tr>\n<td>customer.last_name</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's last name</td>\n</tr>\n<tr>\n<td>customer.email</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's email</td>\n</tr>\n<tr>\n<td>customer.phone</td>\n<td>-</td>\n<td>string(E.164)</td>\n<td>A customer's phone in the E.164 international notation (Example: +12345678901)</td>\n</tr>\n<tr>\n<td>customer.payment_source</td>\n<td>+1, +2</td>\n<td>object</td>\n<td>An object with payment information</td>\n</tr>\n<tr>\n<td>customer.payment_source.vault_token</td>\n<td>+1</td>\n<td>string (uiid)</td>\n<td>A vault token ID (permanent or session)</td>\n</tr>\n<tr>\n<td>customer.payment_source.vault_token_reference</td>\n<td>+2</td>\n<td>string (uuid, alphanumeric, digits)</td>\n<td>A unique identifier assigned to each vault token upon creation</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_name</td>\n<td>+4</td>\n<td>string</td>\n<td>Cardholder name (as on card)</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_number</td>\n<td>+4</td>\n<td>string</td>\n<td>Card number</td>\n</tr>\n<tr>\n<td>customer.payment_source.expire_month</td>\n<td>+4</td>\n<td>string (mm)</td>\n<td>Card expiration month</td>\n</tr>\n<tr>\n<td>customer.payment_source.expire_year</td>\n<td>+4</td>\n<td>string (yyyy)</td>\n<td>Card expiration year</td>\n</tr>\n<tr>\n<td>payment_source_id</td>\n<td>-3</td>\n<td>string (24 hex characters)</td>\n<td>Payment source ID for creating fraud with non-default payment source</td>\n</tr>\n<tr>\n<td>fraud</td>\n<td>-</td>\n<td>object</td>\n<td>A fraud payload</td>\n</tr>\n<tr>\n<td>fraud.service_id</td>\n<td>-</td>\n<td>string (24 hex characters)</td>\n<td>The ID of the connected fraud service</td>\n</tr>\n<tr>\n<td>fraud.data</td>\n<td>-</td>\n<td>object</td>\n<td>Fraud data received by Paydock and sent to the fraud service. Note: Paydock does not validate or modify this data in any way</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","charges","fraud"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"80abf6d6-23e1-4356-bcc8-da56fdaa1058","name":"standalone fraud with vault token","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 10,\n    \"currency\": \"USD\",\n    \"customer\": {\n        \"payment_source\": {\n            \"vault_token\": \"6ec0103b-a2f9-49a9-b156-6359a48381d0\"\n        }\n    },\n    \"fraud\": {\n        \"service_id\": \"5f58ed3b1f3a4238e1d73082\",\n        \"data\": {}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/fraud"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"513-7c0+gq5EBfuKcwmXX7r16ctS/q0\""},{"key":"date","value":"Tue, 12 Oct 2021 11:25:25 GMT"},{"key":"connection","value":"close"},{"key":"Content-Length","value":"1299"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"616570a2d475c4b805f2acff\",\n            \"amount\": 10,\n            \"currency\": \"USD\",\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"type\": \"fraud\",\n            \"status\": \"complete\",\n            \"external_id\": \"576e7724-6aed-4e55-93f4-8cfb5046a7cb\",\n            \"capture\": true,\n            \"one_off\": true,\n            \"amount_surcharge\": null,\n            \"amount_original\": null,\n            \"created_at\": \"2021-10-12T11:25:22.748Z\",\n            \"updated_at\": \"2021-10-12T11:25:25.105Z\",\n            \"shipping\": {\n                \"contact\": {}\n            },\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"archived\": false,\n            \"_3ds\": {},\n            \"fraud\": {\n                \"service_id\": \"5f58ed3b1f3a4238e1d73082\",\n                \"mode\": \"active\"\n            },\n            \"meta\": {},\n            \"customer\": {\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 1,\n                    \"expire_year\": 52\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"616570a3d475c4b805f2ad00\",\n                    \"external_id\": \"576e7724-6aed-4e55-93f4-8cfb5046a7cb\",\n                    \"amount\": 10,\n                    \"amount_fee\": null,\n                    \"currency\": \"USD\",\n                    \"type\": \"fraud\",\n                    \"status\": \"complete\",\n                    \"created_at\": \"2021-10-12T11:25:23.509Z\",\n                    \"updated_at\": \"2021-10-12T11:25:24.372Z\",\n                    \"include_authorization\": false,\n                    \"_source_ip_address\": \"127.0.0.1\",\n                    \"_3ds\": {},\n                    \"service_logs\": [],\n                    \"fraud\": {\n                        \"status\": \"approve\",\n                        \"score\": \"1000\",\n                        \"specific_code\": null,\n                        \"specific_message\": \"Country Not Equal to US;Total Amount Greater Than 500:500\"\n                    }\n                }\n            ]\n        }\n    }\n}"},{"id":"bcab8890-1edd-49b5-a1fa-da195e3ec188","name":"standalone fraud with customer id","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 10,\n    \"currency\": \"USD\",\n    \"customer_id\": \"5adscf0c30efdb1s6d055he5\",\n    \"customer\": {\n        \"first_name\": \"Wanda\"\n    },\n    \"fraud\": {\n        \"service_id\": \"5f58ed3b1f3a4238e1d73082\",\n        \"data\": {}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/fraud"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"513-7c0+gq5EBfuKcwmXX7r16ctS/q0\""},{"key":"date","value":"Tue, 12 Oct 2021 11:25:25 GMT"},{"key":"connection","value":"close"},{"key":"Content-Length","value":"1299"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"616570a2d475c4b805f2acff\",\n            \"amount\": 10,\n            \"currency\": \"USD\",\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"type\": \"fraud\",\n            \"status\": \"complete\",\n            \"external_id\": \"576e7724-6aed-4e55-93f4-8cfb5046a7cb\",\n            \"capture\": true,\n            \"one_off\": true,\n            \"amount_surcharge\": null,\n            \"amount_original\": null,\n            \"created_at\": \"2021-10-12T11:25:22.748Z\",\n            \"updated_at\": \"2021-10-12T11:25:25.105Z\",\n            \"shipping\": {\n                \"contact\": {}\n            },\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"archived\": false,\n            \"_3ds\": {},\n            \"fraud\": {\n                \"service_id\": \"5f58ed3b1f3a4238e1d73082\",\n                \"mode\": \"active\"\n            },\n            \"meta\": {},\n            \"customer\": {\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 1,\n                    \"expire_year\": 52\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"616570a3d475c4b805f2ad00\",\n                    \"external_id\": \"576e7724-6aed-4e55-93f4-8cfb5046a7cb\",\n                    \"amount\": 10,\n                    \"amount_fee\": null,\n                    \"currency\": \"USD\",\n                    \"type\": \"fraud\",\n                    \"status\": \"complete\",\n                    \"created_at\": \"2021-10-12T11:25:23.509Z\",\n                    \"updated_at\": \"2021-10-12T11:25:24.372Z\",\n                    \"include_authorization\": false,\n                    \"_source_ip_address\": \"127.0.0.1\",\n                    \"_3ds\": {},\n                    \"service_logs\": [],\n                    \"fraud\": {\n                        \"status\": \"approve\",\n                        \"score\": \"1000\",\n                        \"specific_code\": null,\n                        \"specific_message\": \"Country Not Equal to US;Total Amount Greater Than 500:500\"\n                    }\n                }\n            ]\n        }\n    }\n}"},{"id":"094fa68a-2476-4e9f-a7e6-23ba8bf9913e","name":"standalone fraud with vault token reference","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 10,\n    \"currency\": \"USD\",\n    \"customer\": {\n        \"payment_source\": {\n            \"vault_token_reference\": \"49837263849382745\"\n        }\n    },\n    \"fraud\": {\n        \"service_id\": \"5f58ed3b1f3a4238e1d73082\",\n        \"data\": {}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/fraud"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"513-7c0+gq5EBfuKcwmXX7r16ctS/q0\""},{"key":"date","value":"Tue, 12 Oct 2021 11:25:25 GMT"},{"key":"connection","value":"close"},{"key":"Content-Length","value":"1299"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"616570a2d475c4b805f2acff\",\n            \"amount\": 10,\n            \"currency\": \"USD\",\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"type\": \"fraud\",\n            \"status\": \"complete\",\n            \"external_id\": \"576e7724-6aed-4e55-93f4-8cfb5046a7cb\",\n            \"capture\": true,\n            \"one_off\": true,\n            \"amount_surcharge\": null,\n            \"amount_original\": null,\n            \"created_at\": \"2021-10-12T11:25:22.748Z\",\n            \"updated_at\": \"2021-10-12T11:25:25.105Z\",\n            \"shipping\": {\n                \"contact\": {}\n            },\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"archived\": false,\n            \"_3ds\": {},\n            \"fraud\": {\n                \"service_id\": \"5f58ed3b1f3a4238e1d73082\",\n                \"mode\": \"active\"\n            },\n            \"meta\": {},\n            \"customer\": {\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 1,\n                    \"expire_year\": 52,\n                    \"vault_token_reference\": \"49837263849382745\",\n                    \"vault_token\": \"37d80a15-d5d7-40a4-a5eb-bc811a3476fc\"\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"616570a3d475c4b805f2ad00\",\n                    \"external_id\": \"576e7724-6aed-4e55-93f4-8cfb5046a7cb\",\n                    \"amount\": 10,\n                    \"amount_fee\": null,\n                    \"currency\": \"USD\",\n                    \"type\": \"fraud\",\n                    \"status\": \"complete\",\n                    \"created_at\": \"2021-10-12T11:25:23.509Z\",\n                    \"updated_at\": \"2021-10-12T11:25:24.372Z\",\n                    \"include_authorization\": false,\n                    \"_source_ip_address\": \"127.0.0.1\",\n                    \"_3ds\": {},\n                    \"service_logs\": [],\n                    \"fraud\": {\n                        \"status\": \"approve\",\n                        \"score\": \"1000\",\n                        \"specific_code\": null,\n                        \"specific_message\": \"Country Not Equal to US;Total Amount Greater Than 500:500\"\n                    }\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"c17c82f6-a404-441d-a804-716547525b4f"},{"name":"attach fraud","id":"3dedc6a9-63bf-4bd7-afba-fb048bf72f34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"fraud_charge_id\": \"616570a2d475c4b805f2acff\"\n}"},"url":"{{url}}/v1/charges/:id/fraud/attach","description":"<p>Allows attaching a completed fraud charge to a financial charge with a sale transaction. It can be done either when creating a financial charge or after it was already created.</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>A financial charge ID</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required [flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>fraud_charge_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>The fraud charge ID you want to attach</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","charges",":id","fraud","attach"],"host":["{{url}}"],"query":[],"variable":[{"id":"065d626f-1ca9-4115-8ff0-ba2b529769d2","type":"any","value":null,"key":"id"}]}},"response":[{"id":"e64dfd8c-be6b-47db-af5a-7a7eaad1c3f7","name":"attach fraud","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"fraud_charge_id\": \"616570a2d475c4b805f2acff\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/charges/:id/fraud/attach","host":["{{url}}"],"path":["v1","charges",":id","fraud","attach"],"variable":[{"key":"id","value":null}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"794-iNdo/2q9eu91AfysQUMNt/Wsq/Q\""},{"key":"date","value":"Tue, 12 Oct 2021 13:28:43 GMT"},{"key":"connection","value":"close"},{"key":"Content-Length","value":"1940"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"61656dc43a91be5b54108c12\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"type\": \"financial\",\n            \"status\": \"complete\",\n            \"external_id\": \"ch_3JjiuwLoNlQR3SfL0nqjGULn\",\n            \"capture\": true,\n            \"one_off\": true,\n            \"amount_surcharge\": null,\n            \"amount_original\": null,\n            \"created_at\": \"2021-10-12T11:13:08.846Z\",\n            \"updated_at\": \"2021-10-12T13:28:43.149Z\",\n            \"shipping\": {\n                \"contact\": {}\n            },\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"archived\": false,\n            \"_3ds\": {},\n            \"fraud\": {\n                \"charge_id\": \"616570a2d475c4b805f2acff\"\n            },\n            \"meta\": {},\n            \"customer\": {\n                \"customer_id\": \"6164423dec902e5c59d2b72b\",\n                \"last_name\": \"Mertz\",\n                \"first_name\": \"Wanda\",\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"gateway_id\": \"603650bdcb452c709f6ed62c\",\n                    \"gateway_name\": \"Stripe\",\n                    \"gateway_type\": \"Stripe\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"expire_month\": 1,\n                    \"expire_year\": 52\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"61656dc43a91be5b54108c13\",\n                    \"external_id\": \"ch_3JjiuwLoNlQR3SfL0nqjGULn\",\n                    \"amount\": 10,\n                    \"amount_fee\": null,\n                    \"currency\": \"AUD\",\n                    \"type\": \"sale\",\n                    \"status\": \"complete\",\n                    \"created_at\": \"2021-10-12T11:13:08.838Z\",\n                    \"error_message\": null,\n                    \"include_authorization\": false,\n                    \"remittance_date\": \"2021-10-13T11:13:08.846Z\",\n                    \"gateway_specific_code\": null,\n                    \"gateway_specific_description\": null,\n                    \"error_code\": null,\n                    \"status_code\": null,\n                    \"status_code_description\": null,\n                    \"_source_ip_address\": \"::1\",\n                    \"_3ds\": {},\n                    \"service_logs\": [],\n                    \"fraud\": {}\n                },\n                {\n                    \"_id\": \"61658d89f56a1e30aaa989d4\",\n                    \"external_id\": \"576e7724-6aed-4e55-93f4-8cfb5046a7cb\",\n                    \"amount\": 10,\n                    \"amount_fee\": null,\n                    \"currency\": \"USD\",\n                    \"type\": \"fraud\",\n                    \"status\": \"complete\",\n                    \"created_at\": \"2021-10-12T13:28:41.954Z\",\n                    \"updated_at\": \"2021-10-12T13:28:41.954Z\",\n                    \"include_authorization\": false,\n                    \"_source_ip_address\": \"127.0.0.1\",\n                    \"_3ds\": {},\n                    \"service_logs\": [],\n                    \"fraud\": {\n                        \"status\": \"approve\",\n                        \"score\": \"1000\",\n                        \"specific_code\": null,\n                        \"specific_message\": \"Country Not Equal to US;Total Amount Greater Than 500:500\"\n                    }\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"3dedc6a9-63bf-4bd7-afba-fb048bf72f34"},{"name":"standalone 3ds","id":"d3f1d545-9c36-4d95-b724-fbfe07b8ad9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"4\",\n    \"currency\": \"AUD\",\n    \"payment_source_preference\": \"network_token\",\n    \"customer\": {\n        \"payment_source\": {\n            \"vault_token\": \"8617374d-2a5f-405b-aa9e-a9e942dd7c95\"\n        }\n    },\n    \"_3ds\": {\n        \"authentication\": {\n            \"type\": \"01\",\n            \"date\": \"2021-12-13T20:06:05.521Z\"\n        }\n    }\n}"},"url":"{{url}}/v1/charges/standalone-3ds","description":"<p>A Standalone 3DS charge is a one-time charge that allows authorizing a transaction separately from the sale transaction, to be able to gather and validate authentication data without making charges. After processing, these 3ds charges can be attached with a regular financial charge to skip the authentication flow when charging takes place.</p>\n<h2 id=\"flows\">Flows</h2>\n<ol>\n<li><p>Vault token</p>\n</li>\n<li><p>Vault token reference</p>\n</li>\n<li><p>An existing customer (with default or non-default payment source)</p>\n</li>\n</ol>\n<p>Network Token support is available with standalone 3DS when:</p>\n<ul>\n<li><p>The Vault has an active NT</p>\n</li>\n<li><p>Registration status is \"completed.\"</p>\n</li>\n<li><p>Merchant either:</p>\n<ul>\n<li><p>Enables Routing Rules and provides payment_source_preference = network_token</p>\n</li>\n<li><p>Provides a gateway_id that will be provided for /charges</p>\n</li>\n</ul>\n</li>\n</ul>\n<h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required [flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>+</td>\n<td>float</td>\n<td>An amount of the payment</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>+</td>\n<td>string (iso4217 alpha-3)</td>\n<td>The currency code</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>A manually defined reference for payments in payment systems</td>\n</tr>\n<tr>\n<td>payment_source_preference</td>\n<td>-</td>\n<td>string</td>\n<td>Use \"network_token\" to use vault's linked Network Token for authentication. Other possible value is \"card\".</td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>+3</td>\n<td>string (24 hex characters)</td>\n<td>Existing customer ID</td>\n</tr>\n<tr>\n<td>customer</td>\n<td>+1,+2,-3</td>\n<td>object</td>\n<td>An object with the customer’s information</td>\n</tr>\n<tr>\n<td>customer.first_name</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's first name</td>\n</tr>\n<tr>\n<td>customer.last_name</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's last name</td>\n</tr>\n<tr>\n<td>customer.email</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's email</td>\n</tr>\n<tr>\n<td>customer.phone</td>\n<td>-</td>\n<td>string(E.164)</td>\n<td>A customer's phone in the E.164 international notation (Example: +12345678901)</td>\n</tr>\n<tr>\n<td>customer.phone2</td>\n<td>-</td>\n<td>string(E.164)</td>\n<td>A customer's mobile phone in the E.164 international notation (Example: +12345678901)</td>\n</tr>\n<tr>\n<td>customer.payment_source</td>\n<td>+</td>\n<td>object</td>\n<td>An object with payment information</td>\n</tr>\n<tr>\n<td>customer.payment_source.gateway_id</td>\n<td>-</td>\n<td>string (24 hex characters)</td>\n<td>Gateway ID that will be used for charge processing</td>\n</tr>\n<tr>\n<td>customer.payment_source.vault_token</td>\n<td>+1</td>\n<td>string (uiid)</td>\n<td>A vault token ID  <br />(permanent or session)</td>\n</tr>\n<tr>\n<td>customer.payment_source.vault_token_reference</td>\n<td>+2</td>\n<td>string (uuid, alphanumeric, digits)</td>\n<td>A unique identifier assigned to each vault token upon creation</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, line 1</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, line 2</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_line3</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, line 3</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_state</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, State</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_country</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, Country Code</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_city</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, City</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, Postcode</td>\n</tr>\n<tr>\n<td>payment_source_id</td>\n<td>-</td>\n<td>string (24 hex characters)</td>\n<td>Payment source ID for creating 3ds with non-default payment source</td>\n</tr>\n<tr>\n<td>shipping</td>\n<td>-</td>\n<td>object</td>\n<td>Shipping information object</td>\n</tr>\n<tr>\n<td>shipping.address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping Address, line 1</td>\n</tr>\n<tr>\n<td>shipping.address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping Address, line 2</td>\n</tr>\n<tr>\n<td>shipping.address_line3</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping Address, line 3</td>\n</tr>\n<tr>\n<td>shipping.address_state</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping Address, State</td>\n</tr>\n<tr>\n<td>shipping.address_country</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping Address, Country Code</td>\n</tr>\n<tr>\n<td>shipping.address_city</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping Address, City</td>\n</tr>\n<tr>\n<td>shipping.address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping Address, Postcode</td>\n</tr>\n<tr>\n<td>shipping.method</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping method</td>\n</tr>\n<tr>\n<td>shipping.contact</td>\n<td>-</td>\n<td>object</td>\n<td>Shipping contact</td>\n</tr>\n<tr>\n<td>shipping.contact.email</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping contact email</td>\n</tr>\n<tr>\n<td>shipping.contact.first_name</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping contact first name</td>\n</tr>\n<tr>\n<td>shipping.contact.last_name</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping contact last name</td>\n</tr>\n<tr>\n<td>_3ds</td>\n<td>+</td>\n<td>object</td>\n<td>A 3ds payload</td>\n</tr>\n<tr>\n<td>_3ds.service_id</td>\n<td></td>\n<td>string (24 hex characters)</td>\n<td>The ID of the connected 3ds service</td>\n</tr>\n<tr>\n<td>_3ds.browser_details</td>\n<td>-</td>\n<td>object</td>\n<td>Browser details</td>\n</tr>\n<tr>\n<td>_3ds.browser_details.screen_height</td>\n<td>-</td>\n<td>number</td>\n<td>Browser Iframe window height for challenge</td>\n</tr>\n<tr>\n<td>_3ds.browser_details.screen_width</td>\n<td>-</td>\n<td>number</td>\n<td>Browser Iframe window width for challenge</td>\n</tr>\n<tr>\n<td>_3ds.authentication</td>\n<td>+</td>\n<td>object</td>\n<td>Authentication data</td>\n</tr>\n<tr>\n<td>_3ds.authentication.type</td>\n<td>+</td>\n<td>string</td>\n<td>Authentication type</td>\n</tr>\n<tr>\n<td>_3ds.authentication.account_id</td>\n<td>-</td>\n<td>string</td>\n<td>Authentication account type</td>\n</tr>\n<tr>\n<td>_3ds.authentication.challenge_type</td>\n<td>-</td>\n<td>string</td>\n<td>Authentication challenge type</td>\n</tr>\n<tr>\n<td>_3ds.authentication.merchant_name</td>\n<td>-</td>\n<td>string</td>\n<td>Merchant name</td>\n</tr>\n<tr>\n<td>_3ds.authentication.previous_authentication_id</td>\n<td>-</td>\n<td>string (24 hex characters)</td>\n<td>The ID of a previous authentication</td>\n</tr>\n<tr>\n<td>_3ds.authentication.date</td>\n<td>-</td>\n<td>string (ISO Date)</td>\n<td>Date of the authentication</td>\n</tr>\n<tr>\n<td>_3ds.authentication.whitelisted</td>\n<td>-</td>\n<td>bool</td>\n<td>Whitelist status</td>\n</tr>\n<tr>\n<td>_3ds.authentication.version</td>\n<td>-</td>\n<td>string</td>\n<td>Authentication version</td>\n</tr>\n<tr>\n<td>_3ds.authentication.method</td>\n<td>-</td>\n<td>string</td>\n<td>Authentication method</td>\n</tr>\n<tr>\n<td>_3ds.authentication.auth_data</td>\n<td>-</td>\n<td>string</td>\n<td>Additional authentication data</td>\n</tr>\n<tr>\n<td>_3ds.authentication.customer</td>\n<td>-</td>\n<td>object</td>\n<td>Authentication customer data</td>\n</tr>\n<tr>\n<td>_3ds.authentication.customer.created_at</td>\n<td>-</td>\n<td>string (ISO Date)</td>\n<td>Customer creation date</td>\n</tr>\n<tr>\n<td>_3ds.authentication.customer.updated_at</td>\n<td>-</td>\n<td>string (ISO Date)</td>\n<td>Customer last update date</td>\n</tr>\n<tr>\n<td>_3ds.authentication.customer.credentials_updated_at</td>\n<td>-</td>\n<td>string (ISO Date)</td>\n<td>Customer credentials last update date</td>\n</tr>\n<tr>\n<td>_3ds.authentication.customer.suspicious</td>\n<td>-</td>\n<td>bool</td>\n<td>Suspicious customer indicator</td>\n</tr>\n<tr>\n<td>_3ds.authentication.customer.payment_source</td>\n<td>-</td>\n<td>object</td>\n<td>Authentication customer payment source data</td>\n</tr>\n<tr>\n<td>_3ds.authentication.customer.payment_source.created_at</td>\n<td>-</td>\n<td>string (ISO Date)</td>\n<td>Creation date of the payment source</td>\n</tr>\n<tr>\n<td>_3ds.authentication.customer.payment_source.add_attempts</td>\n<td>-</td>\n<td>Array of string (ISO Date)</td>\n<td>Dates of addition attempts of the payment source</td>\n</tr>\n<tr>\n<td>_3ds.authentication.customer.payment_source.card_type</td>\n<td>-</td>\n<td>string</td>\n<td>Card type</td>\n</tr>\n<tr>\n<td>_3ds.authentication.customer.activity_history</td>\n<td>-</td>\n<td>object</td>\n<td>Authentication customer activity history</td>\n</tr>\n<tr>\n<td>_3ds.authentication.customer.activity_history.transactions_count_last_day</td>\n<td>-</td>\n<td>number</td>\n<td>Customer transactions in the last day</td>\n</tr>\n<tr>\n<td>_3ds.authentication.customer.activity_history.transactions_count_last_six_months</td>\n<td>-</td>\n<td>number</td>\n<td>Customer transactions in the last six months</td>\n</tr>\n<tr>\n<td>_3ds.authentication.customer.activity_history.transactions_count_last_year</td>\n<td>-</td>\n<td>number</td>\n<td>Customer transactions in the last year</td>\n</tr>\n<tr>\n<td>_3ds.authentication.customer.activity_history.shipping_address_created_at</td>\n<td>-</td>\n<td>string (ISO Date)</td>\n<td>Shipping address creation date</td>\n</tr>\n<tr>\n<td>_3ds.authentication.risk</td>\n<td>-</td>\n<td>object</td>\n<td>Authentication risk related data</td>\n</tr>\n<tr>\n<td>_3ds.authentication.risk.redeem_amount</td>\n<td>-</td>\n<td>string</td>\n<td>Redemption amount</td>\n</tr>\n<tr>\n<td>_3ds.authentication.risk.redeem_currency</td>\n<td>-</td>\n<td>string (iso4217 alpha-3)</td>\n<td>Redemption currency code</td>\n</tr>\n<tr>\n<td>_3ds.authentication.risk.redeem_count</td>\n<td>-</td>\n<td>number</td>\n<td>Redemption count</td>\n</tr>\n<tr>\n<td>_3ds.authentication.risk.pre_order_date</td>\n<td>-</td>\n<td>string (ISO Date)</td>\n<td>Preorder date</td>\n</tr>\n<tr>\n<td>_3ds.authentication.risk.reorder</td>\n<td>-</td>\n<td>string</td>\n<td>Reorder information</td>\n</tr>\n<tr>\n<td>_3ds.authentication.risk.shipping</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping risk information</td>\n</tr>\n<tr>\n<td>_3ds.authentication.decoupled</td>\n<td>-</td>\n<td>object</td>\n<td>Authentication data for decoupled challenges</td>\n</tr>\n<tr>\n<td>_3ds.authentication.decoupled.timeout</td>\n<td>-</td>\n<td>string</td>\n<td>Decoupled challenge timeout</td>\n</tr>\n<tr>\n<td>_3ds.authentication.decoupled.enabled</td>\n<td>-</td>\n<td>bool</td>\n<td>Decoupled challenge enabled indicator</td>\n</tr>\n<tr>\n<td>_3ds.authentication.recurring</td>\n<td>-</td>\n<td>object</td>\n<td>Authentication data for recurring purchases</td>\n</tr>\n<tr>\n<td>_3ds.authentication.recurring.expiry</td>\n<td>-</td>\n<td>string (ISO Date)</td>\n<td>Recurring expiry date</td>\n</tr>\n<tr>\n<td>_3ds.authentication.recurring.frequency_days</td>\n<td>-</td>\n<td>number</td>\n<td>Recurring frequency</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","charges","standalone-3ds"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"237bf6d0-dd87-4080-9470-f6b80845737d","name":"standalone 3ds with vault token full","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"4\",\n    \"currency\": \"AUD\",\n    \"reference\": \"8ab9acec-edd2-4399-80c9-ded64a362abb\",\n    \"payment_source_preference\": \"network_token\",\n    \"customer\": {\n        \"first_name\": \"Wanda\",\n        \"last_name\": \"Mertz\",\n        \"email\": \"wanda.mertz@example.com\", \n        \"phone\": \"+1234567890\",\n        \"phone2\": \"+1234567890\",\n        \"payment_source\": {\n            \"vault_token\": \"8617374d-2a5f-405b-aa9e-a9e942dd7c95\",\n            \"address_city\": \"Lake Robyn\",\n            \"address_country\": \"US\",\n            \"address_line1\": \"61426 Osvaldo Plains\",\n            \"address_line2\": \"Apt. 276\",\n            \"address_line3\": \"Apt. 276\",\n            \"address_postcode\": \"07396\",\n            \"address_state\": \"WY\"\n        }\n    },\n    \"shipping\": {\n        \"address_city\": \"Lake Robyn\",\n        \"address_country\": \"US\",\n        \"address_line1\": \"61426 Osvaldo Plains\",\n        \"address_line2\": \"Apt. 276\",\n        \"address_line3\": \"Apt. 276\",\n        \"address_postcode\": \"07396\",\n        \"address_state\": \"WY\",\n        \"method\": \"02\",\n        \"contact\": {\n            \"email\": \"wanda.mertz@example.com\",\n            \"first_name\": \"Wanda\",\n            \"last_name\": \"Mertz\"\n        }\n    },\n    \"_3ds\": {\n        \"service_id\": \"61518e99ea9aea650e28e8ba\",\n        \"browser_details\": {\n            \"screen_height\": 460,\n            \"screen_width\": 270\n        },\n        \"authentication\": {\n            \"account_id\": \"Account ID\",\n            \"type\": \"01\",\n            \"challenge_type\": \"01\",\n            \"merchant_name\": \"Test Merchant\",\n            \"previous_authentication_id\": \"61bbae7ac25ed442b1b91cec\",\n            \"date\": \"2021-12-13T20:06:05.521Z\",\n            \"whitelisted\": true,\n            \"version\": \"2.1.0\",\n            \"method\": \"01\",\n            \"auth_data\": \"auth_data\",\n            \"customer\": {\n                \"created_at\": \"2020-12-13T20:06:05.521Z\",\n                \"updated_at\": \"2020-12-13T20:06:05.521Z\",\n                \"credentials_updated_at\": \"2020-12-13T20:06:05.521Z\",\n                \"suspicious\": false,\n                \"payment_source\": {\n                    \"created_at\": \"2020-12-13T20:06:05.521Z\",\n                    \"add_attempts\": [\"2020-12-13T20:06:05.521Z\"],\n                    \"card_type\": \"02\"\n                },\n                \"activity_history\": {\n                    \"transactions_count_last_day\": 1,\n                    \"transactions_count_last_six_months\": 6,\n                    \"transactions_count_last_year\": 10,\n                    \"shipping_address_created_at\": \"2020-12-13T20:06:05.521Z\"\n                }\n            },\n            \"risk\": {\n                \"redeem_amount\": \"0\",\n                \"redeem_currency\": \"USD\",\n                \"redeem_count\": 0,\n                \"pre_order_date\": \"2021-12-13T20:06:05.521Z\",\n                \"reorder\": \"01\",\n                \"shipping\": \"01\"\n            },\n            \"decoupled\": {\n                \"timeout\": \"00010\",\n                \"enabled\": true\n            },\n            \"recurring\": {\n                \"expiry\": \"2021-12-13T20:06:05.521Z\",\n                \"frequency_days\": 2\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/standalone-3ds"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"513-7c0+gq5EBfuKcwmXX7r16ctS/q0\""},{"key":"date","value":"Tue, 12 Oct 2021 11:25:25 GMT"},{"key":"connection","value":"close"},{"key":"Content-Length","value":"1299"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"61d73fcc8738150e843e8ee7\",\n            \"amount\": 4,\n            \"currency\": \"AUD\",\n            \"reference\": \"8ab9acec-edd2-4399-80c9-ded64a362abb\",\n            \"company_id\": \"605095415a40d941dcd42fa3\",\n            \"type\": \"3ds\",\n            \"status\": \"pre_authentication_pending\",\n            \"external_id\": \"da59700a-2f77-4e64-8447-a00bbe979de0\",\n            \"capture\": true,\n            \"authorization\": false,\n            \"one_off\": true,\n            \"amount_surcharge\": null,\n            \"amount_original\": null,\n            \"created_at\": \"2022-01-06T19:15:24.139Z\",\n            \"updated_at\": \"2022-01-06T19:15:24.934Z\",\n            \"shipping\": {\n                \"address_line1\": \"61426 Osvaldo Plains\",\n                \"address_line2\": \"Apt. 276\",\n                \"address_state\": \"WY\",\n                \"address_country\": \"US\",\n                \"address_city\": \"Lake Robyn\",\n                \"address_postcode\": \"07396\",\n                \"contact\": {\n                    \"first_name\": \"Wanda\",\n                    \"last_name\": \"Mertz\",\n                    \"email\": \"wanda.mertz@example.com\"\n                },\n                \"method\": \"02\"\n            },\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"archived\": false,\n            \"customer\": {\n                \"last_name\": \"Mertz\",\n                \"first_name\": \"Wanda\",\n                \"email\": \"wanda.mertz@example.com\",\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"gateway_id\": \"61d724778738150e843e8bfc\",\n                    \"gateway_name\": \"123456789012345\",\n                    \"gateway_type\": \"GPayments\",\n                    \"vault_token\": \"61b88de7-4399-460a-bbab-476b8dcea5d1\",\n                    \"card_name\": \"Test Card\",\n                    \"card_number_last4\": \"0100\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"address_line1\": \"61426 Osvaldo Plains\",\n                    \"address_line2\": \"Apt. 276\",\n                    \"address_line3\": \"Apt. 276\",\n                    \"address_city\": \"Lake Robyn\",\n                    \"address_country\": \"US\",\n                    \"address_state\": \"WY\",\n                    \"address_postcode\": \"07396\",\n                    \"expire_month\": 8,\n                    \"expire_year\": 2025,\n                    \"payment_account_reference\": \"V0010013024019123754661791664\",\n                    \"token\": \"4895370019058251\",\n                    \"token_external_id\": \"6bda2cb3fec9fd51b0551a5a3e257f01\",\n                    \"token_id\": \"673c9c1fee5d7dce2c63cb30\",\n                    \"token_reference\": \"ad288b9a5827a47d06dd150adde67a01\",\n                    \"token_reference_id\": \"DNITHE302432434959034118\",\n                    \"token_service_id\": \"66f2c4158a19d49d883fd5b8\"\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"61d73fcc8738150e843e8eee\",\n                    \"external_id\": \"da59700a-2f77-4e64-8447-a00bbe979de0\",\n                    \"amount\": 4,\n                    \"amount_fee\": null,\n                    \"currency\": \"AUD\",\n                    \"type\": \"standalone_3ds\",\n                    \"status\": \"complete\",\n                    \"created_at\": \"2022-01-06T19:15:24.203Z\",\n                    \"updated_at\": \"2022-01-06T19:15:24.916Z\",\n                    \"include_authorization\": false,\n                    \"_source_ip_address\": \"127.0.0.1\",\n                    \"_3ds\": {},\n                    \"service_logs\": []\n                }\n            ],\n            \"_3ds\": {\n                \"id\": \"2349f051-60f5-475a-b206-9e9c9fc4c57e\",\n                \"authentication\": {\n                    \"_id\": \"61d73fcc8738150e843e8ee9\",\n                    \"account_id\": \"Account ID\",\n                    \"type\": \"01\",\n                    \"challenge_type\": \"01\",\n                    \"merchant_name\": \"Test Merchant\",\n                    \"previous_authentication_id\": \"61bbae7ac25ed442b1b91cec\",\n                    \"whitelisted\": true,\n                    \"version\": \"2.1.0\",\n                    \"method\": \"01\",\n                    \"date\": \"2021-12-13T20:06:05.521Z\",\n                    \"auth_data\": \"auth_data\",\n                    \"customer\": {\n                        \"created_at\": \"2020-12-13T20:06:05.521Z\",\n                        \"updated_at\": \"2020-12-13T20:06:05.521Z\",\n                        \"credentials_updated_at\": \"2020-12-13T20:06:05.521Z\",\n                        \"suspicious\": false,\n                        \"payment_source\": {\n                            \"created_at\": \"2020-12-13T20:06:05.521Z\",\n                            \"add_attempts\": [\n                                \"2020-12-13T20:06:05.521Z\"\n                            ],\n                            \"card_type\": \"02\"\n                        },\n                        \"activity_history\": {\n                            \"transactions_count_last_day\": 1,\n                            \"transactions_count_last_six_months\": 6,\n                            \"transactions_count_last_year\": 10,\n                            \"shipping_address_created_at\": \"2020-12-13T20:06:05.521Z\"\n                        }\n                    },\n                    \"risk\": {\n                        \"redeem_amount\": \"0\",\n                        \"redeem_currency\": \"USD\",\n                        \"redeem_count\": 0,\n                        \"pre_order_date\": \"2021-12-13T20:06:05.521Z\",\n                        \"reorder\": \"01\",\n                        \"shipping\": \"01\"\n                    },\n                    \"decoupled\": {\n                        \"timeout\": \"00010\",\n                        \"enabled\": true\n                    },\n                    \"recurring\": {\n                        \"expiry\": \"2021-12-13T20:06:05.521Z\",\n                        \"frequency_days\": 2\n                    }\n                },\n                \"token\": \"wyJjb250ZW50IjoiZXlKaGJHY2lPaUpJVXpJMU5pSXNJblI1Y0NJNklrcFhWQ0o5LmV5SnBaQ0k2SWpZeFpEY3pabU5qWm1Ga1lUVTRNR1U0WWpVNU1UVTNZaUlzSW0xbGRHRWlPaUpsZVVwcVlVZEdlVm95Vm1aTk1sSjZXREpzYTBscWIybE9SMUp0VDBkS2FFMHlSWFJPUjBaclRua3dNRTVVYUdsTVYwbDVUVlJWZEZwVVdYZGFSRUUxVDFSRmVsbHFhRzFKYVhkcFl6SldlV1J0YkdwYVZqa3daVmhDYkVscWIybFNNVUpvWlZjeGJHSnVVbnBKYVhkcFdsaG9NRnBZU25WWlYzaG1ZVmRSYVU5cFNtdFpWRlUxVG5wQmQxbFRNSGxhYW1NelRGUlNiRTVxVVhSUFJGRXdUbmt4YUUxRVFtbFpiVlUxVG5wc2ExcFVRV2xNUTBwd1ltMXNNR0ZYUm5OaFdIQm9aRWRzZG1Kc09URmpiWGRwVDJsS2IyUklVbmRqZW05MlRETkNhR1ZYVW5aWk1uTjBaRWRXZW1SRE5XaGpla1YxV2pOQ2FHVlhNV3hpYmxKNlRHMDFiR1JET1doalIydDJaR3BKZGxsdVNqTk1NazVvWWtkNGFWbFhUbkpRTTFKNVdWYzFlbE5YVVRsYVIwVXhUMVJqZDAxSFJYUk5iVmt6VG5rd01GcFVXVEJNVkdjd1RrUmpkRmxVUVhkWmJVcHNUMVJqTlZwSFZYZEtibEU1WkZSc1NGbHVRbXRoUlZKclkwWkZNbGRXYURGbGFtaG9XbTVHYms0eFFuQmtWMlJwVVRCa2IxcHNaRlpqVkVaSlpXeFNXbHByYkVOYVJHeDZVbXBHYkdFeU5YUldXRUpEVlZSb1FtRlZUa3BUUjJzd1RqRkNUbVZzVmxOTlJXdzJTV2wzYVZsWVZqQmhSemw1WVZod2FHUkhiSFppYkRreFkyMTNhVTlwU205a1NGSjNZM3B2ZGt3elFtaGxWMUoyV1RKemRHUkhWbnBrUXpWb1kwZHJkVmxZVFhoTWJXUjNXVmhzZEZwWE5UQmplVFYxV2xoUmRsbFlRbkJNTTFsNVRESkdNV1JIWjNaWmJrb3pVRE5ST1U1RVRYcGFWR2N3V1dwQ2JVMXFZelZPUjBwb1dWZFZNMDFxVm1oWlYxcHJUMVJTYTA1VVdYbGFSMFZ0WTBReFlWSkhhSEZYYkZKeVRXeHNWVmR0ZUZwV1IwMTNWRmN4U2sxR2NIRlJWRVphVmtVMWRGUnNVbkpPVm10NVZsUlNXbVZzVlRGWFZtUlNaVVpzZEZKWWNGcFdNVXB2Vkc1amFVeERTbnBhVjA1MlltMVNhR051Ykdaa1dFcHpTV3B2YVdGSVVqQmpTRTAyVEhrNWQxbFliR3RpTWs1eVRGaFNiR016VVhWWldFMTRURzFrZDFsWWJIUmFWelV3WTNrMWRWcFlVWFpaV0VKd1RETlplVXd5U25sa2VUbHdZbTFzTUV3eU1YWmlhamt3VUZkU2FFNVVhek5OUkVKb1RGUktiVTU2WTNST1IxVXlUa013TkU1RVVUTk1WMFYzVFVkS2FWcFVhek5QVjFKc1RVTktPU0lzSW1saGRDSTZNVFkwTVRRNU5qVXlOQ3dpWlhod0lqb3hOalF4TlRneU9USTBmUS5LUWtWZWhoRFp6X2k4dl8zQUd6Q1pObG1FYjVSUVZyZHRVSXd4anNpYXZJIiwiZm9ybWF0Ijoic3RhbmRhbG9uZV8zZHMifQ==\"\n            }\n        }\n    }\n}"},{"id":"f9fe56eb-f754-4ab7-9fcd-9e0ec4198b6e","name":"standalone 3ds with customer id","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"4\",\n    \"currency\": \"AUD\",\n    \"reference\": \"8ab9acec-edd2-4399-80c9-ded64a362abb\",\n    \"customer_id\": \"61bbae7ac25ed442b1b91cec\",\n    \"customer\": {\n        \"first_name\": \"Wanda\",\n        \"last_name\": \"Mertz\",\n        \"email\": \"wanda.mertz@example.com\", \n        \"phone\": \"+1234567890\",\n        \"phone2\": \"+1234567890\",\n        \"payment_source\": {\n            \"address_country\": \"US\",\n            \"address_line1\": \"61426 Osvaldo Plains\",\n            \"address_line2\": \"Apt. 276\",\n            \"address_line3\": \"Apt. 276\",\n            \"address_postcode\": \"07396\",\n            \"address_state\": \"WY\"\n        }\n    },\n    \"shipping\": {\n        \"address_city\": \"Lake Robyn\",\n        \"address_country\": \"US\",\n        \"address_line1\": \"61426 Osvaldo Plains\",\n        \"address_line2\": \"Apt. 276\",\n        \"address_line3\": \"Apt. 276\",\n        \"address_postcode\": \"07396\",\n        \"address_state\": \"WY\",\n        \"method\": \"02\",\n        \"contact\": {\n            \"email\": \"wanda.mertz@example.com\",\n            \"first_name\": \"Wanda\",\n            \"last_name\": \"Mertz\"\n        }\n    },\n    \"_3ds\": {\n        \"service_id\": \"61518e99ea9aea650e28e8ba\",\n        \"browser_details\": {\n            \"screen_height\": 460,\n            \"screen_width\": 270\n        },\n        \"authentication\": {\n            \"account_id\": \"Account ID\",\n            \"type\": \"01\",\n            \"challenge_type\": \"01\",\n            \"merchant_name\": \"Test Merchant\",\n            \"previous_authentication_id\": \"61bbae7ac25ed442b1b91cec\",\n            \"date\": \"2021-12-13T20:06:05.521Z\",\n            \"whitelisted\": true,\n            \"version\": \"2.1.0\",\n            \"method\": \"01\",\n            \"auth_data\": \"auth_data\",\n            \"customer\": {\n                \"created_at\": \"2020-12-13T20:06:05.521Z\",\n                \"updated_at\": \"2020-12-13T20:06:05.521Z\",\n                \"credentials_updated_at\": \"2020-12-13T20:06:05.521Z\",\n                \"suspicious\": false,\n                \"payment_source\": {\n                    \"created_at\": \"2020-12-13T20:06:05.521Z\",\n                    \"add_attempts\": [\"2020-12-13T20:06:05.521Z\"],\n                    \"card_type\": \"02\"\n                },\n                \"activity_history\": {\n                    \"transactions_count_last_day\": 1,\n                    \"transactions_count_last_six_months\": 6,\n                    \"transactions_count_last_year\": 10,\n                    \"shipping_address_created_at\": \"2020-12-13T20:06:05.521Z\"\n                }\n            },\n            \"risk\": {\n                \"redeem_amount\": \"0\",\n                \"redeem_currency\": \"USD\",\n                \"redeem_count\": 0,\n                \"pre_order_date\": \"2021-12-13T20:06:05.521Z\",\n                \"reorder\": \"01\",\n                \"shipping\": \"01\"\n            },\n            \"decoupled\": {\n                \"timeout\": \"00010\",\n                \"enabled\": true\n            },\n            \"recurring\": {\n                \"expiry\": \"2021-12-13T20:06:05.521Z\",\n                \"frequency_days\": 2\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/standalone-3ds"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"513-7c0+gq5EBfuKcwmXX7r16ctS/q0\""},{"key":"date","value":"Tue, 12 Oct 2021 11:25:25 GMT"},{"key":"connection","value":"close"},{"key":"Content-Length","value":"1299"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"61d73fcc8738150e843e8ee7\",\n            \"amount\": 4,\n            \"currency\": \"AUD\",\n            \"reference\": \"8ab9acec-edd2-4399-80c9-ded64a362abb\",\n            \"company_id\": \"605095415a40d941dcd42fa3\",\n            \"type\": \"3ds\",\n            \"status\": \"pre_authentication_pending\",\n            \"external_id\": \"da59700a-2f77-4e64-8447-a00bbe979de0\",\n            \"capture\": true,\n            \"authorization\": false,\n            \"one_off\": true,\n            \"amount_surcharge\": null,\n            \"amount_original\": null,\n            \"created_at\": \"2022-01-06T19:15:24.139Z\",\n            \"updated_at\": \"2022-01-06T19:15:24.934Z\",\n            \"shipping\": {\n                \"address_line1\": \"61426 Osvaldo Plains\",\n                \"address_line2\": \"Apt. 276\",\n                \"address_state\": \"WY\",\n                \"address_country\": \"US\",\n                \"address_city\": \"Lake Robyn\",\n                \"address_postcode\": \"07396\",\n                \"contact\": {\n                    \"first_name\": \"Wanda\",\n                    \"last_name\": \"Mertz\",\n                    \"email\": \"wanda.mertz@example.com\"\n                },\n                \"method\": \"02\"\n            },\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"archived\": false,\n            \"customer\": {\n                \"last_name\": \"Mertz\",\n                \"first_name\": \"Wanda\",\n                \"email\": \"wanda.mertz@example.com\",\n                \"payment_source\": {\n                    \"type\": \"card\",\n                    \"gateway_id\": \"61d724778738150e843e8bfc\",\n                    \"gateway_name\": \"123456789012345\",\n                    \"gateway_type\": \"GPayments\",\n                    \"vault_token\": \"61b88de7-4399-460a-bbab-476b8dcea5d1\",\n                    \"card_name\": \"Test Card\",\n                    \"card_number_last4\": \"0100\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"address_line1\": \"61426 Osvaldo Plains\",\n                    \"address_line2\": \"Apt. 276\",\n                    \"address_line3\": \"Apt. 276\",\n                    \"address_city\": \"Lake Robyn\",\n                    \"address_country\": \"US\",\n                    \"address_state\": \"WY\",\n                    \"address_postcode\": \"07396\",\n                    \"expire_month\": 8,\n                    \"expire_year\": 2025\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"61d73fcc8738150e843e8eee\",\n                    \"external_id\": \"da59700a-2f77-4e64-8447-a00bbe979de0\",\n                    \"amount\": 4,\n                    \"amount_fee\": null,\n                    \"currency\": \"AUD\",\n                    \"type\": \"standalone_3ds\",\n                    \"status\": \"complete\",\n                    \"created_at\": \"2022-01-06T19:15:24.203Z\",\n                    \"updated_at\": \"2022-01-06T19:15:24.916Z\",\n                    \"include_authorization\": false,\n                    \"_source_ip_address\": \"127.0.0.1\",\n                    \"_3ds\": {},\n                    \"service_logs\": []\n                }\n            ],\n            \"_3ds\": {\n                \"id\": \"2349f051-60f5-475a-b206-9e9c9fc4c57e\",\n                \"authentication\": {\n                    \"_id\": \"61d73fcc8738150e843e8ee9\",\n                    \"account_id\": \"Account ID\",\n                    \"type\": \"01\",\n                    \"challenge_type\": \"01\",\n                    \"merchant_name\": \"Test Merchant\",\n                    \"previous_authentication_id\": \"61bbae7ac25ed442b1b91cec\",\n                    \"whitelisted\": true,\n                    \"version\": \"2.1.0\",\n                    \"method\": \"01\",\n                    \"date\": \"2021-12-13T20:06:05.521Z\",\n                    \"auth_data\": \"auth_data\",\n                    \"customer\": {\n                        \"created_at\": \"2020-12-13T20:06:05.521Z\",\n                        \"updated_at\": \"2020-12-13T20:06:05.521Z\",\n                        \"credentials_updated_at\": \"2020-12-13T20:06:05.521Z\",\n                        \"suspicious\": false,\n                        \"payment_source\": {\n                            \"created_at\": \"2020-12-13T20:06:05.521Z\",\n                            \"add_attempts\": [\n                                \"2020-12-13T20:06:05.521Z\"\n                            ],\n                            \"card_type\": \"02\"\n                        },\n                        \"activity_history\": {\n                            \"transactions_count_last_day\": 1,\n                            \"transactions_count_last_six_months\": 6,\n                            \"transactions_count_last_year\": 10,\n                            \"shipping_address_created_at\": \"2020-12-13T20:06:05.521Z\"\n                        }\n                    },\n                    \"risk\": {\n                        \"redeem_amount\": \"0\",\n                        \"redeem_currency\": \"USD\",\n                        \"redeem_count\": 0,\n                        \"pre_order_date\": \"2021-12-13T20:06:05.521Z\",\n                        \"reorder\": \"01\",\n                        \"shipping\": \"01\"\n                    },\n                    \"decoupled\": {\n                        \"timeout\": \"00010\",\n                        \"enabled\": true\n                    },\n                    \"recurring\": {\n                        \"expiry\": \"2021-12-13T20:06:05.521Z\",\n                        \"frequency_days\": 2\n                    }\n                },\n                \"token\": \"wyJjb250ZW50IjoiZXlKaGJHY2lPaUpJVXpJMU5pSXNJblI1Y0NJNklrcFhWQ0o5LmV5SnBaQ0k2SWpZeFpEY3pabU5qWm1Ga1lUVTRNR1U0WWpVNU1UVTNZaUlzSW0xbGRHRWlPaUpsZVVwcVlVZEdlVm95Vm1aTk1sSjZXREpzYTBscWIybE9SMUp0VDBkS2FFMHlSWFJPUjBaclRua3dNRTVVYUdsTVYwbDVUVlJWZEZwVVdYZGFSRUUxVDFSRmVsbHFhRzFKYVhkcFl6SldlV1J0YkdwYVZqa3daVmhDYkVscWIybFNNVUpvWlZjeGJHSnVVbnBKYVhkcFdsaG9NRnBZU25WWlYzaG1ZVmRSYVU5cFNtdFpWRlUxVG5wQmQxbFRNSGxhYW1NelRGUlNiRTVxVVhSUFJGRXdUbmt4YUUxRVFtbFpiVlUxVG5wc2ExcFVRV2xNUTBwd1ltMXNNR0ZYUm5OaFdIQm9aRWRzZG1Kc09URmpiWGRwVDJsS2IyUklVbmRqZW05MlRETkNhR1ZYVW5aWk1uTjBaRWRXZW1SRE5XaGpla1YxV2pOQ2FHVlhNV3hpYmxKNlRHMDFiR1JET1doalIydDJaR3BKZGxsdVNqTk1NazVvWWtkNGFWbFhUbkpRTTFKNVdWYzFlbE5YVVRsYVIwVXhUMVJqZDAxSFJYUk5iVmt6VG5rd01GcFVXVEJNVkdjd1RrUmpkRmxVUVhkWmJVcHNUMVJqTlZwSFZYZEtibEU1WkZSc1NGbHVRbXRoUlZKclkwWkZNbGRXYURGbGFtaG9XbTVHYms0eFFuQmtWMlJwVVRCa2IxcHNaRlpqVkVaSlpXeFNXbHByYkVOYVJHeDZVbXBHYkdFeU5YUldXRUpEVlZSb1FtRlZUa3BUUjJzd1RqRkNUbVZzVmxOTlJXdzJTV2wzYVZsWVZqQmhSemw1WVZod2FHUkhiSFppYkRreFkyMTNhVTlwU205a1NGSjNZM3B2ZGt3elFtaGxWMUoyV1RKemRHUkhWbnBrUXpWb1kwZHJkVmxZVFhoTWJXUjNXVmhzZEZwWE5UQmplVFYxV2xoUmRsbFlRbkJNTTFsNVRESkdNV1JIWjNaWmJrb3pVRE5ST1U1RVRYcGFWR2N3V1dwQ2JVMXFZelZPUjBwb1dWZFZNMDFxVm1oWlYxcHJUMVJTYTA1VVdYbGFSMFZ0WTBReFlWSkhhSEZYYkZKeVRXeHNWVmR0ZUZwV1IwMTNWRmN4U2sxR2NIRlJWRVphVmtVMWRGUnNVbkpPVm10NVZsUlNXbVZzVlRGWFZtUlNaVVpzZEZKWWNGcFdNVXB2Vkc1amFVeERTbnBhVjA1MlltMVNhR051Ykdaa1dFcHpTV3B2YVdGSVVqQmpTRTAyVEhrNWQxbFliR3RpTWs1eVRGaFNiR016VVhWWldFMTRURzFrZDFsWWJIUmFWelV3WTNrMWRWcFlVWFpaV0VKd1RETlplVXd5U25sa2VUbHdZbTFzTUV3eU1YWmlhamt3VUZkU2FFNVVhek5OUkVKb1RGUktiVTU2WTNST1IxVXlUa013TkU1RVVUTk1WMFYzVFVkS2FWcFVhek5QVjFKc1RVTktPU0lzSW1saGRDSTZNVFkwTVRRNU5qVXlOQ3dpWlhod0lqb3hOalF4TlRneU9USTBmUS5LUWtWZWhoRFp6X2k4dl8zQUd6Q1pObG1FYjVSUVZyZHRVSXd4anNpYXZJIiwiZm9ybWF0Ijoic3RhbmRhbG9uZV8zZHMifQ==\"\n            }\n        }\n    }\n}"}],"_postman_id":"d3f1d545-9c36-4d95-b724-fbfe07b8ad9f"},{"name":"check balance","id":"68c6f0f7-937a-4da4-a863-8bbcb82ca552","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"customer\": {\n        \"payment_source\": {\n            \"type\": \"gift_card\",\n            \"card_number\": \"62734010000339970\",\n            \"card_pin\": \"3307\",\n            \"gateway_id\": \"6374efbfd7dd8a6da88028a3\"\n        }\n    }\n    \n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/balance","description":"<h2 id=\"flow\">Flow</h2>\n<p>You can check balance using:</p>\n<ol>\n<li><p>With credit card</p>\n</li>\n<li><p>With vault token</p>\n</li>\n<li><p>With vault token reference</p>\n</li>\n</ol>\n<h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>customer</td>\n<td>+</td>\n<td>object</td>\n<td>Object with the customer information.</td>\n</tr>\n<tr>\n<td>customer.payment_source</td>\n<td>+</td>\n<td>object</td>\n<td>Object with payment information</td>\n</tr>\n<tr>\n<td>customer.payment_source.gateway_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>Gateway id</td>\n</tr>\n<tr>\n<td>customer.payment_source.type</td>\n<td>+1</td>\n<td>string</td>\n<td>Type of payment. Use <em>gift_card</em> type for check balance with gift card.</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_number</td>\n<td>+1</td>\n<td>string(numeric)</td>\n<td>Card number</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_pin</td>\n<td>+1</td>\n<td>string(numeric)</td>\n<td>Card Pin number</td>\n</tr>\n<tr>\n<td>customer.payment_source.vault_token</td>\n<td>+2</td>\n<td>string (uiid)</td>\n<td>Vault token id</td>\n</tr>\n<tr>\n<td>customer.payment_source.vault_token_reference</td>\n<td>+3</td>\n<td>string (uuid, alphanumeric, digits)</td>\n<td>A unique identifier assigned to each vault token upon creation</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"check-balance-with-vii\">Check Balance With Vii</h2>\n<p>After <strong>3</strong> unsuccessful attempts to get the gift card's balance with an incorrect PIN, the card is blocked for approximately 10 hours.<br />For the first 3 attempts to check the balance with an invalid PIN the error message will be: <strong>Invalid PIN.</strong>\nAfter the fourth attempt, the error will say: <strong>The card has been temporarily locked. It will be unlocked on DD/MM/YYYY hh:mm:ss a</strong></p>\n","urlObject":{"path":["v1","charges","balance"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"58541c43-38d9-411f-a687-0436b5c8bf1c","name":"check balance with card number","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"customer\": {\n        \"payment_source\": {\n            \"type\": \"gift_card\",\n            \"card_number\": \"62734010000339970\",\n            \"card_pin\": \"3307\",\n            \"gateway_id\": \"6374efbfd7dd8a6da88028a3\"\n        }\n    }\n    \n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/balance"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 May 2023 08:18:01 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"x-monitoring-acl-permission","value":"charges:balance"},{"key":"x-monitoring-acl-scope-id","value":"5d305bfbfac31b4448c738d7"},{"key":"x-monitoring-acl-ip","value":"54.86.50.139"},{"key":"x-monitoring-acl-scope","value":"company"},{"key":"x-monitoring-charge-customer-payment-source-type","value":"gift_card"},{"key":"x-monitoring-charge-status","value":"complete"},{"key":"x-monitoring-charge-type","value":"balance"},{"key":"x-monitoring-charge-customer-payment-source-service-id","value":"6374efbfd7dd8a6da88028a3"},{"key":"x-monitoring-charge-customer-payment-source-service-type","value":"Vii"},{"key":"x-external-duration","value":"0"},{"key":"x-retry-delay","value":"0"},{"key":"x-correlation-id","value":"b1cada22-e024-4122-805b-26237f3e265d"},{"key":"etag","value":"W/\"345-5MQBKk4BYl4TCckaRq5waVjELRE\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charges\",\n        \"data\": {\n            \"_id\": \"645ca4b99e20285ac6dac63e\",\n            \"amount\": 200,\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"type\": \"balance\",\n            \"status\": \"complete\",\n            \"capture\": true,\n            \"authorization\": false,\n            \"one_off\": true,\n            \"amount_surcharge\": null,\n            \"amount_original\": null,\n            \"created_at\": \"2023-05-11T08:18:01.052Z\",\n            \"updated_at\": \"2023-05-11T08:18:01.348Z\",\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"archived\": false,\n            \"meta\": {},\n            \"customer\": {\n                \"payment_source\": {\n                    \"type\": \"gift_card\",\n                    \"gateway_id\": \"6374efbfd7dd8a6da88028a3\",\n                    \"gateway_name\": \"Vii\",\n                    \"gateway_type\": \"Vii\"\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"645ca4b99e20285ac6dac641\",\n                    \"amount\": 200,\n                    \"amount_fee\": null,\n                    \"type\": \"balance\",\n                    \"status\": \"complete\",\n                    \"created_at\": \"2023-05-11T08:18:01.068Z\",\n                    \"updated_at\": \"2023-05-11T08:18:01.347Z\",\n                    \"include_authorization\": false,\n                    \"_source_ip_address\": \"54.86.50.139\",\n                    \"service_logs\": []\n                }\n            ]\n        }\n    }\n}"},{"id":"08638690-9cb9-4933-bdce-a8d59ef50de7","name":"check balance with vault token","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"customer\": {\n        \"payment_source\": {\n            \"vault_token\": \"4d5e8890-eb00-445f-aaf4-0a0f365f6790\",\n            \"gateway_id\": \"6374efbfd7dd8a6da88028a3\"\n        }\n    }\n    \n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/balance"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 May 2023 08:19:36 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"x-monitoring-acl-permission","value":"charges:balance"},{"key":"x-monitoring-acl-scope-id","value":"5d305bfbfac31b4448c738d7"},{"key":"x-monitoring-acl-ip","value":"54.86.50.139"},{"key":"x-monitoring-acl-scope","value":"company"},{"key":"x-monitoring-charge-customer-payment-source-type","value":"gift_card"},{"key":"x-monitoring-charge-status","value":"complete"},{"key":"x-monitoring-charge-type","value":"balance"},{"key":"x-monitoring-charge-customer-payment-source-service-id","value":"6374efbfd7dd8a6da88028a3"},{"key":"x-monitoring-charge-customer-payment-source-service-type","value":"Vii"},{"key":"x-external-duration","value":"0"},{"key":"x-retry-delay","value":"0"},{"key":"x-correlation-id","value":"4d2f352b-3592-4110-bf2d-e41662fcfd37"},{"key":"etag","value":"W/\"345-Ut3AOhVW4nzUz9Gt5xZKhSyV/5c\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charges\",\n        \"data\": {\n            \"_id\": \"645ca5189e20285ac6dac64e\",\n            \"amount\": 200,\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"type\": \"balance\",\n            \"status\": \"complete\",\n            \"capture\": true,\n            \"authorization\": false,\n            \"one_off\": true,\n            \"amount_surcharge\": null,\n            \"amount_original\": null,\n            \"created_at\": \"2023-05-11T08:19:36.315Z\",\n            \"updated_at\": \"2023-05-11T08:19:36.695Z\",\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"archived\": false,\n            \"meta\": {},\n            \"customer\": {\n                \"payment_source\": {\n                    \"type\": \"gift_card\",\n                    \"gateway_id\": \"6374efbfd7dd8a6da88028a3\",\n                    \"gateway_name\": \"Vii\",\n                    \"gateway_type\": \"Vii\"\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"645ca5189e20285ac6dac651\",\n                    \"amount\": 200,\n                    \"amount_fee\": null,\n                    \"type\": \"balance\",\n                    \"status\": \"complete\",\n                    \"created_at\": \"2023-05-11T08:19:36.331Z\",\n                    \"updated_at\": \"2023-05-11T08:19:36.695Z\",\n                    \"include_authorization\": false,\n                    \"_source_ip_address\": \"54.86.50.139\",\n                    \"service_logs\": []\n                }\n            ]\n        }\n    }\n}"},{"id":"c44f1830-4978-41e0-82bc-e320568af5fc","name":"check balance with vault token reference","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}"}],"body":{"mode":"raw","raw":"{\n    \"customer\": {\n        \"payment_source\": {\n            \"vault_token_reference\": \"49837263849382745\",\n            \"gateway_id\": \"6374efbfd7dd8a6da88028a3\"\n        }\n    }\n    \n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/balance"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 May 2023 08:19:36 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"x-monitoring-acl-permission","value":"charges:balance"},{"key":"x-monitoring-acl-scope-id","value":"5d305bfbfac31b4448c738d7"},{"key":"x-monitoring-acl-ip","value":"54.86.50.139"},{"key":"x-monitoring-acl-scope","value":"company"},{"key":"x-monitoring-charge-customer-payment-source-type","value":"gift_card"},{"key":"x-monitoring-charge-status","value":"complete"},{"key":"x-monitoring-charge-type","value":"balance"},{"key":"x-monitoring-charge-customer-payment-source-service-id","value":"6374efbfd7dd8a6da88028a3"},{"key":"x-monitoring-charge-customer-payment-source-service-type","value":"Vii"},{"key":"x-external-duration","value":"0"},{"key":"x-retry-delay","value":"0"},{"key":"x-correlation-id","value":"4d2f352b-3592-4110-bf2d-e41662fcfd37"},{"key":"etag","value":"W/\"345-Ut3AOhVW4nzUz9Gt5xZKhSyV/5c\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charges\",\n        \"data\": {\n            \"_id\": \"645ca5189e20285ac6dac64e\",\n            \"amount\": 200,\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"type\": \"balance\",\n            \"status\": \"complete\",\n            \"capture\": true,\n            \"authorization\": false,\n            \"one_off\": true,\n            \"amount_surcharge\": null,\n            \"amount_original\": null,\n            \"created_at\": \"2023-05-11T08:19:36.315Z\",\n            \"updated_at\": \"2023-05-11T08:19:36.695Z\",\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"archived\": false,\n            \"meta\": {},\n            \"customer\": {\n                \"payment_source\": {\n                    \"type\": \"gift_card\",\n                    \"gateway_id\": \"6374efbfd7dd8a6da88028a3\",\n                    \"gateway_name\": \"Vii\",\n                    \"gateway_type\": \"Vii\",\n                    \"vault_token_reference\": \"49837263849382745\",\n                    \"vault_token\": \"37d80a15-d5d7-40a4-a5eb-bc811a3476fc\"\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"645ca5189e20285ac6dac651\",\n                    \"amount\": 200,\n                    \"amount_fee\": null,\n                    \"type\": \"balance\",\n                    \"status\": \"complete\",\n                    \"created_at\": \"2023-05-11T08:19:36.331Z\",\n                    \"updated_at\": \"2023-05-11T08:19:36.695Z\",\n                    \"include_authorization\": false,\n                    \"_source_ip_address\": \"54.86.50.139\",\n                    \"service_logs\": []\n                }\n            ]\n        }\n    }\n}"},{"id":"2d03e19a-935f-4578-bfd6-88c5e396f3ff","name":"check balance error","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}"}],"body":{"mode":"raw","raw":"{\n    \"customer\": {\n        \"payment_source\": {\n            \"type\": \"gift_card\",\n            \"card_number\": \"62734010001001843\",\n            \"card_pin\": \"8373\",\n            \"gateway_id\": \"65c1c0be93302dbcece62536\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/balance"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 May 2023 08:19:36 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"x-monitoring-acl-permission","value":"charges:balance"},{"key":"x-monitoring-acl-scope-id","value":"5d305bfbfac31b4448c738d7"},{"key":"x-monitoring-acl-ip","value":"54.86.50.139"},{"key":"x-monitoring-acl-scope","value":"company"},{"key":"x-monitoring-charge-customer-payment-source-type","value":"gift_card"},{"key":"x-monitoring-charge-status","value":"complete"},{"key":"x-monitoring-charge-type","value":"balance"},{"key":"x-monitoring-charge-customer-payment-source-service-id","value":"6374efbfd7dd8a6da88028a3"},{"key":"x-monitoring-charge-customer-payment-source-service-type","value":"Vii"},{"key":"x-external-duration","value":"0"},{"key":"x-retry-delay","value":"0"},{"key":"x-correlation-id","value":"4d2f352b-3592-4110-bf2d-e41662fcfd37"},{"key":"etag","value":"W/\"345-Ut3AOhVW4nzUz9Gt5xZKhSyV/5c\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Invalid Transaction Details\",\n        \"code\": \"invalid_transaction_details\",\n        \"details\": {\n            \"path\": \"\",\n            \"messages\": [\n                {\n                    \"gateway_specific_code\": \"9\",\n                    \"gateway_specific_description\": \"Invalid PIN\",\n                    \"description\": \"Invalid Transaction Details\",\n                    \"status_code\": null,\n                    \"status_code_description\": null\n                }\n            ]\n        }\n    },\n    \"resource\": {\n        \"data\": {\n            \"_id\": \"65c1c6129e8ab612df2d0366\",\n            \"amount\": 0,\n            \"company_id\": \"60ff9758f7a6ec07099a2339\",\n            \"type\": \"balance\",\n            \"status\": \"failed\",\n            \"capture\": true,\n            \"authorization\": false,\n            \"one_off\": true,\n            \"created_at\": \"2024-02-06T05:39:30.494Z\",\n            \"updated_at\": \"2024-02-06T05:39:30.821Z\",\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"archived\": false,\n            \"meta\": {},\n            \"customer\": {\n                \"payment_source\": {\n                    \"type\": \"gift_card\",\n                    \"gateway_id\": \"65c1c0be93302dbcece62536\",\n                    \"gateway_name\": \"Vii\",\n                    \"gateway_type\": \"Vii\",\n                    \"gift_card_number\": \"62734010001001843\"\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"65c1c6129e8ab612df2d0367\",\n                    \"amount\": 0,\n                    \"type\": \"balance\",\n                    \"status\": \"failed\",\n                    \"created_at\": \"2024-02-06T05:39:30.513Z\",\n                    \"error_message\": \"Invalid Transaction Details\",\n                    \"updated_at\": \"2024-02-06T05:39:30.821Z\",\n                    \"include_authorization\": false,\n                    \"processed_at\": \"2024-02-06T05:39:30.821Z\",\n                    \"gateway_specific_code\": \"9\",\n                    \"gateway_specific_description\": \"Invalid PIN\",\n                    \"error_code\": \"invalid_transaction_details\",\n                    \"_source_ip_address\": \"54.79.80.148\",\n                    \"service_logs\": []\n                }\n            ]\n        },\n        \"type\": \"charge\"\n    },\n    \"error_summary\": {\n        \"message\": \"Invalid Transaction Details\",\n        \"code\": \"invalid_transaction_details\",\n        \"details\": {\n            \"gateway_specific_code\": \"9\",\n            \"gateway_specific_description\": \"Invalid PIN\",\n            \"messages\": [ \"Invalid Transaction Details\" ] \n        }\n    }\n}"},{"id":"9a10bc7e-ca5b-468f-9bc7-08e3a9592fef","name":"check balance invalid PIN error (Vii only)","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}"}],"body":{"mode":"raw","raw":"{\n    \"customer\": {\n        \"payment_source\": {\n            \"type\": \"gift_card\",\n            \"card_number\": \"62734010000339970\",\n            \"card_pin\": \"0000\",\n            \"gateway_id\": \"6734b711e066010af9af5867\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/balance"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 May 2023 08:19:36 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"x-monitoring-acl-permission","value":"charges:balance"},{"key":"x-monitoring-acl-scope-id","value":"5d305bfbfac31b4448c738d7"},{"key":"x-monitoring-acl-ip","value":"54.86.50.139"},{"key":"x-monitoring-acl-scope","value":"company"},{"key":"x-monitoring-charge-customer-payment-source-type","value":"gift_card"},{"key":"x-monitoring-charge-status","value":"complete"},{"key":"x-monitoring-charge-type","value":"balance"},{"key":"x-monitoring-charge-customer-payment-source-service-id","value":"6374efbfd7dd8a6da88028a3"},{"key":"x-monitoring-charge-customer-payment-source-service-type","value":"Vii"},{"key":"x-external-duration","value":"0"},{"key":"x-retry-delay","value":"0"},{"key":"x-correlation-id","value":"4d2f352b-3592-4110-bf2d-e41662fcfd37"},{"key":"etag","value":"W/\"345-Ut3AOhVW4nzUz9Gt5xZKhSyV/5c\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Invalid Transaction Details\",\n        \"code\": \"invalid_transaction_details\",\n        \"details\": {\n            \"path\": \"\",\n            \"messages\": [\n                {\n                    \"gateway_specific_code\": \"9\",\n                    \"gateway_specific_description\": \"Invalid PIN\",\n                    \"description\": \"Invalid Transaction Details\",\n                    \"status_code\": null,\n                    \"status_code_description\": null\n                }\n            ]\n        }\n    },\n    \"resource\": {\n        \"data\": {\n            \"_id\": \"6734b7a1e3e1887dcc4bfa1c\",\n            \"amount\": 0,\n            \"company_id\": \"6734b03ee3e1887dcc4bf988\",\n            \"type\": \"balance\",\n            \"status\": \"failed\",\n            \"capture\": true,\n            \"authorization\": false,\n            \"one_off\": true,\n            \"created_at\": \"2024-11-13T14:28:49.425Z\",\n            \"updated_at\": \"2024-11-13T14:28:49.683Z\",\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"archived\": false,\n            \"meta\": {},\n            \"customer\": {\n                \"payment_source\": {\n                    \"type\": \"gift_card\",\n                    \"gateway_id\": \"6734b711e066010af9af5867\",\n                    \"gateway_name\": \"Vii\",\n                    \"gateway_type\": \"Vii\",\n                    \"vault_token\": null,\n                    \"gift_card_number\": \"62734010000339970\"\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"6734b7a1e3e1887dcc4bfa1f\",\n                    \"amount\": 0,\n                    \"type\": \"balance\",\n                    \"status\": \"failed\",\n                    \"created_at\": \"2024-11-13T14:28:49.437Z\",\n                    \"error_message\": \"Invalid Transaction Details\",\n                    \"updated_at\": \"2024-11-13T14:28:49.683Z\",\n                    \"include_authorization\": false,\n                    \"processed_at\": \"2024-11-13T14:28:49.683Z\",\n                    \"gateway_specific_code\": \"9\",\n                    \"gateway_specific_description\": \"Invalid PIN\",\n                    \"error_code\": \"invalid_transaction_details\",\n                    \"_source_ip_address\": \"159.224.1.178\",\n                    \"service_logs\": []\n                }\n            ]\n        },\n        \"type\": \"charge\"\n    },\n    \"error_summary\": {\n        \"message\": \"Invalid Transaction Details\",\n        \"code\": \"invalid_transaction_details\",\n        \"details\": {\n            \"messages\": [\n                {\n                    \"gateway_specific_code\": \"9\",\n                    \"gateway_specific_description\": \"Invalid PIN\",\n                    \"description\": \"Invalid Transaction Details\",\n                    \"status_code\": null,\n                    \"status_code_description\": null\n                }\n            ]\n        }\n    }\n}"},{"id":"5645a5e8-785a-4424-a78c-a5e6bfc908b9","name":"check balance locked card error (Vii only)","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}"}],"body":{"mode":"raw","raw":"{\n    \"customer\": {\n        \"payment_source\": {\n            \"type\": \"gift_card\",\n            \"card_number\": \"62734010000339970\",\n            \"card_pin\": \"0000\",\n            \"gateway_id\": \"6734b711e066010af9af5867\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/balance"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 May 2023 08:19:36 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"x-monitoring-acl-permission","value":"charges:balance"},{"key":"x-monitoring-acl-scope-id","value":"5d305bfbfac31b4448c738d7"},{"key":"x-monitoring-acl-ip","value":"54.86.50.139"},{"key":"x-monitoring-acl-scope","value":"company"},{"key":"x-monitoring-charge-customer-payment-source-type","value":"gift_card"},{"key":"x-monitoring-charge-status","value":"complete"},{"key":"x-monitoring-charge-type","value":"balance"},{"key":"x-monitoring-charge-customer-payment-source-service-id","value":"6374efbfd7dd8a6da88028a3"},{"key":"x-monitoring-charge-customer-payment-source-service-type","value":"Vii"},{"key":"x-external-duration","value":"0"},{"key":"x-retry-delay","value":"0"},{"key":"x-correlation-id","value":"4d2f352b-3592-4110-bf2d-e41662fcfd37"},{"key":"etag","value":"W/\"345-Ut3AOhVW4nzUz9Gt5xZKhSyV/5c\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Invalid Transaction Details\",\n        \"code\": \"invalid_transaction_details\",\n        \"details\": {\n            \"path\": \"\",\n            \"messages\": [\n                {\n                    \"gateway_specific_code\": \"9:LOCKOUT\",\n                    \"gateway_specific_description\": \"The card has been temporarily locked. It will be unlocked on 14/11/2024 9:13:07 PM\",\n                    \"description\": \"Invalid Transaction Details\",\n                    \"status_code\": null,\n                    \"status_code_description\": null\n                }\n            ]\n        }\n    },\n    \"resource\": {\n        \"data\": {\n            \"_id\": \"6735dded66bfe946d858a0f9\",\n            \"amount\": 0,\n            \"company_id\": \"6734b03ee3e1887dcc4bf988\",\n            \"type\": \"balance\",\n            \"status\": \"failed\",\n            \"capture\": true,\n            \"authorization\": false,\n            \"one_off\": true,\n            \"created_at\": \"2024-11-14T11:24:29.339Z\",\n            \"updated_at\": \"2024-11-14T11:24:29.704Z\",\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"archived\": false,\n            \"meta\": {},\n            \"customer\": {\n                \"payment_source\": {\n                    \"type\": \"gift_card\",\n                    \"gateway_id\": \"6734b711e066010af9af5867\",\n                    \"gateway_name\": \"Vii\",\n                    \"gateway_type\": \"Vii\",\n                    \"vault_token\": null,\n                    \"gift_card_number\": \"62734010000339970\"\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"6735dded66bfe946d858a0fc\",\n                    \"amount\": 0,\n                    \"type\": \"balance\",\n                    \"status\": \"failed\",\n                    \"created_at\": \"2024-11-14T11:24:29.355Z\",\n                    \"error_message\": \"Invalid Transaction Details\",\n                    \"updated_at\": \"2024-11-14T11:24:29.704Z\",\n                    \"include_authorization\": false,\n                    \"processed_at\": \"2024-11-14T11:24:29.704Z\",\n                    \"gateway_specific_code\": \"9:LOCKOUT\",\n                    \"gateway_specific_description\": \"The card has been temporarily locked. It will be unlocked on 14/11/2024 9:13:07 PM\",\n                    \"error_code\": \"invalid_transaction_details\",\n                    \"_source_ip_address\": \"159.224.1.178\",\n                    \"service_logs\": []\n                }\n            ]\n        },\n        \"type\": \"charge\"\n    },\n    \"error_summary\": {\n        \"message\": \"Invalid Transaction Details\",\n        \"code\": \"invalid_transaction_details\",\n        \"details\": {\n            \"messages\": [\n                {\n                    \"gateway_specific_code\": \"9:LOCKOUT\",\n                    \"gateway_specific_description\": \"The card has been temporarily locked. It will be unlocked on 14/11/2024 9:13:07 PM\",\n                    \"description\": \"Invalid Transaction Details\",\n                    \"status_code\": null,\n                    \"status_code_description\": null\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"68c6f0f7-937a-4da4-a863-8bbcb82ca552"},{"name":"split fraud","id":"ed1d3ec7-8417-4611-a439-eaa492fe4ab5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"<p>This is your PayDock API Secret Key</p>\n"},{"key":"Content-Type","value":"application/json","description":"<p>Content-Type will always be application/json</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 10,\n    \"currency\": \"USD\",\n    \"first_name\": \"Wanda\",\n    \"last_name\": \"Mertz\",\n    \"customer\": {\n        \"payment_source\": {\n            \"items\": [\n                {\n                    \"amount\": 3,\n                    \"vault_token\": \"e4fb7389-3efc-4b39-b9a6-8d71466c6169\"\n                },\n                {\n                    \"amount\": 7,\n                    \"vault_token\": \"ff3ed811-47ef-4b1f-9ab0-816861ef2b5\"\n                }\n            ]\n        }\n    },\n    \"fraud\": {\n        \"service_id\": \"61518e99ea9aea650e28e8ba\",\n        \"data\": {}\n    }\n}"},"url":"{{url}}/v1/charges/split-fraud","description":"<p>A split fraud charge is a one-off charge that allows performing a standalone fraud check with few payment sources separately from the sale transaction to be able to gather and validate fraud data.</p>\n<h2 id=\"flows\">Flows</h2>\n<p>You can create a charge using:</p>\n<ol>\n<li><p>Vault Token</p>\n</li>\n<li><p>Vault Token Reference</p>\n</li>\n<li><p>Credit Card</p>\n</li>\n</ol>\n<h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required [flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>+</td>\n<td>float</td>\n<td>An amount of the payment</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>+</td>\n<td>string (iso4217 alpha-3)</td>\n<td>The currency code</td>\n</tr>\n<tr>\n<td>description</td>\n<td>-</td>\n<td>string</td>\n<td>A manually defined description for payments in payment systems</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>A manually defined reference for payments in payment systems</td>\n</tr>\n<tr>\n<td>customer</td>\n<td>+</td>\n<td>object</td>\n<td>An object with the customer’s information</td>\n</tr>\n<tr>\n<td>customer.first_name</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's first name</td>\n</tr>\n<tr>\n<td>customer.last_name</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's last name</td>\n</tr>\n<tr>\n<td>customer.email</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's email</td>\n</tr>\n<tr>\n<td>customer.phone</td>\n<td>-</td>\n<td>string(E.164)</td>\n<td>A customer's phone in the E.164 international notation (Example: +12345678901)</td>\n</tr>\n<tr>\n<td>customer.reference</td>\n<td>-</td>\n<td>string</td>\n<td>A manually defined reference for customer</td>\n</tr>\n<tr>\n<td>customer.payment_source</td>\n<td>+</td>\n<td>object</td>\n<td>An object with payment information</td>\n</tr>\n<tr>\n<td>customer.payment_source.vault_token</td>\n<td>+1</td>\n<td>string(UUID)</td>\n<td>A vault token ID (permanent or session)</td>\n</tr>\n<tr>\n<td>customer.payment_source.vault_token_reference</td>\n<td>+2</td>\n<td>string (UUID, alphanumeric, digits)</td>\n<td>A unique identifier assigned to each vault token upon creation</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>Address line 1 for payment source</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>Address line 2 for payment source</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_city</td>\n<td>-</td>\n<td>string</td>\n<td>Address city for payment source</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_state</td>\n<td>-</td>\n<td>string</td>\n<td>Address state for payment source</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_country</td>\n<td>-</td>\n<td>string</td>\n<td>Address country for payment source</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>Address postcode for payment source</td>\n</tr>\n<tr>\n<td>customer.payment_source.items</td>\n<td>+</td>\n<td>object</td>\n<td>An object with the payment items information</td>\n</tr>\n<tr>\n<td>customer.payment_source.items.vault_token</td>\n<td>+</td>\n<td>string (uiid)</td>\n<td>A vault token ID</td>\n</tr>\n<tr>\n<td>customer.payment_source.items.amount</td>\n<td>-</td>\n<td>float</td>\n<td>The amount for particular payment source</td>\n</tr>\n<tr>\n<td>customer.payment_source.items.card_name</td>\n<td>+3</td>\n<td>string</td>\n<td>Cardholder name (as on card)</td>\n</tr>\n<tr>\n<td>customer.payment_source.items.card_number</td>\n<td>+3</td>\n<td>string</td>\n<td>Card number</td>\n</tr>\n<tr>\n<td>customer.payment_source.items.expire_month</td>\n<td>+3</td>\n<td>string (mm)</td>\n<td>Card expiration month mm</td>\n</tr>\n<tr>\n<td>customer.payment_source.items.expire_year</td>\n<td>+3</td>\n<td>string (yyyy)</td>\n<td>Card expiration year</td>\n</tr>\n<tr>\n<td>fraud</td>\n<td>-</td>\n<td>object</td>\n<td>A fraud payload</td>\n</tr>\n<tr>\n<td>fraud.service_id</td>\n<td>-</td>\n<td>string (24 hex characters)</td>\n<td>The ID of the connected fraud service</td>\n</tr>\n<tr>\n<td>fraud.data</td>\n<td>-</td>\n<td>object</td>\n<td>Fraud data received by Paydock and sent to the fraud service. Note: Paydock does not validate or modify this data in any way</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","charges","split-fraud"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"4c5fa687-0554-4c43-9197-584d5c44c2aa","name":"split fraud with vault token","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 10,\n    \"currency\": \"USD\",\n    \"first_name\": \"Wanda\",\n    \"last_name\": \"Mertz\",\n    \"customer\": {\n        \"payment_source\": {\n            \"items\": [\n                {\n                    \"amount\": 3,\n                    \"vault_token\": \"e4fb7389-3efc-4b39-b9a6-8d71466c6169\"\n                },\n                {\n                    \"amount\": 7,\n                    \"vault_token\": \"ff3ed811-47ef-4b1f-9ab0-816861ef2b5\"\n                }\n            ]\n        }\n    },\n    \"fraud\": {\n        \"service_id\": \"61518e99ea9aea650e28e8ba\",\n        \"data\": {}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/split-fraud"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"513-7c0+gq5EBfuKcwmXX7r16ctS/q0\""},{"key":"date","value":"Tue, 12 Oct 2021 11:25:25 GMT"},{"key":"connection","value":"close"},{"key":"Content-Length","value":"1299"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"616570a2d475c4b805f2acff\",\n            \"amount\": 10,\n            \"currency\": \"USD\",\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"type\": \"split_fraud\",\n            \"status\": \"complete\",\n            \"external_id\": \"576e7724-6aed-4e55-93f4-8cfb5046a7cb\",\n            \"capture\": true,\n            \"one_off\": true,\n            \"amount_surcharge\": null,\n            \"amount_original\": null,\n            \"created_at\": \"2021-10-12T11:25:22.748Z\",\n            \"updated_at\": \"2021-10-12T11:25:25.105Z\",\n            \"shipping\": {\n                \"contact\": {}\n            },\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"archived\": false,\n            \"_3ds\": {},\n            \"fraud\": {\n                \"service_id\": \"5f58ed3b1f3a4238e1d73082\",\n                \"mode\": \"active\"\n            },\n            \"meta\": {},\n            \"customer\": {\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"payment_source\": {\n                    \"type\": \"multi\",\n                    \"items\": [\n                        {\n                            \"type\": \"card\",\n                            \"amount\": 3,\n                            \"card_name\": \"Test Card\",\n                            \"card_number_last4\": \"4242\",\n                            \"card_scheme\": \"visa\",\n                            \"expire_year\": 2028,\n                            \"expire_month\": 10\n                        },\n                        {\n                            \"type\": \"card\",\n                            \"amount\": 7,\n                            \"card_name\": \"Normal Card\",\n                            \"card_number_last4\": \"4242\",\n                            \"card_scheme\": \"visa\",\n                            \"expire_year\": 2034,\n                            \"expire_month\": 12\n                        }\n                    ]\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"616570a3d475c4b805f2ad00\",\n                    \"external_id\": \"576e7724-6aed-4e55-93f4-8cfb5046a7cb\",\n                    \"amount\": 10,\n                    \"amount_fee\": null,\n                    \"currency\": \"USD\",\n                    \"type\": \"fraud\",\n                    \"status\": \"complete\",\n                    \"created_at\": \"2021-10-12T11:25:23.509Z\",\n                    \"updated_at\": \"2021-10-12T11:25:24.372Z\",\n                    \"include_authorization\": false,\n                    \"_source_ip_address\": \"127.0.0.1\",\n                    \"_3ds\": {},\n                    \"service_logs\": [],\n                    \"fraud\": {\n                        \"status\": \"approve\",\n                        \"score\": \"1000\",\n                        \"specific_code\": null,\n                        \"specific_message\": \"Country Not Equal to US;Total Amount Greater Than 500:500\"\n                    }\n                }\n            ]\n        }\n    }\n}"},{"id":"0a74c86f-1e88-4ace-a883-0bf5b818735e","name":"split fraud with vault token reference","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 10,\n    \"currency\": \"USD\",\n    \"first_name\": \"Wanda\",\n    \"last_name\": \"Mertz\",\n    \"customer\": {\n        \"payment_source\": {\n            \"items\": [\n                {\n                    \"amount\": 3,\n                    \"vault_token_reference\": \"49837263849382745\"\n                },\n                {\n                    \"amount\": 7,\n                    \"vault_token_reference\": \"49837263849382745\"\n                }\n            ]\n        }\n    },\n    \"fraud\": {\n        \"service_id\": \"61518e99ea9aea650e28e8ba\",\n        \"data\": {}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/charges/split-fraud"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"513-7c0+gq5EBfuKcwmXX7r16ctS/q0\""},{"key":"date","value":"Tue, 12 Oct 2021 11:25:25 GMT"},{"key":"connection","value":"close"},{"key":"Content-Length","value":"1299"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"616570a2d475c4b805f2acff\",\n            \"amount\": 10,\n            \"currency\": \"USD\",\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"type\": \"split_fraud\",\n            \"status\": \"complete\",\n            \"external_id\": \"576e7724-6aed-4e55-93f4-8cfb5046a7cb\",\n            \"capture\": true,\n            \"one_off\": true,\n            \"amount_surcharge\": null,\n            \"amount_original\": null,\n            \"created_at\": \"2021-10-12T11:25:22.748Z\",\n            \"updated_at\": \"2021-10-12T11:25:25.105Z\",\n            \"shipping\": {\n                \"contact\": {}\n            },\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"archived\": false,\n            \"_3ds\": {},\n            \"fraud\": {\n                \"service_id\": \"5f58ed3b1f3a4238e1d73082\",\n                \"mode\": \"active\"\n            },\n            \"meta\": {},\n            \"customer\": {\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"payment_source\": {\n                    \"type\": \"multi\",\n                    \"items\": [\n                        {\n                            \"type\": \"card\",\n                            \"amount\": 3,\n                            \"card_name\": \"Test Card\",\n                            \"card_number_last4\": \"4242\",\n                            \"card_scheme\": \"visa\",\n                            \"expire_year\": 2028,\n                            \"expire_month\": 10\n                        },\n                        {\n                            \"type\": \"card\",\n                            \"amount\": 7,\n                            \"card_name\": \"Normal Card\",\n                            \"card_number_last4\": \"4242\",\n                            \"card_scheme\": \"visa\",\n                            \"expire_year\": 2034,\n                            \"expire_month\": 12\n                        }\n                    ]\n                }\n            },\n            \"transactions\": [\n                {\n                    \"_id\": \"616570a3d475c4b805f2ad00\",\n                    \"external_id\": \"576e7724-6aed-4e55-93f4-8cfb5046a7cb\",\n                    \"amount\": 10,\n                    \"amount_fee\": null,\n                    \"currency\": \"USD\",\n                    \"type\": \"fraud\",\n                    \"status\": \"complete\",\n                    \"created_at\": \"2021-10-12T11:25:23.509Z\",\n                    \"updated_at\": \"2021-10-12T11:25:24.372Z\",\n                    \"include_authorization\": false,\n                    \"_source_ip_address\": \"127.0.0.1\",\n                    \"_3ds\": {},\n                    \"service_logs\": [],\n                    \"fraud\": {\n                        \"status\": \"approve\",\n                        \"score\": \"1000\",\n                        \"specific_code\": null,\n                        \"specific_message\": \"Country Not Equal to US;Total Amount Greater Than 500:500\"\n                    }\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"ed1d3ec7-8417-4611-a439-eaa492fe4ab5"},{"name":"abandon wallet charge","id":"a27c6740-f629-4704-8ae3-1ac1f08de418","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","value":"application/json"}],"url":"{{url}}/v1/charges/wallet/:charge_id/abandon","description":"<p>A charge that was previously initialized but for some reason not used in a wallet payment, is possible to specify abandon that wallet charge.</p>\n<p>Will work only for wallet charges only with status initialized.</p>\n<h2 id=\"request-params\">Request params</h2>\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>charge_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id of specific charge received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","charges","wallet",":charge_id","abandon"],"host":["{{url}}"],"query":[],"variable":[{"id":"66292795-2afa-40a1-a591-f1c6a227cfeb","description":{"content":"<p>Wallet initialized charge id</p>\n","type":"text/plain"},"type":"any","value":"","key":"charge_id"}]}},"response":[{"id":"8a905698-4c59-4101-a72e-d5f39feb5d58","name":"abandon wallet charge successful response","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/charges/wallet/:charge_id/abandon","host":["{{url}}"],"path":["v1","charges","wallet",":charge_id","abandon"],"variable":[{"key":"charge_id","value":"","description":"Wallet initialized charge id"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"67b49054029f23b601b409f1\",\n            \"amount\": 10,\n            \"currency\": \"AUD\",\n            \"reference\": \"97b961c9-d58b-4d85-b7c0-c49796b06235\",\n            \"reference2\": \"97b961c9-d58b-4d85-b7c0-c49796b06235\",\n            \"company_id\": \"5adacf0c30efdb1c6d055ae5\",\n            \"description\": \"description\",\n            \"type\": \"financial\",\n            \"status\": \"abandoned\",\n            \"capture\": true,\n            \"authorization\": false,\n            \"one_off\": true,\n            \"created_at\": \"2025-02-18T13:51:16.836Z\",\n            \"updated_at\": \"2025-02-18T13:51:45.845Z\",\n            \"shipping\": {\n                \"contact\": {}\n            },\n            \"schedule\": {\n                \"stopped\": false\n            },\n            \"archived\": false,\n            \"_3ds\": {},\n            \"fraud\": {},\n            \"meta\": {\n                \"store_id\": \"123\",\n                \"restrict_loyalty\": false,\n                \"restrict_gift_card\": true,\n                \"merchant_name\": \"456\"\n            },\n            \"customer\": {\n                \"last_name\": \"Mertz\",\n                \"first_name\": \"Wanda\",\n                \"email\": \"example@doc.com\",\n                \"phone\": \"+5555555555\",\n                \"payment_source\": {\n                    \"type\": \"wallet\",\n                    \"wallet_type\": \"flypay_v2\",\n                    \"gateway_id\": \"6745e1c79a66a4a868a2e551\",\n                    \"gateway_name\": \"FlypayV2\",\n                    \"gateway_type\": \"FlypayV2\"\n                }\n            },\n            \"transactions\": [],\n            \"items\": []\n        }\n    }\n}"},{"id":"1e23603a-d34c-4603-b7b6-b33453e25145","name":"abandon wallet charge wallet not in initialized status","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/charges/wallet/:charge_id/abandon","host":["{{url}}"],"path":["v1","charges","wallet",":charge_id","abandon"],"variable":[{"key":"charge_id","value":"","description":"Wallet initialized charge id"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Only wallet initialized charges could be abandoned\",\n        \"code\": \"UnfulfilledCondition\",\n        \"details\": {\n            \"path\": \"\",\n            \"messages\": []\n        }\n    },\n    \"resource\": {\n        \"type\": \"charge\"\n    },\n    \"error_summary\": {\n        \"message\": \"Only wallet initialized charges could be abandoned\",\n        \"code\": \"unfulfilled_condition\",\n        \"details\": {\n            \"messages\": []\n        }\n    }\n}"}],"_postman_id":"a27c6740-f629-4704-8ae3-1ac1f08de418"}],"id":"595d3eba-c965-4fb1-9bcc-aa2b8f673b2b","description":"<p>A сharge is a one-time payment that can be requested against any connected processing service.</p>\n<p>Charges can be created through one of the following payment instruments at Paydock. Charges can have different states (i.e. when used within a 3DS or anti-fraud workflow) and can be manipulated based on the various states.</p>\n<h2 id=\"conditions\">Conditions</h2>\n<p>The response is different depending on the following conditions:</p>\n<ol>\n<li><p>Created with a credit card payment source</p>\n</li>\n<li><p>Created with a bank account payment source</p>\n</li>\n<li><p>Created with an existing customer</p>\n</li>\n<li><p>Created by a subscription</p>\n</li>\n<li><p>Created with a transfer, using any of the payment options (e.g for Stripe connect)</p>\n</li>\n<li><p>Processed on a gateway with a failed status</p>\n</li>\n<li><p>Pre-auth charge</p>\n</li>\n<li><p>Charge with a pre-auth charge_id</p>\n</li>\n<li><p>Charge with a fraud check</p>\n</li>\n<li><p>Created with a vault token</p>\n</li>\n<li><p>Created with a vault token reference</p>\n</li>\n<li><p>Created with a checkout payment source type</p>\n</li>\n<li><p>Created with an external 3ds authentication results</p>\n</li>\n</ol>\n<h2 id=\"charge-resource\">Charge Resource</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>+</td>\n<td>float</td>\n<td>An amount of the payment</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>+</td>\n<td>string (iso4217 alpha-3)</td>\n<td>A currency code</td>\n</tr>\n<tr>\n<td>description</td>\n<td>-</td>\n<td>string</td>\n<td>A manually defined description for payments in payment systems</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>A manually defined reference for payments in payment systems</td>\n</tr>\n<tr>\n<td>_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>A charge ID for any future requests</td>\n</tr>\n<tr>\n<td>external_id</td>\n<td>+</td>\n<td>string</td>\n<td>An external ID of the transaction</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>+</td>\n<td>string(ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>A charge creation date</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>+</td>\n<td>string(ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>A date of the last charge update</td>\n</tr>\n<tr>\n<td>user_id</td>\n<td>-</td>\n<td>string (24 hex characters)</td>\n<td>An ID of an initiator of the request if the request was made by the personal token (from the dashboard)</td>\n</tr>\n<tr>\n<td>status</td>\n<td>+</td>\n<td>string</td>\n<td>An actual charge status. See the <em>status</em> table</td>\n</tr>\n<tr>\n<td>capture</td>\n<td>+</td>\n<td>bool</td>\n<td>Defines if the charge is automatically captured or only authorized</td>\n</tr>\n<tr>\n<td>authorization</td>\n<td>+</td>\n<td>bool</td>\n<td>Defines if the charge followed authorization flow</td>\n</tr>\n<tr>\n<td>one_off</td>\n<td>+</td>\n<td>bool</td>\n<td>For manual charges, it is always <em>true</em>; for subscriptions, it is always <em>false</em></td>\n</tr>\n<tr>\n<td>archived</td>\n<td>+</td>\n<td>bool</td>\n<td>For newly created charges, it is always <em>false</em>, it is set to <em>true</em> after manual archivation</td>\n</tr>\n<tr>\n<td>_source_ip_address</td>\n<td>+</td>\n<td>string</td>\n<td>The IP address of the initiator of the request, for subscription, it is 127.0.0.1 by default</td>\n</tr>\n<tr>\n<td>qr_content_url</td>\n<td>-</td>\n<td>string</td>\n<td>The QR content URL</td>\n</tr>\n<tr>\n<td>subscription_id</td>\n<td>+4</td>\n<td>string (24 hex characters)</td>\n<td>A subscription ID</td>\n</tr>\n<tr>\n<td>initialization_source</td>\n<td>-</td>\n<td>string</td>\n<td>Source of the transaction request</td>\n</tr>\n<tr>\n<td>customer</td>\n<td>+</td>\n<td>object</td>\n<td>An object with the customer’s information</td>\n</tr>\n<tr>\n<td>customer.customer_id</td>\n<td>+3</td>\n<td>string (24 hex characters)</td>\n<td>A customer ID</td>\n</tr>\n<tr>\n<td>customer.first_name</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's first name</td>\n</tr>\n<tr>\n<td>customer.last_name</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's last name</td>\n</tr>\n<tr>\n<td>customer.email</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's email</td>\n</tr>\n<tr>\n<td>customer.phone</td>\n<td>-</td>\n<td>string(E.164)</td>\n<td>A customer's phone in the E.164 international notation (Example: +12345678901)</td>\n</tr>\n<tr>\n<td>customer.payment_source</td>\n<td>+</td>\n<td>object</td>\n<td>An object with payment information</td>\n</tr>\n<tr>\n<td>customer.payment_source.source_id</td>\n<td>+3, -4</td>\n<td>string (24 hex characters)</td>\n<td>A payment source ID</td>\n</tr>\n<tr>\n<td>customer.payment_source.gateway_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>A gateway ID</td>\n</tr>\n<tr>\n<td>customer.payment_source.vault_token</td>\n<td>+10</td>\n<td>string (uuid)</td>\n<td>A vault token ID</td>\n</tr>\n<tr>\n<td>customer.payment_source.vault_type</td>\n<td>-</td>\n<td>string</td>\n<td>Indicates the type of vault used in the payment process. Possible values: <em>permanent</em>, <em>session.</em></td>\n</tr>\n<tr>\n<td>customer.payment_source.vault_token_reference</td>\n<td>+11</td>\n<td>string (uuid, alphanumeric, digits)</td>\n<td>A unique identifier assigned to each vault token upon creation</td>\n</tr>\n<tr>\n<td>customer.payment_source.gateway_type</td>\n<td>+</td>\n<td>string</td>\n<td>A type of the gateway</td>\n</tr>\n<tr>\n<td>customer.payment_source.gateway_name</td>\n<td>+</td>\n<td>string</td>\n<td>A custom name of the gateway</td>\n</tr>\n<tr>\n<td>customer.payment_source.type</td>\n<td>+</td>\n<td>string</td>\n<td>A type of the payment: <em>card</em> for payments with credit card, <em>bank_account</em> for direct debit payments, <em>checkout</em> for payments with a checkout agreement (checkout button) , ), <em>wallet</em> for payments with a wallet source (Apple/Google Pay, Flypay, Paypal Smart Button</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_name</td>\n<td>+1</td>\n<td>string</td>\n<td>A cardholder's name (as on card)</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_number_last4</td>\n<td>+1</td>\n<td>string(numeric)</td>\n<td>Card number last 4</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_number_bin</td>\n<td>+1</td>\n<td>string(numeric)</td>\n<td>Card BIN number</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_scheme</td>\n<td>+1</td>\n<td>string</td>\n<td>A cardholder's scheme (i.g. <em>visa</em>, <em>mastercard</em> etc...)</td>\n</tr>\n<tr>\n<td>customer.payment_source.expire_month</td>\n<td>+1</td>\n<td>string(mm)</td>\n<td>Card expiration month</td>\n</tr>\n<tr>\n<td>customer.payment_source.expire_year</td>\n<td>+1</td>\n<td>string(yyyy)</td>\n<td>Card expiration year</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_holder_accept_method</td>\n<td>-</td>\n<td>string</td>\n<td>The mechanism the cardholder used to accept the details</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_accept_type</td>\n<td>-</td>\n<td>string</td>\n<td>The type the cardholder used to accept the details</td>\n</tr>\n<tr>\n<td>customer.payment_source.account_name</td>\n<td>+2</td>\n<td>string</td>\n<td>A customer's account name</td>\n</tr>\n<tr>\n<td>customer.payment_source.account_number</td>\n<td>+2</td>\n<td>string</td>\n<td>A customer's account number</td>\n</tr>\n<tr>\n<td>customer.payment_source.account_bsb</td>\n<td>-2</td>\n<td>string</td>\n<td>A customer's bank state branch number</td>\n</tr>\n<tr>\n<td>customer.payment_source.account_routing</td>\n<td>-2</td>\n<td>string(numeric)</td>\n<td>A customer's account number: BSB/Routing/SWIFT/IBAN Number</td>\n</tr>\n<tr>\n<td>customer.payment_source.account_holder_type</td>\n<td>-2</td>\n<td>string</td>\n<td>An account type (<em>personal</em> or <em>business</em>)</td>\n</tr>\n<tr>\n<td>customer.payment_source.account_bank_name</td>\n<td>-2</td>\n<td>string</td>\n<td>An account bank name</td>\n</tr>\n<tr>\n<td>customer.payment_source.checkout_email</td>\n<td>+12</td>\n<td>string</td>\n<td>The email that was applied for the checkout agreement</td>\n</tr>\n<tr>\n<td>customer.payment_source.checkout_holder</td>\n<td>+12</td>\n<td>string</td>\n<td>The holder name of the account or wallet that was applied for the checkout agreement</td>\n</tr>\n<tr>\n<td>customer.payment_source.external_payer_id</td>\n<td>+12</td>\n<td>string</td>\n<td>The ID of a payer that was applied for the checkout agreement</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's address, line 1</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's address, line 2</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_state</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's address, state</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_country</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's address, country code</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_city</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's address, city</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's address, postcode</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_funding_method</td>\n<td>-1, -7, -8, -9, -10, -12</td>\n<td>string</td>\n<td>A source from which the funds are drawn to complete a transaction</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_issuer</td>\n<td>-1, -7, -8, -9, -10, -12</td>\n<td>string</td>\n<td>The issuer of the card</td>\n</tr>\n<tr>\n<td>customer.payment_source.network_token.token</td>\n<td>+</td>\n<td>string</td>\n<td>The network-issued card token</td>\n</tr>\n<tr>\n<td>customer.payment_source.network_token.cryptogram</td>\n<td>+</td>\n<td>string</td>\n<td>Cryptogram used to authenticate the tokenized payment</td>\n</tr>\n<tr>\n<td>customer.payment_source.network_token.eci</td>\n<td>+</td>\n<td>string</td>\n<td>Electronic Commerce Indicator value (e.g., \"05\", \"06\")</td>\n</tr>\n<tr>\n<td>customer.payment_source.network_token.token_expire_month</td>\n<td>+</td>\n<td>string(mm)</td>\n<td>Token expiration month</td>\n</tr>\n<tr>\n<td>customer.payment_source.network_token.token_expire_year</td>\n<td>+</td>\n<td>string(yyyy)</td>\n<td>Token expiration year</td>\n</tr>\n<tr>\n<td>transactions</td>\n<td>+</td>\n<td>array</td>\n<td>All transactions within the charge</td>\n</tr>\n<tr>\n<td>transactions[]._id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>An internal ID of the transaction</td>\n</tr>\n<tr>\n<td>transactions[].external_id</td>\n<td>+</td>\n<td>string</td>\n<td>An identifier of a transaction on a gateway side</td>\n</tr>\n<tr>\n<td>transactions[].external_reference</td>\n<td>+</td>\n<td>string</td>\n<td>An additional reference of a transaction on a gateway side</td>\n</tr>\n<tr>\n<td>transactions[].amount</td>\n<td>+</td>\n<td>float</td>\n<td>An amount of the transaction</td>\n</tr>\n<tr>\n<td>transactions[].amount_fee</td>\n<td>+</td>\n<td>float</td>\n<td>An amount fee of the transaction</td>\n</tr>\n<tr>\n<td>transactions[].amount_points</td>\n<td>-</td>\n<td>float</td>\n<td>An amount of money the user paid using points</td>\n</tr>\n<tr>\n<td>transactions[].points</td>\n<td>-</td>\n<td>float</td>\n<td>An amount of points used</td>\n</tr>\n<tr>\n<td>transactions[].currency</td>\n<td>+</td>\n<td>string (iso4217 alpha-3)</td>\n<td>A currency code of the transaction</td>\n</tr>\n<tr>\n<td>transactions[].type</td>\n<td>+</td>\n<td>string</td>\n<td>A type of the transaction: Look at <em>transaction types</em> table</td>\n</tr>\n<tr>\n<td>transactions[].status</td>\n<td>+</td>\n<td>string</td>\n<td>A status of the transaction: Look at <em>transaction status</em> table</td>\n</tr>\n<tr>\n<td>transactions[].created_at</td>\n<td>+</td>\n<td>string(ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>A transaction creation date</td>\n</tr>\n<tr>\n<td>transactions[].gateway_specific_code</td>\n<td>+6</td>\n<td>string</td>\n<td>An error code on the gateway side</td>\n</tr>\n<tr>\n<td>transactions[].gateway_specific_description</td>\n<td>+6</td>\n<td>string</td>\n<td>An internal or external error message</td>\n</tr>\n<tr>\n<td>transactions[].error_message</td>\n<td>+6, +9</td>\n<td>string</td>\n<td>An internal error message</td>\n</tr>\n<tr>\n<td>transactions[].error_code</td>\n<td>+6, +9</td>\n<td>string</td>\n<td>An internal error code</td>\n</tr>\n<tr>\n<td>transactions[].authorization_code</td>\n<td>-</td>\n<td>string</td>\n<td>A unique alphanumeric identifier generated by the card issuer which serves for confirming the approval of a payment transaction</td>\n</tr>\n<tr>\n<td>transactions[].fraud</td>\n<td>+9</td>\n<td>object, optional</td>\n<td>A fraud payload</td>\n</tr>\n<tr>\n<td>transactions[].fraud.status</td>\n<td>+9</td>\n<td>string</td>\n<td>A status after the fraud verification: Look at <em>Fraud status</em> table</td>\n</tr>\n<tr>\n<td>transactions[].fraud.specific_code</td>\n<td>+9</td>\n<td>string</td>\n<td>A fraud specific code</td>\n</tr>\n<tr>\n<td>transactions[].fraud.specific_message</td>\n<td>+9</td>\n<td>string</td>\n<td>A fraud specific message</td>\n</tr>\n<tr>\n<td>transactions[].fraud.score</td>\n<td>+9</td>\n<td>string</td>\n<td>A fraud score</td>\n</tr>\n<tr>\n<td>transactions[].fraud.source</td>\n<td>-1, -7, -10, -11</td>\n<td>string</td>\n<td>An external fraud source</td>\n</tr>\n<tr>\n<td>transactions[].fraud.external</td>\n<td>-1, -7, -10, -11</td>\n<td>bool</td>\n<td>Flag for external fraud</td>\n</tr>\n<tr>\n<td>transactions[].custom_fields</td>\n<td>-</td>\n<td>object</td>\n<td>The object of custom fields for a transaction. These fields are sent to the gateway if this option was enabled when the gateway was created or modified</td>\n</tr>\n<tr>\n<td>transactions[].custom_fields.any</td>\n<td>-</td>\n<td>string</td>\n<td>These fields can have any custom name and value</td>\n</tr>\n<tr>\n<td>transactions[].descriptor</td>\n<td>-</td>\n<td>string</td>\n<td>A descriptor of a transaction</td>\n</tr>\n<tr>\n<td>transactions[].channel_id</td>\n<td>-1, -3, -7, -10, -11</td>\n<td>string</td>\n<td>Channel identifier</td>\n</tr>\n<tr>\n<td>transactions[].wallet_id</td>\n<td>-1, -3, -7, -10, -11</td>\n<td>string</td>\n<td>Wallet identifier</td>\n</tr>\n<tr>\n<td>transactions[].card_acceptor</td>\n<td>-1, -3, -7, -10, -11</td>\n<td>object</td>\n<td>Contact information identifying the location from which the money transfer originates</td>\n</tr>\n<tr>\n<td>transactions[].card_acceptor.address_city</td>\n<td>-1, -3, -7, -10, -11</td>\n<td>string</td>\n<td>Card acceptor address city</td>\n</tr>\n<tr>\n<td>transactions[].card_acceptor.address_company</td>\n<td>-1, -3, -7, -10, -11</td>\n<td>string</td>\n<td>Card acceptor address company</td>\n</tr>\n<tr>\n<td>transactions[].card_acceptor.address_postcode</td>\n<td>-1, -3, -7, -10, -11</td>\n<td>string</td>\n<td>Card acceptor address postcode</td>\n</tr>\n<tr>\n<td>transactions[].card_acceptor.address_country</td>\n<td>-1, -3, -7, -10, -11</td>\n<td>string</td>\n<td>Card acceptor address country</td>\n</tr>\n<tr>\n<td>transactions[].card_acceptor.address_state</td>\n<td>-1, -3, -7, -10, -11</td>\n<td>string</td>\n<td>Card acceptor address state</td>\n</tr>\n<tr>\n<td>transactions[].card_acceptor.address_line1</td>\n<td>-1, -3, -7, -10, -11</td>\n<td>string</td>\n<td>Card acceptor address line 1</td>\n</tr>\n<tr>\n<td>transactions[].card_acceptor.address_line2</td>\n<td>-1, -3, -7, -10, -11</td>\n<td>string</td>\n<td>Card acceptor address line 2</td>\n</tr>\n<tr>\n<td>transactions[].card_acceptor.name</td>\n<td>-1, -3, -7, -10, -11</td>\n<td>string</td>\n<td>Card acceptor name</td>\n</tr>\n<tr>\n<td>transactions[].card_acceptor.phone</td>\n<td>-1, -3, -7, -10, -11</td>\n<td>string</td>\n<td>Card acceptor phone</td>\n</tr>\n<tr>\n<td>transactions[].amount_details</td>\n<td>-</td>\n<td>string</td>\n<td>Array of amount details</td>\n</tr>\n<tr>\n<td>transactions[].amount_details[].amount</td>\n<td>-</td>\n<td>number</td>\n<td>Amount details amount</td>\n</tr>\n<tr>\n<td>transactions[].amount_details[].currency</td>\n<td>-</td>\n<td>string</td>\n<td>Amount details currency</td>\n</tr>\n<tr>\n<td>transactions[].amount_details[].amount_points</td>\n<td>-</td>\n<td>number</td>\n<td>Amount details points amount</td>\n</tr>\n<tr>\n<td>transactions[].amount_details[].payment_source</td>\n<td>-</td>\n<td>object</td>\n<td>An object with payment information</td>\n</tr>\n<tr>\n<td>transactions[].amount_details[].payment_source.type</td>\n<td>-</td>\n<td>string</td>\n<td>Type of payment</td>\n</tr>\n<tr>\n<td>transactions[].amount_details[].payment_source.identifier</td>\n<td>-</td>\n<td>string</td>\n<td>Payment source identifier</td>\n</tr>\n<tr>\n<td>transactions[].amount_details[].payment_source.provider</td>\n<td>-</td>\n<td>string</td>\n<td>Payment source provider</td>\n</tr>\n<tr>\n<td>transactions[].amount_details[].payment_source.card_scheme</td>\n<td>-</td>\n<td>string</td>\n<td>Payment source scheme</td>\n</tr>\n<tr>\n<td>transactions[].amount_details[].payment_source.expire_month</td>\n<td>-</td>\n<td>string</td>\n<td>Payment source expire month</td>\n</tr>\n<tr>\n<td>transactions[].amount_details[].payment_source.expire_year</td>\n<td>-</td>\n<td>string</td>\n<td>Payment source expire year</td>\n</tr>\n<tr>\n<td>transactions[].amount_details[].payment_source.card_number_last4</td>\n<td>-</td>\n<td>string</td>\n<td>Payment source card number last 4 digits</td>\n</tr>\n<tr>\n<td>masked_pan</td>\n<td>-</td>\n<td>string</td>\n<td>Masked pan</td>\n</tr>\n<tr>\n<td>meta</td>\n<td>-</td>\n<td>object</td>\n<td>An optional object with specific fields for different gateways</td>\n</tr>\n<tr>\n<td>meta.stripe_direct_account_id</td>\n<td>-</td>\n<td>string</td>\n<td>An ID of an existing, connected Stripe account. It is used to create Stripe connect Direct Charges</td>\n</tr>\n<tr>\n<td>meta.stripe_application_fee</td>\n<td>-</td>\n<td>string</td>\n<td>A fee in cents that will be applied to the charge and transferred to the application owner’s Stripe account</td>\n</tr>\n<tr>\n<td>meta.stripe_destination_account_id</td>\n<td>-</td>\n<td>string</td>\n<td>An ID of an existing, connected Stripe account. It is used to create Stripe connect Destination Charges</td>\n</tr>\n<tr>\n<td>meta.stripe_destination_amount</td>\n<td>-</td>\n<td>string</td>\n<td>The amount to transfer to the destination account without creating an Application Fee</td>\n</tr>\n<tr>\n<td>meta.stripe_descriptor</td>\n<td>-</td>\n<td>string</td>\n<td>A Stripe statement descriptor suffix</td>\n</tr>\n<tr>\n<td>meta.securepay_fraud_guard</td>\n<td>-</td>\n<td>bool</td>\n<td>It applies only for Secure Pay and enables SecurePay fraud guard for this transaction</td>\n</tr>\n<tr>\n<td>meta.ip_address</td>\n<td>-</td>\n<td>string</td>\n<td>It applies only for Secure Pay and passes through the client's IP for fraud validation</td>\n</tr>\n<tr>\n<td>meta.customer_storage_number</td>\n<td>-</td>\n<td>string</td>\n<td>It applies for Bambora gateway only. This value dictates which account the card details will be stored against</td>\n</tr>\n<tr>\n<td>meta.tokenise_algorithm</td>\n<td>-</td>\n<td>number</td>\n<td>A Bambora algorithm ID for creating charges. (Default - 8, if not specified.)</td>\n</tr>\n<tr>\n<td>transfer</td>\n<td>-5</td>\n<td>object</td>\n<td>Object, optional</td>\n</tr>\n<tr>\n<td>transfer.stripe_transfer_group</td>\n<td>-</td>\n<td>string</td>\n<td>A transfer group ID (specific field for Stripe)</td>\n</tr>\n<tr>\n<td>transfer.items</td>\n<td>+</td>\n<td>array</td>\n<td>items</td>\n</tr>\n<tr>\n<td>transfer.items[].amount</td>\n<td>+</td>\n<td>float</td>\n<td>An amount of a transfer</td>\n</tr>\n<tr>\n<td>transfer.items[].currency</td>\n<td>+</td>\n<td>string (iso4217 alpha-3)</td>\n<td>A currency of a transfer</td>\n</tr>\n<tr>\n<td>transfer.items[].destination</td>\n<td>+</td>\n<td>string</td>\n<td>A transfer destination (e.g. Stripe destination account ID)</td>\n</tr>\n<tr>\n<td>_3ds</td>\n<td>+7, +8</td>\n<td>object</td>\n<td>A 3DS payload</td>\n</tr>\n<tr>\n<td>_3ds.token</td>\n<td>+</td>\n<td>string</td>\n<td>A token for the Client SDK (Canvas3ds)</td>\n</tr>\n<tr>\n<td>_3ds.authentication</td>\n<td>+13</td>\n<td>object</td>\n<td>Authentication payload</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result</td>\n<td>+13</td>\n<td>object</td>\n<td>Authentication result</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.reference</td>\n<td>-13</td>\n<td>string</td>\n<td>Authentication result reference id for tracking approved 3DS</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.reference_2</td>\n<td>-13</td>\n<td>string</td>\n<td>Authentication result reference id assigned upon testing and approval of 3DS</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.identifier</td>\n<td>-13</td>\n<td>string</td>\n<td>The unique transaction id assigned by the Directory Server (DS)</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.identifier_2</td>\n<td>-13</td>\n<td>string</td>\n<td>The unique transaction id assigned by the 3DS SDK</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.identifier_3</td>\n<td>-13</td>\n<td>string</td>\n<td>The unique transaction id assigned by the 3DS Server</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.identifier_4</td>\n<td>-13</td>\n<td>string</td>\n<td>The unique transaction id assigned by the Access Control Server (ACS)</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.identifier_5</td>\n<td>-13</td>\n<td>string</td>\n<td>The unique transaction id for AMEX transactions</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.type</td>\n<td>-13</td>\n<td>string</td>\n<td>Indicates the type of authentication</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.status</td>\n<td>-13</td>\n<td>string</td>\n<td>Indicates if a transaction is authenticated</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.status_2</td>\n<td>-13</td>\n<td>string</td>\n<td>A value used to indicate the result of an attempt to authenticate a cardholder</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.status_code</td>\n<td>-13</td>\n<td>string</td>\n<td>Indicates why the transaction status field has a specific value</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.ref_token</td>\n<td>+13</td>\n<td>string</td>\n<td>A payment system-specific token provided by the Access Control Server (ACS) or the Directory Server (DS)</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.cancellation</td>\n<td>-13</td>\n<td>string</td>\n<td>Indicates whether the authentication process was canceled</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.count</td>\n<td>-13</td>\n<td>string</td>\n<td>The number of authentication attempts made</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.version</td>\n<td>-13</td>\n<td>string</td>\n<td>The version of the 3DS authentication protocol used</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.whitelist</td>\n<td>-13</td>\n<td>object</td>\n<td>Authentication result whitelist</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.whitelist.status</td>\n<td>-13</td>\n<td>string</td>\n<td>The status of the trusted whitelist services communication</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.whitelist.source</td>\n<td>-13</td>\n<td>string</td>\n<td>Values provided by Whitelist status</td>\n</tr>\n<tr>\n<td>_3ds.authentication.result.source</td>\n<td>-13</td>\n<td>string</td>\n<td>The source of the authentication result</td>\n</tr>\n<tr>\n<td>fraud</td>\n<td>+9</td>\n<td>Object</td>\n<td>A fraud payload</td>\n</tr>\n<tr>\n<td>fraud.service_id</td>\n<td>+9</td>\n<td>string (24 hex characters)</td>\n<td>An ID of the fraud service</td>\n</tr>\n<tr>\n<td>fraud.mode</td>\n<td>+9</td>\n<td>string</td>\n<td>A fraud service mode: look at <em>Fraud mode</em> table</td>\n</tr>\n<tr>\n<td>fraud.result</td>\n<td>-3, -6, -9</td>\n<td>object</td>\n<td>Fraud external result. Not supported alongside fraud_charge_id field</td>\n</tr>\n<tr>\n<td>fraud.result.source</td>\n<td>-3, -6, -9</td>\n<td>string</td>\n<td>Fraud external result source</td>\n</tr>\n<tr>\n<td>fraud.result.reason</td>\n<td>-3, -6, -9</td>\n<td>string</td>\n<td>Fraud external result reason</td>\n</tr>\n<tr>\n<td>fraud.result.specific_code</td>\n<td>-3, -6, -9</td>\n<td>string</td>\n<td>Fraud external result specific code</td>\n</tr>\n<tr>\n<td>fraud.result.specific_message</td>\n<td>-3, -6, -9</td>\n<td>string</td>\n<td>Fraud external result specific message</td>\n</tr>\n<tr>\n<td>fraud.result.status</td>\n<td>-3, -6, -9</td>\n<td>string</td>\n<td>Fraud external result status</td>\n</tr>\n<tr>\n<td>fraud.result.score</td>\n<td>-3, -6, -9</td>\n<td>string</td>\n<td>Fraud external result score</td>\n</tr>\n<tr>\n<td>shipping</td>\n<td>-</td>\n<td>Object</td>\n<td>A shipping payload</td>\n</tr>\n<tr>\n<td>shipping.amount</td>\n<td>-</td>\n<td>number</td>\n<td>Shipping amount</td>\n</tr>\n<tr>\n<td>shipping.address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping address line 1</td>\n</tr>\n<tr>\n<td>shipping.address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping address line 2</td>\n</tr>\n<tr>\n<td>shipping.address_line3</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping address line 3</td>\n</tr>\n<tr>\n<td>shipping.address_city</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping address city</td>\n</tr>\n<tr>\n<td>shipping.address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping address postal code</td>\n</tr>\n<tr>\n<td>shipping.address_state</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping address state</td>\n</tr>\n<tr>\n<td>shipping.address_country</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping address country</td>\n</tr>\n<tr>\n<td>shipping.address_company</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping address company</td>\n</tr>\n<tr>\n<td>shipping.address_origin_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping address origin postal code</td>\n</tr>\n<tr>\n<td>shipping.method</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping method</td>\n</tr>\n<tr>\n<td>shipping.type</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping type</td>\n</tr>\n<tr>\n<td>shipping.contact</td>\n<td>-</td>\n<td>Object</td>\n<td>Shipping contact payload</td>\n</tr>\n<tr>\n<td>shipping.contact.first_name</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping contact first name</td>\n</tr>\n<tr>\n<td>shipping.contact.last_name</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping contact last name</td>\n</tr>\n<tr>\n<td>shipping.contact.email</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping contact email</td>\n</tr>\n<tr>\n<td>shipping.contact.phone</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping contact phone</td>\n</tr>\n<tr>\n<td>shipping.contact.phone2</td>\n<td>-</td>\n<td>string</td>\n<td>Shipping contact phone 2</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"status\">Status</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>status</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>complete</td>\n<td>A charge is successful</td>\n</tr>\n<tr>\n<td>pending</td>\n<td>A charge awaits capture or cancel</td>\n</tr>\n<tr>\n<td>requested</td>\n<td>A charge was requested, but the gateway did not return the actual status (it is usually relevant for bank account transactions). The status will be updated later automatically by the schedule task</td>\n</tr>\n<tr>\n<td>failed</td>\n<td>The charge failed (see details of an error)</td>\n</tr>\n<tr>\n<td>refund_requested</td>\n<td>A refund was requested, but the gateway did not return the actual status (it usually requires some time). The status will be updated later automatically by the schedule task or manually by the specific endpoint</td>\n</tr>\n<tr>\n<td>void_requested</td>\n<td>A void was requested, but the connected service did not return the actual status. The status will be monitored by Paydock until a result is returned. It can also be manually checked</td>\n</tr>\n<tr>\n<td>capture_requested</td>\n<td>A capture was requested, but the connected service did not return the actual status. The status will be monitored by Paydock until a result is returned</td>\n</tr>\n<tr>\n<td>refund_void_requested</td>\n<td>A refund void was requested, but the connected service did not return the actual status. The status will be monitored by Paydock until a result is returned. It can also be manually checked</td>\n</tr>\n<tr>\n<td>refunded</td>\n<td>A refund is successful</td>\n</tr>\n<tr>\n<td>inprogress</td>\n<td>An intermediate status, short-lived</td>\n</tr>\n<tr>\n<td>held</td>\n<td>A type of charges created by subscriptions with the status 'held'</td>\n</tr>\n<tr>\n<td>not_authenticated</td>\n<td>Pre-auth (3ds) is not supported for such card. Applies to both inbuilt and standalone 3ds.</td>\n</tr>\n<tr>\n<td>pre_authenticated</td>\n<td>Pre-auth (3ds) is created successfully and accepted by the user. Applies to both inbuilt and standalone 3ds.</td>\n</tr>\n<tr>\n<td>pre_authentication_pending</td>\n<td>Pre-auth (3ds) is created successfully and awaits to be accepted by the user. Applies to both inbuilt and standalone 3ds.</td>\n</tr>\n<tr>\n<td>authentication_not_supported</td>\n<td>Pre-auth (3DS) is not supported for the card. Applies to inbuilt 3ds only.</td>\n</tr>\n<tr>\n<td>inreview</td>\n<td>A fraud service requested review and the fraud mode is <em>active</em></td>\n</tr>\n<tr>\n<td>declined</td>\n<td>A charge was declined after the <em>inreview</em> status</td>\n</tr>\n<tr>\n<td>cancelled</td>\n<td>A charge was cancelled</td>\n</tr>\n<tr>\n<td>refund_declined</td>\n<td>A charge refund was declined</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"transaction-types\">Transaction types</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>sale</td>\n<td>A payment transaction</td>\n</tr>\n<tr>\n<td>refund</td>\n<td>A refund transaction</td>\n</tr>\n<tr>\n<td>transfer</td>\n<td>A transfer transaction</td>\n</tr>\n<tr>\n<td>3ds</td>\n<td>A 3DS transaction</td>\n</tr>\n<tr>\n<td>cancel</td>\n<td>A cancel (void) transaction for reversing a payment before it is settled</td>\n</tr>\n<tr>\n<td>capture</td>\n<td>A capture transaction for securing a payment after its authorisation</td>\n</tr>\n<tr>\n<td>wallet</td>\n<td>A transaction processed with a WalletButton widget</td>\n</tr>\n<tr>\n<td>fraud</td>\n<td>A fraud transaction</td>\n</tr>\n<tr>\n<td>initialization</td>\n<td>A transaction used to initialize wallet flow</td>\n</tr>\n<tr>\n<td>standalone_3ds</td>\n<td>An initialization of 3DS transaction</td>\n</tr>\n<tr>\n<td>process_standalone_3ds</td>\n<td>An intemediate state for standalone 3DS authentication</td>\n</tr>\n<tr>\n<td>result_standalone_3ds</td>\n<td>A result of 3DS authentication</td>\n</tr>\n<tr>\n<td>balance</td>\n<td>A transaction used to check balance</td>\n</tr>\n<tr>\n<td>verification</td>\n<td>A verification transaction</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"transaction-status\">Transaction status</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>status</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>complete</td>\n<td>A complete direct or captured transaction</td>\n</tr>\n<tr>\n<td>failed</td>\n<td>A failed transaction or refund</td>\n</tr>\n<tr>\n<td>inprogress</td>\n<td>A system state of a transaction while it is sending a request to a payment gateway</td>\n</tr>\n<tr>\n<td>pending</td>\n<td>An authorized but not captured transaction</td>\n</tr>\n<tr>\n<td>capture_requested</td>\n<td>A capture was requested, but the connected service did not return the actual status. The status will be monitored by Paydock until a result is returned</td>\n</tr>\n<tr>\n<td>requested</td>\n<td>A refund pending status. After an automatic scheduled transaction check, it might go to 'complete' or 'failed'</td>\n</tr>\n<tr>\n<td>cancelled</td>\n<td>A cancelled transaction</td>\n</tr>\n<tr>\n<td>approved</td>\n<td>Approved, following optional fraud workflow</td>\n</tr>\n<tr>\n<td>review</td>\n<td>Review, following optional fraud workflow</td>\n</tr>\n<tr>\n<td>rejected</td>\n<td>Rejected, following optional fraud workflow</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"fraud-status\">Fraud status</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>status</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>approve</td>\n<td>A fraud service approved the transaction</td>\n</tr>\n<tr>\n<td>failed</td>\n<td>A fraud service verification failed</td>\n</tr>\n<tr>\n<td>review</td>\n<td>A fraud service needs additional verification</td>\n</tr>\n<tr>\n<td>reject</td>\n<td>A fraud service rejected the transaction</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"fraud-mode\">Fraud mode</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>mode</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>active</td>\n<td>Paydock will block charges based on fraud service responses</td>\n</tr>\n<tr>\n<td>passive</td>\n<td>Paydock will not affect the processing of the charge. A charge may be rejected for other reasons however the fraud service will not interfere directly</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"500ee046-1221-4f83-8088-1ed51318abf8","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9e478505-3bb8-409a-a40c-29a550a091d2","type":"text/javascript","exec":[""]}}],"_postman_id":"595d3eba-c965-4fb1-9bcc-aa2b8f673b2b"},{"name":"customers","item":[{"name":"create","id":"43baa31d-4dc4-4058-a0c2-c55463ffe102","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Wanda\",\n    \"payment_source\": {\n        \"gateway_id\": \"5cbede1f151b842653e987be\",\n        \"card_name\": \"Wanda Mertz\",\n        \"card_number\": \"4242424242424242\",\n        \"expire_month\": \"09\",\n        \"expire_year\": \"21\",\n        \"card_ccv\": \"123\"\n    }\n}"},"url":"{{url}}/v1/customers","description":"<h2 id=\"flow\">Flow</h2>\n<p>You can create a customer using:</p>\n<ol>\n<li><p>Created with credit card payment source</p>\n</li>\n<li><p>Created with the bank account payment source</p>\n</li>\n<li><p>Create with one-time token</p>\n</li>\n<li><p>Create with permanent vault token</p>\n</li>\n<li><p>Create with permanent vault token and without gateway Id</p>\n</li>\n<li><p>Create with vault token reference</p>\n</li>\n</ol>\n<h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>token</td>\n<td>+3</td>\n<td>string(UIID)</td>\n<td>One-time token with all the payment source information</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined reference for customer in payment systems</td>\n</tr>\n<tr>\n<td>description</td>\n<td>-</td>\n<td>string</td>\n<td>Customer description. This is customer internal description</td>\n</tr>\n<tr>\n<td>company_name</td>\n<td>-</td>\n<td>string</td>\n<td>Customer company name</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>-</td>\n<td>string</td>\n<td>Customer first name</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>-</td>\n<td>string</td>\n<td>Customer last name</td>\n</tr>\n<tr>\n<td>email</td>\n<td>-</td>\n<td>string</td>\n<td>Customer email</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>-</td>\n<td>string(E.164)</td>\n<td>Customer phone in E.164 international notation (Example: +12345678901)</td>\n</tr>\n<tr>\n<td>default_source</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>Payment source used by default</td>\n</tr>\n<tr>\n<td>payment_source</td>\n<td>+</td>\n<td>object</td>\n<td>Object with payment information</td>\n</tr>\n<tr>\n<td>payment_source.gateway_id</td>\n<td>-5</td>\n<td>string (24 hex characters)</td>\n<td>Gateway id</td>\n</tr>\n<tr>\n<td>payment_source.vault_token</td>\n<td>+4</td>\n<td>string (UIID)</td>\n<td>Vault token (permanent)</td>\n</tr>\n<tr>\n<td>payment_source.vault_token_reference</td>\n<td>+6</td>\n<td>string (UUID, alphanumeric, digits)</td>\n<td>A unique identifier assigned to each vault token upon creation</td>\n</tr>\n<tr>\n<td>payment_source.type</td>\n<td>+2</td>\n<td>string</td>\n<td>Type of payment. <em>card</em> for payment with credit card, <em>bank_account</em> for direct debit payments</td>\n</tr>\n<tr>\n<td>payment_source.card_name</td>\n<td>+1</td>\n<td>string</td>\n<td>Cardholder name (as on card)</td>\n</tr>\n<tr>\n<td>payment_source.card_number</td>\n<td>+1</td>\n<td>string(numeric)</td>\n<td>Card number</td>\n</tr>\n<tr>\n<td>payment_source.expire_month</td>\n<td>+1</td>\n<td>string(mm)</td>\n<td>Card expiration month mm</td>\n</tr>\n<tr>\n<td>payment_source.expire_year</td>\n<td>+1</td>\n<td>string(yyyy)</td>\n<td>Card expiration year</td>\n</tr>\n<tr>\n<td>payment_source.card_ccv</td>\n<td>-1</td>\n<td>string(numeric)</td>\n<td>Card CCV number</td>\n</tr>\n<tr>\n<td>payment_source.account_name</td>\n<td>+2</td>\n<td>string</td>\n<td>Customer account name.</td>\n</tr>\n<tr>\n<td>payment_source.account_number</td>\n<td>+2</td>\n<td>string</td>\n<td>Number of Customer account.</td>\n</tr>\n<tr>\n<td>payment_source.account_bsb</td>\n<td>-2</td>\n<td>string</td>\n<td>Customer bank state branch number.</td>\n</tr>\n<tr>\n<td>payment_source.account_routing</td>\n<td>-2</td>\n<td>string(numeric)</td>\n<td>Number of Customer account. BSB/Routing/SWIFT/IBAN Number.</td>\n</tr>\n<tr>\n<td>payment_source.account_holder_type</td>\n<td>-2</td>\n<td>string</td>\n<td>account type (<em>personal</em> or <em>business</em>)</td>\n</tr>\n<tr>\n<td>payment_source.account_bank_name</td>\n<td>-2</td>\n<td>string</td>\n<td>Name of account bank</td>\n</tr>\n<tr>\n<td>payment_source.address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, line 1</td>\n</tr>\n<tr>\n<td>payment_source.address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, line 2</td>\n</tr>\n<tr>\n<td>payment_source.address_state</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, State</td>\n</tr>\n<tr>\n<td>payment_source.address_country</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, Country Code</td>\n</tr>\n<tr>\n<td>payment_source.address_city</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, City</td>\n</tr>\n<tr>\n<td>payment_source.address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, Postcode</td>\n</tr>\n<tr>\n<td>payment_source.meta.customer_storage_number</td>\n<td>-</td>\n<td>string</td>\n<td>Identification of a customer on a gateway side for future payments binding (used by Bambora gateway)</td>\n</tr>\n<tr>\n<td>payment_source.meta.tokenise_algorithm</td>\n<td>-</td>\n<td>number</td>\n<td>Bambora alorithm Id for creating customers. (Default -2, if not specified.)</td>\n</tr>\n<tr>\n<td>meta.user_id</td>\n<td>-</td>\n<td>string</td>\n<td>existing user on payment system side (used by Assembly payments). Paydock matches customer on Assembly payments by this id, and adds new payment source</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","customers"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"6214871f-7396-4c5e-969d-14087acc2d15","name":"create with validation error","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"payment_source\": {\n        \"gateway_id\": \"5cbede1f151b842653e987be\",\n        \"vault_token\": \"0fd20631-509e-45c7-a8f0-f1f36d6ad292\"\n    }\n}"},"url":"{{url}}/v1/customers"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 27 May 2020 12:23:41 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"130"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"82-p6MwaBpbSc0MNJlpay9Khw\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Token Not found\",\n        \"details\": [\n            \"No Tokens found with provided id\"\n        ]\n    },\n    \"resource\": {\n        \"type\": \"customer\"\n    },\n    \"error_summary\": {\n        \"message\": \"Token Not found\",\n        \"code\": \"unspecified_error\",\n        \"details\": {\n            \"messages\": [\n                \"No Tokens found with provided id\"\n            ]\n        }\n    }\n}"},{"id":"ccc79547-0bab-4168-bf08-952e75f7ffa6","name":"create with credit card","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Wanda\",\n    \"payment_source\": {\n        \"gateway_id\": \"5cbede1f151b842653e987be\",\n        \"card_name\": \"Wanda Mertz\",\n        \"card_number\": \"4242424242424242\",\n        \"expire_month\": \"09\",\n        \"expire_year\": \"21\",\n        \"card_ccv\": \"123\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/customers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 27 May 2020 12:05:08 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"842"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"34a-AGQRzaQ/P4M4Vr1jsyYVYw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"customer\",\n        \"data\": {\n            \"__v\": 0,\n            \"created_at\": \"2020-05-27T12:05:08.157Z\",\n            \"updated_at\": \"2020-05-27T12:05:08.157Z\",\n            \"status\": \"active\",\n            \"default_source\": \"5ece57740654e0578ddf9c37\",\n            \"first_name\": \"Wanda\",\n            \"_id\": \"5ece57720654e0578ddf9c36\",\n            \"payment_destinations\": [],\n            \"payment_sources\": [\n                {\n                    \"updated_at\": \"2020-05-27T12:05:08.157Z\",\n                    \"vault_token\": \"a065da69-0018-40d5-857a-9ddd65b26a66\",\n                    \"gateway_id\": \"5cbede1f151b842653e987be\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2021,\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\", \n                    \"card_scheme\": \"visa\",\n                    \"ref_token\": \"cus_HM6C9I0rgswgTg\",\n                    \"status\": \"active\",\n                    \"created_at\": \"2020-05-27T12:05:08.100Z\",\n                    \"_id\": \"5ece57740654e0578ddf9c37\",\n                    \"type\": \"card\"\n                }\n            ],\n            \"statistics\": {\n                \"total_collected_amount\": 0,\n                \"successful_transactions\": 0\n            },\n            \"_service\": {\n                \"default_gateway_id\": \"5cbede1f151b842653e987be\"\n            }\n        }\n    }\n}"},{"id":"02a27e61-6528-4702-9b01-f6310637a760","name":"create with one-time token","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"token\": \"d11ed1d6-f22f-4035-a61f-a576a83e1d88\"\n}"},"url":"{{url}}/v1/customers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 27 May 2020 12:11:13 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"800"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"320-2kYSX4ZwCGzVaw3tAOO+fw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"customer\",\n        \"data\": {\n            \"__v\": 0,\n            \"created_at\": \"2020-05-27T12:11:13.634Z\",\n            \"updated_at\": \"2020-05-27T12:11:13.634Z\",\n            \"default_source\": \"5ece58d4aab8f8579dc10ddc\",\n            \"_id\": \"5ece58e1aab8f8579dc10ddd\",\n            \"payment_destinations\": [],\n            \"payment_sources\": [\n                {\n                    \"_id\": \"5ece58d4aab8f8579dc10ddc\",\n                    \"updated_at\": \"2020-05-27T12:11:13.633Z\",\n                    \"vault_token\": \"c7704378-2092-49b3-b362-9e4a8fa4c249\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2021,\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"ref_token\": \"cus_HM6IU9TqcV9qTm\",\n                    \"status\": \"active\",\n                    \"created_at\": \"2020-05-27T12:11:00.643Z\",\n                    \"gateway_id\": \"5cbede1f151b842653e987be\",\n                    \"type\": \"card\"\n                }\n            ],\n            \"statistics\": {\n                \"total_collected_amount\": 0,\n                \"successful_transactions\": 0\n            },\n            \"_service\": {\n                \"default_gateway_id\": \"5cbede1f151b842653e987be\"\n            }\n        }\n    }\n}"},{"id":"5185127b-b461-4d3f-a4fe-1ef98bce3eeb","name":"create with vault token","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"payment_source\": {\n        \"gateway_id\": \"5cbede1f151b842653e987be\",\n        \"vault_token\": \"0fd20631-509e-45c7-a8f0-f1f36d6ad298\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/customers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 27 May 2020 12:15:25 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"818"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"332-od/QT8c4C0zMMoaTqzx6GA\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"customer\",\n        \"data\": {\n            \"__v\": 0,\n            \"created_at\": \"2020-05-27T12:15:25.738Z\",\n            \"updated_at\": \"2020-05-27T12:15:25.738Z\",\n            \"status\": \"active\",\n            \"default_source\": \"5ece59dd9c49c657d60630ee\",\n            \"_id\": \"5ece59dc9c49c657d60630ed\",\n            \"payment_destinations\": [],\n            \"payment_sources\": [\n                {\n                    \"updated_at\": \"2020-05-27T12:15:25.737Z\",\n                    \"gateway_id\": \"5cbede1f151b842653e987be\",\n                    \"vault_token\": \"0fd20631-509e-45c7-a8f0-f1f36d6ad298\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2021,\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"ref_token\": \"cus_HM6N4T0hv9klsg\",\n                    \"status\": \"active\",\n                    \"created_at\": \"2020-05-27T12:15:25.728Z\",\n                    \"_id\": \"5ece59dd9c49c657d60630ee\",\n                    \"type\": \"card\"\n                }\n            ],\n            \"statistics\": {\n                \"total_collected_amount\": 0,\n                \"successful_transactions\": 0\n            },\n            \"_service\": {\n                \"default_gateway_id\": \"5cbede1f151b842653e987be\"\n            }\n        }\n    }\n}"},{"id":"98db43f1-0180-48d9-8659-afc123f64a48","name":"create with vault token reference","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"payment_source\": {\n        \"gateway_id\": \"5cbede1f151b842653e987be\",\n        \"vault_token_reference\": \"49837263849382745\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/customers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 27 May 2020 12:15:25 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"818"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"332-od/QT8c4C0zMMoaTqzx6GA\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"customer\",\n        \"data\": {\n            \"__v\": 0,\n            \"created_at\": \"2020-05-27T12:15:25.738Z\",\n            \"updated_at\": \"2020-05-27T12:15:25.738Z\",\n            \"status\": \"active\",\n            \"default_source\": \"5ece59dd9c49c657d60630ee\",\n            \"_id\": \"5ece59dc9c49c657d60630ed\",\n            \"payment_destinations\": [],\n            \"payment_sources\": [\n                {\n                    \"updated_at\": \"2020-05-27T12:15:25.737Z\",\n                    \"gateway_id\": \"5cbede1f151b842653e987be\",\n                    \"vault_token\": \"0fd20631-509e-45c7-a8f0-f1f36d6ad298\",\n                    \"vault_token_reference\": \"49837263849382745\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2021,\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"ref_token\": \"cus_HM6N4T0hv9klsg\",\n                    \"status\": \"active\",\n                    \"created_at\": \"2020-05-27T12:15:25.728Z\",\n                    \"_id\": \"5ece59dd9c49c657d60630ee\",\n                    \"type\": \"card\"\n                }\n            ],\n            \"statistics\": {\n                \"total_collected_amount\": 0,\n                \"successful_transactions\": 0\n            },\n            \"_service\": {\n                \"default_gateway_id\": \"5cbede1f151b842653e987be\"\n            }\n        }\n    }\n}"},{"id":"c3412741-da7a-4632-8c32-76bfd2b277ea","name":"create with gateway validation error","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"payment_source\": {\n        \"gateway_id\": \"5cbede1f151b842653e987be\",\n        \"card_name\": \"Wanda Mertz\",\n        \"card_number\": \"4242424242424241\",\n        \"expire_month\": \"09\",\n        \"expire_year\": \"21\",\n        \"card_ccv\": \"123\"\n    }\n}"},"url":"{{url}}/v1/customers"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 27 May 2020 12:24:25 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"464"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"1d0-TsaoXPJr6bjWkr1PELbRGQ\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"body validation failed\",\n        \"code\": \"ValidationError\",\n        \"details\": {\n            \"path\": \"first_name\",\n            \"messages\": [\n                \"first_name should not be empty\",\n                \"first_name must be a string\"\n            ]\n        }\n    },\n    \"resource\": {\n        \"type\": \"customer\",\n        \"data\": {\n            \"_id\": \"5f0c0f879c63b80a26e5eca8\",\n            \"payment_destinations\": [],\n            \"payment_sources\": [],\n            \"statistics\": {\n                \"total_collected_amount\": 0,\n                \"successful_transactions\": 0\n            }\n        }\n    },\n    \"error_summary\": {\n        \"message\": \"body validation failed\",\n        \"code\": \"validation_error\",\n        \"details\": {\n            \"path\": \"first_name\",\n            \"messages\": [\n                \"first_name should not be empty\",\n                \"first_name must be a string\"\n            ]\n        }\n    }\n}"},{"id":"ff6e862f-ded1-4ad0-8ac5-8ec4a8af39b7","name":"create with bank account","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Wanda\",\n    \"payment_source\": {\n        \"gateway_id\": \"5d1df20be205944082f778b8\",\n        \"type\": \"bank_account\",\n        \"account_name\": \"Wanda Mertz\",\n        \"account_number\": \"064000\",\n        \"account_routing\": \"064000\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/customers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 27 May 2020 12:05:08 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"842"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"34a-AGQRzaQ/P4M4Vr1jsyYVYw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"customer\",\n        \"data\": {\n            \"__v\": 0,\n            \"created_at\": \"2020-05-27T12:05:08.157Z\",\n            \"updated_at\": \"2020-05-27T12:05:08.157Z\",\n            \"status\": \"active\",\n            \"default_source\": \"5ece57740654e0578ddf9c37\",\n            \"first_name\": \"Wanda\",\n            \"_id\": \"5ece57720654e0578ddf9c36\",\n            \"payment_destinations\": [],\n            \"payment_sources\": [\n                {\n                    \"updated_at\": \"2020-05-27T12:05:08.157Z\",\n                    \"vault_token\": \"a065da69-0018-40d5-857a-9ddd65b26a66\",\n                    \"gateway_id\": \"5cbede1f151b842653e987be\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2021,\n                    \"card_number_last4\": \"4242\",\n                    \"card_scheme\": \"visa\",\n                    \"ref_token\": \"cus_HM6C9I0rgswgTg\",\n                    \"status\": \"active\",\n                    \"created_at\": \"2020-05-27T12:05:08.100Z\",\n                    \"_id\": \"5ece57740654e0578ddf9c37\",\n                    \"type\": \"card\"\n                }\n            ],\n            \"statistics\": {\n                \"total_collected_amount\": 0,\n                \"successful_transactions\": 0\n            },\n            \"_service\": {\n                \"default_gateway_id\": \"5cbede1f151b842653e987be\"\n            }\n        }\n    }\n}"},{"id":"f9370f59-b930-42ca-86f5-93733ee7f3f5","name":"create with vault without gatewayId","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Wanda\",\n    \"payment_source\":{\n      \t\"vault_token\":\"a6b81f38-f9de-4754-b679-8791cb503a8e\"\n\t}\n}"},"url":"{{url}}/v1/customers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 26 Mar 2021 12:17:01 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"773"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"305-Qcok2SxceQa1ku9WNxlFoZ1JWe4\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"customer\",\n        \"data\": {\n            \"_id\": \"605dd0bd0a43121cff2b6194\",\n            \"archived\": false,\n            \"_source_ip_address\": \"159.224.44.130\",\n            \"company_id\": \"5f7ac85507b3352c6b299703\",\n            \"first_name\": \"Wanda\",\n            \"status\": \"active\",\n            \"payment_sources\": [\n                {\n                    \"type\": \"card\",\n                    \"_id\": \"605dd0bd0a43121cff2b6195\",\n                    \"address_country\": \"AU\",\n                    \"vault_token\": \"a6b81f38-f9de-4754-b679-8791cb503a8e\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"expire_month\": 12,\n                    \"expire_year\": 2021,\n                    \"status\": \"active\",\n                    \"created_at\": \"2021-03-26T12:17:01.172Z\",\n                    \"updated_at\": \"2021-03-26T12:17:01.172Z\"\n                }\n            ],\n            \"payment_destinations\": [],\n            \"created_at\": \"2021-03-26T12:17:01.152Z\",\n            \"updated_at\": \"2021-03-26T12:17:01.200Z\",\n            \"__v\": 1,\n            \"default_source\": \"605dd0bd0a43121cff2b6195\"\n        }\n    }\n}"}],"_postman_id":"43baa31d-4dc4-4058-a0c2-c55463ffe102"},{"name":"search","id":"9ec6d39a-cb89-41a4-9d5b-3985fef075b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/customers","description":"<p>Returns all charges for the account</p>\n<h2 id=\"request-query-params\">Request query params</h2>\n<p><strong>Pagination</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>skip</td>\n<td>-</td>\n<td>number</td>\n<td>Pagination parameter to skip first n customers from list, default = 0</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>-</td>\n<td>number</td>\n<td>Pagination parameter to limit output to n , default = 100 , maximum value = 1000</td>\n</tr>\n<tr>\n<td>sortkey</td>\n<td>-</td>\n<td>string</td>\n<td>Sorting key parameter i.e. created_at</td>\n</tr>\n<tr>\n<td>sortdirection</td>\n<td>-</td>\n<td>string</td>\n<td>Sorting order direction parameter <em>ASC</em> or <em>DESC</em> (<em>DESC</em> by default)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>filters</strong></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>gateway_id</td>\n<td>-</td>\n<td>string (24 hex characters)</td>\n<td>ID of a gateway with which charges were created</td>\n</tr>\n<tr>\n<td>payment_source_id</td>\n<td>-</td>\n<td>string (24 hex characters)</td>\n<td>ID of a stored customers payment_source</td>\n</tr>\n<tr>\n<td>vault_token</td>\n<td>-</td>\n<td>string (UUID)</td>\n<td>ID of vault_token in payment_source</td>\n</tr>\n<tr>\n<td>status</td>\n<td>-</td>\n<td>string</td>\n<td>See <em>Status table</em></td>\n</tr>\n<tr>\n<td>archived</td>\n<td>-</td>\n<td>bool</td>\n<td>Set to true to show all the archived charges. Default: <em>false</em></td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>reference</td>\n</tr>\n<tr>\n<td>company_name</td>\n<td>-</td>\n<td>string</td>\n<td>Company name</td>\n</tr>\n<tr>\n<td>id</td>\n<td>-</td>\n<td>string (24 hex characters)</td>\n<td>ID of particular customer</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Other</strong></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>search</td>\n<td>-</td>\n<td>string</td>\n<td>Word of phrase Customer want to search in created charges (search works by fields: first_name, last_name, email, company_name)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","customers"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"417f9d35-dba7-4ac1-a8c3-61321ebb4e6e","name":"search with filter","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/customers?gateway_id=5cbede1f151b842653e987be","host":["{{url}}"],"path":["v1","customers"],"query":[{"key":"gateway_id","value":"5cbede1f151b842653e987be"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 27 May 2020 12:32:01 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1921"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"781-ukF9G4wqKD5tCgG8baOUAA\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"customers\",\n        \"data\": [\n            {\n                \"_id\": \"5ece59dc9c49c657d60630ed\",\n                \"created_at\": \"2020-05-27T12:15:25.738Z\",\n                \"updated_at\": \"2020-05-27T12:15:25.738Z\",\n                \"status\": \"active\",\n                \"default_source\": \"5ece59dd9c49c657d60630ee\",\n                \"company_id\": \"5cbeda664fdfb25772b5547f\",\n                \"user_id\": \"5cbeda664fdfb25772b5547e\",\n                \"_source_ip_address\": \"192.168.0.1\",\n                \"payment_destinations\": [],\n                \"payment_sources\": [\n                    {\n                        \"updated_at\": \"2020-05-27T12:15:25.737Z\",\n                        \"gateway_id\": \"5cbede1f151b842653e987be\",\n                        \"vault_token\": \"0fd20631-509e-45c7-a8f0-f1f36d6ad298\",\n                        \"card_name\": \"Wanda Mertz\",\n                        \"expire_month\": 9,\n                        \"expire_year\": 2021,\n                        \"card_number_last4\": \"4242\",\n                        \"card_number_bin\": \"42424242\",\n                        \"card_scheme\": \"visa\",\n                        \"ref_token\": \"cus_HM6N4T0hv9klsg\",\n                        \"status\": \"active\",\n                        \"created_at\": \"2020-05-27T12:15:25.728Z\",\n                        \"_id\": \"5ece59dd9c49c657d60630ee\",\n                        \"type\": \"card\"\n                    }\n                ],\n                \"archived\": false,\n                \"statistics\": {\n                    \"total_collected_amount\": 0,\n                    \"successful_transactions\": 0\n                }\n            },\n            {\n                \"_id\": \"5ece58e1aab8f8579dc10ddd\",\n                \"created_at\": \"2020-05-27T12:11:13.634Z\",\n                \"updated_at\": \"2020-05-27T12:11:13.634Z\",\n                \"user_id\": \"5cbeda664fdfb25772b5547e\",\n                \"company_id\": \"5cbeda664fdfb25772b5547f\",\n                \"default_source\": \"5ece58d4aab8f8579dc10ddc\",\n                \"_source_ip_address\": \"192.168.0.1\",\n                \"payment_destinations\": [],\n                \"payment_sources\": [\n                    {\n                        \"_id\": \"5ece58d4aab8f8579dc10ddc\",\n                        \"updated_at\": \"2020-05-27T12:11:13.633Z\",\n                        \"vault_token\": \"c7704378-2092-49b3-b362-9e4a8fa4c249\",\n                        \"expire_month\": 9,\n                        \"expire_year\": 2021,\n                        \"card_name\": \"Wanda Mertz\",\n                        \"card_number_last4\": \"4242\",\n                        \"card_number_bin\": \"42424242\",\n                        \"card_scheme\": \"visa\",\n                        \"ref_token\": \"cus_HM6IU9TqcV9qTm\",\n                        \"status\": \"active\",\n                        \"created_at\": \"2020-05-27T12:11:00.643Z\",\n                        \"gateway_id\": \"5cbede1f151b842653e987be\",\n                        \"type\": \"card\"\n                    }\n                ],\n                \"archived\": false,\n                \"statistics\": {\n                    \"total_collected_amount\": 0,\n                    \"successful_transactions\": 0\n                }\n            }\n        ],\n        \"query_token\": \"eyJhbGciOiJIUzI1NR5cCI6IkpXVCJ9.eyJsaW1pdCI6IjIiLCJnYXRld2F5X2lkIjoiNWNiZWRjUzZTk4N2JlIiwic2tpcCI6bnVsbCwiaWF0IjoxNTkwNTgyNzIxfQ.67SkCXXK0z4uryCB41N0zN0yVQrgpBVZXBs0Q\",\n        \"count\": 2,\n        \"limit\": 100,\n        \"skip\": 0\n    }\n}"},{"id":"a1cd0c1c-49e1-4b9d-a877-fc4ccdb2dda6","name":"search with pagination and sort","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/customers?limit=2&skip=1&sortkey=updated_at&sortdirection=DESC","host":["{{url}}"],"path":["v1","customers"],"query":[{"key":"limit","value":"2"},{"key":"skip","value":"1"},{"key":"sortkey","value":"updated_at"},{"key":"sortdirection","value":"DESC"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 27 May 2020 12:27:59 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1951"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"79f-mquUoR+VOrWHWJj9NXtgSg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"customers\",\n        \"data\": [\n            {\n                \"_id\": \"5ece58e1aab8f8579dc10ddd\",\n                \"created_at\": \"2020-05-27T12:11:13.634Z\",\n                \"updated_at\": \"2020-05-27T12:11:13.634Z\",\n                \"user_id\": \"5cbeda664fdfb25772b5547e\",\n                \"company_id\": \"5cbeda664fdfb25772b5547f\",\n                \"default_source\": \"5ece58d4aab8f8579dc10ddc\",\n                \"_source_ip_address\": \"192.168.0.1\",\n                \"payment_destinations\": [],\n                \"payment_sources\": [\n                    {\n                        \"_id\": \"5ece58d4aab8f8579dc10ddc\",\n                        \"updated_at\": \"2020-05-27T12:11:13.633Z\",\n                        \"vault_token\": \"c7704378-2092-49b3-b362-9e4a8fa4c249\",\n                        \"expire_month\": 9,\n                        \"expire_year\": 2021,\n                        \"card_name\": \"Wanda Mertz\",\n                        \"card_number_last4\": \"4242\",\n                        \"card_number_bin\": \"42424242\",\n                        \"card_scheme\": \"visa\",\n                        \"ref_token\": \"cus_HM6IU9TqcV9qTm\",\n                        \"status\": \"active\",\n                        \"created_at\": \"2020-05-27T12:11:00.643Z\",\n                        \"gateway_id\": \"5cbede1f151b842653e987be\",\n                        \"type\": \"card\"\n                    }\n                ],\n                \"archived\": false,\n                \"statistics\": {\n                    \"total_collected_amount\": 0,\n                    \"successful_transactions\": 0\n                }\n            },\n            {\n                \"_id\": \"5ece57720654e0578ddf9c36\",\n                \"created_at\": \"2020-05-27T12:05:08.157Z\",\n                \"updated_at\": \"2020-05-27T12:05:08.157Z\",\n                \"status\": \"active\",\n                \"default_source\": \"5ece57740654e0578ddf9c37\",\n                \"company_id\": \"5cbeda664fdfb25772b5547f\",\n                \"user_id\": \"5cbeda664fdfb25772b5547e\",\n                \"first_name\": \"Wanda\",\n                \"_source_ip_address\": \"192.168.0.1\",\n                \"payment_destinations\": [],\n                \"payment_sources\": [\n                    {\n                        \"updated_at\": \"2020-05-27T12:05:08.157Z\",\n                        \"vault_token\": \"a065da69-0018-40d5-857a-9ddd65b26a66\",\n                        \"gateway_id\": \"5cbede1f151b842653e987be\",\n                        \"card_name\": \"Wanda Mertz\",\n                        \"expire_month\": 9,\n                        \"expire_year\": 2021,\n                        \"card_number_last4\": \"4242\",\n                        \"card_number_bin\": \"42424242\",\n                        \"card_scheme\": \"visa\",\n                        \"ref_token\": \"cus_HM6C9I0rgswgTg\",\n                        \"status\": \"active\",\n                        \"created_at\": \"2020-05-27T12:05:08.100Z\",\n                        \"_id\": \"5ece57740654e0578ddf9c37\",\n                        \"type\": \"card\"\n                    }\n                ],\n                \"archived\": false,\n                \"statistics\": {\n                    \"total_collected_amount\": 0,\n                    \"successful_transactions\": 0\n                }\n            }\n        ],\n        \"query_token\": \"eyJhbGciOiJIUzI1NsInR5cCI6IkpXVCJ9.eyJsaW1pdCI6IjIiLCJza2lwIjoiMSIsInNvcnRrZXkiOiJ1cGRhdGVkXwic29ydGRpcmVjdGlvbiI6IkRFU0MiLCJpYXQiOjE1OTA1ODI0Nzl9.rfuzY8QUoSpQVvnxAENZ_JYeropSjVEo0eIexg\",\n        \"count\": 7,\n        \"limit\": 2,\n        \"skip\": 1\n    }\n}"},{"id":"49f9eed6-af10-4c11-8843-08703fe659c1","name":"search by phrase","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/customers?search=Wanda","host":["{{url}}"],"path":["v1","customers"],"query":[{"key":"search","value":"Wanda"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 27 May 2020 12:26:54 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1119"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"45f-pAL3IEthGavTs+3AYEHTdQ\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"customers\",\n        \"data\": [\n            {\n                \"_id\": \"5ece57720654e0578ddf9c36\",\n                \"created_at\": \"2020-05-27T12:05:08.157Z\",\n                \"updated_at\": \"2020-05-27T12:05:08.157Z\",\n                \"status\": \"active\",\n                \"default_source\": \"5ece57740654e0578ddf9c37\",\n                \"company_id\": \"5cbeda664fdfb25772b5547f\",\n                \"user_id\": \"5cbeda664fdfb25772b5547e\",\n                \"first_name\": \"Wanda\",\n                \"_source_ip_address\": \"192.168.0.1\",\n                \"payment_destinations\": [],\n                \"payment_sources\": [\n                    {\n                        \"updated_at\": \"2020-05-27T12:05:08.157Z\",\n                        \"vault_token\": \"a065da69-0018-40d5-857a-9ddd65b26a66\",\n                        \"gateway_id\": \"5cbede1f151b842653e987be\",\n                        \"card_name\": \"Wanda Mertz\",\n                        \"expire_month\": 9,\n                        \"expire_year\": 2021,\n                        \"card_number_last4\": \"4242\",\n                        \"card_number_bin\": \"42424242\",\n                        \"card_scheme\": \"visa\",\n                        \"ref_token\": \"cus_HM6C9I0rgswgTg\",\n                        \"status\": \"active\",\n                        \"created_at\": \"2020-05-27T12:05:08.100Z\",\n                        \"_id\": \"5ece57740654e0578ddf9c37\",\n                        \"type\": \"card\"\n                    }\n                ],\n                \"archived\": false,\n                \"statistics\": {\n                    \"total_collected_amount\": 0,\n                    \"successful_transactions\": 0\n                }\n            }\n        ],\n        \"query_token\": \"eyJhbGciOiJIUzI1NiIsIncCI6IkpXVCJ9.eyJzZWFyY2giOiJTYW1hbnRoYSIsImxpbWl0IjoiMiIraXAiOm51bGwsImlhdCI6MTU5MDU4MjQxNH0.m16OU9MwyEBff2tCQrqoUIk_sFqgIc_NxYwluLU\",\n        \"count\": 1,\n        \"limit\": 100,\n        \"skip\": 0\n    }\n}"}],"_postman_id":"9ec6d39a-cb89-41a4-9d5b-3985fef075b1"},{"name":"get","id":"7230826a-9268-48c8-87cc-94bc663a78ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/customers/:id","description":"<p>Retrieves data on the customer with specified ID.</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","customers",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"6b71bf4a-00c2-4a7a-93a5-15d4084181e5","type":"string","value":"5ece59dc9c49c657d60630ed","key":"id"}]}},"response":[{"id":"96e897dd-4b96-47be-8e75-6eecb3d8ac75","name":"get success","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/customers/:id","host":["{{url}}"],"path":["v1","customers",":id"],"variable":[{"key":"id","value":"5ece59dc9c49c657d60630ed"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 27 May 2020 12:32:01 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1921"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"781-ukF9G4wqKD5tCgG8baOUAA\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": 200,\n  \"error\": null,\n  \"resource\": {\n    \"type\": \"customer\",\n    \"data\": {\n      \"_id\": \"620628ed41f03d6f3f87fbf1\",\n      \"_source_ip_address\": \"3.106.123.152\",\n      \"first_name\": \"Test\",\n      \"last_name\": \"Last\",\n      \"company_name\": \"Test\",\n      \"reference\": \"Test\",\n      \"user_id\": \"618d2bca8a08786a53572f13\",\n      \"default_source\": \"620628ef41f03d6f3f87fbf2\",\n      \"status\": \"active\",\n      \"archived\": false,\n      \"created_at\": \"2022-02-11T09:14:23.282Z\",\n      \"updated_at\": \"2022-02-11T09:14:23.282Z\",\n      \"_check_expire_date\": false,\n      \"statistics\": {\n        \"successful_transactions\": 110,\n        \"total_collected_amount\": 6050,\n        \"currency\": {\n          \"AUD\": {\n            \"count\": 110,\n            \"total_amount\": 6050\n          }\n        }\n      },\n      \"_service\": {\n        \"default_gateway_id\": \"618e247c32a6f77fca6e05dc\"\n      },\n      \"payment_sources\": [\n        {\n          \"_id\": \"620628ef41f03d6f3f87fbf2\",\n          \"type\": \"card\",\n          \"gateway_id\": \"618e247c32a6f77fca6e05dc\",\n          \"gateway_name\": \"Stripe\",\n          \"gateway_type\": \"Stripe\",\n          \"vault_token\": \"42cda949-7ade-4e5e-b256-56849f86ac81\",\n          \"card_name\": \"Test User\",\n          \"card_number_last4\": \"4242\",\n          \"card_scheme\": \"visa\",\n          \"address_country\": \"AU\",\n          \"address_state\": \"Test\",\n          \"expire_month\": 5,\n          \"expire_year\": 2022,\n          \"status\": \"active\",\n          \"created_at\": \"2022-02-11T09:14:23.174Z\",\n          \"updated_at\": \"2022-02-11T09:14:23.281Z\",\n          \"ref_token\": \"cus_L8BauNakIhfuEF\"\n        }\n      ],\n      \"payment_destinations\": [],\n      \"company_id\": \"618d2c188a08786a53572f22\"\n    }\n  }\n}"}],"_postman_id":"7230826a-9268-48c8-87cc-94bc663a78ee"},{"name":"modify","id":"bc293545-0f70-4140-9237-772f9721f683","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"test\"\n}"},"url":"{{url}}/v1/customers/:id","description":"<p>You can use this API to update customer information (eg email address) or add more payment sources to a customer.</p>\n<h2 id=\"flow\">Flow</h2>\n<p>You can:</p>\n<ol>\n<li>Add a new payment source with credit card</li>\n<li>Add a new payment source with bank account</li>\n<li>Add a new payment source with one-time token</li>\n<li>Add a new payment source with vault token</li>\n<li>Add a new payment source with vault token reference</li>\n<li>Set default source. By default default source always equal a new added payment source</li>\n</ol>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>token</td>\n<td>+3</td>\n<td>string(UIID)</td>\n<td>One-time token with all the payment source information</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined reference for customer in payment systems</td>\n</tr>\n<tr>\n<td>description</td>\n<td>-</td>\n<td>string</td>\n<td>Customer description. This is customer internal description</td>\n</tr>\n<tr>\n<td>company_name</td>\n<td>-</td>\n<td>string</td>\n<td>Customer company name</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>-</td>\n<td>string</td>\n<td>Customer first name</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>-</td>\n<td>string</td>\n<td>Customer last name</td>\n</tr>\n<tr>\n<td>email</td>\n<td>-</td>\n<td>string</td>\n<td>Customer email</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>-</td>\n<td>string(E.164)</td>\n<td>Customer phone in E.164 international notation (Example: +12345678901)</td>\n</tr>\n<tr>\n<td>default_source</td>\n<td>+6</td>\n<td>string (24 hex characters)</td>\n<td>Payment source used by default</td>\n</tr>\n<tr>\n<td>payment_source</td>\n<td>+2, +3, +4, +5</td>\n<td>object</td>\n<td>See create customer</td>\n</tr>\n<tr>\n<td>payment_source.vault_token</td>\n<td>+4</td>\n<td>string(UUID)</td>\n<td>A vault token ID (permanent)</td>\n</tr>\n<tr>\n<td>payment_source.vault_token_reference</td>\n<td>+5</td>\n<td>string (UUID, alphanumeric, digits)</td>\n<td>A unique identifier assigned to each vault token upon creation</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","customers",":id"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"5ece59dc9c49c657d60630ed","key":"id"}]}},"response":[{"id":"0cc1b6b6-845c-46e8-a2d2-e536ce4df0c7","name":"add a new payment source and set it by default","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"payment_source\": {\n        \"gateway_id\": \"5cbede1f151b842653e987be\",\n        \"card_name\": \"Wanda Mertz\",\n        \"card_number\": \"4242424242424242\",\n        \"expire_month\": \"09\",\n        \"expire_year\": \"21\",\n        \"card_ccv\": \"123\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/customers/:id","host":["{{url}}"],"path":["v1","customers",":id"],"variable":[{"key":"id","value":"5ece59dc9c49c657d60630ed"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 27 May 2020 12:36:34 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1229"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"4cd-JsNMONXrrFinS0URBSRQ3Q\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"customer\",\n        \"data\": {\n            \"_id\": \"5ece59dc9c49c657d60630ed\",\n            \"created_at\": \"2020-05-27T12:15:25.738Z\",\n            \"updated_at\": \"2020-05-27T12:36:34.714Z\",\n            \"status\": \"active\",\n            \"default_source\": \"5ece5ed2bf87e8587723dd46\",\n            \"__v\": 1,\n            \"first_name\": \"Wanda\",\n            \"payment_destinations\": [],\n            \"payment_sources\": [\n                {\n                    \"updated_at\": \"2020-05-27T12:36:34.714Z\",\n                    \"gateway_id\": \"5cbede1f151b842653e987be\",\n                    \"vault_token\": \"0fd20631-509e-45c7-a8f0-f1f36d6ad298\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2021,\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"ref_token\": \"cus_HM6N4T0hv9klsg\",\n                    \"status\": \"active\",\n                    \"created_at\": \"2020-05-27T12:15:25.728Z\",\n                    \"_id\": \"5ece59dd9c49c657d60630ee\",\n                    \"type\": \"card\"\n                },\n                {\n                    \"updated_at\": \"2020-05-27T12:36:34.714Z\",\n                    \"vault_token\": \"eb94cf5a-a2b0-46a5-b433-ffa5e736b6a7\",\n                    \"gateway_id\": \"5cbede1f151b842653e987be\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2021,\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"ref_token\": \"cus_HM6ipTRBOq6TE4\",\n                    \"status\": \"active\",\n                    \"created_at\": \"2020-05-27T12:36:34.653Z\",\n                    \"_id\": \"5ece5ed2bf87e8587723dd46\",\n                    \"type\": \"card\"\n                }\n            ],\n            \"statistics\": {\n                \"total_collected_amount\": 0,\n                \"successful_transactions\": 0\n            },\n            \"_service\": {\n                \"default_gateway_id\": \"5cbede1f151b842653e987be\"\n            }\n        }\n    }\n}"},{"id":"e57a7e34-2d69-4527-a149-dcf2e68ac0cd","name":"add a new payment source and keep old one by default","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"default_source\": \"5ece5ed2bf87e8587723dd46\",\n    \"payment_source\": {\n        \"gateway_id\": \"5cbede1f151b842653e987be\",\n        \"card_name\": \"Wanda Mertz\",\n        \"card_number\": \"4242424242424242\",\n        \"expire_month\": \"09\",\n        \"expire_year\": \"21\",\n        \"card_ccv\": \"123\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/customers/:id","host":["{{url}}"],"path":["v1","customers",":id"],"variable":[{"key":"id","value":"5ece59dc9c49c657d60630ed"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 27 May 2020 12:39:25 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1620"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"654-h/zVhrT1VzzzO0KMkvLuoQ\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"customer\",\n        \"data\": {\n            \"_id\": \"5ece59dc9c49c657d60630ed\",\n            \"created_at\": \"2020-05-27T12:15:25.738Z\",\n            \"updated_at\": \"2020-05-27T12:39:25.763Z\",\n            \"status\": \"active\",\n            \"default_source\": \"5ece5ed2bf87e8587723dd46\",\n            \"__v\": 2,\n            \"first_name\": \"Wanda\",\n            \"payment_destinations\": [],\n            \"payment_sources\": [\n                {\n                    \"updated_at\": \"2020-05-27T12:39:25.763Z\",\n                    \"gateway_id\": \"5cbede1f151b842653e987be\",\n                    \"vault_token\": \"0fd20631-509e-45c7-a8f0-f1f36d6ad298\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2021,\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"ref_token\": \"cus_HM6N4T0hv9klsg\",\n                    \"status\": \"active\",\n                    \"created_at\": \"2020-05-27T12:15:25.728Z\",\n                    \"_id\": \"5ece59dd9c49c657d60630ee\",\n                    \"type\": \"card\"\n                },\n                {\n                    \"updated_at\": \"2020-05-27T12:39:25.763Z\",\n                    \"vault_token\": \"eb94cf5a-a2b0-46a5-b433-ffa5e736b6a7\",\n                    \"gateway_id\": \"5cbede1f151b842653e987be\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2021,\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"ref_token\": \"cus_HM6ipTRBOq6TE4\",\n                    \"status\": \"active\",\n                    \"created_at\": \"2020-05-27T12:36:34.653Z\",\n                    \"_id\": \"5ece5ed2bf87e8587723dd46\",\n                    \"type\": \"card\"\n                },\n                {\n                    \"updated_at\": \"2020-05-27T12:39:25.763Z\",\n                    \"vault_token\": \"8549cac2-c4bb-432a-b4db-63e6614ac46c\",\n                    \"gateway_id\": \"5cbede1f151b842653e987be\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2021,\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"ref_token\": \"cus_HM6l3Ump2rDgcs\",\n                    \"status\": \"active\",\n                    \"created_at\": \"2020-05-27T12:39:25.731Z\",\n                    \"_id\": \"5ece5f7dbf87e8587723dd49\",\n                    \"type\": \"card\"\n                }\n            ],\n            \"statistics\": {\n                \"total_collected_amount\": 0,\n                \"successful_transactions\": 0\n            },\n            \"_service\": {\n                \"default_gateway_id\": \"5cbede1f151b842653e987be\"\n            }\n        }\n    }\n}"},{"id":"75dc2493-ab5a-466b-9e56-6d4931bc6b76","name":"modify success","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Wanda\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/customers/:id","host":["{{url}}"],"path":["v1","customers",":id"],"variable":[{"key":"id","value":"5ece59dc9c49c657d60630ed"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 27 May 2020 12:35:18 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"838"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"346-IlIOatbgUVoOHpBTZFeF8w\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"customer\",\n        \"data\": {\n            \"first_name\": \"Wanda\",\n            \"_id\": \"5ece59dc9c49c657d60630ed\",\n            \"created_at\": \"2020-05-27T12:15:25.738Z\",\n            \"updated_at\": \"2020-05-27T12:35:18.111Z\",\n            \"status\": \"active\",\n            \"default_source\": \"5ece59dd9c49c657d60630ee\",\n            \"__v\": 0,\n            \"payment_destinations\": [],\n            \"payment_sources\": [\n                {\n                    \"updated_at\": \"2020-05-27T12:35:18.110Z\",\n                    \"gateway_id\": \"5cbede1f151b842653e987be\",\n                    \"vault_token\": \"0fd20631-509e-45c7-a8f0-f1f36d6ad298\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2021,\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"ref_token\": \"cus_HM6N4T0hv9klsg\",\n                    \"status\": \"active\",\n                    \"created_at\": \"2020-05-27T12:15:25.728Z\",\n                    \"_id\": \"5ece59dd9c49c657d60630ee\",\n                    \"type\": \"card\"\n                }\n            ],\n            \"statistics\": {\n                \"total_collected_amount\": 0,\n                \"successful_transactions\": 0\n            },\n            \"_service\": {\n                \"default_gateway_id\": \"5cbede1f151b842653e987be\"\n            }\n        }\n    }\n}"}],"_postman_id":"bc293545-0f70-4140-9237-772f9721f683"},{"name":"modify payment source","id":"af079484-26e5-4ef5-85a4-629eaaa27643","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"vault_token\": \"123254c6-abc7-49ec-b633-df9f8c22252c\"\n}"},"url":"{{url}}/v1/customers/:id/payment_sources/:payment_source_id","description":"<p>You can use this API request to update the expiration date of a payment source using a vault token.</p>\n<p>As a result of this action, a new payment source will be created on the gateway side.</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n<tr>\n<td>payment_source_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id of payment source received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>vault_token</td>\n<td>-</td>\n<td>string (UIID)</td>\n<td>Vault token</td>\n</tr>\n<tr>\n<td>vault_token_reference</td>\n<td>-</td>\n<td>string (UUID, alphanumeric, digits)</td>\n<td>A unique identifier assigned to each vault token upon creation</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","customers",":id","payment_sources",":payment_source_id"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"6012c6e54e58807751780ff6","key":"id"},{"type":"any","value":"6012c6e64e58807751780ff7","key":"payment_source_id"}]}},"response":[{"id":"87d9f6e9-dbe2-4463-8e9f-797f7e31c480","name":"common","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"vault_token\": \"123254c6-abc7-49ec-b633-df9f8c22252c\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/customers/:id/payment_sources/:payment_source_id","host":["{{url}}"],"path":["v1","customers",":id","payment_sources",":payment_source_id"],"variable":[{"key":"id","type":"string","value":"6012c6e54e58807751780ff6"},{"key":"payment_source_id","value":"6012c6e64e58807751780ff7"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 28 Jan 2021 14:29:19 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"454"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"1c6-+qeOOGumcwyDEwtZFVZaCQ\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"payment-source\",\n        \"data\": {\n            \"type\": \"card\",\n            \"_id\": \"6012c6e64e58807751780ff7\",\n            \"gateway_id\": \"5dde1f3799cfea21ed2fc942\",\n            \"card_name\": \"Wanda Mertz\",\n            \"expire_month\": 1,\n            \"expire_year\": 2021,\n            \"card_number_last4\": \"4242\",\n            \"card_number_bin\": \"42424242\",\n            \"card_scheme\": \"visa\",\n            \"ref_token\": \"cus_IqI4b7777U9Bay\",\n            \"status\": \"active\",\n            \"created_at\": \"2021-01-28T14:15:02.728Z\",\n            \"vault_token\": \"123254c6-abc7-49ec-b633-df9f8c22252c\",\n            \"updated_at\": \"2021-01-28T14:29:19.805Z\"\n        }\n    }\n}"}],"_postman_id":"af079484-26e5-4ef5-85a4-629eaaa27643"},{"name":"verify payment source","id":"1f915244-2c97-4bf2-b516-47e2d5f89c94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"verification_amounts\": [\"10\", \"25\"]\n}"},"url":"{{url}}/v1/customers/:id/payment_sources/:payment_source_id/verify","description":"<p>A customer's bank account must first be verified before it can be charged. You can use this API request to verify a customer's payment source. </p>\n<p>As a result of this action, a payment source will be verified and ready to be used on the gateway side for further charges.</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>An _id of the customer received at the creation stage</td>\n</tr>\n<tr>\n<td>payment_source_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>An _id of the payment source received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required [flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>verification_amounts</td>\n<td>+</td>\n<td>array of strings</td>\n<td>Amounts (microdeposits) to be sent to verify the payment source. Supported gateways: Stripe using the ACH payment source</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","customers",":id","payment_sources",":payment_source_id","verify"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"6012c6e54e58807751780ff6","key":"id"},{"type":"any","value":"6012c6e64e58807751780ff7","key":"payment_source_id"}]}},"response":[{"id":"38425d69-36a1-498a-be04-ef11bebdb5d5","name":"common","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n\t\"verification_amounts\": [\"10\", \"25\"]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/customers/:id/payment_sources/:payment_source_id/verify","host":["{{url}}"],"path":["v1","customers",":id","payment_sources",":payment_source_id","verify"],"variable":[{"key":"id","value":"6012c6e54e58807751780ff6"},{"key":"payment_source_id","value":"6012c6e64e58807751780ff7"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 28 Jan 2021 14:29:19 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"454"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"1c6-+qeOOGumcwyDEwtZFVZaCQ\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"customers:payment_sources\",\n        \"data\": {\n            \"type\": \"bank_account\",\n            \"_id\": \"6144a1fbfdb9bc2e0137603c\",\n            \"address_country\": \"US\",\n            \"gateway_id\": \"6144a1e8fdb9bc2e01376027\",\n            \"account_name\": \"Wanda Mertz\",\n            \"account_routing\": \"110000000\",\n            \"account_number\": \"000123456789\",\n            \"address_line1\": \"61426 Osvaldo Plains\",\n            \"address_line2\": \"Apt. 276\",\n            \"address_state\": \"WY\",\n            \"address_city\": \"Lake Robyn\",\n            \"address_postcode\": \"07396\",\n            \"address_company\": \"Hahn Mertz LLC\",\n            \"ref_token\": \"cus_KFCANJZFzxt14f:ba_1JahmQLoNlQR3SfLLbMgvkSj\",\n            \"status\": \"active\",\n            \"created_at\": \"2021-09-17T14:11:07.166Z\",\n            \"vault_token\": \"08545f76-6a01-4796-8508-519e1ef2d4dd\",\n            \"updated_at\": \"2021-09-17T14:11:12.015Z\",\n            \"account_bsb\": \"110000000\"\n        }\n    }\n}"}],"_postman_id":"1f915244-2c97-4bf2-b516-47e2d5f89c94"},{"name":"archive","id":"eef75aa1-1ca7-4826-94a4-1b392a7c20bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/customers/:id","description":"<p>Customer with specified id will be archived. You can retrieve archived customers using</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","customers",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"90630e1d-3644-4f2f-b223-45dd5466f7ca","type":"string","value":"5ece6a89ce7ad559e487cec0","key":"id"}]}},"response":[{"id":"55dd0320-90d3-4e65-925c-0015b86c5933","name":"archive success","originalRequest":{"method":"DELETE","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/v1/customers/:id","host":["{{url}}"],"path":["v1","customers",":id"],"variable":[{"key":"id","value":"5ece6a89ce7ad559e487cec0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 27 May 2020 13:27:18 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"842"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"34a-p68U6cHJfTte/8Aul8SnJg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"customer\",\n        \"data\": {\n            \"_id\": \"5ece6a89ce7ad559e487cec0\",\n            \"created_at\": \"2020-05-27T13:26:34.738Z\",\n            \"updated_at\": \"2020-05-27T13:27:18.357Z\",\n            \"status\": \"active\",\n            \"default_source\": \"5ece6a8ace7ad559e487cec1\",\n            \"first_name\": \"Wanda\",\n            \"__v\": 0,\n            \"payment_destinations\": [],\n            \"payment_sources\": [\n                {\n                    \"updated_at\": \"2020-05-27T13:27:18.357Z\",\n                    \"vault_token\": \"6628fc11-5140-473c-9850-9ae9682e8ecc\",\n                    \"gateway_id\": \"5cbede1f151b842653e987be\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"expire_month\": 9,\n                    \"expire_year\": 2021,\n                    \"card_number_last4\": \"4242\",\n                    \"card_scheme\": \"visa\",\n                    \"ref_token\": \"cus_HM7W8zjx0qkAMh\",\n                    \"status\": \"active\",\n                    \"created_at\": \"2020-05-27T13:26:34.707Z\",\n                    \"_id\": \"5ece6a8ace7ad559e487cec1\",\n                    \"type\": \"card\"\n                }\n            ],\n            \"statistics\": {\n                \"total_collected_amount\": 0,\n                \"successful_transactions\": 0\n            },\n            \"_service\": {\n                \"default_gateway_id\": \"5cbede1f151b842653e987be\"\n            }\n        }\n    }\n}"}],"_postman_id":"eef75aa1-1ca7-4826-94a4-1b392a7c20bd"},{"name":"archive payment source","id":"84b9c65c-3d7b-4997-9462-b80ed3c5e4a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/customers/:id/payment_sources/:payment_source_id","description":"<p>Customers payment source with specified id will be archived. </p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n<tr>\n<td>payment_source_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id of a payment source to archive</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","customers",":id","payment_sources",":payment_source_id"],"host":["{{url}}"],"query":[],"variable":[{"id":"15717cef-599c-40b0-9d50-53cb806c5c21","type":"string","value":"5ece6a89ce7ad559e487cec0","key":"id"},{"id":"707465cc-abb7-4137-992f-4476badc209e","type":"any","value":"5ece6a89ce7ad559e487cec1","key":"payment_source_id"}]}},"response":[{"id":"33dfc96b-393c-4f56-9f50-5313c83e66ea","name":"archive success","originalRequest":{"method":"DELETE","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/v1/customers/:id/payment_sources/:payment_source_id","host":["{{url}}"],"path":["v1","customers",":id","payment_sources",":payment_source_id"],"variable":[{"key":"id","value":""},{"key":"payment_source_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 27 May 2020 13:27:18 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"842"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"34a-p68U6cHJfTte/8Aul8SnJg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"payment-source\",\n        \"data\": {\n            \"type\": \"card\",\n            \"_id\": \"608170536b9dd93285452084\",\n            \"gateway_id\": \"600accbee1f4a62bbd693219\",\n            \"card_name\": \"Wanda Mertz\",\n            \"expire_month\": 5,\n            \"expire_year\": 2028,\n            \"card_number_last4\": \"4242\",\n            \"card_number_bin\": \"42424242\",\n            \"card_scheme\": \"visa\",\n            \"ref_token\": \"9343932640639184\",\n            \"status\": \"archived\",\n            \"created_at\": \"2020-01-22T12:47:15.149Z\",\n            \"vault_token\": \"ffef0419-04af-4af0-9b23-6c889300e9c1\",\n            \"updated_at\": \"2020-01-05T14:41:40.827Z\"\n        }\n    }\n}"}],"_postman_id":"84b9c65c-3d7b-4997-9462-b80ed3c5e4a8"},{"name":"get payment sources","id":"f6580454-ac42-4462-949e-4fc82852e27a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Public Key</p>\n","key":"x-user-public-key","value":"{{publickey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/customers/payment_sources?query_token=eyJhbGciOiJIUzI1Ni5cCI6IkpXVCJ9.eyJpZCI6IjVlY2U1OWRjOWM0OWM2NTdkNjA2MzBlZCIsImxpbWpudWxsLCJza2lwIjpudWxsLCJpYXQiOjE1OTA1ODMzMDB9.flDRW1pNU2e3eKJSfrXT9rSDhWPo1X60UEwTbhjU","description":"<p>Get payment sources of customers by query_token generated from /search customers with params endpoint</p>\n<h2 id=\"request-query\">Request query</h2>\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>query_token</td>\n<td>+</td>\n<td>string (JWT token)</td>\n<td>query_token received at the search stage</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-body\">Response body</h2>\n<p>Collection of payment sources (see payment_sources[])</p>\n","urlObject":{"path":["v1","customers","payment_sources"],"host":["{{url}}"],"query":[{"description":{"content":"<p>A payload of jwt query_token should contain a customer's id and/or customer's reference field(s)</p>\n<p>e.g.</p>\n<p>{\n  \"id\": \"63183fbae04e4d2ad89c30a0\",\n  \"reference\": \"067wgvm3ynmaxv04daqp\"\n}</p>\n<p>These fields might be included in the payload which is obtained from the search stage (but only in case these fields were provided in query parameters)</p>\n<p>e.g.:\nGET search\n{{url}}/v1/customers?id=63183fbae04e4d2ad89c30a0&amp;reference=067wgvm3ynmaxv04daqp</p>\n","type":"text/plain"},"key":"query_token","value":"eyJhbGciOiJIUzI1Ni5cCI6IkpXVCJ9.eyJpZCI6IjVlY2U1OWRjOWM0OWM2NTdkNjA2MzBlZCIsImxpbWpudWxsLCJza2lwIjpudWxsLCJpYXQiOjE1OTA1ODMzMDB9.flDRW1pNU2e3eKJSfrXT9rSDhWPo1X60UEwTbhjU"}],"variable":[]}},"response":[{"id":"8aa37359-178a-4410-ab8a-dca8c5898173","name":"get payment sources success","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Public Key","key":"x-user-public-key","value":"{{publickey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/customers/payment_sources?query_token=eyJhbGciOiNiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjVlY2U1OWRjOWM0OWM2NTdkNjA2MzBlZWl0IjpudWxsLCJza2lwIjpudWxsLCJpYXQiOjE1OTA1ODMzMDB9.flDRW1pNU2e3eKJSfrXT9rSDhWPo10Pp1UEhjU","host":["{{url}}"],"path":["v1","customers","payment_sources"],"query":[{"key":"query_token","value":"eyJhbGciOiNiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjVlY2U1OWRjOWM0OWM2NTdkNjA2MzBlZWl0IjpudWxsLCJza2lwIjpudWxsLCJpYXQiOjE1OTA1ODMzMDB9.flDRW1pNU2e3eKJSfrXT9rSDhWPo10Pp1UEhjU"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 27 May 2020 13:13:42 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"686"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"2ae-Zl0VMeMHW+X7lZZC0TeubA\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"payment_sources\",\n        \"data\": [\n            {\n                \"_id\": \"5ece59dd9c49c657d60630ee\",\n                \"card_number_last4\": \"4242\",\n                \"card_number_bin\": \"42424242\",\n                \"card_scheme\": \"visa\",\n                \"type\": \"card\",\n                \"gateway_id\": \"5cbede1f151b842653e987be\",\n                \"customer_id\": \"5ece59dc9c49c657d60630ed\",\n                \"primary\": false\n            },\n            {\n                \"_id\": \"5ece5ed2bf87e8587723dd46\",\n                \"card_number_last4\": \"4242\",\n                \"card_number_bin\": \"42424242\",\n                \"card_scheme\": \"visa\",\n                \"type\": \"card\",\n                \"gateway_id\": \"5cbede1f151b842653e987be\",\n                \"customer_id\": \"5ece59dc9c49c657d60630ed\",\n                \"primary\": true\n            },\n            {\n                \"_id\": \"5ece5f7dbf87e8587723dd49\",\n                \"card_number_last4\": \"4242\",\n                \"card_number_bin\": \"42424242\",\n                \"card_scheme\": \"visa\",\n                \"type\": \"card\",\n                \"gateway_id\": \"5cbede1f151b842653e987be\",\n                \"customer_id\": \"5ece59dc9c49c657d60630ed\",\n                \"primary\": false\n            }\n        ],\n        \"count\": 3,\n        \"limit\": 100,\n        \"skip\": 0\n    }\n}"}],"_postman_id":"f6580454-ac42-4462-949e-4fc82852e27a"}],"id":"bccd97cb-bfbb-4551-a526-c1aeea72fa05","description":"<p>A customer represents an individual who can make or receive payments. Through the use of vaulted tokens, Customers store one or more payment sources, so that payment information doesn’t need to be collected again. Customers can also be associated with Subscriptions and can have Charges added against them. Also, there is ability to use a Ccustomer as a destination for transferring money Transfers. A customer must have at least one payment source (eg. credit card) that can be used for payment or a payment destination that can be used fot transfers.</p>\n<h2 id=\"conditions\">Conditions</h2>\n<p>The response is different depends on such conditions:</p>\n<ol>\n<li>Created with credit card payment source</li>\n<li>Created with the bank account payment source</li>\n<li>Created with checkout payment source type</li>\n</ol>\n<h2 id=\"customer-resource\">Customer resource</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined reference for customer in payment systems</td>\n</tr>\n<tr>\n<td>description</td>\n<td>-</td>\n<td>string</td>\n<td>Customer description. This is customer internal description</td>\n</tr>\n<tr>\n<td>company_name</td>\n<td>-</td>\n<td>string</td>\n<td>Customer company name</td>\n</tr>\n<tr>\n<td>_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>Charge Id for any future requests</td>\n</tr>\n<tr>\n<td>user_id</td>\n<td>-</td>\n<td>string (24 hex characters)</td>\n<td>id of an initiator of the request if the request was by the personal token (from the dashboard)</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>+</td>\n<td>string(ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>Charge creation date</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>+</td>\n<td>string(ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>Date of last charge update</td>\n</tr>\n<tr>\n<td>status</td>\n<td>+</td>\n<td>string</td>\n<td>Actual charge status. See the <em>status</em> table</td>\n</tr>\n<tr>\n<td>archived</td>\n<td>+</td>\n<td>bool</td>\n<td>For new created charges always <em>false</em>, <em>true</em> after manual archiving</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>-</td>\n<td>string</td>\n<td>Customer first name</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>-</td>\n<td>string</td>\n<td>Customer last name</td>\n</tr>\n<tr>\n<td>email</td>\n<td>-</td>\n<td>string</td>\n<td>Customer email</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>-</td>\n<td>string(E.164)</td>\n<td>Customer phone in E.164 international notation (Example: +12345678901)</td>\n</tr>\n<tr>\n<td>default_source</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>Payment source used by default</td>\n</tr>\n<tr>\n<td>payment_sources</td>\n<td>+</td>\n<td>Array</td>\n<td>Collection with payment information</td>\n</tr>\n<tr>\n<td>payment_source.vault_token</td>\n<td>+</td>\n<td>string(UUID)</td>\n<td>A vault token ID (permanent)</td>\n</tr>\n<tr>\n<td>payment_source.vault_token_reference</td>\n<td>-</td>\n<td>string (UUID, alphanumeric, digits)</td>\n<td>A unique identifier assigned to each vault token upon creation</td>\n</tr>\n<tr>\n<td>payment_sources[].gateway_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>Gateway id</td>\n</tr>\n<tr>\n<td>payment_sources[].gateway_type</td>\n<td>+</td>\n<td>string</td>\n<td>Type of gateway</td>\n</tr>\n<tr>\n<td>payment_sources[].gateway_name</td>\n<td>+</td>\n<td>string</td>\n<td>Custom name of of gateway</td>\n</tr>\n<tr>\n<td>payment_sources[].type</td>\n<td>+</td>\n<td>string</td>\n<td>Type of payment source. <em>card</em> for payment sources created with credit card, <em>bank_account</em> for payment sources created with direct debit, <em>checkout</em> for payment sources created with checkout agreement (checkout button)</td>\n</tr>\n<tr>\n<td>payment_sources[].card_name</td>\n<td>+1</td>\n<td>string</td>\n<td>Cardholder name (as on card)</td>\n</tr>\n<tr>\n<td>payment_sources[].card_number_last4</td>\n<td>+1</td>\n<td>string(numeric)</td>\n<td>Card number last 4</td>\n</tr>\n<tr>\n<td>payment_sources[].card_number_bin</td>\n<td>+1</td>\n<td>string(numeric)</td>\n<td>Card BIN number</td>\n</tr>\n<tr>\n<td>payment_sources[].card_scheme</td>\n<td>+1</td>\n<td>string</td>\n<td>Cardholder scheme (i.g. <em>visa</em>, <em>mastercard</em> etc...)</td>\n</tr>\n<tr>\n<td>payment_sources[].expire_month</td>\n<td>+1</td>\n<td>string(mm)</td>\n<td>Card expiration month mm</td>\n</tr>\n<tr>\n<td>payment_sources[].expire_year</td>\n<td>+1</td>\n<td>string(yyyy)</td>\n<td>Card expiration year</td>\n</tr>\n<tr>\n<td>payment_sources[].account_name</td>\n<td>+2</td>\n<td>string</td>\n<td>Customer account name.</td>\n</tr>\n<tr>\n<td>payment_sources[].account_number</td>\n<td>+2</td>\n<td>string</td>\n<td>Number of Customer account.</td>\n</tr>\n<tr>\n<td>payment_sources[].account_bsb</td>\n<td>-2</td>\n<td>string</td>\n<td>Customer bank state branch number.</td>\n</tr>\n<tr>\n<td>payment_sources[].account_routing</td>\n<td>-2</td>\n<td>string(numeric)</td>\n<td>Number of Customer account. BSB/Routing/SWIFT/IBAN Number.</td>\n</tr>\n<tr>\n<td>payment_sources[].account_holder_type</td>\n<td>-2</td>\n<td>string</td>\n<td>account type (<em>personal</em> or <em>business</em>)</td>\n</tr>\n<tr>\n<td>payment_sources[].account_bank_name</td>\n<td>-2</td>\n<td>string</td>\n<td>Name of account bank</td>\n</tr>\n<tr>\n<td>payment_source.checkout_email</td>\n<td>+3</td>\n<td>string</td>\n<td>The email that was applied for checkout agreement</td>\n</tr>\n<tr>\n<td>payment_source.checkout_holder</td>\n<td>+3</td>\n<td>string</td>\n<td>The holder name of account or wallet that was applied for checkout agreement</td>\n</tr>\n<tr>\n<td>payment_sources[].address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, line 1</td>\n</tr>\n<tr>\n<td>payment_sources[].address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, line 2</td>\n</tr>\n<tr>\n<td>payment_sources[].address_state</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, State</td>\n</tr>\n<tr>\n<td>payment_sources[].address_country</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, Country Code</td>\n</tr>\n<tr>\n<td>payment_sources[].address_city</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, City</td>\n</tr>\n<tr>\n<td>payment_sources[].address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, Postcode</td>\n</tr>\n<tr>\n<td>payment_sources[].meta.customer_storage_number</td>\n<td>-</td>\n<td>string</td>\n<td>Identification of a customer on a gateway side for future payments binding (used by Bambora gateway)</td>\n</tr>\n<tr>\n<td>payment_sources[].meta.tokenise_algorithm</td>\n<td>-</td>\n<td>number</td>\n<td>Bambora alorithm Id for creating customers. (Default -2, if not specified.)</td>\n</tr>\n<tr>\n<td>statistics</td>\n<td>-</td>\n<td>object</td>\n<td>statistics of using customer</td>\n</tr>\n<tr>\n<td>statistics.total_collected_amount</td>\n<td>+</td>\n<td>number</td>\n<td>Total collected amount</td>\n</tr>\n<tr>\n<td>statistics.successful_transactions</td>\n<td>+</td>\n<td>number</td>\n<td>Successful transactions</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"status\">Status</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>status</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>active</td>\n<td>An active customer</td>\n</tr>\n<tr>\n<td>archived</td>\n<td>A customer is archived</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"payment-source-status\">Payment Source status</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>status</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>active</td>\n<td>A payment source that was verified and can be used for making payments. Please see: <em>verify payment source endpoint</em>. Supported gateways: Stripe with ACH payment source</td>\n</tr>\n<tr>\n<td>pending</td>\n<td>A payment source is awaiting verification. Supported gateways: Stripe with ACH payment source</td>\n</tr>\n<tr>\n<td>archived</td>\n<td>A deleted payment source</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"b3e6f357-d5db-4d91-8b9a-8165859034ee"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"e25906f9-1ff3-43d7-b4a4-cac39f4fcd8c"}}],"_postman_id":"bccd97cb-bfbb-4551-a526-c1aeea72fa05"},{"name":"subscriptions","item":[{"name":"search","id":"7dffefcd-8853-42e8-8c78-3a3c6f6670da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/subscriptions","description":"<p>Returns all subscriptions for the account</p>\n<h2 id=\"request-query-params\">Request query params</h2>\n<p><strong>Pagination</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required [flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>skip</td>\n<td>-</td>\n<td>number</td>\n<td>A pagination parameter to skip the first <em>N</em> subscriptions from the list, default = 0</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>-</td>\n<td>number</td>\n<td>A pagination parameter to limit the output to <em>N</em>, default = 100, maximum value = 1000</td>\n</tr>\n<tr>\n<td>sortkey</td>\n<td>-</td>\n<td>string</td>\n<td>A sorting key parameter, i.e. created_at</td>\n</tr>\n<tr>\n<td>sortdirection</td>\n<td>-</td>\n<td>string</td>\n<td>A sorting order direction parameter <em>ASC</em> or <em>DESC</em> (<em>DESC</em> by default)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Filters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required [flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>gateway_id</td>\n<td>-</td>\n<td>string (24 hex characters)</td>\n<td>An ID of a gateway used for creating a subscription</td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>-</td>\n<td>string (24 hex characters)</td>\n<td>An ID of a customer for whom a subscription was created</td>\n</tr>\n<tr>\n<td>status</td>\n<td>-</td>\n<td>string</td>\n<td>See <em>Status table</em></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Other</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required [flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>search</td>\n<td>-</td>\n<td>string</td>\n<td>A word or phrase used for searching created subscriptions (search works by fields: First Name, Last Name and Email)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","subscriptions"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"64e64e4c-f0ee-4ae3-80fd-caabd63b22b0","name":"search by gatewayId","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/subscriptions?gateway_id=5dde1f3799cfea21ed2fc942","host":["{{url}}"],"path":["v1","subscriptions"],"query":[{"key":"gateway_id","value":"5dde1f3799cfea21ed2fc942"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 02 Sep 2020 15:27:38 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"7649"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"1de1-jzqyGXnO8rTDWle7RQX/Kw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"subscriptions\",\n        \"data\": [\n            {\n                \"_id\": \"5f311e5ebc5c891bd59ad435\",\n                \"created_at\": \"2020-08-10T10:15:58.616Z\",\n                \"updated_at\": \"2020-09-02T11:30:36.514Z\",\n                \"user_id\": \"5d305bfbfac31b4448c738d6\",\n                \"company_id\": \"5d305bfbfac31b4448c738d7\",\n                \"amount\": 111,\n                \"status\": \"held\",\n                \"held_at\": \"2020-08-10T10:16:21.169Z\",\n                \"last_change_by\": \"manual\",\n                \"latest_charge_id\": \"5f4f825ce582476241b3432f\",\n                \"archived\": false,\n                \"_source_ip_address\": \"192.168.0.1\",\n                \"customer\": {\n                    \"customer_id\": \"5f311e5bbc5c891bd59ad432\",\n                    \"first_name\": \"Carlie\",\n                    \"last_name\": \"Kuvalis\",\n                    \"email\": \"carlie.kuvalis@example.com\",\n                    \"phone\": \"+1234567890\",\n                    \"company_name\": \"Konopelski Kuvalis Group\"\n                },\n                \"statistics\": {\n                    \"total_collected_amount\": 0,\n                    \"successful_transactions\": 0\n                },\n                \"schedule\": {\n                    \"interval\": \"day\",\n                    \"start_date\": \"2020-08-10T11:30:00.000Z\",\n                    \"end_amount_after\": 0,\n                    \"end_amount_before\": 0,\n                    \"end_amount_total\": 0,\n                    \"next_assessment\": \"2020-09-03T11:30:00.000Z\",\n                    \"next_assessment_planned\": \"2020-09-03T11:30:00.000Z\",\n                    \"first_assessment\": \"2020-08-10T11:30:00.000Z\",\n                    \"status\": \"held\",\n                    \"processing_pended_at\": \"2020-09-02T12:10:36.425Z\",\n                    \"last_assessment_planned\": \"2020-09-02T11:30:00.000Z\",\n                    \"last_assessment\": \"2020-09-02T11:30:36.504Z\",\n                    \"locked\": false,\n                    \"completed_count\": 0,\n                    \"held_count\": 24,\n                    \"retry_count\": 0,\n                    \"frequency\": 1\n                },\n                \"currency\": \"AUD\",\n                \"gateway_type\": \"Stripe\",\n                \"gateway_name\": \"Stripe 1\",\n                \"gateway_mode\": \"test\"\n            },\n            {\n                \"_id\": \"5ef071bc3dcfec0ac5e062a8\",\n                \"created_at\": \"2020-06-22T08:54:20.306Z\",\n                \"updated_at\": \"2020-06-23T08:54:40.448Z\",\n                \"company_id\": \"5d305bfbfac31b4448c738d7\",\n                \"amount\": 20,\n                \"status\": \"expired\",\n                \"user_id\": \"5d305bfbfac31b4448c738d6\",\n                \"latest_charge_id\": \"5ef1c34feec804212963d632\",\n                \"expired_at\": \"2020-06-23T08:54:40.358Z\",\n                \"expired_reason\": \"end_date\",\n                \"last_change_by\": \"automatic\",\n                \"archived\": false,\n                \"_source_ip_address\": \"192.168.0.1\",\n                \"customer\": {\n                    \"customer_id\": \"5ef071bb3dcfec0ac5e062a5\",\n                    \"first_name\": \"Carlie\",\n                    \"last_name\": \"Kuvalis\",\n                    \"email\": \"carlie.kuvalis@example.com\",\n                    \"phone\": \"+1234567890\",\n                    \"company_name\": \"Konopelski Kuvalis Group\"\n                },\n                \"statistics\": {\n                    \"total_collected_amount\": 40,\n                    \"successful_transactions\": 2\n                },\n                \"schedule\": {\n                    \"interval\": \"day\",\n                    \"start_date\": \"2020-06-22T08:54:19.235Z\",\n                    \"end_date\": \"2020-06-24T00:00:00.000Z\",\n                    \"next_assessment\": \"2020-06-23T08:54:19.235Z\",\n                    \"next_assessment_planned\": \"2020-06-23T08:54:19.235Z\",\n                    \"first_assessment\": \"2020-06-22T08:54:19.235Z\",\n                    \"status\": \"complete\",\n                    \"processing_pended_at\": \"2020-06-23T08:55:28.279Z\",\n                    \"last_assessment_planned\": \"2020-06-22T08:54:19.235Z\",\n                    \"last_assessment\": \"2020-06-23T08:54:40.365Z\",\n                    \"locked\": false,\n                    \"completed_count\": 2,\n                    \"held_count\": 0,\n                    \"retry_count\": 0,\n                    \"frequency\": 1\n                },\n                \"currency\": \"AUD\",\n                \"gateway_type\": \"Stripe\",\n                \"gateway_name\": \"Stripe 1\",\n                \"gateway_mode\": \"test\"\n            },\n            {\n                \"_id\": \"5ef070ef3dcfec0ac5e0629c\",\n                \"created_at\": \"2020-06-22T08:50:55.244Z\",\n                \"updated_at\": \"2020-06-24T11:49:05.939Z\",\n                \"company_id\": \"5d305bfbfac31b4448c738d7\",\n                \"amount\": 11,\n                \"status\": \"expired\",\n                \"user_id\": \"5d305bfbfac31b4448c738d6\",\n                \"latest_charge_id\": \"5ef33db0b1a51f4dfc89e34a\",\n                \"expired_at\": \"2020-06-24T11:49:05.839Z\",\n                \"expired_reason\": \"end_date\",\n                \"last_change_by\": \"automatic\",\n                \"archived\": false,\n                \"_source_ip_address\": \"192.168.0.1\",\n                \"customer\": {\n                    \"customer_id\": \"5ef070ee3dcfec0ac5e06299\",\n                    \"first_name\": \"Carlie\",\n                    \"last_name\": \"Kuvalis\",\n                    \"email\": \"carlie.kuvalis@example.com\",\n                    \"phone\": \"+1234567890\",\n                    \"company_name\": \"Konopelski Kuvalis Group\"\n                },\n                \"statistics\": {\n                    \"total_collected_amount\": 33,\n                    \"successful_transactions\": 3\n                },\n                \"schedule\": {\n                    \"interval\": \"day\",\n                    \"start_date\": \"2020-06-22T11:49:00.000Z\",\n                    \"end_date\": \"2020-06-25T00:00:00.000Z\",\n                    \"next_assessment\": \"2020-06-24T11:49:00.000Z\",\n                    \"next_assessment_planned\": \"2020-06-24T11:49:00.000Z\",\n                    \"first_assessment\": \"2020-06-22T11:49:00.000Z\",\n                    \"status\": \"complete\",\n                    \"processing_pended_at\": \"2020-06-24T11:49:52.112Z\",\n                    \"last_assessment_planned\": \"2020-06-23T11:49:00.000Z\",\n                    \"last_assessment\": \"2020-06-24T11:49:05.846Z\",\n                    \"locked\": false,\n                    \"completed_count\": 3,\n                    \"held_count\": 0,\n                    \"retry_count\": 0,\n                    \"frequency\": 1\n                },\n                \"currency\": \"AUD\",\n                \"gateway_type\": \"Stripe\",\n                \"gateway_name\": \"Stripe 1\",\n                \"gateway_mode\": \"test\"\n            }\n        ],\n        \"count\": 3,\n        \"limit\": 100,\n        \"skip\": 0\n    }\n}"},{"id":"3b3132ea-a54f-4323-b3a8-20a504b84df6","name":"search by status","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/subscriptions?status=expired","host":["{{url}}"],"path":["v1","subscriptions"],"query":[{"key":"status","value":"expired"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 02 Sep 2020 15:28:16 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"6419"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"1913-RQ5Jfjmj6nELj5La7CWJsg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"subscriptions\",\n        \"data\": [\n            {\n                \"_id\": \"5ef071bc3dcfec0ac5e062a8\",\n                \"created_at\": \"2020-06-22T08:54:20.306Z\",\n                \"updated_at\": \"2020-06-23T08:54:40.448Z\",\n                \"company_id\": \"5d305bfbfac31b4448c738d7\",\n                \"amount\": 20,\n                \"status\": \"expired\",\n                \"user_id\": \"5d305bfbfac31b4448c738d6\",\n                \"latest_charge_id\": \"5ef1c34feec804212963d632\",\n                \"expired_at\": \"2020-06-23T08:54:40.358Z\",\n                \"expired_reason\": \"end_date\",\n                \"last_change_by\": \"automatic\",\n                \"archived\": false,\n                \"_source_ip_address\": \"192.168.0.1\",\n                \"customer\": {\n                    \"customer_id\": \"5ef071bb3dcfec0ac5e062a5\",\n                    \"first_name\": \"Carlie\",\n                    \"last_name\": \"Kuvalis\",\n                    \"email\": \"carlie.kuvalis@example.com\",\n                    \"phone\": \"+1234567890\",\n                    \"company_name\": \"Konopelski Kuvalis Group\"\n                },\n                \"statistics\": {\n                    \"total_collected_amount\": 40,\n                    \"successful_transactions\": 2\n                },\n                \"schedule\": {\n                    \"interval\": \"day\",\n                    \"start_date\": \"2020-06-22T08:54:19.235Z\",\n                    \"end_date\": \"2020-06-24T00:00:00.000Z\",\n                    \"next_assessment\": \"2020-06-23T08:54:19.235Z\",\n                    \"next_assessment_planned\": \"2020-06-23T08:54:19.235Z\",\n                    \"first_assessment\": \"2020-06-22T08:54:19.235Z\",\n                    \"status\": \"complete\",\n                    \"processing_pended_at\": \"2020-06-23T08:55:28.279Z\",\n                    \"last_assessment_planned\": \"2020-06-22T08:54:19.235Z\",\n                    \"last_assessment\": \"2020-06-23T08:54:40.365Z\",\n                    \"locked\": false,\n                    \"completed_count\": 2,\n                    \"held_count\": 0,\n                    \"retry_count\": 0,\n                    \"frequency\": 1\n                },\n                \"currency\": \"AUD\",\n                \"gateway_type\": \"Stripe\",\n                \"gateway_name\": \"Stripe 1\",\n                \"gateway_mode\": \"test\"\n            },\n            {\n                \"_id\": \"5ef070ef3dcfec0ac5e0629c\",\n                \"created_at\": \"2020-06-22T08:50:55.244Z\",\n                \"updated_at\": \"2020-06-24T11:49:05.939Z\",\n                \"company_id\": \"5d305bfbfac31b4448c738d7\",\n                \"amount\": 11,\n                \"status\": \"expired\",\n                \"user_id\": \"5d305bfbfac31b4448c738d6\",\n                \"latest_charge_id\": \"5ef33db0b1a51f4dfc89e34a\",\n                \"expired_at\": \"2020-06-24T11:49:05.839Z\",\n                \"expired_reason\": \"end_date\",\n                \"last_change_by\": \"automatic\",\n                \"archived\": false,\n                \"_source_ip_address\": \"192.168.0.1\",\n                \"customer\": {\n                    \"customer_id\": \"5ef070ee3dcfec0ac5e06299\",\n                    \"first_name\": \"Carlie\",\n                    \"last_name\": \"Kuvalis\",\n                    \"email\": \"carlie.kuvalis@example.com\",\n                    \"phone\": \"+1234567890\",\n                    \"company_name\": \"Hahn Mertz LLC\"\n                },\n                \"statistics\": {\n                    \"total_collected_amount\": 33,\n                    \"successful_transactions\": 3\n                },\n                \"schedule\": {\n                    \"interval\": \"day\",\n                    \"start_date\": \"2020-06-22T11:49:00.000Z\",\n                    \"end_date\": \"2020-06-25T00:00:00.000Z\",\n                    \"next_assessment\": \"2020-06-24T11:49:00.000Z\",\n                    \"next_assessment_planned\": \"2020-06-24T11:49:00.000Z\",\n                    \"first_assessment\": \"2020-06-22T11:49:00.000Z\",\n                    \"status\": \"complete\",\n                    \"processing_pended_at\": \"2020-06-24T11:49:52.112Z\",\n                    \"last_assessment_planned\": \"2020-06-23T11:49:00.000Z\",\n                    \"last_assessment\": \"2020-06-24T11:49:05.846Z\",\n                    \"locked\": false,\n                    \"completed_count\": 3,\n                    \"held_count\": 0,\n                    \"retry_count\": 0,\n                    \"frequency\": 1\n                },\n                \"currency\": \"AUD\",\n                \"gateway_type\": \"Stripe\",\n                \"gateway_name\": \"Stripe 1\",\n                \"gateway_mode\": \"test\"\n            },\n            {\n                \"_id\": \"5ef064763dcfec0ac5e0622e\",\n                \"created_at\": \"2020-06-22T07:57:42.963Z\",\n                \"updated_at\": \"2020-06-29T07:58:15.049Z\",\n                \"company_id\": \"5d305bfbfac31b4448c738d7\",\n                \"amount\": 12,\n                \"status\": \"expired\",\n                \"user_id\": \"5d305bfbfac31b4448c738d6\",\n                \"latest_charge_id\": \"5ef99f168bbc123baf1507f4\",\n                \"expired_at\": \"2020-06-29T07:58:15.019Z\",\n                \"expired_reason\": \"end_date\",\n                \"last_change_by\": \"automatic\",\n                \"archived\": false,\n                \"_source_ip_address\": \"192.168.0.1\",\n                \"customer\": {\n                    \"customer_id\": \"5ef064763dcfec0ac5e0622b\",\n                    \"first_name\": \"Carlie\",\n                    \"last_name\": \"Kuvalis\",\n                    \"email\": \"carlie.kuvalis@example.com\",\n                    \"phone\": \"+1234567890\",\n                    \"company_name\": \"Hahn Mertz LLC\"\n                },\n                \"statistics\": {\n                    \"total_collected_amount\": 96,\n                    \"successful_transactions\": 8\n                },\n                \"schedule\": {\n                    \"interval\": \"day\",\n                    \"start_date\": \"2020-06-22T07:57:42.066Z\",\n                    \"end_date\": \"2020-06-29T21:00:00.000Z\",\n                    \"next_assessment\": \"2020-06-29T07:57:42.066Z\",\n                    \"next_assessment_planned\": \"2020-06-29T07:57:42.066Z\",\n                    \"first_assessment\": \"2020-06-22T07:57:42.066Z\",\n                    \"status\": \"complete\",\n                    \"processing_pended_at\": \"2020-06-29T07:59:02.065Z\",\n                    \"last_assessment_planned\": \"2020-06-28T07:57:42.066Z\",\n                    \"last_assessment\": \"2020-06-29T07:58:15.025Z\",\n                    \"locked\": false,\n                    \"completed_count\": 8,\n                    \"held_count\": 0,\n                    \"retry_count\": 0,\n                    \"frequency\": 1\n                },\n                \"currency\": \"AUD\",\n                \"gateway_type\": \"Stripe\",\n                \"gateway_name\": \"Stripe 1\",\n                \"gateway_mode\": \"test\"\n            }\n        ],\n        \"count\": 3,\n        \"limit\": 100,\n        \"skip\": 0\n    }\n}"},{"id":"8935ccae-58a9-474e-9c31-b9412f9ac7ad","name":"search with pagination and sorting","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/subscriptions?limit=2&skip=1&sortkey=updated_at&sortdirection=DESC","host":["{{url}}"],"path":["v1","subscriptions"],"query":[{"key":"limit","value":"2"},{"key":"skip","value":"1"},{"key":"sortkey","value":"updated_at"},{"key":"sortdirection","value":"DESC"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 02 Sep 2020 15:15:58 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2533"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"9e5-1c76ZRRAx85xJELpS8gYqA\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"subscriptions\",\n        \"data\": [\n            {\n                \"_id\": \"5ef073483dcfec0ac5e062b6\",\n                \"created_at\": \"2020-06-22T09:00:56.072Z\",\n                \"updated_at\": \"2020-08-24T09:01:49.241Z\",\n                \"company_id\": \"5d305bfbfac31b4448c738d7\",\n                \"amount\": 12,\n                \"status\": \"failed\",\n                \"user_id\": \"5d305bfbfac31b4448c738d6\",\n                \"latest_charge_id\": \"5f4381fd3679530fc4236b1c\",\n                \"last_change_by\": \"automatic\",\n                \"archived\": false,\n                \"_source_ip_address\": \"192.168.0.1\",\n                \"customer\": {\n                    \"customer_id\": \"5ef073473dcfec0ac5e062b3\",\n                    \"first_name\": \"Carlie\",\n                    \"last_name\": \"Kuvalis\",\n                    \"email\": \"carlie.kuvalis@example.com\",\n                    \"phone\": \"+1234567890\",\n                    \"company_name\": \"Konopelski Kuvalis Group\"\n                },\n                \"statistics\": {\n                    \"total_collected_amount\": 708,\n                    \"successful_transactions\": 59\n                },\n                \"schedule\": {\n                    \"interval\": \"day\",\n                    \"start_date\": \"2020-06-22T09:00:55.068Z\",\n                    \"next_assessment\": \"2020-08-24T09:01:46.899Z\",\n                    \"next_assessment_planned\": \"2020-08-20T09:00:55.068Z\",\n                    \"first_assessment\": \"2020-06-22T09:00:55.068Z\",\n                    \"status\": \"failed\",\n                    \"processing_pended_at\": \"2020-08-24T09:02:39.100Z\",\n                    \"last_assessment_planned\": \"2020-08-20T09:00:55.068Z\",\n                    \"last_assessment\": \"2020-08-24T09:01:49.220Z\",\n                    \"locked\": false,\n                    \"completed_count\": 59,\n                    \"held_count\": 0,\n                    \"retry_count\": 5,\n                    \"frequency\": 1\n                },\n                \"currency\": \"AUD\",\n                \"gateway_type\": \"CyberSource\",\n                \"gateway_name\": \"CyberSource\",\n                \"gateway_mode\": \"test\"\n            },\n            {\n                \"_id\": \"5ef05cc63dcfec0ac5e06212\",\n                \"created_at\": \"2020-06-22T07:24:54.785Z\",\n                \"updated_at\": \"2020-07-22T07:24:59.527Z\",\n                \"company_id\": \"5d305bfbfac31b4448c738d7\",\n                \"amount\": 12,\n                \"status\": \"expired\",\n                \"user_id\": \"5d305bfbfac31b4448c738d6\",\n                \"latest_charge_id\": \"5f17e9cab264e75b488d0708\",\n                \"expired_at\": \"2020-07-22T07:24:59.497Z\",\n                \"expired_reason\": \"end_date\",\n                \"last_change_by\": \"automatic\",\n                \"archived\": false,\n                \"_source_ip_address\": \"192.168.0.1\",\n                \"customer\": {\n                    \"customer_id\": \"5ef05cc53dcfec0ac5e0620f\",\n                    \"first_name\": \"Carlie\",\n                    \"last_name\": \"Kuvalis\",\n                    \"email\": \"carlie.kuvalis@example.com\",\n                    \"phone\": \"+1234567890\",\n                    \"reference\": \"Test\",\n                    \"company_name\": \"Hahn Mertz LLC\"\n                },\n                \"statistics\": {\n                    \"total_collected_amount\": 24,\n                    \"successful_transactions\": 2\n                },\n                \"schedule\": {\n                    \"interval\": \"month\",\n                    \"start_date\": \"2020-06-22T07:24:53.705Z\",\n                    \"end_date\": \"2020-08-11T21:00:00.000Z\",\n                    \"next_assessment\": \"2020-07-22T07:24:53.705Z\",\n                    \"next_assessment_planned\": \"2020-07-22T07:24:53.705Z\",\n                    \"first_assessment\": \"2020-06-22T07:24:53.705Z\",\n                    \"status\": \"complete\",\n                    \"processing_pended_at\": \"2020-07-22T07:25:47.940Z\",\n                    \"last_assessment_planned\": \"2020-06-22T07:24:53.705Z\",\n                    \"last_assessment\": \"2020-07-22T07:24:59.508Z\",\n                    \"locked\": false,\n                    \"completed_count\": 2,\n                    \"held_count\": 0,\n                    \"retry_count\": 0,\n                    \"frequency\": 1\n                },\n                \"currency\": \"AUD\",\n                \"gateway_type\": \"Stripe\",\n                \"gateway_name\": \"Stripe 1\",\n                \"gateway_mode\": \"test\"\n            }\n        ],\n        \"count\": 7,\n        \"limit\": 2,\n        \"skip\": 1\n    }\n}"},{"id":"8adbd91f-f0af-4f36-9772-17b2183bfa4c","name":"search by phrase","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/subscriptions?search=@example.com","host":["{{url}}"],"path":["v1","subscriptions"],"query":[{"key":"search","value":"@example.com"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 02 Sep 2020 15:23:44 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1377"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"561-ddik1ywdGBMFsTNScbGV0g\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"subscriptions\",\n        \"data\": [\n            {\n                \"_id\": \"5ef05cc63dcfec0ac5e06212\",\n                \"created_at\": \"2020-06-22T07:24:54.785Z\",\n                \"updated_at\": \"2020-07-22T07:24:59.527Z\",\n                \"company_id\": \"5d305bfbfac31b4448c738d7\",\n                \"amount\": 12,\n                \"status\": \"expired\",\n                \"user_id\": \"5d305bfbfac31b4448c738d6\",\n                \"latest_charge_id\": \"5f17e9cab264e75b488d0708\",\n                \"expired_at\": \"2020-07-22T07:24:59.497Z\",\n                \"expired_reason\": \"end_date\",\n                \"last_change_by\": \"automatic\",\n                \"archived\": false,\n                \"_source_ip_address\": \"192.168.0.1\",\n                \"customer\": {\n                    \"customer_id\": \"5ef05cc53dcfec0ac5e0620f\",\n                    \"first_name\": \"Carlie\",\n                    \"last_name\": \"Kuvalis\",\n                    \"email\": \"carlie.kuvalis@example.com\",\n                    \"phone\": \"+1234567890\",\n                    \"reference\": \"Test\",\n                    \"company_name\": \"Hahn Mertz LLC\"\n                },\n                \"statistics\": {\n                    \"total_collected_amount\": 24,\n                    \"successful_transactions\": 2\n                },\n                \"schedule\": {\n                    \"interval\": \"month\",\n                    \"start_date\": \"2020-06-22T07:24:53.705Z\",\n                    \"end_date\": \"2020-08-11T21:00:00.000Z\",\n                    \"next_assessment\": \"2020-07-22T07:24:53.705Z\",\n                    \"next_assessment_planned\": \"2020-07-22T07:24:53.705Z\",\n                    \"first_assessment\": \"2020-06-22T07:24:53.705Z\",\n                    \"status\": \"complete\",\n                    \"processing_pended_at\": \"2020-07-22T07:25:47.940Z\",\n                    \"last_assessment_planned\": \"2020-06-22T07:24:53.705Z\",\n                    \"last_assessment\": \"2020-07-22T07:24:59.508Z\",\n                    \"locked\": false,\n                    \"completed_count\": 2,\n                    \"held_count\": 0,\n                    \"retry_count\": 0,\n                    \"frequency\": 1\n                },\n                \"currency\": \"AUD\",\n                \"gateway_type\": \"Stripe\",\n                \"gateway_name\": \"Stripe 1\",\n                \"gateway_mode\": \"test\"\n            }\n        ],\n        \"count\": 1,\n        \"limit\": 100,\n        \"skip\": 0\n    }\n}"},{"id":"d4982623-27ec-43b4-ac44-2d02533f2166","name":"search by customerId","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/subscriptions?customer_id=5ef05cc53dcfec0ac5e0620f","host":["{{url}}"],"path":["v1","subscriptions"],"query":[{"key":"customer_id","value":"5ef05cc53dcfec0ac5e0620f"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 02 Sep 2020 15:25:42 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1377"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"561-ddik1ywdGBMFsTNScbGV0g\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"subscriptions\",\n        \"data\": [\n            {\n                \"_id\": \"5ef05cc63dcfec0ac5e06212\",\n                \"created_at\": \"2020-06-22T07:24:54.785Z\",\n                \"updated_at\": \"2020-07-22T07:24:59.527Z\",\n                \"company_id\": \"5d305bfbfac31b4448c738d7\",\n                \"amount\": 12,\n                \"status\": \"expired\",\n                \"user_id\": \"5d305bfbfac31b4448c738d6\",\n                \"latest_charge_id\": \"5f17e9cab264e75b488d0708\",\n                \"expired_at\": \"2020-07-22T07:24:59.497Z\",\n                \"expired_reason\": \"end_date\",\n                \"last_change_by\": \"automatic\",\n                \"archived\": false,\n                \"_source_ip_address\": \"192.168.0.1\",\n                \"customer\": {\n                    \"customer_id\": \"5ef05cc53dcfec0ac5e0620f\",\n                    \"first_name\": \"Carlie\",\n                    \"last_name\": \"Kuvalis\",\n                    \"email\": \"carlie.kuvalis@example.com\",\n                    \"phone\": \"+1234567890\",\n                    \"reference\": \"Test\",\n                    \"company_name\": \"Hahn Mertz LLC\"\n                },\n                \"statistics\": {\n                    \"total_collected_amount\": 24,\n                    \"successful_transactions\": 2\n                },\n                \"schedule\": {\n                    \"interval\": \"month\",\n                    \"start_date\": \"2020-06-22T07:24:53.705Z\",\n                    \"end_date\": \"2020-08-11T21:00:00.000Z\",\n                    \"next_assessment\": \"2020-07-22T07:24:53.705Z\",\n                    \"next_assessment_planned\": \"2020-07-22T07:24:53.705Z\",\n                    \"first_assessment\": \"2020-06-22T07:24:53.705Z\",\n                    \"status\": \"complete\",\n                    \"processing_pended_at\": \"2020-07-22T07:25:47.940Z\",\n                    \"last_assessment_planned\": \"2020-06-22T07:24:53.705Z\",\n                    \"last_assessment\": \"2020-07-22T07:24:59.508Z\",\n                    \"locked\": false,\n                    \"completed_count\": 2,\n                    \"held_count\": 0,\n                    \"retry_count\": 0,\n                    \"frequency\": 1\n                },\n                \"currency\": \"AUD\",\n                \"gateway_type\": \"Stripe\",\n                \"gateway_name\": \"Stripe 1\",\n                \"gateway_mode\": \"test\"\n            }\n        ],\n        \"count\": 1,\n        \"limit\": 100,\n        \"skip\": 0\n    }\n}"}],"_postman_id":"7dffefcd-8853-42e8-8c78-3a3c6f6670da"},{"name":"get","id":"94db9bfc-13dd-42ed-a20e-bbf60200ddf6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/subscriptions/:id","description":"<p>Retrieves data on a subscription with a specified ID.</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","subscriptions",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"878c35f7-2fdc-4666-99b0-ef32bb95e3d6","type":"string","value":"5ef064763dcfec0ac5e0622e","key":"id"}]}},"response":[{"id":"6414bde6-b5f2-4b9d-aa2b-81b1ba3b5cc9","name":"get","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":"{{url}}/v1/subscriptions/5ef064763dcfec0ac5e0622e"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 02 Sep 2020 15:42:05 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1889"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"761-06IxEuhqTj6iLo4XAT2slA\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"subscription\",\n        \"data\": {\n            \"_id\": \"5ef064763dcfec0ac5e0622e\",\n            \"created_at\": \"2020-06-22T07:57:42.963Z\",\n            \"updated_at\": \"2020-06-29T07:58:15.049Z\",\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"amount\": 12,\n            \"status\": \"expired\",\n            \"user_id\": \"5d305bfbfac31b4448c738d6\",\n            \"latest_charge_id\": \"5ef99f168bbc123baf1507f4\",\n            \"expired_at\": \"2020-06-29T07:58:15.019Z\",\n            \"expired_reason\": \"end_date\",\n            \"last_change_by\": \"automatic\",\n            \"archived\": false,\n            \"_source_ip_address\": \"192.168.0.1\",\n            \"customer\": {\n                \"customer_id\": \"5ef064763dcfec0ac5e0622b\",\n                \"first_name\": \"Carlie\",\n                \"last_name\": \"Kuvalis\",\n                \"email\": \"carlie.kuvalis@example.com\",\n                \"phone\": \"+1234567890\",\n                \"company_name\": \"Konopelski Kuvalis Group\",\n                \"payment_source\": {\n                    \"gateway_name\": \"Stripe 1\",\n                    \"gateway_type\": \"Stripe\",\n                    \"gateway_mode\": \"test\",\n                    \"updated_at\": \"2020-06-22T07:57:42.957Z\",\n                    \"vault_token\": \"bd9d6ed0-7c6c-4ee7-84f6-b774cd2a88ed\",\n                    \"gateway_id\": \"5dde1f3799cfea21ed2fc942\",\n                    \"expire_year\": 2021,\n                    \"expire_month\": 1,\n                    \"address_country\": \"AU\",\n                    \"address_line1\": \"61426 Osvaldo Plains\",\n                    \"address_line2\": \"Apt. 276\",\n                    \"address_city\": \"Lake Robyn\",\n                    \"address_state\": \"WY\",\n                    \"address_postcode\": \"4920\",\n                    \"card_name\": \"Wanda Mertz\",\n                    \"card_number_last4\": \"4242\",\n                    \"card_number_bin\": \"42424242\",\n                    \"card_scheme\": \"visa\",\n                    \"ref_token\": \"cus_HVm5S8sw1hGryF\",\n                    \"status\": \"active\",\n                    \"created_at\": \"2020-06-22T07:57:42.906Z\",\n                    \"_id\": \"5ef064763dcfec0ac5e0622c\",\n                    \"type\": \"card\"\n                }\n            },\n            \"statistics\": {\n                \"total_collected_amount\": 96,\n                \"successful_transactions\": 8\n            },\n            \"schedule\": {\n                \"interval\": \"day\",\n                \"start_date\": \"2020-06-22T07:57:42.066Z\",\n                \"end_date\": \"2020-06-29T21:00:00.000Z\",\n                \"next_assessment\": \"2020-06-29T07:57:42.066Z\",\n                \"next_assessment_planned\": \"2020-06-29T07:57:42.066Z\",\n                \"first_assessment\": \"2020-06-22T07:57:42.066Z\",\n                \"status\": \"complete\",\n                \"processing_pended_at\": \"2020-06-29T07:59:02.065Z\",\n                \"last_assessment_planned\": \"2020-06-28T07:57:42.066Z\",\n                \"last_assessment\": \"2020-06-29T07:58:15.025Z\",\n                \"locked\": false,\n                \"completed_count\": 8,\n                \"held_count\": 0,\n                \"retry_count\": 0,\n                \"frequency\": 1\n            },\n            \"currency\": \"AUD\"\n        }\n    }\n}"}],"_postman_id":"94db9bfc-13dd-42ed-a20e-bbf60200ddf6"},{"name":"create","id":"083b4931-93ca-4434-a870-ebbaa74d59d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"10.00\",\n    \"currency\": \"AUD\",\n    \"reference\": \"Fuga consequuntur sint ab magnam\",\n    \"description\": \"Vitae commodi provident assumenda\",\n    \"customer\": {\n        \"first_name\": \"Wanda\",\n        \"last_name\": \"Mertz\",\n        \"email\": \"wanda.mertz@example.com\",\n        \"reference\": \"CustomReference\",\n        \"payment_source\": {\n            \"address_line1\": \"Suite 660\",\n            \"address_line2\": \"822 Ruiz Square\",\n            \"address_city\": \"Lake Edward\",\n            \"address_state\": \"TAS\",\n            \"address_country\": \"AU\",\n            \"address_postcode\": \"1234\",\n            \"gateway_id\": \"5dde1f3799cfea21ed2fc942\",\n            \"card_name\": \"Wanda Mertz\",\n            \"card_number\": \"4242424242424242\",\n            \"expire_month\": \"09\",\n            \"expire_year\": \"21\",\n            \"card_ccv\": \"123\"\n        }\n    },\n    \"schedule\": {\n        \"frequency\": \"1\",\n        \"interval\": \"month\"\n    }\n}"},"url":"{{url}}/v1/subscriptions","description":"<h2 id=\"flow\">Flow</h2>\n<p>You can create a subscription using:</p>\n<ol>\n<li><p>One-time token (customer will be created automatically before creating a subscription)</p>\n</li>\n<li><p>An existing customer (with default or non-default payment source)</p>\n</li>\n<li><p>Direct with credit card (customer will be created automatically before creating a subscription)</p>\n</li>\n<li><p>Direct with bank account (customer will be created automatically before creating a subscription)</p>\n</li>\n<li><p>Using vault-token (customer will be created automatically before creating a subscription)</p>\n</li>\n<li><p>Using vault-token reference (customer will be created automatically before creating a subscription)</p>\n</li>\n<li><p>An existing customer (with default or non-default vault token payment source)</p>\n</li>\n</ol>\n<p>Subscriptions can run on different intervals (ie daily, weekly, monthly etc) and frequencies (ie ‘every X days’). You can also control the start date for a subscription.</p>\n<p>Subscriptions can also be configured to end after:</p>\n<ul>\n<li><p>a certain number of transactions</p>\n</li>\n<li><p>an amount (eg end before reaching $1000 or end after reaching $1000)</p>\n</li>\n<li><p>a date</p>\n</li>\n</ul>\n<p>If a subscription is created without a customer ID, a new customer will be created and the customer ID will be returned in the response.</p>\n<p><strong>Network Tokens Support:</strong> For flow 7, if the default Customer payment source is a Vault token that has an active Network Token, it will be used during payment processing. If the Network Token can't be used, the charge will be processed with card details.</p>\n<h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>+</td>\n<td>float</td>\n<td>Amount of payment</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>+</td>\n<td>string (iso4217 alpha-3)</td>\n<td>Currency code</td>\n</tr>\n<tr>\n<td>description</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined description for payments in payment systems</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined reference for customer in payment systems</td>\n</tr>\n<tr>\n<td>token</td>\n<td>+1</td>\n<td>string(UUID)</td>\n<td>One-time token with all the payment source information</td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>+2, +7</td>\n<td>string (24 hex characters)</td>\n<td>Existing customer ID</td>\n</tr>\n<tr>\n<td>gateway_id</td>\n<td>+6</td>\n<td>string (24 hex characters)</td>\n<td>Existing gateway ID</td>\n</tr>\n<tr>\n<td>customer</td>\n<td>+3, +4, +5, +6</td>\n<td>object</td>\n<td>Object with the customer’s information.</td>\n</tr>\n<tr>\n<td>customer.first_name</td>\n<td>-</td>\n<td>string</td>\n<td>Customer first name</td>\n</tr>\n<tr>\n<td>customer.last_name</td>\n<td>-</td>\n<td>string</td>\n<td>Customer last name</td>\n</tr>\n<tr>\n<td>customer.email</td>\n<td>-</td>\n<td>string</td>\n<td>Customer email</td>\n</tr>\n<tr>\n<td>customer.phone</td>\n<td>-</td>\n<td>string(E.164)</td>\n<td>Customer phone in E.164 international notation (Example: +12345678901)</td>\n</tr>\n<tr>\n<td>customer.reference</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined reference for customer in payment systems</td>\n</tr>\n<tr>\n<td>customer.payment_source</td>\n<td>+</td>\n<td>object</td>\n<td>Object with payment information</td>\n</tr>\n<tr>\n<td>customer.payment_source.gateway_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>Gateway id</td>\n</tr>\n<tr>\n<td>customer.payment_source.type</td>\n<td>+4</td>\n<td>string</td>\n<td>Type of payment. By default <em>card</em>. Use <em>card</em> for payment with credit card. Use <em>bank_account</em> for using direct debit payments</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_name</td>\n<td>+3</td>\n<td>string</td>\n<td>Cardholder name (as on card)</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_number</td>\n<td>+3</td>\n<td>string(numeric)</td>\n<td>Card number</td>\n</tr>\n<tr>\n<td>customer.payment_source.expire_month</td>\n<td>+3</td>\n<td>string(mm)</td>\n<td>Card expiration month mm</td>\n</tr>\n<tr>\n<td>customer.payment_source.expire_year</td>\n<td>+3</td>\n<td>string(yyyy)</td>\n<td>Card expiration year</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_ccv</td>\n<td>-3</td>\n<td>string(numeric)</td>\n<td>Card CCV number</td>\n</tr>\n<tr>\n<td>customer.payment_source.account_name</td>\n<td>+4</td>\n<td>string</td>\n<td>Customer account name.</td>\n</tr>\n<tr>\n<td>customer.payment_source.account_number</td>\n<td>+4</td>\n<td>string</td>\n<td>Number of Customer account.</td>\n</tr>\n<tr>\n<td>customer.payment_source.account_bsb</td>\n<td>-4</td>\n<td>string</td>\n<td>Customer bank state branch number.</td>\n</tr>\n<tr>\n<td>customer.payment_source.account_routing</td>\n<td>-4</td>\n<td>string(numeric)</td>\n<td>Number of Customer account. BSB/Routing/SWIFT/IBAN Number.</td>\n</tr>\n<tr>\n<td>customer.payment_source.account_holder_type</td>\n<td>-4</td>\n<td>string</td>\n<td>account type (<em>personal</em> or <em>business</em>)</td>\n</tr>\n<tr>\n<td>customer.payment_source.account_bank_name</td>\n<td>-4</td>\n<td>string</td>\n<td>Name of account bank</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, line 1</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, line 2</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_state</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, State</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_country</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, Country Code</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_city</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, City</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, Postcode</td>\n</tr>\n<tr>\n<td>customer.payment_source.vault_token</td>\n<td>+5</td>\n<td>string(UUID)</td>\n<td>Vault token</td>\n</tr>\n<tr>\n<td>customer.payment_source.vault_token_reference</td>\n<td>+6</td>\n<td>string (UUID, alphanumeric, digits)</td>\n<td>A unique identifier assigned to each vault token upon creation</td>\n</tr>\n<tr>\n<td>schedule</td>\n<td>+</td>\n<td>object</td>\n<td>Object with subscription schedule information</td>\n</tr>\n<tr>\n<td>schedule.interval</td>\n<td>+</td>\n<td>string</td>\n<td>Assessment interval one-off, week, month, year, day</td>\n</tr>\n<tr>\n<td>schedule.frequency</td>\n<td>+</td>\n<td>string(numeric)</td>\n<td>Assessment frequency, 1 by default (i.e. “3” = “Every 3 weeks”)</td>\n</tr>\n<tr>\n<td>schedule.start_date</td>\n<td>-</td>\n<td>string(Date)</td>\n<td>Start date, ISO 8601 format (yyyy-mm-ddThh:mm:ss.sssZ) or short type of date (yyyy-mm-dd) or specify time offsets from UTC (yyyy-mm-ddThh:mm:ss+hh:mm)</td>\n</tr>\n<tr>\n<td>schedule.end_date</td>\n<td>-</td>\n<td>string(Date)</td>\n<td>End date, ISO 8601 format (yyyy-mm-ddThh:mm:ss.sssZ) or short type of date (yyyy-mm-dd) or specify time offsets from UTC (yyyy-mm-ddThh:mm:ss+hh:mm)</td>\n</tr>\n<tr>\n<td>schedule.end_amount_after</td>\n<td>-</td>\n<td>float</td>\n<td>Total amount of all successful transactions (equals or exceeds)</td>\n</tr>\n<tr>\n<td>schedule.end_amount_before</td>\n<td>-</td>\n<td>float</td>\n<td>Total amount of all successful transactions (not to exceed)</td>\n</tr>\n<tr>\n<td>schedule.end_amount_total</td>\n<td>-</td>\n<td>float</td>\n<td>Total amount to be paid with subscription (equals). NOTE: If last payment of subscription schedule will be less then $ 1.00, some gateways may respond with error and subscription status will become ‘failed’.</td>\n</tr>\n<tr>\n<td>schedule.end_transactions</td>\n<td>-</td>\n<td>integer</td>\n<td>Total count of all successful transactions</td>\n</tr>\n<tr>\n<td>meta</td>\n<td>-</td>\n<td>object</td>\n<td>Optional object with specific fields for different gateways</td>\n</tr>\n<tr>\n<td>meta.account_id</td>\n<td>-</td>\n<td>string</td>\n<td>ID of an existing, connected stripe account. Use to create Stripe connect Direct Charges</td>\n</tr>\n<tr>\n<td>retry</td>\n<td>-</td>\n<td>object</td>\n<td>Optional object with specific fields for retry settings</td>\n</tr>\n<tr>\n<td>retry.limit</td>\n<td>-</td>\n<td>integer</td>\n<td>maximum amount of retried payments</td>\n</tr>\n<tr>\n<td>retry.frequency</td>\n<td>-</td>\n<td>integer</td>\n<td>amount of hours/days between retried payments</td>\n</tr>\n<tr>\n<td>retry.interval</td>\n<td>-</td>\n<td>string</td>\n<td>hours/days (I’ve added this to account for daylight savings etc. If customers want payments to be attempted at same time every day)</td>\n</tr>\n<tr>\n<td>retry.fail_status</td>\n<td>-</td>\n<td>string</td>\n<td>a parameter allowing a subscription to be set to particular status upon maximum retries (<em>active</em>, <em>held</em>, <em>failed</em>, <em>deleted</em>) etc.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","subscriptions"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"d66fe264-34ac-4f34-af59-55726cae6f1e","name":"create with vault-token","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"10.00\",\n    \"currency\": \"AUD\",\n    \"reference\": \"Fuga consequuntur sint ab magnam\",\n    \"description\": \"Vitae commodi provident assumenda\",\n    \"customer\": {\n        \"payment_source\": {\n            \"gateway_id\": \"5dde1f3799cfea21ed2fc942\",\n            \"vault_token\": \"1f062e68-89cf-4554-bc0b-1225013163e9\"\n        }\n    },\n    \"schedule\": {\n        \"frequency\": \"1\",\n        \"interval\": \"month\",\n        \"start_date\": \"2020-07-20\",\n        \"end_date\": \"2020-09-25T07:35:11Z\"\n    }\n}"},"url":"{{url}}/v1/subscriptions"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 03 Sep 2020 09:50:26 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1006"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"3ee-XqVcGUfFi5ejwblVXGiMfg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"subscription\",\n        \"data\": {\n            \"__v\": 0,\n            \"created_at\": \"2020-09-03T09:50:26.022Z\",\n            \"updated_at\": \"2020-09-03T09:50:26.022Z\",\n            \"amount\": 10,\n            \"description\": \"Vitae commodi provident assumenda\",\n            \"reference\": \"Fuga consequuntur sint ab magnam\",\n            \"status\": \"active\",\n            \"_id\": \"5f50bc6280c950150a603648\",\n            \"archived\": false,\n            \"_service\": {\n                \"customer_default_gateway_id\": \"5dde1f3799cfea21ed2fc942\",\n                \"tags\": \"undefined undefined undefined\"\n            },\n            \"customer\": {\n                \"customer_id\": \"5f50bc6080c950150a603646\"\n            },\n            \"statistics\": {\n                \"total_collected_amount\": 0,\n                \"successful_transactions\": 0\n            },\n            \"schedule\": {\n                \"interval\": \"month\",\n                \"start_date\": \"2020-09-03T11:30:00.000Z\",\n                \"end_date\": \"2020-09-25T19:05:11.000Z\",\n                \"end_amount_after\": 0,\n                \"end_amount_before\": 0,\n                \"end_amount_total\": 0,\n                \"next_assessment\": \"2020-09-03T11:30:00.000Z\",\n                \"next_assessment_planned\": \"2020-09-03T11:30:00.000Z\",\n                \"first_assessment\": \"2020-09-03T11:30:00.000Z\",\n                \"status\": \"inprogress\",\n                \"locked\": false,\n                \"completed_count\": 0,\n                \"held_count\": 0,\n                \"retry_count\": 0,\n                \"frequency\": 1\n            },\n            \"currency\": \"AUD\"\n        }\n    }\n}"},{"id":"0b7329c4-5d3a-40f1-88c8-66c8810fea4a","name":"create with vault-token","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"10.00\",\n    \"currency\": \"AUD\",\n    \"reference\": \"Fuga consequuntur sint ab magnam\",\n    \"description\": \"Vitae commodi provident assumenda\",\n    \"customer\": {\n        \"payment_source\": {\n            \"gateway_id\": \"5dde1f3799cfea21ed2fc942\",\n            \"vault_token_reference\": \"49837263849382745\"\n        }\n    },\n    \"schedule\": {\n        \"frequency\": \"1\",\n        \"interval\": \"month\",\n        \"start_date\": \"2020-07-20\",\n        \"end_date\": \"2020-09-25T07:35:11Z\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/subscriptions"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 03 Sep 2020 09:50:26 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1006"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"3ee-XqVcGUfFi5ejwblVXGiMfg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"subscription\",\n        \"data\": {\n            \"__v\": 0,\n            \"created_at\": \"2020-09-03T09:50:26.022Z\",\n            \"updated_at\": \"2020-09-03T09:50:26.022Z\",\n            \"amount\": 10,\n            \"description\": \"Vitae commodi provident assumenda\",\n            \"reference\": \"Fuga consequuntur sint ab magnam\",\n            \"status\": \"active\",\n            \"_id\": \"5f50bc6280c950150a603648\",\n            \"archived\": false,\n            \"_service\": {\n                \"customer_default_gateway_id\": \"5dde1f3799cfea21ed2fc942\",\n                \"tags\": \"undefined undefined undefined\"\n            },\n            \"customer\": {\n                \"customer_id\": \"5f50bc6080c950150a603646\"\n            },\n            \"statistics\": {\n                \"total_collected_amount\": 0,\n                \"successful_transactions\": 0\n            },\n            \"schedule\": {\n                \"interval\": \"month\",\n                \"start_date\": \"2020-09-03T11:30:00.000Z\",\n                \"end_date\": \"2020-09-25T19:05:11.000Z\",\n                \"end_amount_after\": 0,\n                \"end_amount_before\": 0,\n                \"end_amount_total\": 0,\n                \"next_assessment\": \"2020-09-03T11:30:00.000Z\",\n                \"next_assessment_planned\": \"2020-09-03T11:30:00.000Z\",\n                \"first_assessment\": \"2020-09-03T11:30:00.000Z\",\n                \"status\": \"inprogress\",\n                \"locked\": false,\n                \"completed_count\": 0,\n                \"held_count\": 0,\n                \"retry_count\": 0,\n                \"frequency\": 1\n            },\n            \"currency\": \"AUD\"\n        }\n    }\n}"},{"id":"2c17b558-f153-4cff-8303-7f9df1a1a578","name":"create with one-time token","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"10.00\",\n    \"currency\": \"AUD\",\n    \"reference\": \"Fuga consequuntur sint ab magnam\",\n    \"description\": \"Vitae commodi provident assumenda\",\n    \"token\": \"9a922988-7889-4a7c-9eba-9fc589d5b22b\",\n    \"schedule\": {\n        \"frequency\": \"1\",\n        \"interval\": \"day\",\n        \"start_date\": \"2020-08-23\",\n        \"end_date\": \"2020-09-25T07:35:11Z\"\n    }\n}"},"url":"{{url}}/v1/subscriptions"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 03 Sep 2020 09:52:45 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1038"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"40e-S5kQ3wEuFh8FKd7+QmVVgA\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"subscription\",\n        \"data\": {\n            \"__v\": 0,\n            \"created_at\": \"2020-09-03T09:52:45.361Z\",\n            \"updated_at\": \"2020-09-03T09:52:45.361Z\",\n            \"amount\": 10,\n            \"description\": \"Vitae commodi provident assumenda\",\n            \"reference\": \"Fuga consequuntur sint ab magnam\",\n            \"status\": \"active\",\n            \"_id\": \"5f50bced80c950150a60364c\",\n            \"archived\": false,\n            \"_service\": {\n                \"customer_default_gateway_id\": \"5ef6167d2e4a1b140f640167\",\n                \"tags\": \"tags wanda.mertz@example.com\"\n            },\n            \"customer\": {\n                \"customer_id\": \"5f50bced80c950150a60364a\",\n                \"email\": \"wanda.mertz@example.com\"\n            },\n            \"statistics\": {\n                \"total_collected_amount\": 0,\n                \"successful_transactions\": 0\n            },\n            \"schedule\": {\n                \"interval\": \"day\",\n                \"start_date\": \"2020-09-03T11:30:00.000Z\",\n                \"end_date\": \"2020-09-25T19:05:11.000Z\",\n                \"end_amount_after\": 0,\n                \"end_amount_before\": 0,\n                \"end_amount_total\": 0,\n                \"next_assessment\": \"2020-09-03T11:30:00.000Z\",\n                \"next_assessment_planned\": \"2020-09-03T11:30:00.000Z\",\n                \"first_assessment\": \"2020-09-03T11:30:00.000Z\",\n                \"status\": \"inprogress\",\n                \"locked\": false,\n                \"completed_count\": 0,\n                \"held_count\": 0,\n                \"retry_count\": 0,\n                \"frequency\": 1\n            },\n            \"currency\": \"AUD\"\n        }\n    }\n}"},{"id":"61fd0082-efac-485e-bd60-5c51259fc31e","name":"create with customer","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"10.00\",\n    \"currency\": \"AUD\",\n    \"reference\": \"Fuga consequuntur sint ab magnam\",\n    \"description\": \"Vitae commodi provident assumenda\",\n    \"customer_id\": \"5f50b04e80c950150a603632\",\n    \"schedule\": {\n        \"frequency\": \"1\",\n        \"interval\": \"day\",\n        \"start_date\": \"2020-07-20\",\n        \"end_date\": \"2020-09-25T07:35:11Z\"\n    }\n}"},"url":"{{url}}/v1/subscriptions"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 03 Sep 2020 08:59:07 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1146"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"47a-yj3jFfWM0+qlU++Skj3osg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"subscription\",\n        \"data\": {\n            \"__v\": 0,\n            \"created_at\": \"2020-09-03T08:59:07.752Z\",\n            \"updated_at\": \"2020-09-03T08:59:07.752Z\",\n            \"amount\": 10,\n            \"description\": \"Vitae commodi provident assumenda\",\n            \"reference\": \"Fuga consequuntur sint ab magnam\",\n            \"status\": \"active\",\n            \"_id\": \"5f50b05b80c950150a603635\",\n            \"archived\": false,\n            \"_service\": {\n                \"customer_default_gateway_id\": \"5dde1f3799cfea21ed2fc942\",\n                \"tags\": \"carlie kuvalis carlie.kuvalis@example.com\"\n            },\n            \"customer\": {\n                \"customer_id\": \"5f50b04e80c950150a603632\",\n                \"first_name\": \"Konopelski\",\n                \"last_name\": \"Kuvalis\",\n                \"email\": \"carlie.kuvalis@example.com\",\n                \"phone\": \"+1234567890\",\n                \"reference\": \"Some refference\",\n                \"company_name\": \"Konopelski Kuvalis Group\"\n            },\n            \"statistics\": {\n                \"total_collected_amount\": 0,\n                \"successful_transactions\": 0\n            },\n            \"schedule\": {\n                \"interval\": \"day\",\n                \"start_date\": \"2020-09-03T11:30:00.000Z\",\n                \"end_date\": \"2020-09-25T19:05:11.000Z\",\n                \"end_amount_after\": 0,\n                \"end_amount_before\": 0,\n                \"end_amount_total\": 0,\n                \"next_assessment\": \"2020-09-03T11:30:00.000Z\",\n                \"next_assessment_planned\": \"2020-09-03T11:30:00.000Z\",\n                \"first_assessment\": \"2020-09-03T11:30:00.000Z\",\n                \"status\": \"inprogress\",\n                \"locked\": false,\n                \"completed_count\": 0,\n                \"held_count\": 0,\n                \"retry_count\": 0,\n                \"frequency\": 1\n            },\n            \"currency\": \"AUD\"\n        }\n    }\n}"},{"id":"4ac272ad-8cfc-4507-9bd0-b660da61eb60","name":"create direct with bank-account","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"10.00\",\n    \"currency\": \"AUD\",\n    \"reference\": \"Fuga consequuntur sint ab magnam\",\n    \"description\": \"Vitae commodi provident assumenda\",\n    \"customer\": {\n        \"payment_source\": {\n            \"gateway_id\": \"5e259f7881910626190d0433\",\n            \"type\": \"bank_account\",\n            \"account_name\": \"Wanda Mertz\",\n            \"account_number\": \"064000\",\n            \"account_routing\": \"064000\"\n        }\n    },\n    \"schedule\": {\n        \"frequency\": \"1\",\n        \"interval\": \"day\",\n        \"start_date\": \"2020-08-23\",\n        \"end_date\": \"2020-09-25T07:35:11Z\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/subscriptions"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 03 Sep 2020 09:27:58 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1004"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"3ec-NTIv2cAX4Qn9O4obTPjS7A\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"subscription\",\n        \"data\": {\n            \"__v\": 0,\n            \"created_at\": \"2020-09-03T09:27:58.427Z\",\n            \"updated_at\": \"2020-09-03T09:27:58.427Z\",\n            \"amount\": 10,\n            \"description\": \"Vitae commodi provident assumenda\",\n            \"reference\": \"Fuga consequuntur sint ab magnam\",\n            \"status\": \"active\",\n            \"_id\": \"5f50b71e80c950150a603644\",\n            \"archived\": false,\n            \"_service\": {\n                \"customer_default_gateway_id\": \"5e259f7881910626190d0433\",\n                \"tags\": \"undefined undefined undefined\"\n            },\n            \"customer\": {\n                \"customer_id\": \"5f50b71580c950150a603641\"\n            },\n            \"statistics\": {\n                \"total_collected_amount\": 0,\n                \"successful_transactions\": 0\n            },\n            \"schedule\": {\n                \"interval\": \"day\",\n                \"start_date\": \"2020-09-03T11:30:00.000Z\",\n                \"end_date\": \"2020-09-25T19:05:11.000Z\",\n                \"end_amount_after\": 0,\n                \"end_amount_before\": 0,\n                \"end_amount_total\": 0,\n                \"next_assessment\": \"2020-09-03T11:30:00.000Z\",\n                \"next_assessment_planned\": \"2020-09-03T11:30:00.000Z\",\n                \"first_assessment\": \"2020-09-03T11:30:00.000Z\",\n                \"status\": \"inprogress\",\n                \"locked\": false,\n                \"completed_count\": 0,\n                \"held_count\": 0,\n                \"retry_count\": 0,\n                \"frequency\": 1\n            },\n            \"currency\": \"AUD\"\n        }\n    }\n}"},{"id":"a268c104-1fa4-4daf-bee7-e8ac9cd6168b","name":"create with credit card and customer details","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"10.00\",\n    \"currency\": \"AUD\",\n    \"reference\": \"Fuga consequuntur sint ab magnam\",\n    \"description\": \"Vitae commodi provident assumenda\",\n    \"customer\": {\n        \"first_name\": \"Wanda\",\n        \"last_name\": \"Mertz\",\n        \"email\": \"wanda.mertz@example.com\",\n        \"reference\": \"CustomReference\",\n        \"payment_source\": {\n            \"address_line1\": \"Suite 660\",\n            \"address_line2\": \"822 Ruiz Square\",\n            \"address_city\": \"Lake Edward\",\n            \"address_state\": \"TAS\",\n            \"address_country\": \"AU\",\n            \"address_postcode\": \"1234\",\n            \"gateway_id\": \"5dde1f3799cfea21ed2fc942\",\n            \"card_name\": \"Wanda Mertz\",\n            \"card_number\": \"4242424242424242\",\n            \"expire_month\": \"09\",\n            \"expire_year\": \"21\",\n            \"card_ccv\": \"123\"\n        }\n    },\n    \"schedule\": {\n        \"frequency\": \"1\",\n        \"interval\": \"month\",\n        \"start_date\": \"2020-07-20\",\n        \"end_date\": \"2020-09-25T07:35:11Z\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/subscriptions"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 03 Sep 2020 10:20:18 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1133"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"46d-lciHomszwEaGWGd0qe9Xxg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"subscription\",\n        \"data\": {\n            \"__v\": 0,\n            \"created_at\": \"2020-09-03T10:20:18.115Z\",\n            \"updated_at\": \"2020-09-03T10:20:18.115Z\",\n            \"amount\": 10,\n            \"description\": \"Vitae commodi provident assumenda\",\n            \"reference\": \"Fuga consequuntur sint ab magnam\",\n            \"status\": \"active\",\n            \"_id\": \"5f50c36280c950150a603650\",\n            \"archived\": false,\n            \"_service\": {\n                \"customer_default_gateway_id\": \"5dde1f3799cfea21ed2fc942\",\n                \"tags\": \"wanda mertz wanda.mertz@example.com\"\n            },\n            \"customer\": {\n                \"customer_id\": \"5f50c36080c950150a60364d\",\n                \"first_name\": \"Samantha\",\n                \"last_name\": \"Washington\",\n                \"email\": \"wanda.mertz@example.com\",\n                \"reference\": \"CustomReference\"\n            },\n            \"statistics\": {\n                \"total_collected_amount\": 0,\n                \"successful_transactions\": 0\n            },\n            \"schedule\": {\n                \"interval\": \"month\",\n                \"start_date\": \"2020-09-03T11:30:00.000Z\",\n                \"end_date\": \"2020-09-25T19:05:11.000Z\",\n                \"end_amount_after\": 0,\n                \"end_amount_before\": 0,\n                \"end_amount_total\": 0,\n                \"next_assessment\": \"2020-09-03T11:30:00.000Z\",\n                \"next_assessment_planned\": \"2020-09-03T11:30:00.000Z\",\n                \"first_assessment\": \"2020-09-03T11:30:00.000Z\",\n                \"status\": \"inprogress\",\n                \"locked\": false,\n                \"completed_count\": 0,\n                \"held_count\": 0,\n                \"retry_count\": 0,\n                \"frequency\": 1\n            },\n            \"currency\": \"AUD\"\n        }\n    }\n}"},{"id":"eb674a4c-1ee7-4161-9f9a-99aec153b9f1","name":"create with customer and non-default payment source","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"10.00\",\n    \"currency\": \"AUD\",\n    \"reference\": \"Fuga consequuntur sint ab magnam\",\n    \"description\": \"Vitae commodi provident assumenda\",\n    \"customer_id\": \"5f50b04e80c950150a603632\",\n    \"payment_source_id\": \"5f50b04f80c950150a603633\",\n    \"schedule\": {\n        \"frequency\": \"1\",\n        \"interval\": \"day\",\n        \"start_date\": \"2020-08-23\",\n        \"end_date\": \"2020-09-25T07:35:11Z\"\n    }\n}"},"url":"{{url}}/v1/subscriptions"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 03 Sep 2020 09:15:13 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1193"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"4a9-Gg0TEPieAQE4NiEvxlUfqg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"subscription\",\n        \"data\": {\n            \"__v\": 0,\n            \"created_at\": \"2020-09-03T09:15:13.783Z\",\n            \"updated_at\": \"2020-09-03T09:15:13.783Z\",\n            \"amount\": 10,\n            \"description\": \"Vitae commodi provident assumenda\",\n            \"reference\": \"Fuga consequuntur sint ab magnam\",\n            \"status\": \"active\",\n            \"payment_source_id\": \"5f50b04f80c950150a603633\",\n            \"_id\": \"5f50b42180c950150a60363d\",\n            \"archived\": false,\n            \"_service\": {\n                \"customer_default_gateway_id\": \"5dde1f3799cfea21ed2fc942\",\n                \"tags\": \"wanda mertz wanda.mertz@example.com\"\n            },\n            \"customer\": {\n                \"customer_id\": \"5f50b04e80c950150a603632\",\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"email\": \"wanda.mertz@example.com\",\n                \"phone\": \"+1234567890\",\n                \"reference\": \"Some refference\",\n                \"company_name\": \"Hahn Mertz LLC\"\n            },\n            \"statistics\": {\n                \"total_collected_amount\": 0,\n                \"successful_transactions\": 0\n            },\n            \"schedule\": {\n                \"interval\": \"day\",\n                \"start_date\": \"2020-09-03T11:30:00.000Z\",\n                \"end_date\": \"2020-09-25T19:05:11.000Z\",\n                \"end_amount_after\": 0,\n                \"end_amount_before\": 0,\n                \"end_amount_total\": 0,\n                \"next_assessment\": \"2020-09-03T11:30:00.000Z\",\n                \"next_assessment_planned\": \"2020-09-03T11:30:00.000Z\",\n                \"first_assessment\": \"2020-09-03T11:30:00.000Z\",\n                \"status\": \"inprogress\",\n                \"locked\": false,\n                \"completed_count\": 0,\n                \"held_count\": 0,\n                \"retry_count\": 0,\n                \"frequency\": 1\n            },\n            \"currency\": \"AUD\"\n        }\n    }\n}"},{"id":"27669130-84cd-4337-8c09-b95c63548cba","name":"create with credit card","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"10.00\",\n    \"currency\": \"AUD\",\n    \"reference\": \"Fuga consequuntur sint ab magnam\",\n    \"description\": \"Vitae commodi provident assumenda\",\n    \"customer\": {\n        \"payment_source\": {\n            \"gateway_id\": \"5dde1f3799cfea21ed2fc942\",\n            \"card_name\": \"Wanda Mertz\",\n            \"card_number\": \"4242424242424242\",\n            \"expire_month\": \"09\",\n            \"expire_year\": \"21\",\n            \"card_ccv\": \"123\"\n        }\n    },\n    \"schedule\": {\n        \"frequency\": \"1\",\n        \"interval\": \"month\",\n        \"start_date\": \"2020-07-20\",\n        \"end_date\": \"2020-09-25T07:35:11Z\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/subscriptions"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 03 Sep 2020 09:11:40 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1006"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"3ee-+KhKhc8YSPmZNyNRrokEyA\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"subscription\",\n        \"data\": {\n            \"__v\": 0,\n            \"created_at\": \"2020-09-03T09:11:40.733Z\",\n            \"updated_at\": \"2020-09-03T09:11:40.733Z\",\n            \"amount\": 10,\n            \"description\": \"Vitae commodi provident assumenda\",\n            \"reference\": \"Fuga consequuntur sint ab magnam\",\n            \"status\": \"active\",\n            \"_id\": \"5f50b34c80c950150a603639\",\n            \"archived\": false,\n            \"_service\": {\n                \"customer_default_gateway_id\": \"5dde1f3799cfea21ed2fc942\",\n                \"tags\": \"undefined undefined undefined\"\n            },\n            \"customer\": {\n                \"customer_id\": \"5f50b34b80c950150a603636\"\n            },\n            \"statistics\": {\n                \"total_collected_amount\": 0,\n                \"successful_transactions\": 0\n            },\n            \"schedule\": {\n                \"interval\": \"month\",\n                \"start_date\": \"2020-09-03T11:30:00.000Z\",\n                \"end_date\": \"2020-09-25T19:05:11.000Z\",\n                \"end_amount_after\": 0,\n                \"end_amount_before\": 0,\n                \"end_amount_total\": 0,\n                \"next_assessment\": \"2020-09-03T11:30:00.000Z\",\n                \"next_assessment_planned\": \"2020-09-03T11:30:00.000Z\",\n                \"first_assessment\": \"2020-09-03T11:30:00.000Z\",\n                \"status\": \"inprogress\",\n                \"locked\": false,\n                \"completed_count\": 0,\n                \"held_count\": 0,\n                \"retry_count\": 0,\n                \"frequency\": 1\n            },\n            \"currency\": \"AUD\"\n        }\n    }\n}"},{"id":"9af34430-2098-4162-b252-9a1cd66c8a9b","name":"create with customer and vault token payment source","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"10.00\",\n    \"currency\": \"AUD\",\n    \"reference\": \"Fuga consequuntur sint ab magnam\",\n    \"description\": \"Vitae commodi provident assumenda\",\n    \"customer_id\": \"605da97a0a43121cff2b5f6c\",\n    \"gateway_id\":\"60145a6555043a24e8c282e6\",\n    \"schedule\": {\n        \"frequency\": \"1\",\n        \"interval\": \"month\"\n    }\n}"},"url":"{{url}}/v1/subscriptions"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 26 Mar 2021 12:24:03 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1081"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"439-s6gddisFlJMKQpfxnB2MjA\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"subscription\",\n        \"data\": {\n            \"schedule\": {\n                \"frequency\": 1,\n                \"retry_count\": 0,\n                \"held_count\": 0,\n                \"completed_count\": 0,\n                \"locked\": false,\n                \"interval\": \"month\",\n                \"start_date\": \"2021-03-26T12:24:03.054Z\",\n                \"end_amount_after\": 0,\n                \"end_amount_before\": 0,\n                \"end_amount_total\": 0,\n                \"next_assessment\": \"2021-03-26T12:24:03.054Z\",\n                \"next_assessment_planned\": \"2021-03-26T12:24:03.054Z\",\n                \"first_assessment\": \"2021-03-26T12:24:03.054Z\",\n                \"status\": \"inprogress\"\n            },\n            \"statistics\": {\n                \"successful_transactions\": 0,\n                \"total_collected_amount\": 0\n            },\n            \"currency\": \"AUD\",\n            \"archived\": false,\n            \"_id\": \"605dd263ec5deb23acab839d\",\n            \"amount\": 10,\n            \"description\": \"Vitae commodi provident assumenda\",\n            \"reference\": \"Fuga consequuntur sint ab magnam\",\n            \"gateway_id\": \"60145a6555043a24e8c282e6\",\n            \"customer\": {\n                \"customer_id\": \"605da97a0a43121cff2b5f6c\",\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"email\": \"wanda.mertz@example.com\"\n            },\n            \"_service\": {\n                \"customer_default_gateway_id\": \"60145a6555043a24e8c282e6\",\n                \"tags\": \"wanda Mertz wanda.mertz@example.com\"\n            },\n            \"status\": \"active\",\n            \"updated_at\": \"2021-03-26T12:24:03.066Z\",\n            \"created_at\": \"2021-03-26T12:24:03.066Z\",\n            \"__v\": 0\n        }\n    }\n}"}],"_postman_id":"083b4931-93ca-4434-a870-ebbaa74d59d0"},{"name":"delete","id":"98f08c45-a968-44ed-9782-713be9bc07f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/subscriptions/:id","description":"<p>Delete Subscription to change subsscription status to \"deleted\". You can still retrieve subscriptions with \"deleted\" status.</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","subscriptions",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"9a55bb8f-6553-47a1-ba67-49a9ce734728","type":"string","value":"5ef064763dcfec0ac5e0622e","key":"id"}]}},"response":[{"id":"c4ceca6b-b0c1-4670-bd1a-879053cacc99","name":"delete success","originalRequest":{"method":"DELETE","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/subscriptions/:id","host":["{{url}}"],"path":["v1","subscriptions",":id"],"variable":[{"key":"id","value":"5ef064763dcfec0ac5e0622e"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 03 Sep 2020 07:47:59 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1134"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"46e-iPQ+do6Cnmj+5B3eVPeyqQ\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"subscription\",\n        \"data\": {\n            \"_id\": \"5ef064763dcfec0ac5e0622e\",\n            \"created_at\": \"2020-06-22T07:57:42.963Z\",\n            \"updated_at\": \"2020-09-03T07:47:59.749Z\",\n            \"amount\": 12,\n            \"status\": \"deleted\",\n            \"latest_charge_id\": \"5ef99f168bbc123baf1507f4\",\n            \"expired_at\": \"2020-06-29T07:58:15.019Z\",\n            \"expired_reason\": \"end_date\",\n            \"last_change_by\": \"manual\",\n            \"archived\": false,\n            \"customer\": {\n                \"customer_id\": \"5ef064763dcfec0ac5e0622b\",\n                \"first_name\": \"Carlie\",\n                \"last_name\": \"Kuvalis\",\n                \"email\": \"carlie.kuvalis@example.com\",\n                \"phone\": \"+1234567890\",\n                \"company_name\": \"Konopelski Kuvalis Group\"\n            },\n            \"statistics\": {\n                \"total_collected_amount\": 96,\n                \"successful_transactions\": 8\n            },\n            \"schedule\": {\n                \"interval\": \"day\",\n                \"start_date\": \"2020-06-22T07:57:42.066Z\",\n                \"end_date\": \"2020-06-29T21:00:00.000Z\",\n                \"next_assessment\": \"2020-06-29T07:57:42.066Z\",\n                \"next_assessment_planned\": \"2020-06-29T07:57:42.066Z\",\n                \"first_assessment\": \"2020-06-22T07:57:42.066Z\",\n                \"status\": \"complete\",\n                \"processing_pended_at\": \"2020-06-29T07:59:02.065Z\",\n                \"last_assessment_planned\": \"2020-06-28T07:57:42.066Z\",\n                \"last_assessment\": \"2020-06-29T07:58:15.025Z\",\n                \"locked\": false,\n                \"completed_count\": 8,\n                \"held_count\": 0,\n                \"retry_count\": 0,\n                \"frequency\": 1\n            },\n            \"currency\": \"AUD\"\n        }\n    }\n}"}],"_postman_id":"98f08c45-a968-44ed-9782-713be9bc07f8"},{"name":"modify","id":"83dc8837-ff31-473c-a608-c8f1466c64fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"status\": \"active\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/subscriptions/:id","description":"<p>Update subscription settings or/and apply an additional flow.</p>\n<h2 id=\"additional-flow\">Additional Flow</h2>\n<ol>\n<li>Restart a subscription starting on a specific day. (The payment cycle will start on the specified date.)</li>\n<li>Reactivate an <em>expired</em> or <em>deleted</em> subscription starting on a specific day by updating its status to <em>active</em>. (The payment cycle will start on the specified date.)</li>\n<li>Reactivate a <em>failed</em> subscription by updating the status to <em>active</em>. After reactivation, the system will charge all the skipped payments.</li>\n<li>Transfer an <em>active</em> subscription to the <em>held</em> status. Records on charges will still be created, however, the payment itself is not sent to the gateway and thus not processed.</li>\n<li>Transfer a <em>held</em> subscription to the <em>active</em> status. All held charges remain held, i.e. it is not possible to re-process them.</li>\n<li>Transfer a subscription to the final status (<em>deleted</em> or <em>expired</em>) manually.</li>\n</ol>\n<h2 id=\"status-modification\">Status modification</h2>\n<p>The diagram below shows all possible ways of status modification and how it affects the payment cycle.\n<img src=\"https://render.powerplantuml.com/svg/ZPHDRjim48NtEiL3id60n8l-BIoWY0yG52Xw0PeSYKGfKYMfEBfzXvIjqh5RL3kACs--DnpoEIOHqZJOfWz-6g6eCyuaurrptmSYjzkyF3JE9sg05-4cOS4fQOgGMhYUi1cyCjsCGBycYkcX8QTG4XGb8NNM4VDkirza44ol4uljf-G7aOoyrBjARtQGKmZaqZcmNRToRE5k-0CZZ2IozWv29lDARTF4qPhyw-ahEkkFkF_Kygho1fpS0Tz9-g0YlCimeQS84OZB6ciX0skJUaG9rVv8hnGUaJJD6CKyP41MmXYyf1X9STpg9IDfiggjIJvVaTGmUwwPKrQKG8CmhlnxXDdITY4n2IOkbNsCvc09oNFmqmaa4murI-a8HCzYfthhcG0_DArkv2nPJ8kOSqbjBmsT6riP-jAMzOMbx5oH9MvTUyvQYzSgrpfNIk-JIy1fjfPrSMEfEqi2tnp1Txa9kCkZ7VKTf7Ugp7Z46fTj7hWO1ZedLsQNnH_O7UXjD67nL6-j7ZxS7BD_TlgOnwpSnmMBnp1Znv6awGmfA55W_dAITIzkr7BJSA2GUn4e1SC3jLgcDosco2Uqr1MidsxEGOaUENQz1uU9zuNZ7POjbovValUZtmbZwNBuF_vFV-BCLCFIcF9pkGiGl2wj-Md6aR5FfB6kMvzAixmCE6hcuAVYcJVvpViD\" alt=\"image\" /></p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>The ID received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required [flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>-</td>\n<td>float</td>\n<td>An amount of the payment</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>-</td>\n<td>string (iso4217 alpha-3)</td>\n<td>The currency code</td>\n</tr>\n<tr>\n<td>description</td>\n<td>-</td>\n<td>string</td>\n<td>A manually defined description for payments in payment systems</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>A manually defined reference for payments in payment systems</td>\n</tr>\n<tr>\n<td>payment_source_id</td>\n<td>-</td>\n<td>string(24 hex characters)</td>\n<td>The payment source to pay for the subscription, generally a payment source retrieved from a customer is used</td>\n</tr>\n<tr>\n<td>status</td>\n<td>+2,+3,+4,+5,+6</td>\n<td>string</td>\n<td>A new subscription status.</td>\n</tr>\n<tr>\n<td>schedule</td>\n<td>-</td>\n<td>object</td>\n<td>An object with subscription schedule information</td>\n</tr>\n<tr>\n<td>schedule.interval</td>\n<td>-</td>\n<td>string</td>\n<td>An assessment interval. Possible values: one-off, week, month, year, day</td>\n</tr>\n<tr>\n<td>schedule.frequency</td>\n<td>-</td>\n<td>string (numeric)</td>\n<td>An assessment frequency, 1 is used by default (i.e. “3” = “Every 3 weeks”)</td>\n</tr>\n<tr>\n<td>schedule.start_date</td>\n<td>+1, +2</td>\n<td>string (Date)</td>\n<td>A start date can be provided in the ISO 8601 format (yyyy-mm-ddThh:mm:ss.sssZ) or in a short type of date (yyyy-mm-dd) or with time offsets from UTC (yyyy-mm-ddThh:mm:ss+hh:mm). The date in the past is automatically converted to the current moment</td>\n</tr>\n<tr>\n<td>schedule.end_date</td>\n<td>-</td>\n<td>string (Date)</td>\n<td>An end date can be provided in the ISO 8601 format (yyyy-mm-ddThh:mm:ss.sssZ) or in a short type of date (yyyy-mm-dd) or with time offsets from UTC (yyyy-mm-ddThh:mm:ss+hh:mm)</td>\n</tr>\n<tr>\n<td>schedule.end_amount_after</td>\n<td>-</td>\n<td>float</td>\n<td>A total amount of all successful transactions (equals or exceeds)</td>\n</tr>\n<tr>\n<td>schedule.end_amount_before</td>\n<td>-</td>\n<td>float</td>\n<td>A total amount of all successful transactions (not to exceed)</td>\n</tr>\n<tr>\n<td>schedule.end_amount_total</td>\n<td>-</td>\n<td>float</td>\n<td>A total amount to be paid with subscription (equals). NOTE: If the last payment of subscription schedule will be less than $ 1.00, some gateways may respond with an error and the subscription status will become ‘failed’.</td>\n</tr>\n<tr>\n<td>schedule.end_transactions</td>\n<td>-</td>\n<td>integer</td>\n<td>A total count of all successful transactions</td>\n</tr>\n<tr>\n<td>retry</td>\n<td>-</td>\n<td>object</td>\n<td>An optional object with specific fields for retry settings. The settings are applied after a payment on a subscription fails with a soft error</td>\n</tr>\n<tr>\n<td>retry.limit</td>\n<td>-</td>\n<td>integer</td>\n<td>A maximum amount of retried payments</td>\n</tr>\n<tr>\n<td>retry.frequency</td>\n<td>-</td>\n<td>integer</td>\n<td>A retry frequency, 1 is used by default (i.e. “3” = “Every 3 weeks”)</td>\n</tr>\n<tr>\n<td>retry.interval</td>\n<td>-</td>\n<td>string</td>\n<td>A retry interval. Possible values: week, month, year, day</td>\n</tr>\n<tr>\n<td>retry.fail_status</td>\n<td>-</td>\n<td>string</td>\n<td>A status of the subscription after all the retries have gone through (<em>active</em>, <em>held</em>, <em>failed</em>, <em>deleted</em>, etc.)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","subscriptions",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"12ae9dc0-f367-4d2d-a641-35d2b117099e","type":"string","value":"5f50f59580c950150a6038a9","key":"id"}]}},"response":[{"id":"8427e35e-fc1c-4fb8-bd31-7696fee57a11","name":"modify deleted subscription error","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"schedule\" : {\n        \"start_date\": \"2020-09-14T21:00:00.000Z\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/subscriptions/:id","host":["{{url}}"],"path":["v1","subscriptions",":id"],"variable":[{"key":"id","value":"5f5e1eb189201b0866d045f5"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 13 Sep 2020 19:33:44 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"413"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"19d-SV0FC0Z0y1PkpAUqP45m0w\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Validation error\",\n        \"code\": \"ValidationError\",\n        \"details\": [\n            \"Subscription Cancelled. Please provide new status when updating cancelled subscription\"\n        ]\n    },\n    \"resource\": {\n        \"type\": \"subscription\",\n        \"data\": null\n    },\n    \"error_summary\": {\n        \"message\": \"Validation error\",\n        \"code\": \"validation_error\",\n        \"details\": {\n            \"messages\": [\n                \"Subscription Cancelled. Please provide new status when updating cancelled subscription\"\n            ]\n        }\n    }\n}"},{"id":"099b52cd-cd81-4098-8839-f86722df9fb3","name":"modify status to \"active\"","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"status\": \"active\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/subscriptions/:id","host":["{{url}}"],"path":["v1","subscriptions",":id"],"variable":[{"key":"id","value":"5f50f59580c950150a6038a9"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 03 Sep 2020 14:20:17 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1465"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"5b9-0OaqJaJ6rWXyaE0OozmHrw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"subscription\",\n        \"data\": {\n            \"_id\": \"5f50f59580c950150a6038a9\",\n            \"created_at\": \"2020-09-03T13:54:29.655Z\",\n            \"updated_at\": \"2020-09-03T14:20:17.658Z\",\n            \"user_id\": \"5d305bfbfac31b4448c738d6\",\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"amount\": 10,\n            \"description\": \"Vitae commodi provident assumenda\",\n            \"reference\": \"Fuga consequuntur sint ab magnam\",\n            \"status\": \"active\",\n            \"latest_charge_id\": \"5f50f5a980c950150a6038ad\",\n            \"payment_source_id\": \"5f50f59580c950150a6038a7\",\n            \"held_at\": \"2020-09-03T14:19:39.840Z\",\n            \"last_change_by\": \"manual\",\n            \"retry\": null,\n            \"archived\": false,\n            \"_source_ip_address\": \"192.168.0.1\",\n            \"customer\": {\n                \"customer_id\": \"5f50f59480c950150a6038a6\",\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"email\": \"wanda.mertz@example.com\",\n                \"reference\": \"CustomReference\"\n            },\n            \"statistics\": {\n                \"total_collected_amount\": 10,\n                \"successful_transactions\": 1\n            },\n            \"schedule\": {\n                \"interval\": \"month\",\n                \"start_date\": \"2020-09-03T11:30:00.000Z\",\n                \"end_amount_after\": 0,\n                \"end_amount_before\": 0,\n                \"end_amount_total\": 0,\n                \"next_assessment\": \"2020-10-03T11:30:00.000Z\",\n                \"next_assessment_planned\": \"2020-10-03T11:30:00.000Z\",\n                \"first_assessment\": \"2020-09-03T11:30:00.000Z\",\n                \"status\": \"complete\",\n                \"processing_pended_at\": \"2020-09-03T14:34:49.406Z\",\n                \"last_assessment_planned\": \"2020-09-03T11:30:00.000Z\",\n                \"last_assessment\": \"2020-09-03T13:54:50.435Z\",\n                \"locked\": false,\n                \"completed_count\": 1,\n                \"held_count\": 0,\n                \"retry_count\": 0,\n                \"frequency\": 1\n            },\n            \"currency\": \"UAH\",\n            \"gateway_type\": \"Stripe\",\n            \"gateway_name\": \"Stripe 1\",\n            \"gateway_mode\": \"test\"\n        }\n    }\n}"},{"id":"27ddf10a-7042-4f43-adfc-993cd55a3fad","name":"modify currency","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"currency\": \"UAH\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/subscriptions/:id","host":["{{url}}"],"path":["v1","subscriptions",":id"],"variable":[{"key":"id","value":"5f50f59580c950150a6038a9"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 03 Sep 2020 14:05:41 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1355"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"54b-WzGqyD5QpgWWisxpu/4gvA\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"subscription\",\n        \"data\": {\n            \"_id\": \"5f50f59580c950150a6038a9\",\n            \"created_at\": \"2020-09-03T13:54:29.655Z\",\n            \"updated_at\": \"2020-09-03T14:05:41.640Z\",\n            \"user_id\": \"5d305bfbfac31b4448c738d6\",\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"amount\": 10,\n            \"description\": \"Vitae commodi provident assumenda\",\n            \"reference\": \"Fuga consequuntur sint ab magnam\",\n            \"status\": \"active\",\n            \"latest_charge_id\": \"5f50f5a980c950150a6038ad\",\n            \"retry\": null,\n            \"archived\": false,\n            \"_source_ip_address\": \"192.168.0.1\",\n            \"customer\": {\n                \"customer_id\": \"5f50f59480c950150a6038a6\",\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"email\": \"wanda.mertz@example.com\",\n                \"reference\": \"CustomReference\"\n            },\n            \"statistics\": {\n                \"total_collected_amount\": 10,\n                \"successful_transactions\": 1\n            },\n            \"schedule\": {\n                \"interval\": \"month\",\n                \"start_date\": \"2020-09-03T11:30:00.000Z\",\n                \"end_amount_after\": 0,\n                \"end_amount_before\": 0,\n                \"end_amount_total\": 0,\n                \"next_assessment\": \"2020-10-03T11:30:00.000Z\",\n                \"next_assessment_planned\": \"2020-10-03T11:30:00.000Z\",\n                \"first_assessment\": \"2020-09-03T11:30:00.000Z\",\n                \"status\": \"complete\",\n                \"processing_pended_at\": \"2020-09-03T14:34:49.406Z\",\n                \"last_assessment_planned\": \"2020-09-03T11:30:00.000Z\",\n                \"last_assessment\": \"2020-09-03T13:54:50.435Z\",\n                \"locked\": false,\n                \"completed_count\": 1,\n                \"held_count\": 0,\n                \"retry_count\": 0,\n                \"frequency\": 1\n            },\n            \"currency\": \"UAH\",\n            \"gateway_type\": \"Stripe\",\n            \"gateway_name\": \"Stripe 1\",\n            \"gateway_mode\": \"test\"\n        }\n    }\n}"},{"id":"587ebb21-4957-453a-8724-358167f57ee3","name":"assign to another payment source","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"payment_source_id\": \"5f50f59580c950150a6038a7\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/subscriptions/:id","host":["{{url}}"],"path":["v1","subscriptions",":id"],"variable":[{"key":"id","value":"5f50f59580c950150a6038a9"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 03 Sep 2020 14:18:42 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1402"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"57a-ucncohGWpeIc8qkODo1gQA\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"subscription\",\n        \"data\": {\n            \"payment_source_id\": \"5f50f59580c950150a6038a7\",\n            \"_id\": \"5f50f59580c950150a6038a9\",\n            \"created_at\": \"2020-09-03T13:54:29.655Z\",\n            \"updated_at\": \"2020-09-03T14:18:42.037Z\",\n            \"user_id\": \"5d305bfbfac31b4448c738d6\",\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"amount\": 10,\n            \"description\": \"Vitae commodi provident assumenda\",\n            \"reference\": \"Fuga consequuntur sint ab magnam\",\n            \"status\": \"active\",\n            \"latest_charge_id\": \"5f50f5a980c950150a6038ad\",\n            \"retry\": null,\n            \"archived\": false,\n            \"_source_ip_address\": \"192.168.0.1\",\n            \"customer\": {\n                \"customer_id\": \"5f50f59480c950150a6038a6\",\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"email\": \"wanda.mertz@example.com\",\n                \"reference\": \"CustomReference\"\n            },\n            \"statistics\": {\n                \"total_collected_amount\": 10,\n                \"successful_transactions\": 1\n            },\n            \"schedule\": {\n                \"interval\": \"month\",\n                \"start_date\": \"2020-09-03T11:30:00.000Z\",\n                \"end_amount_after\": 0,\n                \"end_amount_before\": 0,\n                \"end_amount_total\": 0,\n                \"next_assessment\": \"2020-10-03T11:30:00.000Z\",\n                \"next_assessment_planned\": \"2020-10-03T11:30:00.000Z\",\n                \"first_assessment\": \"2020-09-03T11:30:00.000Z\",\n                \"status\": \"complete\",\n                \"processing_pended_at\": \"2020-09-03T14:34:49.406Z\",\n                \"last_assessment_planned\": \"2020-09-03T11:30:00.000Z\",\n                \"last_assessment\": \"2020-09-03T13:54:50.435Z\",\n                \"locked\": false,\n                \"completed_count\": 1,\n                \"held_count\": 0,\n                \"retry_count\": 0,\n                \"frequency\": 1\n            },\n            \"currency\": \"UAH\",\n            \"gateway_type\": \"Stripe\",\n            \"gateway_name\": \"Stripe 1\",\n            \"gateway_mode\": \"test\"\n        }\n    }\n}"},{"id":"5e66397d-e733-4e12-a31f-e8c1c57e6fec","name":"modify change status from 'deleted' to 'active'","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"status\": \"active\",\n    \"schedule\" : {\n        \"start_date\": \"2020-09-14T21:00:00.000Z\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/subscriptions/:id","host":["{{url}}"],"path":["v1","subscriptions",":id"],"variable":[{"key":"id","value":"5f5e1eb189201b0866d045f5"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 13 Sep 2020 19:28:20 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1379"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"563-3T0ztHBtjXw38sPBgcnGMA\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"subscription\",\n        \"data\": {\n            \"_id\": \"5f5e1eb189201b0866d045f5\",\n            \"created_at\": \"2020-09-13T13:29:21.404Z\",\n            \"updated_at\": \"2020-09-13T19:28:20.201Z\",\n            \"user_id\": \"5d305bfbfac31b4448c738d6\",\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"amount\": 12,\n            \"description\": \"desc\",\n            \"reference\": \"ref\",\n            \"status\": \"active\",\n            \"held_at\": \"2020-09-13T17:18:33.126Z\",\n            \"last_change_by\": \"manual\",\n            \"payment_source_id\": \"5f5e1eb189201b0866d045f3\",\n            \"retry\": {\n                \"fail_status\": \"faild\",\n                \"limit\": 2,\n                \"frequency\": 1,\n                \"interval\": \"day\"\n            },\n            \"archived\": false,\n            \"_source_ip_address\": \"192.168.0.1\",\n            \"customer\": {\n                \"customer_id\": \"5f5e1eb089201b0866d045f2\",\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"email\": \"wanda.mertz@example.com\",\n                \"phone\": \"+1234567890\",\n                \"company_name\": \"Hahn Mertz LLC\",\n                \"reference\": \"Hahn Mertz\"\n            },\n            \"statistics\": {\n                \"total_collected_amount\": 0,\n                \"successful_transactions\": 0\n            },\n            \"schedule\": {\n                \"interval\": \"month\",\n                \"start_date\": \"2020-09-14T21:00:00.000Z\",\n                \"end_amount_after\": 0,\n                \"end_amount_before\": 0,\n                \"end_amount_total\": 0,\n                \"next_assessment\": \"2020-09-14T21:00:00.000Z\",\n                \"next_assessment_planned\": \"2020-09-14T21:00:00.000Z\",\n                \"first_assessment\": \"2020-09-14T21:00:00.000Z\",\n                \"status\": \"inprogress\",\n                \"end_date\": \"2020-09-19T11:30:00.000Z\",\n                \"end_transactions\": null,\n                \"locked\": false,\n                \"completed_count\": 0,\n                \"held_count\": 0,\n                \"retry_count\": 0,\n                \"frequency\": 1\n            },\n            \"currency\": \"AUD\",\n            \"gateway_type\": \"Stripe\",\n            \"gateway_name\": \"Stripe 1\",\n            \"gateway_mode\": \"test\"\n        }\n    }\n}"},{"id":"6c25fb3e-1757-47f8-9f34-ec5fe0d52697","name":"modify status to \"held\"","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"status\": \"held\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/subscriptions/:id","host":["{{url}}"],"path":["v1","subscriptions",":id"],"variable":[{"key":"id","value":"5f50f59580c950150a6038a9"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 03 Sep 2020 14:19:39 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1463"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"5b7-msl9aRzaUzBaAZN9M1Xz3Q\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"subscription\",\n        \"data\": {\n            \"held_at\": \"2020-09-03T14:19:39.840Z\",\n            \"last_change_by\": \"manual\",\n            \"_id\": \"5f50f59580c950150a6038a9\",\n            \"created_at\": \"2020-09-03T13:54:29.655Z\",\n            \"updated_at\": \"2020-09-03T14:19:39.842Z\",\n            \"user_id\": \"5d305bfbfac31b4448c738d6\",\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"amount\": 10,\n            \"description\": \"Vitae commodi provident assumenda\",\n            \"reference\": \"Fuga consequuntur sint ab magnam\",\n            \"status\": \"held\",\n            \"latest_charge_id\": \"5f50f5a980c950150a6038ad\",\n            \"payment_source_id\": \"5f50f59580c950150a6038a7\",\n            \"retry\": null,\n            \"archived\": false,\n            \"_source_ip_address\": \"192.168.0.1\",\n            \"customer\": {\n                \"customer_id\": \"5f50f59480c950150a6038a6\",\n               \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"email\": \"wanda.mertz@example.com\",\n                \"reference\": \"CustomReference\"\n            },\n            \"statistics\": {\n                \"total_collected_amount\": 10,\n                \"successful_transactions\": 1\n            },\n            \"schedule\": {\n                \"interval\": \"month\",\n                \"start_date\": \"2020-09-03T11:30:00.000Z\",\n                \"end_amount_after\": 0,\n                \"end_amount_before\": 0,\n                \"end_amount_total\": 0,\n                \"next_assessment\": \"2020-10-03T11:30:00.000Z\",\n                \"next_assessment_planned\": \"2020-10-03T11:30:00.000Z\",\n                \"first_assessment\": \"2020-09-03T11:30:00.000Z\",\n                \"status\": \"complete\",\n                \"processing_pended_at\": \"2020-09-03T14:34:49.406Z\",\n                \"last_assessment_planned\": \"2020-09-03T11:30:00.000Z\",\n                \"last_assessment\": \"2020-09-03T13:54:50.435Z\",\n                \"locked\": false,\n                \"completed_count\": 1,\n                \"held_count\": 0,\n                \"retry_count\": 0,\n                \"frequency\": 1\n            },\n            \"currency\": \"UAH\",\n            \"gateway_type\": \"Stripe\",\n            \"gateway_name\": \"Stripe 1\",\n            \"gateway_mode\": \"test\"\n        }\n    }\n}"},{"id":"9341203c-45aa-4281-aedc-d321540cd79a","name":"modify change status from 'expired' to 'active'","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"status\": \"active\",\n    \"schedule\" : {\n        \"start_date\": \"2020-09-14T21:00:00.000Z\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/subscriptions/:id","host":["{{url}}"],"path":["v1","subscriptions",":id"],"variable":[{"key":"id","value":"5f5e1eb189201b0866d045f5"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 13 Sep 2020 19:24:22 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1379"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"563-JXXJ+OVE6HgcaUAbfapKTA\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"subscription\",\n        \"data\": {\n            \"_id\": \"5f5e1eb189201b0866d045f5\",\n            \"created_at\": \"2020-09-13T13:29:21.404Z\",\n            \"updated_at\": \"2020-09-13T19:24:22.242Z\",\n            \"user_id\": \"5d305bfbfac31b4448c738d6\",\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"amount\": 12,\n            \"description\": \"desc\",\n            \"reference\": \"ref\",\n            \"status\": \"active\",\n            \"held_at\": \"2020-09-13T17:18:33.126Z\",\n            \"last_change_by\": \"manual\",\n            \"payment_source_id\": \"5f5e1eb189201b0866d045f3\",\n            \"retry\": {\n                \"fail_status\": \"faild\",\n                \"limit\": 2,\n                \"frequency\": 1,\n                \"interval\": \"day\"\n            },\n            \"archived\": false,\n            \"_source_ip_address\": \"192.168.0.1\",\n            \"customer\": {\n                \"customer_id\": \"5f5e1eb089201b0866d045f2\",\n                \"first_name\": \"Wanda\",\n                \"last_name\": \"Mertz\",\n                \"email\": \"wanda.mertz@example.com\",\n                \"phone\": \"+1234567890\",\n                \"reference\": \"Hahn Mertz LLC\",\n                \"company_name\": \"Hahn Mertz\"\n            },\n            \"statistics\": {\n                \"total_collected_amount\": 0,\n                \"successful_transactions\": 0\n            },\n            \"schedule\": {\n                \"interval\": \"month\",\n                \"start_date\": \"2020-09-14T21:00:00.000Z\",\n                \"end_amount_after\": 0,\n                \"end_amount_before\": 0,\n                \"end_amount_total\": 0,\n                \"next_assessment\": \"2020-09-14T21:00:00.000Z\",\n                \"next_assessment_planned\": \"2020-09-14T21:00:00.000Z\",\n                \"first_assessment\": \"2020-09-14T21:00:00.000Z\",\n                \"status\": \"inprogress\",\n                \"end_date\": \"2020-09-19T11:30:00.000Z\",\n                \"end_transactions\": null,\n                \"locked\": false,\n                \"completed_count\": 0,\n                \"held_count\": 0,\n                \"retry_count\": 0,\n                \"frequency\": 1\n            },\n            \"currency\": \"AUD\",\n            \"gateway_type\": \"Stripe\",\n            \"gateway_name\": \"Stripe 1\",\n            \"gateway_mode\": \"test\"\n        }\n    }\n}"}],"_postman_id":"83dc8837-ff31-473c-a608-c8f1466c64fd"}],"id":"0a3a21d6-a17c-406b-9aef-144157f8d00e","description":"<p>Subscriptions are recurring billing events. These can be set up to take scheduled payments from a customer without having to re-enter the billing details.</p>\n<h2 id=\"conditions\">Conditions</h2>\n<p>The response is different depending on such conditions:</p>\n<ol>\n<li>Created with a credit card payment source</li>\n<li>Created with a bank account payment source</li>\n<li>Created with an existing customer</li>\n<li>Created with a one-time token</li>\n</ol>\n<h2 id=\"subscription-resource\">Subscription resource</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required [flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>+</td>\n<td>float</td>\n<td>An amount of the payment</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>+</td>\n<td>string (iso4217 alpha-3)</td>\n<td>A currency code</td>\n</tr>\n<tr>\n<td>description</td>\n<td>-</td>\n<td>string</td>\n<td>A manually defined description for payments in payment systems</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>A manually defined reference for payments in payment systems</td>\n</tr>\n<tr>\n<td>_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>A subscription ID for any future requests</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>+</td>\n<td>string(ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>A subscription creation date</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>+</td>\n<td>string(ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>A date of the last subscription update</td>\n</tr>\n<tr>\n<td>status</td>\n<td>+</td>\n<td>string</td>\n<td>An actual subscription status. See the <em>status</em> table</td>\n</tr>\n<tr>\n<td>held_at</td>\n<td>+</td>\n<td>string(ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>The time when subscription was moved to the held status</td>\n</tr>\n<tr>\n<td>expired_at</td>\n<td>+</td>\n<td>string(ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>An actual expiration time of the subscription</td>\n</tr>\n<tr>\n<td>expired_reason</td>\n<td>+</td>\n<td>string</td>\n<td>An actual expiration reason of the subscription. See the <em>Expire reason</em> table</td>\n</tr>\n<tr>\n<td>last_change_by</td>\n<td>+</td>\n<td>string</td>\n<td>Defines the origin of the last change of the subscription. Values: <em>manual</em> or <em>automatic</em></td>\n</tr>\n<tr>\n<td>latest_charge_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>The latest charge ID of the subscription</td>\n</tr>\n<tr>\n<td>archived</td>\n<td>+</td>\n<td>bool</td>\n<td>For newly created charges, it is always <em>false</em>, <em>true</em> is set after manual archivation</td>\n</tr>\n<tr>\n<td>customer</td>\n<td>+</td>\n<td>object</td>\n<td>An object with the customer’s information</td>\n</tr>\n<tr>\n<td>customer.customer_id</td>\n<td>+3</td>\n<td>string (24 hex characters)</td>\n<td>A customer ID</td>\n</tr>\n<tr>\n<td>customer.first_name</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's first name</td>\n</tr>\n<tr>\n<td>customer.last_name</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's last name</td>\n</tr>\n<tr>\n<td>customer.email</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's email</td>\n</tr>\n<tr>\n<td>customer.phone</td>\n<td>-</td>\n<td>string(E.164)</td>\n<td>A customer's phone in the E.164 international notation (Example: +12345678901)</td>\n</tr>\n<tr>\n<td>customer.payment_source</td>\n<td>+</td>\n<td>object</td>\n<td>An object with payment information</td>\n</tr>\n<tr>\n<td>customer.payment_source.vault_token</td>\n<td>+</td>\n<td>string (UIID)</td>\n<td>Vault token</td>\n</tr>\n<tr>\n<td>customer.payment_source.vault_token_reference</td>\n<td>-</td>\n<td>string (UUID, alphanumeric, digits)</td>\n<td>A unique identifier assigned to each vault token upon creation</td>\n</tr>\n<tr>\n<td>customer.payment_source.source_id</td>\n<td>+3, -4</td>\n<td>string (24 hex characters)</td>\n<td>A customer's payment source ID</td>\n</tr>\n<tr>\n<td>customer.payment_source.gateway_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>A gateway id</td>\n</tr>\n<tr>\n<td>customer.payment_source.gateway_type</td>\n<td>+</td>\n<td>string</td>\n<td>A type of the gateway</td>\n</tr>\n<tr>\n<td>customer.payment_source.gateway_name</td>\n<td>+</td>\n<td>string</td>\n<td>A custom label of the gateway</td>\n</tr>\n<tr>\n<td>customer.payment_source.type</td>\n<td>+</td>\n<td>string</td>\n<td>A type of the payment source: <em>card</em> for payment sources created with a credit card, <em>bank_account</em> for payment sources created with direct debit, <em>checkout</em> for payment sources created with a checkout agreement (checkout button)</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_name</td>\n<td>+1</td>\n<td>string</td>\n<td>A cardholder's name (as on card)</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_number_last4</td>\n<td>+1</td>\n<td>string(numeric)</td>\n<td>Card number last 4 digits</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_number_bin</td>\n<td>+1</td>\n<td>string(numeric)</td>\n<td>Card BIN number</td>\n</tr>\n<tr>\n<td>customer.payment_source.card_scheme</td>\n<td>+1</td>\n<td>string</td>\n<td>A cardholder's scheme (e.g. <em>visa</em>, <em>mastercard</em> etc...)</td>\n</tr>\n<tr>\n<td>customer.payment_source.expire_month</td>\n<td>+1</td>\n<td>string(mm)</td>\n<td>A card expiration month</td>\n</tr>\n<tr>\n<td>customer.payment_source.expire_year</td>\n<td>+1</td>\n<td>string(yyyy)</td>\n<td>A card expiration year</td>\n</tr>\n<tr>\n<td>customer.payment_source.account_name</td>\n<td>+2</td>\n<td>string</td>\n<td>A customer's account name</td>\n</tr>\n<tr>\n<td>customer.payment_source.account_number</td>\n<td>+2</td>\n<td>string</td>\n<td>A customer's account number</td>\n</tr>\n<tr>\n<td>customer.payment_source.account_bsb</td>\n<td>-2</td>\n<td>string</td>\n<td>A customer's bank state branch number</td>\n</tr>\n<tr>\n<td>customer.payment_source.account_routing</td>\n<td>-2</td>\n<td>string(numeric)</td>\n<td>A customer's account number: BSB/Routing/SWIFT/IBAN Number</td>\n</tr>\n<tr>\n<td>customer.payment_source.account_holder_type</td>\n<td>-2</td>\n<td>string</td>\n<td>A customer's account type (<em>personal</em> or <em>business</em>)</td>\n</tr>\n<tr>\n<td>customer.payment_source.account_bank_name</td>\n<td>-2</td>\n<td>string</td>\n<td>A customer's account bank name</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's address, line 1</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's address, line 2</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_state</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's address, State</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_country</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's addresss, Country Code</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_city</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's address, City</td>\n</tr>\n<tr>\n<td>customer.payment_source.address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's address, Postcode</td>\n</tr>\n<tr>\n<td>schedule</td>\n<td>+</td>\n<td>object</td>\n<td>An object with the subscription schedule information</td>\n</tr>\n<tr>\n<td>schedule.interval</td>\n<td>+</td>\n<td>string</td>\n<td>An assessment interval: one-off, day, week, month, year</td>\n</tr>\n<tr>\n<td>schedule.next_assessment</td>\n<td>+</td>\n<td>string(Date)</td>\n<td>A date of the next subscription assessment (payment)</td>\n</tr>\n<tr>\n<td>schedule.first_assessment</td>\n<td>+</td>\n<td>string(Date)</td>\n<td>A date of the first subscription assessment (payment)</td>\n</tr>\n<tr>\n<td>schedule.status</td>\n<td>+</td>\n<td>string</td>\n<td>A schedule status. See the <em>Schedule status</em> table</td>\n</tr>\n<tr>\n<td>schedule.locked</td>\n<td>+</td>\n<td>boolean</td>\n<td>Defines if the schedule is locked</td>\n</tr>\n<tr>\n<td>schedule.completed_count</td>\n<td>+</td>\n<td>integer</td>\n<td>A count of successful transactions</td>\n</tr>\n<tr>\n<td>schedule.retry_count</td>\n<td>+</td>\n<td>integer</td>\n<td>A count of transaction retries for unsuccessful payments</td>\n</tr>\n<tr>\n<td>schedule.frequency</td>\n<td>+</td>\n<td>string(numeric)</td>\n<td>An assessment frequency, 1 is set by default (e.g. “3” = “Every 3 weeks”)</td>\n</tr>\n<tr>\n<td>schedule.start_date</td>\n<td>-</td>\n<td>string(ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>A start date of the subscription in the ISO 8601 format (yyyy-mm-ddThh:mm:ss.sssZ) or in a short type of date (yyyy-mm-dd)</td>\n</tr>\n<tr>\n<td>schedule.end_date</td>\n<td>-</td>\n<td>string(ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>An end date of the subscription in the ISO 8601 format (yyyy-mm-ddThh:mm:ss.sssZ) or in a short type of date (yyyy-mm-dd)</td>\n</tr>\n<tr>\n<td>schedule.end_amount_after</td>\n<td>-</td>\n<td>float</td>\n<td>A total amount of all successful transactions (equals or exceeds)</td>\n</tr>\n<tr>\n<td>schedule.end_amount_before</td>\n<td>-</td>\n<td>float</td>\n<td>A total amount of all successful transactions (not to exceed)</td>\n</tr>\n<tr>\n<td>schedule.end_amount_total</td>\n<td>-</td>\n<td>float</td>\n<td>A total amount to be paid on the subscription (equals). NOTE: If the last payment of the subscription schedule is less than $ 1.00, some gateways may respond with an error and the subscription status will become ‘failed’.</td>\n</tr>\n<tr>\n<td>schedule.end_transactions</td>\n<td>-</td>\n<td>integer</td>\n<td>A total count of all successful transactions</td>\n</tr>\n<tr>\n<td>statistics</td>\n<td>+</td>\n<td>object</td>\n<td>An object with statistics information by charge</td>\n</tr>\n<tr>\n<td>statistics.successful_transactions</td>\n<td>+</td>\n<td>number</td>\n<td>A number of succesfull transactions</td>\n</tr>\n<tr>\n<td>statistics.total_collected_amount</td>\n<td>+</td>\n<td>number</td>\n<td>A total amount by subscription</td>\n</tr>\n<tr>\n<td>meta</td>\n<td>-</td>\n<td>object</td>\n<td>An optional object with specific fields for different gateways</td>\n</tr>\n<tr>\n<td>meta.account_id</td>\n<td>-</td>\n<td>string</td>\n<td>An ID of the existing, connected Stripe account. It is used to create Stripe connect Direct Charges</td>\n</tr>\n<tr>\n<td>retry</td>\n<td>-</td>\n<td>object</td>\n<td>An optional object with specific fields for retry settings</td>\n</tr>\n<tr>\n<td>retry.limit</td>\n<td>-</td>\n<td>integer</td>\n<td>A maximum amount of retried payments</td>\n</tr>\n<tr>\n<td>retry.frequency</td>\n<td>-</td>\n<td>integer</td>\n<td>A retry frequency, 1 is used by default (i.e. “3” = “Every 3 weeks”)</td>\n</tr>\n<tr>\n<td>retry.interval</td>\n<td>-</td>\n<td>string</td>\n<td>A retry interval. Possible values: week, month, year, day</td>\n</tr>\n<tr>\n<td>retry.fail_status</td>\n<td>-</td>\n<td>string</td>\n<td>A status of the subscription after all the retries have gone through (<em>active</em>, <em>held</em>, <em>failed</em>, <em>deleted</em>, etc.)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"status\">Status</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>status</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>active</td>\n<td>A subscription is active, and there are more payments to be collected</td>\n</tr>\n<tr>\n<td>complete</td>\n<td>A subscription is complete, and all payments have been collected</td>\n</tr>\n<tr>\n<td>deleted</td>\n<td>A subscription has been removed</td>\n</tr>\n<tr>\n<td>failed</td>\n<td>This typically occurs when the number of failed payments has been exceeded (see details of an error)</td>\n</tr>\n<tr>\n<td>expired</td>\n<td>A subscription that is complete, and has reached its end date</td>\n</tr>\n<tr>\n<td>held</td>\n<td>A subscription was manually put on hold</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"expire-reason\">Expire reason</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>status</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>manual</td>\n<td>A subscription was expired manually</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>A subscription was expired by the end date settings</td>\n</tr>\n<tr>\n<td>end_amount_total</td>\n<td>A subscription was expired by the 'total amount' settings</td>\n</tr>\n<tr>\n<td>end_amount_before</td>\n<td>A subscription was expired by the 'before amount' settings</td>\n</tr>\n<tr>\n<td>end_amount_after</td>\n<td>A subscription was expired by the 'after amount' settings</td>\n</tr>\n<tr>\n<td>end_transactions</td>\n<td>A subscription was expired by the 'count of transaction' settings</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"schedule-status\">Schedule status</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>status</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>complete</td>\n<td>The payment on the last schedule is processed successfully</td>\n</tr>\n<tr>\n<td>failed</td>\n<td>The payment on the last schedule was not processed successfully</td>\n</tr>\n<tr>\n<td>held</td>\n<td>The held charge on the last schedule is created successfully</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"858542b7-1bd0-4665-812c-0a724785f32b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b0439719-3377-4fa2-8481-eb3a415caadb","type":"text/javascript","exec":[""]}}],"_postman_id":"0a3a21d6-a17c-406b-9aef-144157f8d00e"},{"name":"transfers","item":[{"name":"search","id":"3ff04a98-b53c-4541-aa3e-eba51a8b9464","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/transfers","description":"<p>Returns all transfers for the account</p>\n<h2 id=\"request-query-params\">Request query params</h2>\n<p><strong>Pagination</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>skip</td>\n<td>-</td>\n<td>number</td>\n<td>Pagination parameter to skip first n subscriptions from list, default = 0</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>-</td>\n<td>number</td>\n<td>Pagination parameter to limit output to n , default = 100 , maximum value = 1000</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>filters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>archived</td>\n<td>-</td>\n<td>bool</td>\n<td><em>true</em> or <em>false</em></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","transfers"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"96da4b52-a44f-40f2-aa3c-3358794070bf","name":"search by archived","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/transfers?archived=true","host":["{{url}}"],"path":["v1","transfers"],"query":[{"key":"archived","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 07 Sep 2020 11:24:40 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"410"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-info-limit","value":"100"},{"key":"x-info-skip","value":"0"},{"key":"x-info-sort-key","value":"created_at"},{"key":"x-info-sort-direction","value":"DESC"},{"key":"x-info-count","value":"1"},{"key":"etag","value":"W/\"19a-GjAvkZPFe7qwpgk38CGnDlko4vI\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"transfers\",\n        \"data\": [\n            {\n                \"_id\": \"5e1874032139a47666c372f4\",\n                \"created_at\": \"2020-01-10T12:54:27.532Z\",\n                \"updated_at\": \"2020-01-10T12:54:27.532Z\",\n                \"description\": \"sdfdfsdf\",\n                \"reference\": \"sdfsdfsdfsdsdf\",\n                \"gateway_id\": \"5df1e8a28dfcf018377928fd\",\n                \"status\": \"pending\",\n                \"__v\": 0,\n                \"payouts\": [],\n                \"capture\": false\n            }\n        ],\n        \"skip\": 0,\n        \"limit\": 100,\n        \"sortkey\": \"created_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 1\n    }\n}"},{"id":"8fd39246-6c1f-4716-8c59-1177ef83964f","name":"search with pagination","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/transfers?skip=2&limit=1","host":["{{url}}"],"path":["v1","transfers"],"query":[{"key":"skip","value":"2"},{"key":"limit","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 07 Sep 2020 11:22:42 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"501"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-info-limit","value":"1"},{"key":"x-info-skip","value":"2"},{"key":"x-info-sort-key","value":"created_at"},{"key":"x-info-sort-direction","value":"DESC"},{"key":"x-info-count","value":"8"},{"key":"etag","value":"W/\"1f5-/3NGkj395yTtYgpRJQpRr3zgRMM\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"transfers\",\n        \"data\": [\n            {\n                \"_id\": \"5e18669d2139a47666c372e4\",\n                \"created_at\": \"2020-01-10T11:57:17.779Z\",\n                \"updated_at\": \"2020-01-10T11:57:20.524Z\",\n                \"description\": \"aaaaaaaa\",\n                \"reference\": \"aaaaaaaa\",\n                \"gateway_id\": \"5df1e8a28dfcf018377928fd\",\n                \"status\": \"requested\",\n                \"__v\": 0,\n                \"external_id\": \"PB.2k8z\",\n                \"payouts\": [],\n                \"capture\": false,\n                \"schedule\": {\n                    \"status_pended_at\": \"2020-01-10T10:02:38.128Z\",\n                    \"locked\": true\n                }\n            }\n        ],\n        \"skip\": 2,\n        \"limit\": 1,\n        \"sortkey\": \"created_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 8\n    }\n}"}],"_postman_id":"3ff04a98-b53c-4541-aa3e-eba51a8b9464"},{"name":"get","id":"18b8524c-8d4f-4941-87b0-fdc6d26d8507","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/transfers/:id","description":"<p>Retrieves data on a transfer with specified ID.</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","transfers",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"be9a33b7-8b13-4230-a669-942bc714a33a","type":"string","value":"5e1874032139a47666c372f4","key":"id"}]}},"response":[{"id":"d0f07947-cd9b-460b-a7bd-3908a36e9907","name":"get","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/transfers/:id","host":["{{url}}"],"path":["v1","transfers",":id"],"variable":[{"key":"id","value":"5e1874032139a47666c372f4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 07 Sep 2020 11:30:55 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2457"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"999-SXWbrSK/+ITu3ZPtcwPUbBJALPI\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"transfer\",\n        \"data\": {\n            \"_id\": \"5e1874032139a47666c372f4\",\n            \"created_at\": \"2020-01-10T12:54:27.532Z\",\n            \"updated_at\": \"2020-09-07T11:27:41.848Z\",\n            \"description\": \"sdfdfsdf\",\n            \"reference\": \"sdfsdfsdfsdsdf\",\n            \"gateway_id\": \"5df1e8a28dfcf018377928fd\",\n            \"status\": \"pending\",\n            \"__v\": 0,\n            \"payouts\": [\n                {\n                    \"_id\": \"5e1874032139a47666c372f5\",\n                    \"created_at\": \"2020-01-10T12:54:27.539Z\",\n                    \"updated_at\": \"2020-01-10T12:55:04.194Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"customer_id\": \"5df399bd9327e850a73e97c5\",\n                    \"payment_destination_id\": \"5df399bd9327e850a73e97c6\",\n                    \"transfer_id\": \"5e1874032139a47666c372f4\",\n                    \"status\": \"pending\",\n                    \"__v\": 2,\n                    \"transactions\": [\n                        {\n                            \"created_at\": \"2020-01-10T12:54:29.829Z\",\n                            \"amount\": 10,\n                            \"currency\": \"AUD\",\n                            \"type\": \"transfer\",\n                            \"status\": \"pending\",\n                            \"_id\": \"5e1874052139a47666c372f8\",\n                            \"service_logs\": [],\n                            \"_source_ip_address\": \"127.0.0.1\"\n                        },\n                        {\n                            \"created_at\": \"2020-01-10T12:55:04.194Z\",\n                            \"amount\": 10,\n                            \"currency\": \"AUD\",\n                            \"type\": \"transfer\",\n                            \"status\": \"pending\",\n                            \"_id\": \"5e1874282139a47666c372fe\",\n                            \"service_logs\": [],\n                            \"_source_ip_address\": \"127.0.0.1\"\n                        }\n                    ]\n                },\n                {\n                    \"_id\": \"5e1874032139a47666c372f6\",\n                    \"created_at\": \"2020-01-10T12:54:27.544Z\",\n                    \"updated_at\": \"2020-01-10T12:55:04.216Z\",\n                    \"amount\": 15,\n                    \"currency\": \"GBP\",\n                    \"customer_id\": \"5df399bd9327e850a73e97c5\",\n                    \"payment_destination_id\": \"5df399bd9327e850a73e97c6\",\n                    \"transfer_id\": \"5e1874032139a47666c372f4\",\n                    \"status\": \"pending\",\n                    \"__v\": 2,\n                    \"transactions\": [\n                        {\n                            \"created_at\": \"2020-01-10T12:54:29.841Z\",\n                            \"amount\": 15,\n                            \"currency\": \"GBP\",\n                            \"type\": \"transfer\",\n                            \"status\": \"pending\",\n                            \"_id\": \"5e1874052139a47666c372f9\",\n                            \"service_logs\": [],\n                            \"_source_ip_address\": \"127.0.0.1\"\n                        },\n                        {\n                            \"created_at\": \"2020-01-10T12:55:04.216Z\",\n                            \"amount\": 15,\n                            \"currency\": \"GBP\",\n                            \"type\": \"transfer\",\n                            \"status\": \"pending\",\n                            \"_id\": \"5e1874282139a47666c372ff\",\n                            \"service_logs\": [],\n                            \"_source_ip_address\": \"127.0.0.1\"\n                        }\n                    ]\n                },\n                {\n                    \"_id\": \"5e1874032139a47666c372f7\",\n                    \"created_at\": \"2020-01-10T12:54:27.548Z\",\n                    \"updated_at\": \"2020-01-10T12:55:04.233Z\",\n                    \"amount\": 20,\n                    \"currency\": \"USD\",\n                    \"customer_id\": \"5df399bd9327e850a73e97c5\",\n                    \"payment_destination_id\": \"5df399bd9327e850a73e97c6\",\n                    \"transfer_id\": \"5e1874032139a47666c372f4\",\n                    \"status\": \"pending\",\n                    \"__v\": 2,\n                    \"transactions\": [\n                        {\n                            \"created_at\": \"2020-01-10T12:54:29.849Z\",\n                            \"amount\": 20,\n                            \"currency\": \"USD\",\n                            \"type\": \"transfer\",\n                            \"status\": \"pending\",\n                            \"_id\": \"5e1874052139a47666c372fa\",\n                            \"service_logs\": [],\n                            \"_source_ip_address\": \"127.0.0.1\"\n                        },\n                        {\n                            \"created_at\": \"2020-01-10T12:55:04.233Z\",\n                            \"amount\": 20,\n                            \"currency\": \"USD\",\n                            \"type\": \"transfer\",\n                            \"status\": \"pending\",\n                            \"_id\": \"5e1874282139a47666c37300\",\n                            \"service_logs\": [],\n                            \"_source_ip_address\": \"127.0.0.1\"\n                        }\n                    ]\n                }\n            ],\n            \"capture\": false,\n            \"logs\": []\n        }\n    }\n}"}],"_postman_id":"18b8524c-8d4f-4941-87b0-fdc6d26d8507"},{"name":"create","id":"5ee3f94a-e652-417e-a11a-b673462689a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"reference\": \"Fuga consequuntur sint ab magnam\",\n    \"description\": \"Vitae commodi provident assumenda\",\n    \"gateway_id\": \"5df1e8a28dfcf018377928fd\",\n    \"payouts\": [\n        {\n            \"amount\": \"10.00\",\n            \"currency\": \"AUD\",\n            \"customer_id\": \"5f50f59480c950150a6038a6\"\n        }\n    ]\n}"},"url":"{{url}}/v1/transfers","description":"<p>You can create a transfer using direct debit payment destination. Transfers are creating in two steps: prepare a transfer and then capture it. All prepared transfers can be captured or archived in future.</p>\n<h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>description</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined description for payments in payment systems</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined reference for customer in payment systems</td>\n</tr>\n<tr>\n<td>gateway_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>Existing gateway ID(should be the same as gateway_id from customer entity which set to payouts array)</td>\n</tr>\n<tr>\n<td>payouts</td>\n<td>+</td>\n<td>array</td>\n<td>Array with the payout's information</td>\n</tr>\n<tr>\n<td>payouts.amount</td>\n<td>+</td>\n<td>float</td>\n<td>Amount of payment</td>\n</tr>\n<tr>\n<td>payouts.currency</td>\n<td>+</td>\n<td>string (iso4217 alpha-3)</td>\n<td>Currency code</td>\n</tr>\n<tr>\n<td>payouts.customer_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>Existing customer ID after payment destination creating</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","transfers"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"846959f0-b73f-4e90-9a80-10f6f1c4e795","name":"create with customer_id","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"reference\": \"Fuga consequuntur sint ab magnam\",\n    \"description\": \"Vitae commodi provident assumenda\",\n    \"gateway_id\": \"5df1e8a28dfcf018377928fd\",\n    \"payouts\": [\n        {\n            \"amount\": \"10.00\",\n            \"currency\": \"AUD\",\n            \"customer_id\": \"5f50f59480c950150a6038a6\"\n        }\n    ]\n}"},"url":"{{url}}/v1/transfers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 07 Sep 2020 12:49:03 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"695"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"2b7-Gqy3jL5Hhfmj0wvS6qO9TOvQ0vc\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"transfer\",\n        \"data\": {\n            \"_id\": \"5f562c3fbb8a75181d42c1ca\",\n            \"created_at\": \"2020-09-07T12:49:03.459Z\",\n            \"updated_at\": \"2020-09-07T12:49:03.459Z\",\n            \"description\": \"Vitae commodi provident assumenda\",\n            \"reference\": \"Fuga consequuntur sint ab magnam\",\n            \"gateway_id\": \"5df1e8a28dfcf018377928fd\",\n            \"status\": \"pending\",\n            \"__v\": 0,\n            \"payouts\": [\n                {\n                    \"_id\": \"5f562c3fbb8a75181d42c1cb\",\n                    \"created_at\": \"2020-09-07T12:49:03.464Z\",\n                    \"updated_at\": \"2020-09-07T12:49:03.464Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"customer_id\": \"5f50f59480c950150a6038a6\",\n                    \"payment_destination_id\": \"5f561f6bbb8a75181d42c196\",\n                    \"transfer_id\": \"5f562c3fbb8a75181d42c1ca\",\n                    \"status\": \"pending\",\n                    \"__v\": 0,\n                    \"transactions\": []\n                }\n            ],\n            \"capture\": false\n        }\n    }\n}"}],"_postman_id":"5ee3f94a-e652-417e-a11a-b673462689a7"},{"name":"delete","id":"b222f52c-c733-41d4-8d6a-9b1f7b0f0402","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/transfers/:id","description":"<p>Archive Transfer to hide it from transfers list. You can still retrieve archived transfers.</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","transfers",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"83ba3b97-3ca0-4c0d-87fc-8fdff72a0178","type":"string","value":"5e1874032139a47666c372f4","key":"id"}]}},"response":[{"id":"84366ea5-0fdf-4264-b291-b763e6f11df1","name":"delete success","originalRequest":{"method":"DELETE","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/transfers/:id","host":["{{url}}"],"path":["v1","transfers",":id"],"variable":[{"key":"id","value":"5e1874032139a47666c372f4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 07 Sep 2020 11:27:41 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2457"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"999-SXWbrSK/+ITu3ZPtcwPUbBJALPI\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"transfer\",\n        \"data\": {\n            \"_id\": \"5e1874032139a47666c372f4\",\n            \"created_at\": \"2020-01-10T12:54:27.532Z\",\n            \"updated_at\": \"2020-09-07T11:27:41.848Z\",\n            \"description\": \"sdfdfsdf\",\n            \"reference\": \"sdfsdfsdfsdsdf\",\n            \"gateway_id\": \"5df1e8a28dfcf018377928fd\",\n            \"status\": \"pending\",\n            \"__v\": 0,\n            \"payouts\": [\n                {\n                    \"_id\": \"5e1874032139a47666c372f5\",\n                    \"created_at\": \"2020-01-10T12:54:27.539Z\",\n                    \"updated_at\": \"2020-01-10T12:55:04.194Z\",\n                    \"amount\": 10,\n                    \"currency\": \"AUD\",\n                    \"customer_id\": \"5df399bd9327e850a73e97c5\",\n                    \"payment_destination_id\": \"5df399bd9327e850a73e97c6\",\n                    \"transfer_id\": \"5e1874032139a47666c372f4\",\n                    \"status\": \"pending\",\n                    \"__v\": 2,\n                    \"transactions\": [\n                        {\n                            \"created_at\": \"2020-01-10T12:54:29.829Z\",\n                            \"amount\": 10,\n                            \"currency\": \"AUD\",\n                            \"type\": \"transfer\",\n                            \"status\": \"pending\",\n                            \"_id\": \"5e1874052139a47666c372f8\",\n                            \"service_logs\": [],\n                            \"_source_ip_address\": \"127.0.0.1\"\n                        },\n                        {\n                            \"created_at\": \"2020-01-10T12:55:04.194Z\",\n                            \"amount\": 10,\n                            \"currency\": \"AUD\",\n                            \"type\": \"transfer\",\n                            \"status\": \"pending\",\n                            \"_id\": \"5e1874282139a47666c372fe\",\n                            \"service_logs\": [],\n                            \"_source_ip_address\": \"127.0.0.1\"\n                        }\n                    ]\n                },\n                {\n                    \"_id\": \"5e1874032139a47666c372f6\",\n                    \"created_at\": \"2020-01-10T12:54:27.544Z\",\n                    \"updated_at\": \"2020-01-10T12:55:04.216Z\",\n                    \"amount\": 15,\n                    \"currency\": \"GBP\",\n                    \"customer_id\": \"5df399bd9327e850a73e97c5\",\n                    \"payment_destination_id\": \"5df399bd9327e850a73e97c6\",\n                    \"transfer_id\": \"5e1874032139a47666c372f4\",\n                    \"status\": \"pending\",\n                    \"__v\": 2,\n                    \"transactions\": [\n                        {\n                            \"created_at\": \"2020-01-10T12:54:29.841Z\",\n                            \"amount\": 15,\n                            \"currency\": \"GBP\",\n                            \"type\": \"transfer\",\n                            \"status\": \"pending\",\n                            \"_id\": \"5e1874052139a47666c372f9\",\n                            \"service_logs\": [],\n                            \"_source_ip_address\": \"127.0.0.1\"\n                        },\n                        {\n                            \"created_at\": \"2020-01-10T12:55:04.216Z\",\n                            \"amount\": 15,\n                            \"currency\": \"GBP\",\n                            \"type\": \"transfer\",\n                            \"status\": \"pending\",\n                            \"_id\": \"5e1874282139a47666c372ff\",\n                            \"service_logs\": [],\n                            \"_source_ip_address\": \"127.0.0.1\"\n                        }\n                    ]\n                },\n                {\n                    \"_id\": \"5e1874032139a47666c372f7\",\n                    \"created_at\": \"2020-01-10T12:54:27.548Z\",\n                    \"updated_at\": \"2020-01-10T12:55:04.233Z\",\n                    \"amount\": 20,\n                    \"currency\": \"USD\",\n                    \"customer_id\": \"5df399bd9327e850a73e97c5\",\n                    \"payment_destination_id\": \"5df399bd9327e850a73e97c6\",\n                    \"transfer_id\": \"5e1874032139a47666c372f4\",\n                    \"status\": \"pending\",\n                    \"__v\": 2,\n                    \"transactions\": [\n                        {\n                            \"created_at\": \"2020-01-10T12:54:29.849Z\",\n                            \"amount\": 20,\n                            \"currency\": \"USD\",\n                            \"type\": \"transfer\",\n                            \"status\": \"pending\",\n                            \"_id\": \"5e1874052139a47666c372fa\",\n                            \"service_logs\": [],\n                            \"_source_ip_address\": \"127.0.0.1\"\n                        },\n                        {\n                            \"created_at\": \"2020-01-10T12:55:04.233Z\",\n                            \"amount\": 20,\n                            \"currency\": \"USD\",\n                            \"type\": \"transfer\",\n                            \"status\": \"pending\",\n                            \"_id\": \"5e1874282139a47666c37300\",\n                            \"service_logs\": [],\n                            \"_source_ip_address\": \"127.0.0.1\"\n                        }\n                    ]\n                }\n            ],\n            \"capture\": false,\n            \"logs\": []\n        }\n    }\n}"}],"_postman_id":"b222f52c-c733-41d4-8d6a-9b1f7b0f0402"},{"name":"capture","id":"5f245c9e-a874-4b14-96b3-f291440f76df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/transfers/:id/capture","description":"<p>For capturing a transfer, make a POST call</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","transfers",":id","capture"],"host":["{{url}}"],"query":[],"variable":[{"id":"3464cfc1-8a5a-4709-8ce0-689ed9df6d56","type":"string","value":"5f561fa9bb8a75181d42c1a0","key":"id"}]}},"response":[{"id":"50a60e83-3796-4fbe-9f29-930308dfbcc2","name":"capture not pending status","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/v1/transfers/:id/capture","host":["{{url}}"],"path":["v1","transfers",":id","capture"],"variable":[{"key":"id","value":"5e1874032139a47666c372f4"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 07 Sep 2020 11:32:33 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"211"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"59-7oZBI2FX/jnHZcP6FS/hXH8ZqmE\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 404,\n    \"error\": {\n        \"message\": \"Transfer ready for capturing not found\"\n    },\n    \"resource\": {},\n    \"error_summary\": {\n        \"message\": \"Transfer ready for capturing not found\",\n        \"code\": \"unspecified_error\",\n        \"details\": {\n            \"messages\": []\n        }\n    }\n}"},{"id":"025a8834-bb96-44c6-903a-c7bdf534474c","name":"capture success","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/v1/transfers/:id/capture","host":["{{url}}"],"path":["v1","transfers",":id","capture"],"variable":[{"key":"id","value":"5f561fa9bb8a75181d42c1a0"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 07 Sep 2020 11:55:50 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"935"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"3a7-m0Bp7PCkJ5ga5SYFqP6JTQJdDY0\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"transfer\",\n        \"data\": {\n            \"_id\": \"5f561fa9bb8a75181d42c1a0\",\n            \"created_at\": \"2020-09-07T11:55:21.966Z\",\n            \"updated_at\": \"2020-09-07T11:55:50.883Z\",\n            \"description\": \"Transfer Description\",\n            \"reference\": \"Transfer reference\",\n            \"gateway_id\": \"5df1e8a28dfcf018377928fd\",\n            \"status\": \"requested\",\n            \"__v\": 0,\n            \"external_id\": \"PB.2p76\",\n            \"payouts\": [\n                {\n                    \"_id\": \"5f561fa9bb8a75181d42c1a1\",\n                    \"created_at\": \"2020-09-07T11:55:21.973Z\",\n                    \"updated_at\": \"2020-09-07T11:55:50.900Z\",\n                    \"amount\": 15,\n                    \"currency\": \"AUD\",\n                    \"customer_id\": \"5f50f59480c950150a6038a6\",\n                    \"payment_destination_id\": \"5f561f6bbb8a75181d42c196\",\n                    \"transfer_id\": \"5f561fa9bb8a75181d42c1a0\",\n                    \"status\": \"requested\",\n                    \"__v\": 1,\n                    \"external_id\": \"D.2pq1\",\n                    \"transactions\": [\n                        {\n                            \"created_at\": \"2020-09-07T11:55:50.576Z\",\n                            \"amount\": 15,\n                            \"currency\": \"AUD\",\n                            \"type\": \"transfer\",\n                            \"status\": \"requested\",\n                            \"_id\": \"5f561fc6bb8a75181d42c1a2\",\n                            \"external_id\": \"D.2pq1\",\n                            \"service_logs\": [],\n                            \"_source_ip_address\": \"127.0.0.1\"\n                        }\n                    ]\n                }\n            ],\n            \"capture\": false\n        }\n    }\n}"},{"id":"96c6d0ef-feda-4694-a032-6cd136d640fd","name":"capture fail customer not exist","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/v1/transfers/:id/capture","host":["{{url}}"],"path":["v1","transfers",":id","capture"],"variable":[{"key":"id","value":"5e1874032139a47666c372f4"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 07 Sep 2020 11:51:01 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"281"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"8f-mCc8QzeGDFKsSWxHR76M6qiM3i8\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Customer not exist\",\n        \"code\": \"UnfulfilledCondition\",\n        \"details\": {\n            \"path\": \"payouts[0].customer_id\"\n        }\n    },\n    \"resource\": {},\n    \"error_summary\": {\n        \"message\": \"Customer not exist\",\n        \"code\": \"unfulfilled_condition\",\n        \"details\": {\n            \"path\": \"payouts[0].customer_id\",\n            \"messages\": []\n        }\n    }\n}"}],"_postman_id":"5f245c9e-a874-4b14-96b3-f291440f76df"}],"id":"e6b0938e-62f6-47da-bf7f-54348798942a","description":"<p>Transfers help sending money from a connected payment services to a bank account and retrieve transfers details.</p>\n<h2 id=\"transfer-resource\">Transfer resource</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>+</td>\n<td>float</td>\n<td>Amount of payment</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>+</td>\n<td>string (iso4217 alpha-3)</td>\n<td>Currency code</td>\n</tr>\n<tr>\n<td>description</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined description for a transfer in payment services</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>Manually defined reference for a transfer</td>\n</tr>\n<tr>\n<td>_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>Charge Id for any future requests</td>\n</tr>\n<tr>\n<td>gateway_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>Gateway ID</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>+</td>\n<td>string(ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>Charge creation date</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>+</td>\n<td>string(ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>Date of last charge update</td>\n</tr>\n<tr>\n<td>status</td>\n<td>+</td>\n<td>string</td>\n<td>Actual transfer status. See the <em>status</em> table</td>\n</tr>\n<tr>\n<td>capture</td>\n<td>+</td>\n<td>bool</td>\n<td>Automatically capturing or just authorize</td>\n</tr>\n<tr>\n<td>archived</td>\n<td>+</td>\n<td>bool</td>\n<td>For new created transfers always <em>false</em>, <em>true</em> after manual archiving</td>\n</tr>\n<tr>\n<td>payouts</td>\n<td>+</td>\n<td>array</td>\n<td>Array of destinations with amount and currency information</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"status\">Status</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>status</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>requested</td>\n<td>All payouts are in pending state</td>\n</tr>\n<tr>\n<td>partially_approved</td>\n<td>Some of the payouts were approved, the others are in requested state</td>\n</tr>\n<tr>\n<td>partially_declined</td>\n<td>Some of the payouts were declined, the others are in requested or approved state</td>\n</tr>\n<tr>\n<td>declined</td>\n<td>All payouts are in declined state</td>\n</tr>\n<tr>\n<td>approved</td>\n<td>All payouts are in approved state</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"4bd60666-51c9-40fe-aa16-b4bf0c65e18e"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"5f8c48a4-ea7b-42d3-80bd-450a37274bc3"}}],"_postman_id":"e6b0938e-62f6-47da-bf7f-54348798942a"},{"name":"services","item":[{"name":"search","id":"ce24d7f8-754c-4768-85ce-841523225906","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/services?archived=true","description":"<p>Returns all services for the account, limited to 100 records.</p>\n<h2 id=\"request-query-parameters\">Request query parameters</h2>\n<p><strong>Pagination</strong></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>skip</td>\n<td>-</td>\n<td>number</td>\n<td>A pagination parameter to skip first <em>No.</em> subscriptions from the list, default = 0</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>-</td>\n<td>number</td>\n<td>A pagination parameter to limit the output to <em>No.</em>, default = 100 , maximum value = 1000</td>\n</tr>\n<tr>\n<td>sortkey</td>\n<td>-</td>\n<td>string</td>\n<td>A sorting key parameter, i.e. created_at</td>\n</tr>\n<tr>\n<td>sortdirection</td>\n<td>-</td>\n<td>string</td>\n<td>A sorting order direction parameter <em>ASC</em> or <em>DESC</em> (<em>DESC</em> by default)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Filters</strong></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>archived</td>\n<td>-</td>\n<td>bool</td>\n<td>Possible values are <em>true</em> or <em>false</em></td>\n</tr>\n<tr>\n<td>group</td>\n<td>-</td>\n<td>string</td>\n<td>Possible values: <code>network_token, click_to_pay, fraud, proxy_link, 3ds</code></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Other</strong></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>search</td>\n<td>-</td>\n<td>string</td>\n<td>Search by the service name</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","services"],"host":["{{url}}"],"query":[{"key":"archived","value":"true"}],"variable":[]}},"response":[{"id":"979082b0-ecdd-4bdf-a07c-4dccedb83ef9","name":"search by archived","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/services?archived=true","host":["{{url}}"],"path":["v1","services"],"query":[{"key":"archived","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 08 Sep 2020 10:33:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"981"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-info-limit","value":"100"},{"key":"x-info-skip","value":"0"},{"key":"x-info-sort-key","value":"created_at"},{"key":"x-info-sort-direction","value":"DESC"},{"key":"x-info-count","value":"3"},{"key":"etag","value":"W/\"3d5-lOUeIt5r7NkWJ9x6D955qN1D4Ag\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"services\",\n        \"data\": [\n            {\n                \"_id\": \"5f575ad7bb8a75181d42c23c\",\n                \"name\": \"First service\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"test\",\n                \"fraud_options\": {\n                    \"default\": true,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": true,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-09-08T10:20:07.626Z\",\n                \"updated_at\": \"2020-09-08T10:32:25.075Z\"\n            },\n            {\n                \"_id\": \"5f1e9ec5fcbb091d88a19008\",\n                \"name\": \"sdfs\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"live\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"active\"\n                },\n                \"archived\": true,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-27T09:30:45.371Z\",\n                \"updated_at\": \"2020-07-27T10:20:58.225Z\"\n            },\n            {\n                \"_id\": \"5f1958a6be3959422c8b9dba\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"test\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"active\"\n                },\n                \"archived\": true,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-22T09:37:15.003Z\",\n                \"updated_at\": \"2020-07-22T09:37:16.894Z\"\n            }\n        ],\n        \"skip\": 0,\n        \"limit\": 100,\n        \"sortkey\": \"created_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 3\n    }\n}"},{"id":"c9387c10-7e6a-4b87-bc35-5cebacbf339f","name":"search by group","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"url":{"raw":"{{url}}/v1/services?group=network_token","host":["{{url}}"],"path":["v1","services"],"query":[{"key":"group","value":"network_token"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 08 Sep 2020 10:33:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"981"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-info-limit","value":"100"},{"key":"x-info-skip","value":"0"},{"key":"x-info-sort-key","value":"created_at"},{"key":"x-info-sort-direction","value":"DESC"},{"key":"x-info-count","value":"3"},{"key":"etag","value":"W/\"3d5-lOUeIt5r7NkWJ9x6D955qN1D4Ag\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"services\",\n        \"data\": [\n            {\n                \"_id\": \"5f575ad7bb8a75181d42c23c\",\n                \"name\": \"First service\",\n                \"group\": \"network_token\",\n                \"type\": \"VisaVTS\",\n                \"mode\": \"test\",\n                \"archived\": true,\n                \"network_token_options\": {\n                    \"default\": true\n                },\n                \"created_at\": \"2020-09-08T10:20:07.626Z\",\n                \"updated_at\": \"2020-09-08T10:32:25.075Z\"\n            },\n            {\n                \"_id\": \"65eb5663426082149b459d05\",\n                \"name\": \"Network Token Service\",\n                \"group\": \"network_token\",\n                \"type\": \"MastercardSCOF\",\n                \"mode\": \"test\",\n                \"archived\": false,\n                \"created_at\": \"2024-15-08T18:18:11.687Z\",\n                \"updated_at\": \"2024-15-08T18:18:11.687Z\",\n                \"registration_id\": \"65e9a27b586f8714510b5dc5\",\n                \"network_token_options\": {\n                    \"default\": true\n                }\n            },\n            {\n                \"_id\": \"5f1e9ec5fcbb091d88a19008\",\n                \"name\": \"sdfs\",\n                \"group\": \"network_token\",\n                \"type\": \"VisaVTS\",\n                \"mode\": \"test\",\n                \"archived\": true,\n                \"network_token_options\": {\n                    \"default\": false\n                },\n                \"created_at\": \"2020-07-27T09:30:45.371Z\",\n                \"updated_at\": \"2020-07-27T10:20:58.225Z\"\n            },\n            {\n                \"_id\": \"5f1958a6be3959422c8b9dba\",\n                \"name\": \"test\",\n                \"group\": \"network_token\",\n                \"type\": \"MastercardSCOF\",\n                \"mode\": \"test\",\n                \"archived\": true,\n                \"network_token_options\": {\n                    \"default\": false\n                },\n                \"created_at\": \"2020-07-22T09:37:15.003Z\",\n                \"updated_at\": \"2020-07-22T09:37:16.894Z\"\n            }\n        ],\n        \"skip\": 0,\n        \"limit\": 100,\n        \"sortkey\": \"created_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 3\n    }\n}"},{"id":"827e0291-a953-40ee-b11b-12112143371d","name":"search with pagination","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/services?skip=3&limit=1","host":["{{url}}"],"path":["v1","services"],"query":[{"key":"skip","value":"3"},{"key":"limit","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 08 Sep 2020 10:15:01 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"428"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-info-limit","value":"1"},{"key":"x-info-skip","value":"3"},{"key":"x-info-sort-key","value":"created_at"},{"key":"x-info-sort-direction","value":"DESC"},{"key":"x-info-count","value":"76"},{"key":"etag","value":"W/\"1ac-oCxiju96c6177WsUmlplWIQ90f4\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"services\",\n        \"data\": [\n            {\n                \"_id\": \"5f57541cbb8a75181d42c223\",\n                \"name\": \"Service Name\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"test\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-09-08T09:51:24.845Z\",\n                \"updated_at\": \"2020-09-08T09:51:24.845Z\"\n            }\n        ],\n        \"skip\": 3,\n        \"limit\": 1,\n        \"sortkey\": \"created_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 76\n    }\n}"},{"id":"fda8be9d-0743-40b5-9be0-1998ec603c6a","name":"search with search param","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/services?search=first","host":["{{url}}"],"path":["v1","services"],"query":[{"key":"search","value":"first"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 08 Sep 2020 10:20:24 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"429"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-info-limit","value":"100"},{"key":"x-info-skip","value":"0"},{"key":"x-info-sort-key","value":"created_at"},{"key":"x-info-sort-direction","value":"DESC"},{"key":"x-info-count","value":"1"},{"key":"etag","value":"W/\"1ad-Miphul8nAHXDXQkJpm4uL2MuT2M\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"services\",\n        \"data\": [\n            {\n                \"_id\": \"5f575ad7bb8a75181d42c23c\",\n                \"name\": \"First service\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"test\",\n                \"fraud_options\": {\n                    \"default\": true,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-09-08T10:20:07.626Z\",\n                \"updated_at\": \"2020-09-08T10:20:08.610Z\"\n            }\n        ],\n        \"skip\": 0,\n        \"limit\": 100,\n        \"sortkey\": \"created_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 1\n    }\n}"},{"id":"d150158b-06e8-4d44-a7fa-99bd43919739","name":"search","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":"{{url}}/v1/services"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 08 Sep 2020 10:12:54 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"21580"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-info-limit","value":"100"},{"key":"x-info-skip","value":"0"},{"key":"x-info-sort-key","value":"created_at"},{"key":"x-info-sort-direction","value":"DESC"},{"key":"x-info-count","value":"76"},{"key":"etag","value":"W/\"544c-F1CT5tts9rK3z1oifSMGDKO0qDk\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"services\",\n        \"data\": [\n            {\n                \"_id\": \"5f57571fbb8a75181d42c231\",\n                \"name\": \"Service Name\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"test\",\n                \"fraud_options\": {\n                    \"default\": true,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-09-08T10:04:15.366Z\",\n                \"updated_at\": \"2020-09-08T10:04:16.531Z\"\n            },\n            {\n                \"_id\": \"5f5755b8bb8a75181d42c225\",\n                \"name\": \"Service Name\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"test\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-09-08T09:58:16.725Z\",\n                \"updated_at\": \"2020-09-08T09:58:17.896Z\"\n            },\n            {\n                \"_id\": \"5f575421bb8a75181d42c224\",\n                \"name\": \"Service Name\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"test\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-09-08T09:51:29.529Z\",\n                \"updated_at\": \"2020-09-08T10:04:16.514Z\"\n            },\n            {\n                \"_id\": \"5f57541cbb8a75181d42c223\",\n                \"name\": \"Service Name\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"test\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-09-08T09:51:24.845Z\",\n                \"updated_at\": \"2020-09-08T09:51:24.845Z\"\n            },\n            {\n                \"_id\": \"5f5753e8bb8a75181d42c222\",\n                \"name\": \"Service Name\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"test\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-09-08T09:50:32.607Z\",\n                \"updated_at\": \"2020-09-08T09:50:32.607Z\"\n            },\n            {\n                \"_id\": \"5f3e5d0ee03ac13bdfc60e21\",\n                \"name\": \"Test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"active\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-08-20T11:22:54.964Z\",\n                \"updated_at\": \"2020-08-20T11:22:54.964Z\"\n            },\n            {\n                \"_id\": \"5f3d2409a53f387e1b7df214\",\n                \"name\": \"pagination\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-08-19T13:07:21.781Z\",\n                \"updated_at\": \"2020-09-08T09:51:30.759Z\"\n            },\n            {\n                \"_id\": \"5f3d23dda53f387e1b7df211\",\n                \"name\": \"pagination\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-08-19T13:06:37.413Z\",\n                \"updated_at\": \"2020-08-19T13:07:23.363Z\"\n            },\n            {\n                \"_id\": \"5f3d23d6a53f387e1b7df210\",\n                \"name\": \"pagination\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-08-19T13:06:30.803Z\",\n                \"updated_at\": \"2020-08-19T13:06:39.014Z\"\n            },\n            {\n                \"_id\": \"5f3d23cca53f387e1b7df20f\",\n                \"name\": \"pagination\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-08-19T13:06:20.832Z\",\n                \"updated_at\": \"2020-08-19T13:06:32.351Z\"\n            },\n            {\n                \"_id\": \"5f3d23c5a53f387e1b7df20e\",\n                \"name\": \"pagination\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-08-19T13:06:13.719Z\",\n                \"updated_at\": \"2020-08-19T13:06:22.352Z\"\n            },\n            {\n                \"_id\": \"5f3d23baa53f387e1b7df20d\",\n                \"name\": \"pagination\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-08-19T13:06:02.323Z\",\n                \"updated_at\": \"2020-08-19T13:06:15.517Z\"\n            },\n            {\n                \"_id\": \"5f1ef1e69ecdac558b0bd39b\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-27T15:25:26.807Z\",\n                \"updated_at\": \"2020-08-19T13:06:03.915Z\"\n            },\n            {\n                \"_id\": \"5f1ef190a12cf3542d292f0f\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-27T15:24:00.590Z\",\n                \"updated_at\": \"2020-07-27T15:25:29.204Z\"\n            },\n            {\n                \"_id\": \"5f1ef033d91f85501a729a2b\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"mode\": \"passive\",\n                    \"default\": false,\n                    \"_id\": \"5f1ef033d91f85501a729a2c\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-27T15:18:11.700Z\",\n                \"updated_at\": \"2020-07-27T15:19:01.667Z\"\n            },\n            {\n                \"_id\": \"5f1eede2aa61344767efae6e\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"active\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-27T15:08:18.647Z\",\n                \"updated_at\": \"2020-07-27T15:08:18.647Z\"\n            },\n            {\n                \"_id\": \"5f1eec7bf5de89410150026e\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"active\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-27T15:02:19.532Z\",\n                \"updated_at\": \"2020-07-27T15:02:19.532Z\"\n            },\n            {\n                \"_id\": \"5f1eebe4dcb3763fee030842\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"active\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-27T14:59:48.552Z\",\n                \"updated_at\": \"2020-07-27T14:59:48.552Z\"\n            },\n            {\n                \"_id\": \"5f1eeafaf5e6493cf5f0c131\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"active\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-27T14:55:54.111Z\",\n                \"updated_at\": \"2020-07-27T14:55:56.492Z\"\n            },\n            {\n                \"_id\": \"5f1eea29195b0d37882e774c\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"active\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-27T14:52:25.501Z\",\n                \"updated_at\": \"2020-07-27T14:52:26.261Z\"\n            },\n            {\n                \"_id\": \"5f1ee096ae85e1120847b32d\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-27T14:11:34.632Z\",\n                \"updated_at\": \"2020-07-27T14:23:55.088Z\"\n            },\n            {\n                \"_id\": \"5f1edfbe54c6280f48a28734\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-27T14:07:58.514Z\",\n                \"updated_at\": \"2020-07-27T14:23:55.082Z\"\n            },\n            {\n                \"_id\": \"5f1eb5a9957b0b4ca50bac32\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-27T11:08:25.815Z\",\n                \"updated_at\": \"2020-07-27T14:52:27.728Z\"\n            },\n            {\n                \"_id\": \"5f1eb585957b0b4ca50bac31\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"active\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-27T11:07:49.037Z\",\n                \"updated_at\": \"2020-07-27T11:19:30.035Z\"\n            },\n            {\n                \"_id\": \"5f1eb533e6f95a4950ea7113\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"active\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-27T11:06:27.783Z\",\n                \"updated_at\": \"2020-07-27T11:06:27.783Z\"\n            },\n            {\n                \"_id\": \"5f1eb4f2e6f95a4950ea7112\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"active\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-27T11:05:22.025Z\",\n                \"updated_at\": \"2020-07-27T11:05:22.025Z\"\n            },\n            {\n                \"_id\": \"5f1ea0fefcbb091d88a19009\",\n                \"name\": \"777\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"live\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"active\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-27T09:40:14.645Z\",\n                \"updated_at\": \"2020-07-27T10:51:02.869Z\"\n            },\n            {\n                \"_id\": \"5f1e9bf8fcbb091d88a19007\",\n                \"name\": \"sdfs\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"live\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"active\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-27T09:18:48.485Z\",\n                \"updated_at\": \"2020-07-27T09:18:48.485Z\"\n            },\n            {\n                \"_id\": \"5f1e94f0fcbb091d88a19006\",\n                \"name\": \"Acert1\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"active\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-27T08:48:48.005Z\",\n                \"updated_at\": \"2020-07-27T08:48:48.005Z\"\n            },\n            {\n                \"_id\": \"5f1e947b82d7b7300c061cd9\",\n                \"name\": \"Acert1\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"active\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-27T08:46:51.158Z\",\n                \"updated_at\": \"2020-07-27T08:46:51.158Z\"\n            },\n            {\n                \"_id\": \"5f1e946c82d7b7300c061cd8\",\n                \"name\": \"Acert1\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"live\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"active\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-27T08:46:36.500Z\",\n                \"updated_at\": \"2020-07-27T08:46:36.500Z\"\n            },\n            {\n                \"_id\": \"5f1e93bd1255f157d8effbc3\",\n                \"name\": \"Acert1\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"live\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"active\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-27T08:43:41.703Z\",\n                \"updated_at\": \"2020-07-27T10:51:01.370Z\"\n            },\n            {\n                \"_id\": \"5f1e7bc3782a271f58369406\",\n                \"name\": \"sdfsdf\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-27T07:01:23.518Z\",\n                \"updated_at\": \"2020-07-27T10:51:01.369Z\"\n            },\n            {\n                \"_id\": \"5f1e7b90782a271f58369405\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-27T07:00:32.692Z\",\n                \"updated_at\": \"2020-07-27T07:01:25.896Z\"\n            },\n            {\n                \"_id\": \"5f1e7b81782a271f58369404\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-27T07:00:17.331Z\",\n                \"updated_at\": \"2020-07-27T10:51:01.362Z\"\n            },\n            {\n                \"_id\": \"5f1a034e27e81f2b84dd8610\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T21:38:22.302Z\",\n                \"updated_at\": \"2020-07-27T07:00:19.142Z\"\n            },\n            {\n                \"_id\": \"5f1a030527e81f2b84dd860f\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-23T21:37:09.570Z\",\n                \"updated_at\": \"2020-07-23T21:38:24.500Z\"\n            },\n            {\n                \"_id\": \"5f1a02dc27e81f2b84dd860e\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T21:36:28.427Z\",\n                \"updated_at\": \"2020-07-23T21:37:11.059Z\"\n            },\n            {\n                \"_id\": \"5f1a012c27e81f2b84dd860d\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T21:29:16.652Z\",\n                \"updated_at\": \"2020-07-23T21:36:30.943Z\"\n            },\n            {\n                \"_id\": \"5f19ffbd27e81f2b84dd860c\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-23T21:23:09.715Z\",\n                \"updated_at\": \"2020-07-23T21:29:18.698Z\"\n            },\n            {\n                \"_id\": \"5f19fcd3b096061fdc169c2e\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T21:10:43.296Z\",\n                \"updated_at\": \"2020-07-23T21:23:10.924Z\"\n            },\n            {\n                \"_id\": \"5f19f694d85d8a7fd705fe4e\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T20:44:05.005Z\",\n                \"updated_at\": \"2020-07-23T21:10:45.251Z\"\n            },\n            {\n                \"_id\": \"5f19f63989894c7e2b028aa8\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T20:42:33.516Z\",\n                \"updated_at\": \"2020-07-27T10:57:53.468Z\"\n            },\n            {\n                \"_id\": \"5f19f45969314a77d323b738\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T20:34:33.624Z\",\n                \"updated_at\": \"2020-07-23T20:34:35.603Z\"\n            },\n            {\n                \"_id\": \"5f19f3e556df966feb246341\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T20:32:37.133Z\",\n                \"updated_at\": \"2020-07-27T11:04:13.285Z\"\n            },\n            {\n                \"_id\": \"5f19f30d56df966feb246340\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T20:29:01.366Z\",\n                \"updated_at\": \"2020-07-23T20:29:03.126Z\"\n            },\n            {\n                \"_id\": \"5f19f2f956df966feb24633f\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T20:28:41.243Z\",\n                \"updated_at\": \"2020-07-23T20:28:42.005Z\"\n            },\n            {\n                \"_id\": \"5f19f2e456df966feb24633e\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T20:28:20.438Z\",\n                \"updated_at\": \"2020-07-23T20:28:21.285Z\"\n            },\n            {\n                \"_id\": \"5f19f2b656df966feb24633d\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T20:27:34.345Z\",\n                \"updated_at\": \"2020-07-23T20:27:36.371Z\"\n            },\n            {\n                \"_id\": \"5f19f2355b09b56e639d7b31\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T20:25:25.057Z\",\n                \"updated_at\": \"2020-07-23T20:25:28.879Z\"\n            },\n            {\n                \"_id\": \"5f19ee800340765f9e3b6e05\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T20:09:36.490Z\",\n                \"updated_at\": \"2020-07-23T20:29:03.124Z\"\n            },\n            {\n                \"_id\": \"5f19ee760340765f9e3b6e04\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T20:09:27.005Z\",\n                \"updated_at\": \"2020-07-23T20:25:27.060Z\"\n            },\n            {\n                \"_id\": \"5f19ed357d89a235c7407e69\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T20:04:05.418Z\",\n                \"updated_at\": \"2020-07-23T20:04:06.199Z\"\n            },\n            {\n                \"_id\": \"5f19e3287d89a235c7407e68\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"live\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T19:21:12.393Z\",\n                \"updated_at\": \"2020-07-23T19:21:13.369Z\"\n            },\n            {\n                \"_id\": \"5f19e2a87bb6043378e619fa\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T19:19:04.418Z\",\n                \"updated_at\": \"2020-07-23T19:19:05.183Z\"\n            },\n            {\n                \"_id\": \"5f19e2947bb6043378e619f9\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-23T19:18:44.324Z\",\n                \"updated_at\": \"2020-07-23T19:18:44.324Z\"\n            },\n            {\n                \"_id\": \"5f19e27d7bb6043378e619f8\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T19:18:21.435Z\",\n                \"updated_at\": \"2020-07-23T19:18:22.164Z\"\n            },\n            {\n                \"_id\": \"5f19d1933129676f28008819\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T18:06:11.447Z\",\n                \"updated_at\": \"2020-07-23T18:06:14.424Z\"\n            },\n            {\n                \"_id\": \"5f19d157151e106e4b12929d\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T18:05:11.235Z\",\n                \"updated_at\": \"2020-07-23T18:05:14.605Z\"\n            },\n            {\n                \"_id\": \"5f19d07048bc436b1cc3542a\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-23T18:01:20.639Z\",\n                \"updated_at\": \"2020-07-23T18:01:20.639Z\"\n            },\n            {\n                \"_id\": \"5f19d02e2f37ba69d5ac8702\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-23T18:00:14.079Z\",\n                \"updated_at\": \"2020-07-23T18:00:14.079Z\"\n            },\n            {\n                \"_id\": \"5f19cf94d59a2567feee5425\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-23T17:57:40.540Z\",\n                \"updated_at\": \"2020-07-23T17:57:40.540Z\"\n            },\n            {\n                \"_id\": \"5f19cf4793568867223f9fcf\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-23T17:56:23.611Z\",\n                \"updated_at\": \"2020-07-23T17:56:23.611Z\"\n            },\n            {\n                \"_id\": \"5f19cee9cfe773658d8593eb\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-23T17:54:49.887Z\",\n                \"updated_at\": \"2020-07-23T17:54:49.887Z\"\n            },\n            {\n                \"_id\": \"5f19ce30b34b4863c74e46e4\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T17:51:44.858Z\",\n                \"updated_at\": \"2020-07-23T17:51:49.533Z\"\n            },\n            {\n                \"_id\": \"5f19cde299df8461cde3b17e\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T17:50:26.026Z\",\n                \"updated_at\": \"2020-07-23T17:50:27.063Z\"\n            },\n            {\n                \"_id\": \"5f19cc096d22905cad5fbc21\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T17:42:33.110Z\",\n                \"updated_at\": \"2020-07-23T17:42:34.084Z\"\n            },\n            {\n                \"_id\": \"5f19ca96655c79576e7d8e6d\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T17:36:22.828Z\",\n                \"updated_at\": \"2020-07-23T17:36:23.824Z\"\n            },\n            {\n                \"_id\": \"5f19ca61017e1c55001fabf8\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T17:35:29.388Z\",\n                \"updated_at\": \"2020-07-23T17:35:30.136Z\"\n            },\n            {\n                \"_id\": \"5f19c5382ca5f14034bd8c2b\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T17:13:28.761Z\",\n                \"updated_at\": \"2020-07-23T17:13:29.529Z\"\n            },\n            {\n                \"_id\": \"5f19c5052ca5f14034bd8c2a\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"virtual\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T17:12:37.751Z\",\n                \"updated_at\": \"2020-07-23T17:12:38.455Z\"\n            },\n            {\n                \"_id\": \"5f19c4e62ca5f14034bd8c29\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"test\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"completed\",\n                \"created_at\": \"2020-07-23T17:12:06.917Z\",\n                \"updated_at\": \"2020-07-23T17:12:07.745Z\"\n            },\n            {\n                \"_id\": \"5f19c44fb5c6423de6778fe4\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"test\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-23T17:09:35.388Z\",\n                \"updated_at\": \"2020-07-23T17:09:35.388Z\"\n            },\n            {\n                \"_id\": \"5f19c40991bc073cfffb23a3\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"test\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-23T17:08:25.093Z\",\n                \"updated_at\": \"2020-07-23T17:08:25.093Z\"\n            },\n            {\n                \"_id\": \"5f19c3cef4ebd53c2a254c52\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"test\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-23T17:07:26.255Z\",\n                \"updated_at\": \"2020-07-23T17:07:26.255Z\"\n            },\n            {\n                \"_id\": \"5f19c398c71ce930eb09b68c\",\n                \"name\": \"test\",\n                \"group\": \"fraud\",\n                \"type\": \"Accertify\",\n                \"mode\": \"test\",\n                \"fraud_options\": {\n                    \"default\": false,\n                    \"mode\": \"passive\"\n                },\n                \"archived\": false,\n                \"verification_status\": \"failed\",\n                \"created_at\": \"2020-07-23T17:06:32.350Z\",\n                \"updated_at\": \"2020-07-23T17:06:32.350Z\"\n            }\n        ],\n        \"skip\": 0,\n        \"limit\": 100,\n        \"sortkey\": \"created_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 76\n    }\n}"}],"_postman_id":"ce24d7f8-754c-4768-85ce-841523225906"},{"name":"get","id":"df2e082f-b3f9-4450-9157-eb02206ed7c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/services/:id","description":"<p>Retrieves data on a service with the specified ID.</p>\n<h2 id=\"request-parameters\">Request parameters</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>A service ID received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","services",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"a3276f13-c174-4108-8da8-5aa345ccb44c","type":"string","value":"5f57571fbb8a75181d42c231","key":"id"}]}},"response":[{"id":"59660c77-b9a2-4723-ba6f-b9ffb8470226","name":"[fraud group] common","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/services/:id","host":["{{url}}"],"path":["v1","services",":id"],"variable":[{"key":"id","value":"5f57571fbb8a75181d42c231"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 08 Sep 2020 10:11:50 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"772"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"304-UXHfdggw454jaM3ldapb8gIFa5s\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"services\",\n        \"data\": {\n            \"_id\": \"5f57571fbb8a75181d42c231\",\n            \"name\": \"Service Name\",\n            \"group\": \"fraud\",\n            \"type\": \"Accertify\",\n            \"mode\": \"test\",\n            \"fraud_options\": {\n                \"default\": true,\n                \"mode\": \"passive\"\n            },\n            \"archived\": false,\n            \"verification_status\": \"failed\",\n            \"created_at\": \"2020-09-08T10:04:15.366Z\",\n            \"updated_at\": \"2020-09-08T10:04:16.531Z\",\n            \"logs\": [\n                {\n                    \"_id\": \"5f57572067330f183c22354c\",\n                    \"created_at\": \"2020-09-08T10:04:16.493Z\",\n                    \"updated_at\": \"2020-09-08T10:04:16.493Z\",\n                    \"tcp_status\": null,\n                    \"status\": \"500\",\n                    \"action\": \"verification_service\",\n                    \"relation_entity\": \"service\",\n                    \"relation_id\": \"5f57571fbb8a75181d42c231\",\n                    \"url\": \"https://example.com\",\n                    \"__v\": 0,\n                    \"response\": {\n                        \"format\": \"xml\",\n                        \"body\": null\n                    },\n                    \"request\": {\n                        \"format\": \"json\",\n                        \"body\": \"{\\\"transaction\\\":{}}\"\n                    }\n                }\n            ]\n        }\n    }\n}"},{"id":"38cc0b07-bf17-40ed-b57d-e6d1622b5f69","name":"get a proxy link group","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/v1/services/:id","host":["{{url}}"],"path":["v1","services",":id"],"variable":[{"key":"id","value":"6009445b7e96201f71a83a3f","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 21 Jan 2021 09:11:23 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"336"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"150-uDf/8r8uqowhWslmNCa14H0/enU\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"services\",\n        \"data\": {\n            \"_id\": \"6009445b7e96201f71a83a3f\",\n            \"name\": \"Booking Get Card Info 2\",\n            \"group\": \"proxy_link\",\n            \"type\": \"Booking\",\n            \"mode\": \"virtual\",\n            \"archived\": false,\n            \"created_at\": \"2021-01-21T09:07:39.961Z\",\n            \"updated_at\": \"2021-01-21T09:09:48.392Z\",\n            \"proxy_link_options\": {\n                \"route_label\": \"GetCardInfo\"\n            }\n        }\n    }\n}"}],"_postman_id":"df2e082f-b3f9-4450-9157-eb02206ed7c7"},{"name":"get proxy link options","id":"c33fccc7-fcee-4c0c-b6c1-1642ec88e2e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/services/:id","description":"<p>Retrieves data on available types and route labels.</p>\n<p><strong>Filters</strong></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>filter</td>\n<td>-</td>\n<td>bool</td>\n<td>Allows excluding already added services. Possible values are <em>true</em> or <em>false</em></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Proxy Link Option Resource</strong></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>type</td>\n<td>+</td>\n<td>string</td>\n<td>A service type: e.g. value: ‘Booking’</td>\n</tr>\n<tr>\n<td>routes</td>\n<td>+</td>\n<td>Array</td>\n<td>Options specific for the <em>proxy_link</em> group of services</td>\n</tr>\n<tr>\n<td>routes[].modes</td>\n<td>+</td>\n<td>Array</td>\n<td>It can be <em>test</em> for the testing mode, <em>live</em> for the production mode, and <em>virtual</em> for testing purposes</td>\n</tr>\n<tr>\n<td>routes[].route_label</td>\n<td>+</td>\n<td>string</td>\n<td>The list of available endpoints for a specific <code>type</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","services",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"a3276f13-c174-4108-8da8-5aa345ccb44c","type":"string","value":"5f57571fbb8a75181d42c231","key":"id"}]}},"response":[{"id":"999a9855-1cd0-41c2-9587-2f607633b5e3","name":"common","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/services/proxy-links"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 21 Jan 2021 08:55:31 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"154"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"9a-4hZ6EanoBWoOp0qwtAKVvChze8I\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"services\",\n        \"data\": [\n            {\n                \"type\": \"Booking\",\n                \"routes\": [\n                    {\n                        \"modes\": [\n                            \"live\",\n                            \"virtual\"\n                        ],\n                        \"route_label\": \"GetCardInfo\"\n                    }\n                ]\n            }\n        ]\n    }\n}"}],"_postman_id":"c33fccc7-fcee-4c0c-b6c1-1642ec88e2e2"},{"name":"create","id":"269e8771-d3fc-4dd2-af2e-c8e61eda9fbc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"Accertify\",\n    \"name\": \"First service\",\n    \"group\": \"fraud\",\n    \"credentials\": {\n        \"username\": \"username\",\n        \"password\": \"password\",\n        \"merchant\": \"merchant\"\n    },\n    \"mode\": \"test\",\n    \"fraud_options\": {\n        \"default\": true,\n        \"mode\": \"passive\"\n    }\n}"},"url":"{{url}}/v1/services","description":"<p>You can connect to a service account more than once by using a different name each time.</p>\n<p>A different set of parameters is required for every service. For more details, see the list below.</p>\n<h2 id=\"request-body-for-the-fraud-group\">Request body for the <code>fraud</code> group</h2>\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>type</td>\n<td>+</td>\n<td>string</td>\n<td>A service type: e.g. value: ‘Accertify’</td>\n</tr>\n<tr>\n<td>name</td>\n<td>+</td>\n<td>string</td>\n<td>A name assigned to a service</td>\n</tr>\n<tr>\n<td>credentials</td>\n<td>+</td>\n<td>object</td>\n<td>The object for credentials required to connect to a service</td>\n</tr>\n<tr>\n<td>credentials.username</td>\n<td>+</td>\n<td>string</td>\n<td>An API key</td>\n</tr>\n<tr>\n<td>credentials.password</td>\n<td>+</td>\n<td>string</td>\n<td>A gateway/service password</td>\n</tr>\n<tr>\n<td>credentials.merchant</td>\n<td>-</td>\n<td>string</td>\n<td>Merchant identifier.  <br />Accertify: Unique Accertify Endpoint URL ID</td>\n</tr>\n<tr>\n<td>credentials.api_url</td>\n<td>-</td>\n<td>string</td>\n<td>Custom base url to be used for connecting a service</td>\n</tr>\n<tr>\n<td>mode</td>\n<td>+</td>\n<td>string</td>\n<td>It must be <em>test</em> for the testing mode and <em>live</em> for the production mode.</td>\n</tr>\n<tr>\n<td>group</td>\n<td>+</td>\n<td>string</td>\n<td>A service group: e.g. value: <em>fraud</em></td>\n</tr>\n<tr>\n<td>fraud_options</td>\n<td>+</td>\n<td>object</td>\n<td>Options specific for the <em>fraud</em> group of services</td>\n</tr>\n<tr>\n<td>fraud_options.mode</td>\n<td>+</td>\n<td>string</td>\n<td>A fraud mode. Possible values are <em>active</em> or <em>passive</em></td>\n</tr>\n<tr>\n<td>fraud_options.default</td>\n<td>-</td>\n<td>bool</td>\n<td>A flag to use a service as a default one</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body-for-the-proxy_link-group\">Request body for the <code>proxy_link</code> group</h2>\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>group</td>\n<td>+</td>\n<td>string</td>\n<td>A service group: e.g. value: <em>proxy_link</em></td>\n</tr>\n<tr>\n<td>type</td>\n<td>+</td>\n<td>string</td>\n<td>A service type: e.g. value: ‘Booking’</td>\n</tr>\n<tr>\n<td>name</td>\n<td>+</td>\n<td>string</td>\n<td>A name assigned to a service</td>\n</tr>\n<tr>\n<td>mode</td>\n<td>+</td>\n<td>string</td>\n<td>The list of available modes can differ for every specific <code>type</code> and <code>route_label</code>. You can check it with <code>get proxy link options</code>. It can be <em>test</em> for the testing mode and <em>live</em> for the production mode.</td>\n</tr>\n<tr>\n<td>proxy_link_options</td>\n<td>+</td>\n<td>object</td>\n<td>Options specific for the <em>proxy_link</em> group of services</td>\n</tr>\n<tr>\n<td>proxy_link_options.route_label</td>\n<td>+</td>\n<td>string</td>\n<td>You can check the list of available values with <code>get proxy link options</code></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body-for-the-3ds-group\">Request body for the <code>3ds</code> group</h2>\n<p>3ds services can be created in two different modes:</p>\n<ol>\n<li><p>Direct integration: this mode is the default and most common one, where merchant provides all the credentials to connect to a service</p>\n</li>\n<li><p>Master Merchant integration: in this mode we create a sub merchant account under PayDock master merchant account. Please ask for access to your PayDock point of contact.</p>\n</li>\n</ol>\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>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>+</td>\n<td>string</td>\n<td>A service type: e.g. value: ‘GPayments’</td>\n</tr>\n<tr>\n<td>name</td>\n<td>+</td>\n<td>string</td>\n<td>A name assigned to a service</td>\n</tr>\n<tr>\n<td>mode</td>\n<td>+</td>\n<td>string</td>\n<td>It must be test for the testing mode and live for the production</td>\n</tr>\n<tr>\n<td>group</td>\n<td>+</td>\n<td>string</td>\n<td>A service group: e.g. value: 3ds</td>\n</tr>\n<tr>\n<td>credentials</td>\n<td>+</td>\n<td>object</td>\n<td>The object for credentials required to connect to a service</td>\n</tr>\n<tr>\n<td>credentials.username</td>\n<td>+</td>\n<td>string</td>\n<td>A Merchant Name</td>\n</tr>\n<tr>\n<td>credentials.merchant</td>\n<td>+1</td>\n<td>string</td>\n<td>A Merchant ID</td>\n</tr>\n<tr>\n<td>credentials.certificate</td>\n<td>+1</td>\n<td>string</td>\n<td>A Merchant Certificate in Base 64</td>\n</tr>\n<tr>\n<td>credentials.certificate_passphrase</td>\n<td>+1</td>\n<td>string</td>\n<td>A Merchant Certificate password</td>\n</tr>\n<tr>\n<td>credentials.certificate2</td>\n<td>+1</td>\n<td>string</td>\n<td>A Merchant CA Certificate in Base 64</td>\n</tr>\n<tr>\n<td>_3ds_options</td>\n<td>+</td>\n<td>object</td>\n<td>3ds service preferences</td>\n</tr>\n<tr>\n<td>_3ds_options.mode</td>\n<td>-</td>\n<td>string</td>\n<td>A mode indicating the service mode. It must be \"direct\" for direct integration, or \"master_merchant\" otherwise. Defaults to \"direct\".</td>\n</tr>\n<tr>\n<td>_3ds_options.url</td>\n<td>+</td>\n<td>string</td>\n<td>Base API URL for direct integrations (for example <a href=\"https://paydock-test.api.as1.gpayments.net/\">https://merchant.gpayments.net/</a> ) or the merchant website URL for master merchant integrations</td>\n</tr>\n<tr>\n<td>_3ds_options.currency</td>\n<td>+2</td>\n<td>string (iso4217 alpha-3)</td>\n<td>The default currency code</td>\n</tr>\n<tr>\n<td>_3ds_options.country</td>\n<td>+2</td>\n<td>string</td>\n<td>The default country code</td>\n</tr>\n<tr>\n<td>_3ds_options.default</td>\n<td>-</td>\n<td>bool</td>\n<td>A flag to use a service as a default one</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body-for-the-card_scheme-group\">Request body for the <code>card_scheme</code> group</h2>\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>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>+</td>\n<td>string</td>\n<td>A service type: e.g. value: ‘VISASRC’</td>\n</tr>\n<tr>\n<td>name</td>\n<td>+</td>\n<td>string</td>\n<td>A name assigned to a service</td>\n</tr>\n<tr>\n<td>mode</td>\n<td>+</td>\n<td>string</td>\n<td>It must be test for the testing mode and live for the production mode</td>\n</tr>\n<tr>\n<td>group</td>\n<td>+</td>\n<td>string</td>\n<td>A service group: e.g. value: card_scheme</td>\n</tr>\n<tr>\n<td>card_scheme_options</td>\n<td>+</td>\n<td>object</td>\n<td>Options specific for the <em>card_scheme</em> group of services</td>\n</tr>\n<tr>\n<td>card_scheme_options.company_name</td>\n<td>-</td>\n<td>string</td>\n<td>A Company Name</td>\n</tr>\n<tr>\n<td>card_scheme_options.url</td>\n<td>-</td>\n<td>string</td>\n<td>Merchants URL</td>\n</tr>\n<tr>\n<td>card_scheme_options.type</td>\n<td>-</td>\n<td>string</td>\n<td>Business Type</td>\n</tr>\n<tr>\n<td>card_scheme_options.description</td>\n<td>-</td>\n<td>string</td>\n<td>A Description</td>\n</tr>\n<tr>\n<td>card_scheme_options.address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>Address first line</td>\n</tr>\n<tr>\n<td>card_scheme_options.address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>Address second line</td>\n</tr>\n<tr>\n<td>card_scheme_options.address_city</td>\n<td>-</td>\n<td>string</td>\n<td>Address City</td>\n</tr>\n<tr>\n<td>card_scheme_options.address_country</td>\n<td>-</td>\n<td>string (ISO-3166-1 alpha-2)</td>\n<td>Address Country</td>\n</tr>\n<tr>\n<td>card_scheme_options.email</td>\n<td>-</td>\n<td>string</td>\n<td>Contact person email</td>\n</tr>\n<tr>\n<td>card_scheme_options.first_name</td>\n<td>-</td>\n<td>string</td>\n<td>Contact person first name</td>\n</tr>\n<tr>\n<td>card_scheme_options.last_name</td>\n<td>-</td>\n<td>string</td>\n<td>Contact person last name</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body-for-the-network_token-group\">Request body for the <code>network_token</code> group</h2>\n<p>The corresponding feature option should be enabled (Feature Options Allowed Services Network Token) to be able to create a <code>network_token</code> service.</p>\n<p>Before creating a <code>network_token</code> service the corresponding registration should be created and the status of the registration should be <code>completed</code>.</p>\n<p>If the flag <code>network_token_options.default</code> is <code>true</code> and there is already existed default service for the current <code>type</code>, then the flag <code>network_token_options.default</code> of the existing service will be updated to <code>false</code>. If no Network Token Service is configured as <code>default=true</code> network tokens will <strong>not</strong> be created under the hood of Vault API.</p>\n<p><strong>Note:</strong> Creating more than one Network Token Service per Registration is not recommended.</p>\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>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>+</td>\n<td>string</td>\n<td>A service type should be one of: <code>MastercardSCOF</code> or <code>VisaVTS</code></td>\n</tr>\n<tr>\n<td>name</td>\n<td>+</td>\n<td>string</td>\n<td>A name assigned to a service</td>\n</tr>\n<tr>\n<td>mode</td>\n<td>+</td>\n<td>string</td>\n<td>It must be test for the testing mode and live for the production</td>\n</tr>\n<tr>\n<td>group</td>\n<td>+</td>\n<td>string</td>\n<td>A service group: e.g. value: <code>network_token</code></td>\n</tr>\n<tr>\n<td>network_token_options.default</td>\n<td>-</td>\n<td>boolean</td>\n<td>A flag to use set the service as a default for creating network tokens</td>\n</tr>\n<tr>\n<td>registration_id</td>\n<td>+</td>\n<td>string (24 byte hex)</td>\n<td>A registration ID</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","services"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"41408e6b-040e-47bc-8adc-0fe607e1ebfb","name":"[fraud group] common","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"Accertify\",\n    \"name\": \"Service Name\",\n    \"group\": \"fraud\",\n    \"credentials\": {\n        \"username\": \"username\",\n        \"password\": \"password\",\n        \"merchant\": \"merchant\"\n    },\n    \"mode\": \"test\",\n    \"fraud_options\": {\n        \"default\": true,\n        \"mode\": \"passive\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/services"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 08 Sep 2020 09:51:30 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"349"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"15d-LgWibDtEMz4803fznyEeAIEXQhY\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"services\",\n        \"data\": {\n            \"_id\": \"5f575421bb8a75181d42c224\",\n            \"name\": \"Service Name\",\n            \"group\": \"fraud\",\n            \"type\": \"Accertify\",\n            \"mode\": \"test\",\n            \"fraud_options\": {\n                \"default\": true,\n                \"mode\": \"passive\"\n            },\n            \"archived\": false,\n            \"verification_status\": \"failed\",\n            \"created_at\": \"2020-09-08T09:51:29.529Z\",\n            \"updated_at\": \"2020-09-08T09:51:30.777Z\"\n        }\n    }\n}"},{"id":"d110fd2a-c828-449d-a493-23101fb05a9e","name":"[proxy_link group] common","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"Booking\",\n    \"name\": \"Booking Get Card Info\",\n    \"group\": \"proxy_link\",\n    \"mode\": \"live\",\n    \"proxy_link_options\": {\n        \"route_label\": \"GetCardInfo\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/services"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 21 Jan 2021 09:07:39 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"331"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"14b-zTDRgkDyCFL/aNW0be3ISymqBa0\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"services\",\n        \"data\": {\n            \"_id\": \"6009445b7e96201f71a83a3f\",\n            \"name\": \"Booking Get Card Info\",\n            \"group\": \"proxy_link\",\n            \"type\": \"Booking\",\n            \"mode\": \"live\",\n            \"archived\": false,\n            \"created_at\": \"2021-01-21T09:07:39.961Z\",\n            \"updated_at\": \"2021-01-21T09:07:39.961Z\",\n            \"proxy_link_options\": {\n                \"route_label\": \"GetCardInfo\"\n            }\n        }\n    }\n}"},{"id":"046be706-5928-4634-b5df-8eb82cde4bf9","name":"[3ds group] direct","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Service Name\",\n    \"group\": \"3ds\",\n    \"type\": \"GPayments\",\n    \"credentials\": {\n        \"merchant\": \"merchant ID\",\n        \"username\": \"merchant name\",\n        \"certificate\": \"Merchant Certificate Base64\",\n        \"certificate_passphrase\": \"Merchant Certificate Password\",\n        \"certificate2\": \"CA Certificate Base64\"\n    },\n    \"mode\": \"test\",\n    \"_3ds_options\": {\n        \"default\": true,\n        \"mode\": \"direct\",\n        \"url\": \"Base API URL\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/services"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 21 Jan 2021 09:07:39 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"331"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"14b-zTDRgkDyCFL/aNW0be3ISymqBa0\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"services\",\n        \"data\": {\n            \"_id\": \"61d724778738150e843e8bfc\",\n            \"name\": \"Service Name\",\n            \"group\": \"3ds\",\n            \"type\": \"GPayments\",\n            \"mode\": \"test\",\n            \"archived\": false,\n            \"verification_status\": \"failed\",\n            \"created_at\": \"2022-01-06T17:18:47.612Z\",\n            \"updated_at\": \"2022-01-06T17:18:47.650Z\",\n            \"_3ds_options\": {\n                \"default\": true,\n                \"mode\": \"direct\",\n                \"url\": \"Base API URL\"\n            }\n        }\n    }\n}"},{"id":"51a2bc51-f582-4428-a0b4-e595716ef777","name":"[3ds group] paydock master merchant","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Service Name\",\n    \"group\": \"3ds\",\n    \"type\": \"GPayments\",\n    \"credentials\": {\n        \"username\": \"merchant name\"\n    },\n    \"mode\": \"test\",\n    \"_3ds_options\": {\n        \"mode\": \"master_merchant\",\n        \"currency\": \"AUD\",\n        \"country\": \"AU\",\n        \"url\": \"url\",\n        \"default\": true\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/services"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 21 Jan 2021 09:07:39 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"331"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"14b-zTDRgkDyCFL/aNW0be3ISymqBa0\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"services\",\n        \"data\": {\n            \"_id\": \"61d726908738150e843e8c05\",\n            \"name\": \"Service Name\",\n            \"group\": \"3ds\",\n            \"type\": \"GPayments\",\n            \"mode\": \"test\",\n            \"archived\": false,\n            \"verification_status\": \"failed\",\n            \"created_at\": \"2022-01-06T17:27:44.378Z\",\n            \"updated_at\": \"2022-01-06T17:27:44.378Z\",\n            \"_3ds_options\": {\n                \"default\": false,\n                \"mode\": \"master_merchant\",\n                \"currency\": \"USD\",\n                \"country\": \"AU\",\n                \"url\": \"url\"\n            }\n        }\n    }\n}"},{"id":"8e60f055-a279-4feb-9267-8ec8fa7e9618","name":"[click to pay] create service from registration","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Click to Pay Service\",\n  \"group\": \"click_to_pay\",\n  \"type\": \"ClickToPay\",\n  \"mode\": \"test\",\n  \"registration_id\": \"65e9a27b586f8714510b5dc5\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/services"},"status":"Created","code":201,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"status\": 201,\n  \"error\": null,\n  \"resource\": {\n    \"type\": \"services\",\n    \"data\": {\n      \"_id\": \"65eb5663426082149b459d04\",\n      \"name\": \"Click to Pay Service\",\n      \"group\": \"click_to_pay\",\n      \"type\": \"ClickToPay\",\n      \"mode\": \"test\",\n      \"archived\": false,\n      \"verification_status\": \"completed\",\n      \"created_at\": \"2024-03-08T18:18:11.687Z\",\n      \"updated_at\": \"2024-03-08T18:18:11.687Z\",\n      \"registration_id\": \"65e9a27b586f8714510b5dc5\"\n    }\n  }\n}"},{"id":"0cbeaea0-e6e3-4f5d-a840-0f7d41dd13ba","name":"[network_token] create service","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Network Token Service\",\n  \"group\": \"network_token\",\n  \"type\": \"MastercardSCOF\",\n  \"mode\": \"test\",\n  \"registration_id\": \"65e9a27b586f8714510b5dc6\",\n  \"network_token_options\": {\n    \"default\": true\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/services"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"services\",\n        \"data\": {\n            \"_id\": \"65eb5663426082149b459d05\",\n            \"name\": \"Network Token Service\",\n            \"group\": \"network_token\",\n            \"type\": \"MastercardSCOF\",\n            \"mode\": \"test\",\n            \"archived\": false,\n            \"created_at\": \"2024-15-08T18:18:11.687Z\",\n            \"updated_at\": \"2024-15-08T18:18:11.687Z\",\n            \"registration_id\": \"65e9a27b586f8714510b5dc5\",\n            \"network_token_options\": {\n                \"default\": true\n            }\n        }\n    }\n}"}],"_postman_id":"269e8771-d3fc-4dd2-af2e-c8e61eda9fbc"},{"name":"delete","id":"c05fa4d1-8ca0-4b88-8341-eb603ddeac4b","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"host":true,"user-agent":true,"accept":true,"connection":true,"accept-encoding":true}},"request":{"method":"DELETE","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/services/:id","description":"<p>Archives a service to hide it from the service list. You can still retrieve archived services.</p>\n<h2 id=\"request-parameters\">Request parameters</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>A service ID received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"delete-network_token-group\"><strong>Delete</strong> <code>network_token</code> <strong>group</strong></h4>\n<p>It's forbidden to delete a <code>network_token</code> service if:</p>\n<ul>\n<li><p>provided service is a default and there are no other services for the current card scheme</p>\n</li>\n<li><p>at least one active network token is created using the provided service</p>\n</li>\n</ul>\n","urlObject":{"path":["v1","services",":id"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"5f575ad7bb8a75181d42c23c","key":"id"}]}},"response":[{"id":"2d544886-0e2c-414c-b14c-dccfdbfedba8","name":"delete success","originalRequest":{"method":"DELETE","header":[{"key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/services/:id","host":["{{url}}"],"path":["v1","services",":id"],"variable":[{"key":"id","value":"5f575ad7bb8a75181d42c23c"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 08 Sep 2020 10:32:25 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"349"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"15d-4FnjSSJH39yZuKsn0wpQxcat5NI\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"services\",\n        \"data\": {\n            \"_id\": \"5f575ad7bb8a75181d42c23c\",\n            \"name\": \"First service\",\n            \"group\": \"fraud\",\n            \"type\": \"Accertify\",\n            \"mode\": \"test\",\n            \"fraud_options\": {\n                \"default\": true,\n                \"mode\": \"passive\"\n            },\n            \"archived\": true,\n            \"verification_status\": \"failed\",\n            \"created_at\": \"2020-09-08T10:20:07.626Z\",\n            \"updated_at\": \"2020-09-08T10:32:25.075Z\"\n        }\n    }\n}"}],"_postman_id":"c05fa4d1-8ca0-4b88-8341-eb603ddeac4b"},{"name":"modify configuration","id":"b1ab7518-bf30-4305-a159-834a8ddd6e54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Name\",\n\t\"fraud_options\": {\n\t\t\"mode\": \"active\",\n\t\t\"default\": false\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/services/:id","description":"<p>Updates configuration for a service.</p>\n<h2 id=\"request-parameters\">Request parameters</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>A service ID received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body-for-the-fraud-group\">Request body for the <code>fraud</code> group</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>-</td>\n<td>string</td>\n<td>A name assigned to a service</td>\n</tr>\n<tr>\n<td>fraud_options</td>\n<td>-</td>\n<td>object</td>\n<td>Options specific for the <em>fraud</em> group of services</td>\n</tr>\n<tr>\n<td>fraud_options.mode</td>\n<td>-</td>\n<td>string</td>\n<td>A fraud mode. Possible values are <em>active</em> or <em>passive</em></td>\n</tr>\n<tr>\n<td>fraud_options.default</td>\n<td>-</td>\n<td>string</td>\n<td>A flag to use this fraud service as a default one</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body-for-the-proxy_link-group\">Request body for the <code>proxy_link</code> group</h2>\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>name</td>\n<td>+</td>\n<td>string</td>\n<td>A name assigned to a service</td>\n</tr>\n<tr>\n<td>mode</td>\n<td>+</td>\n<td>string</td>\n<td>The list of available modes can differ for every specific <code>type</code> and <code>route_label</code>. You can check it with <code>get proxy link options</code>. It can be <em>test</em> for the testing mode, <em>live</em> for the production mode, and <em>virtual</em> for testing purposes</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body-for-the-3ds-group\">Request body for the <code>3ds</code> group</h2>\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>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>-</td>\n<td>string</td>\n<td>A name assigned to a service</td>\n</tr>\n<tr>\n<td>_3ds_options</td>\n<td>-</td>\n<td>object</td>\n<td>3ds options object</td>\n</tr>\n<tr>\n<td>_3ds_options.default</td>\n<td>-</td>\n<td>bool</td>\n<td>A flag to use this 3ds service as a default one</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body-for-the-network_token-group\">Request body for the <code>network_token</code> group</h2>\n<p>If the flag <code>network_token_options.default</code> is <code>true</code> and there is already existed default service for the current <code>type</code>, then the flag <code>network_token_options.default</code> of the existing service will be updated to <code>false</code>.</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>name</td>\n<td>-</td>\n<td>string</td>\n<td>A name assigned to a service</td>\n</tr>\n<tr>\n<td>network_token_options.default</td>\n<td>-</td>\n<td>boolean</td>\n<td>A flag to use set the service as a default for creating network tokens</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","services",":id"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"5f1958a6be3959422c8b9dba","key":"id"}]}},"response":[{"id":"f00a9e81-a944-4a97-873f-5a5e7a55dcdf","name":"[fraud group] common","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Name\",\n\t\"fraud_options\": {\n\t\t\"mode\": \"active\",\n\t\t\"default\": false\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/services/:id","host":["{{url}}"],"path":["v1","services",":id"],"variable":[{"key":"id","value":"5f1958a6be3959422c8b9dba"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 08 Sep 2020 13:48:20 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"344"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"158-UL0/9qjL3UN0pISGq/R5zo0aIJk\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"services\",\n        \"data\": {\n            \"_id\": \"5f1958a6be3959422c8b9dba\",\n            \"name\": \"Name\",\n            \"group\": \"fraud\",\n            \"type\": \"Accertify\",\n            \"mode\": \"test\",\n            \"fraud_options\": {\n                \"default\": false,\n                \"mode\": \"passive\"\n            },\n            \"archived\": true,\n            \"verification_status\": \"completed\",\n            \"created_at\": \"2020-07-22T09:37:15.003Z\",\n            \"updated_at\": \"2020-09-08T13:48:20.357Z\"\n        }\n    }\n}"},{"id":"2342194a-6610-49fe-9de6-383da8ad9426","name":"[proxy_link group] common","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\n    \"name\": \"Booking Get Card Info 2\",\n    \"mode\": \"virtual\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/services/:id","host":["{{url}}"],"path":["v1","services",":id"],"variable":[{"key":"id","value":"6009445b7e96201f71a83a3f","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 21 Jan 2021 09:09:48 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"336"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"150-uDf/8r8uqowhWslmNCa14H0/enU\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"services\",\n        \"data\": {\n            \"_id\": \"6009445b7e96201f71a83a3f\",\n            \"name\": \"Booking Get Card Info 2\",\n            \"group\": \"proxy_link\",\n            \"type\": \"Booking\",\n            \"mode\": \"virtual\",\n            \"archived\": false,\n            \"created_at\": \"2021-01-21T09:07:39.961Z\",\n            \"updated_at\": \"2021-01-21T09:09:48.392Z\",\n            \"proxy_link_options\": {\n                \"route_label\": \"GetCardInfo\"\n            }\n        }\n    }\n}"},{"id":"a311493c-3477-4726-8ca7-d0a822c0b9e0","name":"[network_token] common","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n\n    \"name\": \"New Default Network Token\",\n    \"network_token_options\": {\n        \"default\": true\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/services/:id","host":["{{url}}"],"path":["v1","services",":id"],"variable":[{"key":"id","value":"6009445b7e96201f71a83a3f"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Jan 2021 09:09:48 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"336"},{"key":"Connection","value":"keep-alive"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"150-uDf/8r8uqowhWslmNCa14H0/enU\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"services\",\n        \"data\": {\n            \"_id\": \"65eb5663426082149b459d05\",\n            \"name\": \"New Default Network Token\",\n            \"group\": \"network_token\",\n            \"type\": \"MastercardSCOF\",\n            \"mode\": \"test\",\n            \"archived\": false,\n            \"created_at\": \"2024-15-08T18:18:11.687Z\",\n            \"updated_at\": \"2024-15-08T19:18:11.687Z\",\n            \"registration_id\": \"65e9a27b586f8714510b5dc5\",\n            \"network_token_options\": {\n                \"default\": true\n            }\n        }\n    }\n}"},{"id":"ffefbf82-abd9-436d-8e0f-7be080ed9aba","name":"[3ds group] common","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Service Name\",\n\t\"_3ds_options\": {\n\t\t\"default\": true\n\t}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/services/:id","host":["{{url}}"],"path":["v1","services",":id"],"variable":[{"key":"id","value":"61d726908738150e843e8c05"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 08 Sep 2020 13:48:20 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"344"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"158-UL0/9qjL3UN0pISGq/R5zo0aIJk\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"services\",\n        \"data\": {\n            \"_id\": \"61d726908738150e843e8c05\",\n            \"name\": \"Service Name\",\n            \"group\": \"3ds\",\n            \"type\": \"GPayments\",\n            \"mode\": \"test\",\n            \"archived\": false,\n            \"verification_status\": \"completed\",\n            \"created_at\": \"2022-01-06T17:27:44.378Z\",\n            \"updated_at\": \"2022-01-06T18:01:08.901Z\",\n            \"_3ds_options\": {\n                \"default\": true,\n                \"mode\": \"master_merchant\",\n                \"currency\": \"AUD\",\n                \"country\": \"AU\",\n                \"url\": \"url\"\n            }\n        }\n    }\n}"}],"_postman_id":"b1ab7518-bf30-4305-a159-834a8ddd6e54"},{"name":"verify credentials","id":"5b46e869-0b8e-4c69-aeb1-847c9bdb9dec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"credentials\": {\n        \"username\": \"wanda\",\n        \"password\": \"ieSf2zrSHm7w2}C~)\",\n        \"merchant\": \"100000000\"\n    },\n    \"mode\": \"virtual\"\n}"},"url":"{{url}}/v1/services/:id/verify","urlObject":{"path":["v1","services",":id","verify"],"host":["{{url}}"],"query":[],"variable":[{"id":"170e5e19-60af-473c-b233-902553018b80","type":"string","value":"5f58ed3b1f3a4238e1d73082","key":"id"}]}},"response":[{"id":"dc28a9ec-01e6-4983-aca9-6593dd1842fd","name":"common","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"credentials\": {\n        \"username\": \"wanda\",\n        \"password\": \"ieSf2zrSHm7w2}C~)\",\n        \"merchant\": \"100000000\"\n    },\n    \"mode\": \"virtual\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/services/:id/verify","host":["{{url}}"],"path":["v1","services",":id","verify"],"variable":[{"key":"id","value":"5f58ed3b1f3a4238e1d73082"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 21 Jan 2021 11:00:29 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"360"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"168-Uf1ZDu92YWWN/lhjfJuLbja/ziY\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"services\",\n        \"data\": {\n            \"_id\": \"5f58ed3b1f3a4238e1d73082\",\n            \"name\": \"First Accertify\",\n            \"group\": \"fraud\",\n            \"type\": \"Accertify\",\n            \"mode\": \"virtual\",\n            \"fraud_options\": {\n                \"mode\": \"active\",\n                \"default\": true\n            },\n            \"archived\": false,\n            \"verification_status\": \"completed\",\n            \"created_at\": \"2020-09-09T14:56:59.717Z\",\n            \"updated_at\": \"2021-01-21T11:00:29.510Z\"\n        }\n    }\n}"},{"id":"915a09f1-8209-46b7-ac3c-5d0692dd544f","name":"[3ds group] direct","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"mode\": \"test\",\n    \"credentials\": {\n        \"merchant\": \"merchant ID\",\n        \"username\": \"merchant name\",\n        \"certificate\": \"Merchant Certificate Base64\",\n        \"certificate_passphrase\": \"Merchant Certificate Password\",\n        \"certificate2\": \"CA Certificate Base64\"\n    },\n    \"_3ds_options\": {\n        \"default\": true,\n        \"mode\": \"direct\",\n        \"url\": \"Base API URL\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/services/:id/verify","host":["{{url}}"],"path":["v1","services",":id","verify"],"variable":[{"key":"id","value":"61d724778738150e843e8bfc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 21 Jan 2021 11:00:29 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"360"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"168-Uf1ZDu92YWWN/lhjfJuLbja/ziY\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"services\",\n        \"data\": {\n            \"_id\": \"61d724778738150e843e8bfc\",\n            \"name\": \"Service Name\",\n            \"group\": \"3ds\",\n            \"type\": \"GPayments\",\n            \"mode\": \"test\",\n            \"archived\": false,\n            \"verification_status\": \"completed\",\n            \"created_at\": \"2022-01-06T17:35:54.282Z\",\n            \"updated_at\": \"2022-01-06T17:36:05.111Z\",\n            \"_3ds_options\": {\n                \"default\": true,\n                \"mode\": \"direct\",\n                \"url\": \"Base API URL\"\n            }\n        }\n    }\n}"}],"_postman_id":"5b46e869-0b8e-4c69-aeb1-847c9bdb9dec"},{"name":"generate-access","id":"703b89f0-eb54-4f76-90ff-9f3995145bb2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"mode\": \"test\",\n    \"credentials\": {\n        \"username\": \"username\"\n    },\n    \"_3ds_options\": {\n        \"default\": true,\n        \"currency\": \"AUD\",\n        \"country\": \"AU\",\n        \"url\": \"url\"\n    }\n}"},"url":"{{url}}/v1/services/:id/generate-access","urlObject":{"path":["v1","services",":id","generate-access"],"host":["{{url}}"],"query":[],"variable":[{"id":"6a8cdc01-dd6f-487b-99da-d3049c849323","type":"string","value":"61d726908738150e843e8c05","key":"id"}]}},"response":[{"id":"5d614c2b-8291-4ef6-8391-d5bf7199f0e4","name":"[3ds group] paydock master merchant","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"mode\": \"test\",\n    \"credentials\": {\n        \"username\": \"username\"\n    },\n    \"_3ds_options\": {\n        \"default\": true,\n        \"currency\": \"AUD\",\n        \"country\": \"AU\",\n        \"url\": \"url\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/services/:id/generate-access","host":["{{url}}"],"path":["v1","services",":id","generate-access"],"variable":[{"key":"id","value":"61d726908738150e843e8c05"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 21 Jan 2021 11:00:29 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"360"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"168-Uf1ZDu92YWWN/lhjfJuLbja/ziY\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"services\",\n        \"data\": {\n            \"_id\": \"61d726908738150e843e8c05\",\n            \"name\": \"Service Name\",\n            \"group\": \"3ds\",\n            \"type\": \"GPayments\",\n            \"mode\": \"test\",\n            \"archived\": false,\n            \"verification_status\": \"completed\",\n            \"created_at\": \"2022-01-06T17:27:44.378Z\",\n            \"updated_at\": \"2022-01-06T17:55:46.041Z\",\n            \"_3ds_options\": {\n                \"default\": true,\n                \"mode\": \"master_merchant\",\n                \"currency\": \"AUD\",\n                \"country\": \"AU\",\n                \"url\": \"url\"\n            }\n        }\n    }\n}"}],"_postman_id":"703b89f0-eb54-4f76-90ff-9f3995145bb2"}],"id":"0ae9dbd7-2912-43b4-b900-70fe332bc08d","description":"<p>PayDock enables you to connect to different services (gateways, fraud, etc.) within a single PayDock account.</p>\n<p>Services can be added through the API or via the PayDock Dashboard.</p>\n<p>Before you proceed, you should register an account with the required service in their system, where specific data can be found (service username, merchant ID, API key, etc.).</p>\n<h2 id=\"service-resource\">Service resource</h2>\n<h3 id=\"flow\">Flow</h3>\n<ol>\n<li><p>Created with the <code>fraud</code> group</p>\n</li>\n<li><p>Created with the <code>proxy_link</code> group</p>\n</li>\n<li><p>Created with the <code>network_token</code> group</p>\n</li>\n</ol>\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>name</td>\n<td>+</td>\n<td>string</td>\n<td>A name assigned to a service</td>\n</tr>\n<tr>\n<td>group</td>\n<td>+</td>\n<td>string</td>\n<td>A service group: ‘fraud’ or ’proxy_link’</td>\n</tr>\n<tr>\n<td>type</td>\n<td>+1</td>\n<td>string</td>\n<td>A service type: e.g. value: ‘Accertify’</td>\n</tr>\n<tr>\n<td>type</td>\n<td>+2</td>\n<td>string</td>\n<td>A service type: e.g. value: ‘Booking’</td>\n</tr>\n<tr>\n<td>mode</td>\n<td>+1</td>\n<td>string</td>\n<td>By default, it is set to ‘test’, must be ‘live’ for the production mode and ‘virtual’ for testing purposes</td>\n</tr>\n<tr>\n<td>mode</td>\n<td>+2</td>\n<td>string</td>\n<td>The list of available modes can differ for every specific <code>type</code> and <code>route_label</code>. You can check it with <code>get proxy link options</code>. Possible values are <em>test</em> for the testing mode, <em>live</em> for the production mode, and <em>virtual</em> for testing purposes</td>\n</tr>\n<tr>\n<td>_id</td>\n<td>+</td>\n<td>string (24 byte hex)</td>\n<td>A service ID for any future requests</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>+</td>\n<td>string (ISO 8601 format: yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>A service creation date</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>+</td>\n<td>string (ISO 8601 format: yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>A date of the last service update</td>\n</tr>\n<tr>\n<td>verification_status</td>\n<td>+1</td>\n<td>string</td>\n<td>An actual service verification status. See the <em>status</em> table</td>\n</tr>\n<tr>\n<td>archived</td>\n<td>+</td>\n<td>bool</td>\n<td>For newly created services, it is always <em>false</em>, it changes to <em>true</em> after manual archivation</td>\n</tr>\n<tr>\n<td>fraud_options</td>\n<td>+1</td>\n<td>object</td>\n<td>Options specific for the <em>fraud</em> group of services</td>\n</tr>\n<tr>\n<td>fraud_options.mode</td>\n<td>-1</td>\n<td>string</td>\n<td>A fraud mode. Possible values are <em>active</em> or <em>passive</em></td>\n</tr>\n<tr>\n<td>fraud_options.default</td>\n<td>-1</td>\n<td>bool</td>\n<td>A flag to use this fraud service as a default one</td>\n</tr>\n<tr>\n<td>proxy_link_options</td>\n<td>+2</td>\n<td>object</td>\n<td>Options specific for the <em>proxy_link</em> group of services</td>\n</tr>\n<tr>\n<td>proxy_link_options.route_label</td>\n<td>+2</td>\n<td>string</td>\n<td>You can check the list of available values with <code>get proxy link options</code></td>\n</tr>\n<tr>\n<td>network_token_options</td>\n<td>+3</td>\n<td>string</td>\n<td>Options specific for the <code>network_token</code> group of services</td>\n</tr>\n<tr>\n<td>network_token_options.default</td>\n<td>+3</td>\n<td>string</td>\n<td>A flag to use set the service as a default for creating network tokens</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"status\">Status</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>verification_status</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>completed</td>\n<td>Verification was completed successfully</td>\n</tr>\n<tr>\n<td>failed</td>\n<td>Verification was not completed</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"97aa7d5e-08f4-4570-9475-a74f3d280f70"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"8cfead1c-cd4d-409b-a44b-b456b24cdb14"}}],"_postman_id":"0ae9dbd7-2912-43b4-b900-70fe332bc08d"},{"name":"tokens","item":[{"name":"create","id":"4d8d3f81-5b4c-4da9-acbc-afc5a3fab6c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-user-public-key","value":"{{publickey}}","description":"<p>This is your PayDock API Public Key</p>\n"},{"key":"Content-Type","value":"application/json","description":"<p>Content-Type will always be application/json</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"gateway_id\": \"5eda22bb37356514ddaabee7\",\n    \"card_name\": \"Wanda Mertz\",\n    \"card_number\": \"5123450000000008\",\n    \"expire_month\": \"09\",\n    \"expire_year\": \"21\",\n    \"card_ccv\": \"123\",\n    \"store_ccv\": false\n}"},"url":"{{url}}/v1/payment_sources/tokens","description":"<p>Create one-time token</p>\n<p>Tokens can also be created using client-sdk</p>\n<p>This endpoint is available both with a secret and public token</p>\n<h2 id=\"flow\">Flow</h2>\n<p>You can create a one time token using:</p>\n<ol>\n<li>Create OTT using a Credit Card</li>\n<li>Create OTT using a Bank Account</li>\n<li>Create OTT using a Gift Card</li>\n<li>Create OTT using a Credit Card and without Gateway_ID</li>\n<li>Create OTT using a Bank Account and without Gateway_ID</li>\n</ol>\n<h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first_name</td>\n<td>-</td>\n<td>string</td>\n<td>Customer first name</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>-</td>\n<td>string</td>\n<td>Customer last name</td>\n</tr>\n<tr>\n<td>email</td>\n<td>-</td>\n<td>string</td>\n<td>Customer email</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>-</td>\n<td>string(E.164)</td>\n<td>Customer phone in E.164 international notation (Example: +12345678901)</td>\n</tr>\n<tr>\n<td>phone2</td>\n<td>-</td>\n<td>string(E.164)</td>\n<td>Customer additional phone in E.164 international notation (Example: +12345678901)</td>\n</tr>\n<tr>\n<td>gateway_id</td>\n<td>+1,2  <br />-3,4,5</td>\n<td>string (24 hex characters)</td>\n<td>Gateway id</td>\n</tr>\n<tr>\n<td>type</td>\n<td>+2,3</td>\n<td>string</td>\n<td>Type of payment. By default <em>card</em>. Use <em>card</em> for payment with credit card. Use <em>bank_account</em> for using direct debit payments. Use <em>gift_card</em> for source with gift card.</td>\n</tr>\n<tr>\n<td>card_name</td>\n<td>+1,3</td>\n<td>string</td>\n<td>Cardholder name (as on card)</td>\n</tr>\n<tr>\n<td>card_number</td>\n<td>+1,3</td>\n<td>string(numeric)</td>\n<td>Card number</td>\n</tr>\n<tr>\n<td>expire_month</td>\n<td>+1</td>\n<td>string(mm)</td>\n<td>Card expiration month mm</td>\n</tr>\n<tr>\n<td>expire_year</td>\n<td>+1</td>\n<td>string(yyyy)</td>\n<td>Card expiration year</td>\n</tr>\n<tr>\n<td>card_ccv</td>\n<td>-1</td>\n<td>string(numeric)</td>\n<td>Card CCV number</td>\n</tr>\n<tr>\n<td>account_name</td>\n<td>+2</td>\n<td>string</td>\n<td>Customer account name.</td>\n</tr>\n<tr>\n<td>account_number</td>\n<td>+2</td>\n<td>string</td>\n<td>Number of Customer account.</td>\n</tr>\n<tr>\n<td>account_bsb</td>\n<td>-2</td>\n<td>string</td>\n<td>Customer bank state branch number.</td>\n</tr>\n<tr>\n<td>account_routing</td>\n<td>-2</td>\n<td>string(numeric)</td>\n<td>Number of Customer account. BSB/Routing/SWIFT/IBAN Number.</td>\n</tr>\n<tr>\n<td>account_holder_type</td>\n<td>-2</td>\n<td>string</td>\n<td>account type (<em>personal</em> or <em>business</em>)</td>\n</tr>\n<tr>\n<td>account_bank_name</td>\n<td>-2</td>\n<td>string</td>\n<td>Name of account bank</td>\n</tr>\n<tr>\n<td>card_pin</td>\n<td>-3</td>\n<td>string(numeric)</td>\n<td>Card PIN number</td>\n</tr>\n<tr>\n<td>card_schema</td>\n<td>+3</td>\n<td>string</td>\n<td>Card schema for current card number</td>\n</tr>\n<tr>\n<td>card_processing_network</td>\n<td>+3</td>\n<td>string</td>\n<td>Card processing network for current card number</td>\n</tr>\n<tr>\n<td>store_pin</td>\n<td>-3</td>\n<td>boolean</td>\n<td>A flag to be able to use a PIN value for the initial transaction</td>\n</tr>\n<tr>\n<td>address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, line 1</td>\n</tr>\n<tr>\n<td>address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, line 2</td>\n</tr>\n<tr>\n<td>address_state</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, State</td>\n</tr>\n<tr>\n<td>address_country</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, Country Code</td>\n</tr>\n<tr>\n<td>address_city</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, City</td>\n</tr>\n<tr>\n<td>address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, Postcode</td>\n</tr>\n<tr>\n<td>address_company</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Company Name</td>\n</tr>\n<tr>\n<td>store_ccv</td>\n<td>-</td>\n<td>boolean</td>\n<td>A flag to be able to use a CCV value for the initial transaction</td>\n</tr>\n<tr>\n<td>meta.customer_storage_number</td>\n<td>-</td>\n<td>string</td>\n<td>Identification of a customer on a gateway side for future payments binding (used by Bambora gateway)</td>\n</tr>\n<tr>\n<td>meta.tokenise_algorithm</td>\n<td>-</td>\n<td>number</td>\n<td>Bambora alorithm Id for creating customers. (Default -2, if not specified.)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","payment_sources","tokens"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"6b09df26-a38a-4155-a479-552b5fcf5823","name":"create with credit card","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Public Key","key":"x-user-public-key","value":"{{publickey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"gateway_id\": \"5cbede1f151b842653e987be\",\n    \"card_name\": \"Wanda Mertz\",\n    \"card_number\": \"4242424242424242\",\n    \"expire_month\": \"09\",\n    \"expire_year\": \"21\",\n    \"card_ccv\": \"123\"\n}"},"url":"{{url}}/v1/payment_sources/tokens"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 May 2020 14:56:17 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"101"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"65-Yuk9xBrbQUsOVFK9PBnATQ\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"token\",\n        \"data\": \"f6301700-dcfe-4640-aabf-eff4ee3d96a6\"\n    }\n}"},{"id":"26bd9a95-0306-406b-b331-461827c14d02","name":"create with gift card","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Public Key","key":"x-user-public-key","value":"{{publickey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Wanda\",\n    \"last_name\": \"Mertz\",\n    \"email\": \"wanda.mertz@example.com\",\n    \"phone\": \"+1234567890\",\n    \"card_name\": \"Wanda Mertz\",\n    \"card_number\": \"62734010001104878\",\n    \"card_pin\": \"1350\",\n    \"type\": \"gift_card\",\n    \"store_pin\": true,\n    \"card_scheme\": \"vii_giftcard\",\n    \"card_processing_network\": \"vii_giftcard\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/payment_sources/tokens"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 May 2020 14:56:17 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"101"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"65-Yuk9xBrbQUsOVFK9PBnATQ\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"token\",\n        \"data\": \"f6301700-dcfe-4640-aabf-eff4ee3d96a6\"\n    }\n}"},{"id":"743172f1-7ce6-4d53-bd8c-bba122767b8b","name":"create with bank account","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Public Key","key":"x-user-public-key","value":"{{publickey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"gateway_id\": \"5d1df20be205944082f778b8\",\n    \"type\": \"bank_account\",\n    \"account_name\": \"Wanda Mertz\",\n    \"account_number\": \"064000\",\n    \"account_routing\": \"064000\"\n}"},"url":"{{url}}/v1/payment_sources/tokens"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 May 2020 14:57:57 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"101"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"65-50a+C7PSC7sG0XzK/SgViQ\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"token\",\n        \"data\": \"8f9f601b-808d-485f-bf5f-e430784c4458\"\n    }\n}"},{"id":"4a6a3371-6fcb-4abb-b82d-3adbbb07fc52","name":"create with credit card  and without gatewayId","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Public Key","key":"x-user-public-key","value":"{{publickey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"card_name\": \"Wanda Mertz\",\n    \"card_number\": \"4242424242424242\",\n    \"expire_month\": \"09\",\n    \"expire_year\": \"21\",\n    \"card_ccv\": \"123\"\n}"},"url":"{{url}}/v1/payment_sources/tokens"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 May 2020 14:56:17 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"101"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"65-Yuk9xBrbQUsOVFK9PBnATQ\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"token\",\n        \"data\": \"f6301700-dcfe-4640-aabf-eff4ee3d96a6\"\n    }\n}"},{"id":"b6b69324-2c29-4939-8bc4-7954c54b68ae","name":"create with bank account and without gatewayId","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Public Key","key":"x-user-public-key","value":"{{publickey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"bank_account\",\n    \"account_name\": \"Wanda Mertz\",\n    \"account_number\": \"064000\",\n    \"account_routing\": \"064000\"\n}"},"url":"{{url}}/v1/payment_sources/tokens"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 May 2020 14:57:57 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"101"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"65-50a+C7PSC7sG0XzK/SgViQ\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"token\",\n        \"data\": \"8f9f601b-808d-485f-bf5f-e430784c4458\"\n    }\n}"}],"_postman_id":"4d8d3f81-5b4c-4da9-acbc-afc5a3fab6c2"}],"id":"64a29074-66fe-4a4c-a7ea-7529d84d5af0","description":"<p>One-time token represents payment source information including Credit cards or Direct Debit account details. It is a disposable token for creating charges/subscriptions/customers or updating customers. One-time tokens expire after 3 hours.</p>\n","_postman_id":"64a29074-66fe-4a4c-a7ea-7529d84d5af0"},{"name":"gateways","item":[{"name":"create","id":"1f48daf1-0f6f-411c-beda-36c855e81188","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","type":"text","value":"{{secretkey}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"Stripe\",\n    \"name\": \"first strip gateway\",\n    \"username\": \"secret_key\"\n}"},"url":"{{url}}/v1/gateways","description":"<p>You can add a gateway account more than once by using a different name each time.</p>\n<p>Each of the gateways requires a different set of parameters. Refer to the list below for more information.</p>\n<ol>\n<li>Add gateway using your credentials.</li>\n<li>Add gateway using your credentials and activate wallet payments (Apple/Google Pay)</li>\n</ol>\n<h2 id=\"gateway-types\">Gateway types</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Afterpay</td>\n<td>Afterpay</td>\n</tr>\n<tr>\n<td>Authorize Net</td>\n<td>Authorize</td>\n</tr>\n<tr>\n<td>Bpoint</td>\n<td>Bpoint</td>\n</tr>\n<tr>\n<td>Brain Tree</td>\n<td>Brain</td>\n</tr>\n<tr>\n<td>Eway</td>\n<td>Eway</td>\n</tr>\n<tr>\n<td>Ezidebit</td>\n<td>Ezidebit</td>\n</tr>\n<tr>\n<td>Ezidebit 3.5</td>\n<td>Ezidebit35</td>\n</tr>\n<tr>\n<td>Fat Zebra</td>\n<td>FatZebra</td>\n</tr>\n<tr>\n<td>Flo 2 Cash</td>\n<td>Flo2Cash</td>\n</tr>\n<tr>\n<td>Forte</td>\n<td>Forte</td>\n</tr>\n<tr>\n<td>Bambora</td>\n<td>IpPayments</td>\n</tr>\n<tr>\n<td>MasterCard</td>\n<td>MasterCard</td>\n</tr>\n<tr>\n<td>Merchantwarrior</td>\n<td>Merchantwarrior</td>\n</tr>\n<tr>\n<td>NAB</td>\n<td>Nab</td>\n</tr>\n<tr>\n<td>Paperless</td>\n<td>Paperless</td>\n</tr>\n<tr>\n<td>Payment Express</td>\n<td>Paymentexpress</td>\n</tr>\n<tr>\n<td>PayPal</td>\n<td>Paypal</td>\n</tr>\n<tr>\n<td>PayPal Classic</td>\n<td>PaypalClassic</td>\n</tr>\n<tr>\n<td>Pay Way</td>\n<td>PaywayRest</td>\n</tr>\n<tr>\n<td>Pin</td>\n<td>Pin</td>\n</tr>\n<tr>\n<td>Assembly</td>\n<td>PromisePay</td>\n</tr>\n<tr>\n<td>Secure Pay</td>\n<td>Securepay</td>\n</tr>\n<tr>\n<td>Split Payments</td>\n<td>SplitPayments</td>\n</tr>\n<tr>\n<td>Sqid</td>\n<td>Sqid</td>\n</tr>\n<tr>\n<td>Stripe</td>\n<td>Stripe</td>\n</tr>\n<tr>\n<td>World Pay</td>\n<td>Worldpay</td>\n</tr>\n<tr>\n<td>World Pay WPG</td>\n<td>WorldpayWPG</td>\n</tr>\n<tr>\n<td>Zip Money</td>\n<td>Zipmoney</td>\n</tr>\n<tr>\n<td>Payeezy</td>\n<td>Payeezy</td>\n</tr>\n<tr>\n<td>Fiserve</td>\n<td>Fiserve</td>\n</tr>\n<tr>\n<td>Adyen</td>\n<td>Adyen</td>\n</tr>\n<tr>\n<td>Qualpay</td>\n<td>Qualpay</td>\n</tr>\n<tr>\n<td>Till Payments</td>\n<td>TillPayments</td>\n</tr>\n<tr>\n<td>Flypay</td>\n<td>Flypay</td>\n</tr>\n<tr>\n<td>Flypay V2</td>\n<td>FlypayV2</td>\n</tr>\n<tr>\n<td>Moneris</td>\n<td>Moneris</td>\n</tr>\n<tr>\n<td>Elavon</td>\n<td>Elavon</td>\n</tr>\n<tr>\n<td>First American</td>\n<td>FirstAmerican</td>\n</tr>\n<tr>\n<td>Eftpos</td>\n<td>Eftpos</td>\n</tr>\n<tr>\n<td>Diners</td>\n<td>DCI</td>\n</tr>\n<tr>\n<td>Flypay V2</td>\n<td>FlypayV2</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>+1</td>\n<td>type</td>\n<td>A type of the gateway. See <em>Types table</em></td>\n</tr>\n<tr>\n<td>name</td>\n<td>+1</td>\n<td>string</td>\n<td>A manually defined name</td>\n</tr>\n<tr>\n<td>default</td>\n<td>-</td>\n<td>bool</td>\n<td>Use the gateway by default for the Client SDK widget. Default value is <em>false</em></td>\n</tr>\n<tr>\n<td>mode</td>\n<td>-</td>\n<td>string</td>\n<td>Defaults to <em>test</em>, must be <em>live</em> for the production mode</td>\n</tr>\n<tr>\n<td>proccess_custom_fields</td>\n<td>-</td>\n<td>bool</td>\n<td>All custom fields will be sent to the payment gateway during any transaction, if the payment gateway supports it. <em>false</em> by default (this feature is disabled)</td>\n</tr>\n<tr>\n<td>api_url</td>\n<td>-</td>\n<td>string</td>\n<td>Custom URL that can be used for sending requests, if the payment gateway supports it</td>\n</tr>\n<tr>\n<td>meta</td>\n<td>-</td>\n<td>object</td>\n<td>An optional object with specific fields for different gateways</td>\n</tr>\n<tr>\n<td>meta.reversal</td>\n<td>-</td>\n<td>bool</td>\n<td>A flag to use reversal functionality for transactions which have unexpected responses from a payment gateway (e.g., connection timeout, server errors, etc.). Supported Gateways: MasterCard. <em>false</em> by default</td>\n</tr>\n<tr>\n<td>meta.biller_code</td>\n<td>-</td>\n<td>string</td>\n<td>A biller code for the transaction (Bpoint)</td>\n</tr>\n<tr>\n<td>meta.currency</td>\n<td>-</td>\n<td>string (iso4217 alpha-3)</td>\n<td>A currency of the merchant account (EMS, Fiserv, Qualpay)</td>\n</tr>\n<tr>\n<td>meta.test_mode</td>\n<td>-</td>\n<td>bool</td>\n<td>Allows turning on/off the test mode on the <em>live</em> environment of the gateway (Authorize Net). <em>true</em> by default</td>\n</tr>\n<tr>\n<td>meta.ignore_expiry_date</td>\n<td>-</td>\n<td>bool</td>\n<td>Omits expiry, i.e. ignores the expiration of the credit card (Fat Zebra). <em>false</em> by default</td>\n</tr>\n<tr>\n<td>meta.real_time_card</td>\n<td>-</td>\n<td>bool</td>\n<td>Process card transaction in real-time (Ezidebit). <em>true</em> by default</td>\n</tr>\n<tr>\n<td>meta.store_ccv</td>\n<td>-</td>\n<td>bool</td>\n<td>A flag to be able to use a CVV value for the initial transaction</td>\n</tr>\n<tr>\n<td>meta.version</td>\n<td>-</td>\n<td>number</td>\n<td>A number to specify gateway version when supported (Afterpay)</td>\n</tr>\n<tr>\n<td>meta.region</td>\n<td>-</td>\n<td>string</td>\n<td>The country or region for the specified gateway (e.g: \"AU\")</td>\n</tr>\n<tr>\n<td>wallets</td>\n<td>-</td>\n<td>object</td>\n<td>An optional object with specific fields for wallet payments such as Apple/Google Pay</td>\n</tr>\n<tr>\n<td>wallets.apple</td>\n<td>+2 (Apple wallet)</td>\n<td>object</td>\n<td>An optional object with specific fields for Apple Pay</td>\n</tr>\n<tr>\n<td>wallets.apple.merchant</td>\n<td>+2</td>\n<td>string</td>\n<td>An Apple Merchant ID</td>\n</tr>\n<tr>\n<td>wallets.apple.certificate_passphrase</td>\n<td>+2</td>\n<td>string</td>\n<td>An Apple Merchant ID Certificate. Value must be Base64 encoded</td>\n</tr>\n<tr>\n<td>wallets.apple.signature</td>\n<td>+2</td>\n<td>string</td>\n<td>An Apple Merchant ID Private Key. Value must be Base64 encoded</td>\n</tr>\n<tr>\n<td>wallets.apple.username</td>\n<td>+2</td>\n<td>string</td>\n<td>An Apple Payment Processing Certificate used for the encryption process. Value must be Base64 encoded</td>\n</tr>\n<tr>\n<td>wallets.apple.password</td>\n<td>+2</td>\n<td>string</td>\n<td>An Apple Payment Processing Private Key used to authenticate the communication with Apple Pay servers. Value must be Base64 encoded</td>\n</tr>\n<tr>\n<td>wallets.google</td>\n<td>+2 (Google wallet)</td>\n<td>object</td>\n<td>An optional object with specific fields for Google Pay</td>\n</tr>\n<tr>\n<td>wallets.google.merchant</td>\n<td>+2</td>\n<td>string</td>\n<td>Google Merchant ID</td>\n</tr>\n<tr>\n<td>settings</td>\n<td>-</td>\n<td>object</td>\n<td>An optional object with additional settings</td>\n</tr>\n<tr>\n<td>settings.terminal_id</td>\n<td>-</td>\n<td>string</td>\n<td>Terminal ID</td>\n</tr>\n<tr>\n<td>settings.acquiring_institution_id</td>\n<td>-</td>\n<td>string</td>\n<td>Acquiring Institution ID</td>\n</tr>\n<tr>\n<td>settings.forwarding_institution_id</td>\n<td>-</td>\n<td>string</td>\n<td>Forwarding Institution ID</td>\n</tr>\n<tr>\n<td>settings.merchant_name</td>\n<td>-</td>\n<td>string</td>\n<td>Merchant Name</td>\n</tr>\n<tr>\n<td>settings.merchant_tier_code</td>\n<td>-</td>\n<td>string</td>\n<td>Merchant Tier Code</td>\n</tr>\n<tr>\n<td>settings.merchant_category_code</td>\n<td>-</td>\n<td>string</td>\n<td>Merchant Category Code</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body-for-each-gateway\">Request body for each gateway</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>gateway</th>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>Brain Tree</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Brain Tree</td>\n<td>merchant</td>\n<td>+1</td>\n<td>string</td>\n<td>The merchant account ID</td>\n</tr>\n<tr>\n<td>Brain Tree</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Public key</td>\n</tr>\n<tr>\n<td>Brain Tree</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Private key</td>\n</tr>\n<tr>\n<td><strong>Eway</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Eway</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Public key</td>\n</tr>\n<tr>\n<td>Eway</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Password</td>\n</tr>\n<tr>\n<td><strong>Paperless</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Paperless</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Terminal ID</td>\n</tr>\n<tr>\n<td>Paperless</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Terminal Key</td>\n</tr>\n<tr>\n<td><strong>Ezidebit</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Ezidebit</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Public key</td>\n</tr>\n<tr>\n<td>Ezidebit</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Digital key</td>\n</tr>\n<tr>\n<td><strong>Ezidebit 35</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Ezidebit 35</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Public key</td>\n</tr>\n<tr>\n<td>Ezidebit 35</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Digital key</td>\n</tr>\n<tr>\n<td><strong>PayPal</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>PayPal</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Client ID</td>\n</tr>\n<tr>\n<td>PayPal</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Secret key</td>\n</tr>\n<tr>\n<td><strong>Pin</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Pin</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Secret key</td>\n</tr>\n<tr>\n<td><strong>Stripe</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Stripe</td>\n<td>merchant</td>\n<td>+1</td>\n<td>string</td>\n<td>Publishable key</td>\n</tr>\n<tr>\n<td>Stripe</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Secret key</td>\n</tr>\n<tr>\n<td><strong>Pay Way</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Pay Way</td>\n<td>merchant</td>\n<td>+1</td>\n<td>string</td>\n<td>Merchant (required for credit card payments)</td>\n</tr>\n<tr>\n<td>Pay Way</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Publishable key</td>\n</tr>\n<tr>\n<td>Pay Way</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Secret key</td>\n</tr>\n<tr>\n<td><strong>Authorize Net</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Authorize Net</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>API login ID</td>\n</tr>\n<tr>\n<td>Authorize Net</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Transaction key</td>\n</tr>\n<tr>\n<td><strong>Secure Pay</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Secure Pay</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Merchant</td>\n</tr>\n<tr>\n<td>Secure Pay</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Password</td>\n</tr>\n<tr>\n<td><strong>Payment Express</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Payment Express</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Username</td>\n</tr>\n<tr>\n<td>Payment Express</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Password</td>\n</tr>\n<tr>\n<td><strong>World Pay</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>World Pay</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Client API key</td>\n</tr>\n<tr>\n<td>World Pay</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Service API key</td>\n</tr>\n<tr>\n<td><strong>World Pay WPG</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>World Pay</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Username</td>\n</tr>\n<tr>\n<td>World Pay</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Password</td>\n</tr>\n<tr>\n<td>World Pay</td>\n<td>merchant</td>\n<td>+1</td>\n<td>string</td>\n<td>Merchant Code</td>\n</tr>\n<tr>\n<td><strong>Nab</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Nab</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Username</td>\n</tr>\n<tr>\n<td>Nab</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Password</td>\n</tr>\n<tr>\n<td><strong>Merchantwarrior</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Merchantwarrior</td>\n<td>merchant</td>\n<td>+1</td>\n<td>string</td>\n<td>Merchant UUID</td>\n</tr>\n<tr>\n<td>Merchantwarrior</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>API Key</td>\n</tr>\n<tr>\n<td>Merchantwarrior</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Passphrase</td>\n</tr>\n<tr>\n<td><strong>Sqid</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Sqid</td>\n<td>merchant</td>\n<td>+1</td>\n<td>string</td>\n<td>Merchant Code</td>\n</tr>\n<tr>\n<td>Sqid</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>API Key</td>\n</tr>\n<tr>\n<td>Sqid</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Passphrase</td>\n</tr>\n<tr>\n<td><strong>Assembly</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Assembly</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Username</td>\n</tr>\n<tr>\n<td>Assembly</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>API Key</td>\n</tr>\n<tr>\n<td><strong>PayPal Classic</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>PayPal Classic</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Client ID</td>\n</tr>\n<tr>\n<td>PayPal Classic</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Secret key</td>\n</tr>\n<tr>\n<td>PayPal Classic</td>\n<td>signature</td>\n<td>+1</td>\n<td>string</td>\n<td>Signature</td>\n</tr>\n<tr>\n<td><strong>Forte</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Forte</td>\n<td>merchant</td>\n<td>+1</td>\n<td>string</td>\n<td>Merchant</td>\n</tr>\n<tr>\n<td>Forte</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Username</td>\n</tr>\n<tr>\n<td>Forte</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Password</td>\n</tr>\n<tr>\n<td>Forte</td>\n<td>signature</td>\n<td>+1</td>\n<td>string</td>\n<td>Signature</td>\n</tr>\n<tr>\n<td><strong>Afterpay</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Afterpay</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Username</td>\n</tr>\n<tr>\n<td>Afterpay</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Password</td>\n</tr>\n<tr>\n<td><strong>Bambora</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Bambora</td>\n<td>merchant</td>\n<td>+1</td>\n<td>string</td>\n<td>Merchant</td>\n</tr>\n<tr>\n<td>Bambora</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Username</td>\n</tr>\n<tr>\n<td>Bambora</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Password</td>\n</tr>\n<tr>\n<td><strong>Zip Money</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Zip Money</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Username</td>\n</tr>\n<tr>\n<td><strong>Payeezy</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Payeezy</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>API key</td>\n</tr>\n<tr>\n<td>Payeezy</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Token</td>\n</tr>\n<tr>\n<td>Payeezy</td>\n<td>signature</td>\n<td>+1</td>\n<td>string</td>\n<td>Security key</td>\n</tr>\n<tr>\n<td><strong>Fat Zebra</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Fat Zebra</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Username</td>\n</tr>\n<tr>\n<td>Fat Zebra</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Token</td>\n</tr>\n<tr>\n<td><strong>Flo 2 Cash</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Flo 2 Cash</td>\n<td>merchant</td>\n<td>+1</td>\n<td>string</td>\n<td>Merchant</td>\n</tr>\n<tr>\n<td>Flo 2 Cash</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Username</td>\n</tr>\n<tr>\n<td>Flo 2 Cash</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Password</td>\n</tr>\n<tr>\n<td>Flo 2 Cash</td>\n<td>signature</td>\n<td>+1</td>\n<td>string</td>\n<td>Sub account</td>\n</tr>\n<tr>\n<td><strong>Split Payments</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Split Payments</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Personal access token. Can be found in “Your applications” on a gateway side</td>\n</tr>\n<tr>\n<td><strong>Bpoint</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Bpoint</td>\n<td>merchant</td>\n<td>+1</td>\n<td>string</td>\n<td>API Merchant</td>\n</tr>\n<tr>\n<td>Bpoint</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>API Username</td>\n</tr>\n<tr>\n<td>Bpoint</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>API Password</td>\n</tr>\n<tr>\n<td><strong>MasterCard</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>MasterCard</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Merchant</td>\n</tr>\n<tr>\n<td>MasterCard</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Password</td>\n</tr>\n<tr>\n<td>MasterCard</td>\n<td>wallets</td>\n<td>+2</td>\n<td>object</td>\n<td>Optional object with specific fields for wallet payments like Apple/Google Pay</td>\n</tr>\n<tr>\n<td>MasterCard</td>\n<td>wallets.apple</td>\n<td>+2 (Apple pay)</td>\n<td>object</td>\n<td>Optional object with specific fields for Apple Pay</td>\n</tr>\n<tr>\n<td>MasterCard</td>\n<td>wallets.apple.merchant</td>\n<td>+2 (Apple pay)</td>\n<td>string</td>\n<td>Merchant ID</td>\n</tr>\n<tr>\n<td>MasterCard</td>\n<td>wallets.apple.certificate_passphrase</td>\n<td>+2 (Apple pay)</td>\n<td>string</td>\n<td>Merchant ID Certificate</td>\n</tr>\n<tr>\n<td>MasterCard</td>\n<td>wallets.apple.signature</td>\n<td>+2 (Apple pay)</td>\n<td>string</td>\n<td>Merchant ID Private Key</td>\n</tr>\n<tr>\n<td>MasterCard</td>\n<td>wallets.apple.username</td>\n<td>+2 (Apple pay)</td>\n<td>string</td>\n<td>Payment Processing Certificate</td>\n</tr>\n<tr>\n<td>MasterCard</td>\n<td>wallets.apple.password</td>\n<td>+2 (Apple pay)</td>\n<td>string</td>\n<td>Payment Processing Private Key</td>\n</tr>\n<tr>\n<td>MasterCard</td>\n<td>wallets.google</td>\n<td>+2 (Google pay)</td>\n<td>object</td>\n<td>Object with specific fields for Apple Pay</td>\n</tr>\n<tr>\n<td>MasterCard</td>\n<td>wallets.google.merchant</td>\n<td>+2 (Google pay)</td>\n<td>string</td>\n<td>Google Merchant ID</td>\n</tr>\n<tr>\n<td><strong>Fiserv</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Fiserv</td>\n<td>merchant</td>\n<td>+1</td>\n<td>string</td>\n<td>Private Key</td>\n</tr>\n<tr>\n<td>Fiserv</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Username</td>\n</tr>\n<tr>\n<td>Fiserv</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Password</td>\n</tr>\n<tr>\n<td>Fiserv</td>\n<td>signature</td>\n<td>+1</td>\n<td>string</td>\n<td>Certificate</td>\n</tr>\n<tr>\n<td>Fiserv</td>\n<td>certificate_passphrase</td>\n<td>+1</td>\n<td>string</td>\n<td>Certificate password</td>\n</tr>\n<tr>\n<td><strong>Adyen</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Adyen</td>\n<td>merchant</td>\n<td>+1</td>\n<td>string</td>\n<td>Merchant name</td>\n</tr>\n<tr>\n<td>Adyen</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Api key</td>\n</tr>\n<tr>\n<td><strong>Flypay</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Flypay</td>\n<td>merchant</td>\n<td>+1</td>\n<td>string</td>\n<td>Merchant ID</td>\n</tr>\n<tr>\n<td><strong>Flypay V2</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>FlypayV2</td>\n<td>merchant</td>\n<td>+1</td>\n<td>string</td>\n<td>Merchant ID</td>\n</tr>\n<tr>\n<td>FlypayV2</td>\n<td>api_url</td>\n<td>+1</td>\n<td>string</td>\n<td>API URL</td>\n</tr>\n<tr>\n<td><strong>Qualpay</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Qualpay</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Payment Profile Key</td>\n</tr>\n<tr>\n<td>Qualpay</td>\n<td>merchant</td>\n<td>+1</td>\n<td>string</td>\n<td>Merchant ID</td>\n</tr>\n<tr>\n<td>Qualpay</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Secret Key</td>\n</tr>\n<tr>\n<td>Qualpay</td>\n<td>meta.currency</td>\n<td>+1</td>\n<td>string</td>\n<td>Profile currency</td>\n</tr>\n<tr>\n<td><strong>TillPayments</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>TillPayments</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>API Username</td>\n</tr>\n<tr>\n<td>TillPayments</td>\n<td>merchant</td>\n<td>+1</td>\n<td>string</td>\n<td>API key</td>\n</tr>\n<tr>\n<td>TillPayments</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>API Password</td>\n</tr>\n<tr>\n<td>TillPayments</td>\n<td>signature</td>\n<td>+1</td>\n<td>string</td>\n<td>Shared Secret</td>\n</tr>\n<tr>\n<td><strong>Moneris</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Moneris</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Store ID</td>\n</tr>\n<tr>\n<td>Moneris</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>API Token</td>\n</tr>\n<tr>\n<td>Moneris</td>\n<td>meta.currency</td>\n<td>+1</td>\n<td>string</td>\n<td>Currency of an account</td>\n</tr>\n<tr>\n<td><strong>Elavon</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Elavon</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>Elavon</td>\n<td>merchant</td>\n<td>+1</td>\n<td>string</td>\n<td>Merchant ID</td>\n</tr>\n<tr>\n<td>Elavon</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>API PIN</td>\n</tr>\n<tr>\n<td><strong>First American</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>FirstAmerican</td>\n<td>username</td>\n<td>+1</td>\n<td>string</td>\n<td>Processor ID</td>\n</tr>\n<tr>\n<td>FirstAmerican</td>\n<td>password</td>\n<td>+1</td>\n<td>string</td>\n<td>Merchant Key</td>\n</tr>\n<tr>\n<td><strong>Eftpos</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Eftpos</td>\n<td>merchant</td>\n<td>+1</td>\n<td>string</td>\n<td>Merchant ID</td>\n</tr>\n<tr>\n<td>Eftpos</td>\n<td>settings.terminal_id</td>\n<td>+1</td>\n<td>string</td>\n<td>Terminal ID</td>\n</tr>\n<tr>\n<td>Eftpos</td>\n<td>settings.acquiring_institution_id</td>\n<td>+1</td>\n<td>string</td>\n<td>Acquiring Institution ID</td>\n</tr>\n<tr>\n<td>Eftpos</td>\n<td>settings.forwarding_institution_id</td>\n<td>+1</td>\n<td>string</td>\n<td>Forwarding Institution ID</td>\n</tr>\n<tr>\n<td>Eftpos</td>\n<td>settings.merchant_name</td>\n<td>+1</td>\n<td>string</td>\n<td>Merchant Name</td>\n</tr>\n<tr>\n<td>Eftpos</td>\n<td>settings.merchant_tier_code</td>\n<td>+1</td>\n<td>string</td>\n<td>Merchant Tier Code</td>\n</tr>\n<tr>\n<td>Eftpos</td>\n<td>settings.merchant_category_code</td>\n<td>+1</td>\n<td>string</td>\n<td>Merchant Category Code</td>\n</tr>\n<tr>\n<td><strong>Diners (DCI)</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Diners</td>\n<td>merchant</td>\n<td>+1</td>\n<td>string</td>\n<td>Merchant ID</td>\n</tr>\n<tr>\n<td>Diners</td>\n<td>settings.terminal_id</td>\n<td>-</td>\n<td>string</td>\n<td>Terminal ID</td>\n</tr>\n<tr>\n<td>Diners</td>\n<td>settings.acquiring_institution_id</td>\n<td>+1</td>\n<td>string</td>\n<td>Acquiring Institution ID</td>\n</tr>\n<tr>\n<td>Diners</td>\n<td>settings.merchant_name</td>\n<td>+1</td>\n<td>string</td>\n<td>Merchant Name</td>\n</tr>\n<tr>\n<td>Diners</td>\n<td>settings.merchant_tier_code</td>\n<td>+1</td>\n<td>string</td>\n<td>Merchant Tier Code</td>\n</tr>\n<tr>\n<td>Diners</td>\n<td>settings.merchant_category_code</td>\n<td>+1</td>\n<td>string</td>\n<td>Merchant Category Code</td>\n</tr>\n<tr>\n<td>Diners</td>\n<td>settings.merchant_location</td>\n<td>-</td>\n<td>string</td>\n<td>Merchant Location</td>\n</tr>\n<tr>\n<td><strong>Flypay V2</strong></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Flypay V2</td>\n<td>merchant</td>\n<td>-</td>\n<td>string</td>\n<td>Merchant ID</td>\n</tr>\n<tr>\n<td>Flypay V2</td>\n<td>api_url</td>\n<td>+1</td>\n<td>string</td>\n<td>Callback URL</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","gateways"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"3141d10b-cf8d-44f5-9184-bda51813bc42","name":"create with incorrect credentials","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"Stripe\",\n    \"name\": \"first strip gateway\",\n    \"username\": \"test\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/gateways"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 25 May 2020 13:13:18 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"97"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"61-gXaeKQ0QJaHePXbp/BCLog\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Invalid Secret Key\"\n    },\n    \"resource\": {\n        \"type\": \"gateway\",\n        \"data\": null\n    }\n}"},{"id":"2737819c-6d35-4a56-bed0-52324799620f","name":"create","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"Stripe\",\n    \"name\": \"first strip gateway\",\n    \"username\": \"secret_key\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/gateways"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 25 May 2020 13:17:59 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"271"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"10f-H2KF9cNBkFvbCa69DyNfjw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"gateway\",\n        \"data\": {\n            \"created_at\": \"2020-05-25T13:17:59.890Z\",\n            \"updated_at\": \"2020-05-25T13:17:59.890Z\",\n            \"type\": \"Stripe\",\n            \"name\": \"first strip gateway\",\n            \"_id\": \"5ecbc587b12c99579e47002d\",\n            \"default\": false,\n            \"archived\": false,\n            \"mode\": \"test\"\n        }\n    }\n}"},{"id":"6183b5c6-f2bc-457e-9c22-6df013af8fe9","name":"create with validation error","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"Unknown\",\n    \"name\": \"first unknown gateway\",\n    \"username\": \"test\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/gateways"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 25 May 2020 13:12:26 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"99"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"63-PKi5t0Gb4cZS+Fu3/0CpJw\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Unknown gateway type\",\n        \"code\": \"ValidationError\"\n    },\n    \"resource\": {\n        \"type\": \"gateway\",\n        \"data\": null\n    },\n    \"error_summary\": {\n        \"message\": \"Unknown gateway type\",\n        \"code\": \"validation_error\",\n        \"details\": {\n            \"messages\": []\n        }\n    }\n}"},{"id":"d5e8f863-ca05-44c8-9049-f120c13966ed","name":"create + apple pay","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","type":"text","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"Mastercard\",\n    \"name\": \"Mastercard + Apple pay\",\n    \"username\": \"Merchant\",\n    \"password\": \"Password\",\n    \"wallets\": {\n        \"apple\": {\n            \"merchant\": \"Merchant ID\",\n            \"certificate_passphrase\": \"Merchant ID Certificate\",\n            \"signature\": \"Merchant ID Private Key\",\n            \"username\": \"Payment Processing Certificate\",\n            \"password\": \"Payment Processing Private Key\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/gateways"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"gateway\",\n        \"data\": {\n            \"mode\": \"test\",\n            \"archived\": false,\n            \"default\": false,\n            \"_id\": \"612635ed1d52de5f1813b464\",\n            \"type\": \"MasterCard\",\n            \"wallets\": [\n                \"apple\"\n            ],\n            \"name\": \"MasterCard_aplepay\",\n            \"meta\": {\n                \"region\": \"AU\"\n            },\n            \"updated_at\": \"2021-07-25T12:22:05.407Z\",\n            \"created_at\": \"2021-07-25T12:22:05.407Z\"\n        }\n    }\n}"},{"id":"1f4a4c49-3551-4504-af17-e289c9bbad58","name":"create + google pay","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","type":"text","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"MasterCard\",\n    \"name\": \"MasterCard + GooglePay\",\n    \"username\": \"Merchant\",\n    \"password\": \"Password\",\n    \"mode\": \"test\",\n    \"wallets\": {\n        \"google\": {\n            \"merchant\": \"Google Merchant ID\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/gateways"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"gateway\",\n        \"data\": {\n            \"mode\": \"test\",\n            \"archived\": false,\n            \"default\": false,\n            \"_id\": \"61d58972c3c0333ec8919775\",\n            \"type\": \"MasterCard\",\n            \"wallets\": [\n                \"google\"\n            ],\n            \"name\": \"MasterCard + GooglePay\",\n            \"updated_at\": \"2022-01-05T12:05:06.172Z\",\n            \"created_at\": \"2022-01-05T12:05:06.172Z\"\n        }\n    }\n}"},{"id":"f93b73fc-740d-468e-8182-220bee18f1e2","name":"create + apple pay + google pay","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","type":"text","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"MasterCard\",\n    \"name\": \"MasterCard + ApplePay + GooglePay\",\n    \"username\": \"Merchant\",\n    \"password\": \"Password\",\n    \"mode\": \"test\",\n    \"wallets\": {\n        \"apple\": {\n            \"merchant\": \"Merchant ID\",\n            \"certificate_passphrase\": \"Merchant ID Certificate\",\n            \"signature\": \"Merchant ID Private Key\",\n            \"username\": \"Payment Processing Certificate\",\n            \"password\": \"Payment Processing Private Key\"\n        },\n        \"google\": {\n            \"merchant\": \"Google Merchant ID\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/gateways"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"gateway\",\n        \"data\": {\n            \"mode\": \"test\",\n            \"archived\": false,\n            \"default\": false,\n            \"_id\": \"61d58b46c3c0333ec8919857\",\n            \"type\": \"MasterCard\",\n            \"name\": \"MasterCard + ApplePay + GooglePay\",\n            \"wallets\": [\n                \"apple\",\n                \"google\"\n            ],\n            \"updated_at\": \"2022-01-05T12:12:54.462Z\",\n            \"created_at\": \"2022-01-05T12:12:54.462Z\"\n        }\n    }\n}"}],"_postman_id":"1f48daf1-0f6f-411c-beda-36c855e81188"},{"name":"get","id":"d484f1c2-5ecf-4e65-9aaf-22ccb034e1af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text","description":"<p>This is your PayDock API Secret Key</p>\n"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"Stripe\",\n    \"name\": \"first strip gateway\",\n    \"username\": \"m5Jlhv0P2ASyFZYd2UEksqabQt5S92ut\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/gateways/:id","description":"<p>Retrieves data on a gateway with specified ID</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","gateways",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"96d93ccb-d607-44c4-89d7-09b943cb9b19","type":"string","value":"5ecbc728b12c99579e47002e","key":"id"}]}},"response":[{"id":"2ca489d7-f32b-45dd-9df5-c4d4bd249b45","name":"get success","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/v1/gateways/:id","host":["{{url}}"],"path":["v1","gateways",":id"],"variable":[{"key":"id","value":"5ecbc728b12c99579e47002e"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 25 May 2020 13:26:09 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"272"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"110-4klosySgH1EbM6jQWWi8Ag\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"gateways\",\n        \"data\": {\n            \"created_at\": \"2020-05-25T13:24:56.662Z\",\n            \"updated_at\": \"2020-05-25T13:24:56.662Z\",\n            \"type\": \"Stripe\",\n            \"name\": \"first strip gateway\",\n            \"_id\": \"5ecbc728b12c99579e47002e\",\n            \"default\": false,\n            \"archived\": false,\n            \"mode\": \"test\"\n        }\n    }\n}"}],"_postman_id":"d484f1c2-5ecf-4e65-9aaf-22ccb034e1af"},{"name":"search","id":"d403baec-d7d5-4658-80bf-daa936c4c285","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text","description":"<p>This is your PayDock API Secret Key</p>\n"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/gateways?limit=1&skip=1&sort_key=created_at&sort_direction=DESC","description":"<p>Returns all gateways for the account</p>\n<h2 id=\"request-query-params\">Request query params</h2>\n<p><strong>Pagination</strong></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>skip</td>\n<td>-</td>\n<td>number</td>\n<td>Pagination parameter to skip first n transactions from list, default = 0</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>-</td>\n<td>number</td>\n<td>Pagination parameter to limit output to n , default = 100 , maximum value = 1000</td>\n</tr>\n<tr>\n<td>sortkey</td>\n<td>-</td>\n<td>string</td>\n<td>Sorting key parameter i.e. created_at</td>\n</tr>\n<tr>\n<td>sortdirection</td>\n<td>-</td>\n<td>string</td>\n<td>Sorting order direction parameter <em>ASC</em> or <em>DESC</em> (<em>DESC</em> by default)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Other</strong></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>search</td>\n<td>-</td>\n<td>string</td>\n<td>Word of phrase</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","gateways"],"host":["{{url}}"],"query":[{"key":"limit","value":"1"},{"key":"skip","value":"1"},{"key":"sort_key","value":"created_at"},{"key":"sort_direction","value":"DESC"}],"variable":[]}},"response":[{"id":"53f12b8a-5559-4ed3-ab93-71451a3df5c1","name":"search by phrase","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/v1/gateways?search=first strip gateway","host":["{{url}}"],"path":["v1","gateways"],"query":[{"key":"search","value":"first strip gateway"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 25 May 2020 14:11:23 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"395"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-info-limit","value":"1"},{"key":"x-info-skip","value":"1"},{"key":"x-info-sort-key","value":"created_at"},{"key":"x-info-sort-direction","value":"DESC"},{"key":"x-info-count","value":"5"},{"key":"etag","value":"W/\"18b-TzvQtpfu1jO+sxQju8Su8Ba29J0\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"gateways\",\n        \"data\": [\n            {\n                \"created_at\": \"2020-05-25T13:55:40.161Z\",\n                \"updated_at\": \"2020-05-25T13:55:41.383Z\",\n                \"type\": \"Stripe\",\n                \"name\": \"first strip gateway\",\n                \"_id\": \"5ecbce5cb12c99579e470096\",\n                \"default\": false,\n                \"archived\": false,\n                \"mode\": \"test\"\n            }\n        ],\n        \"skip\": 0,\n        \"limit\": 100,\n        \"sortkey\": \"created_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 1\n    }\n}"},{"id":"a4d36bad-cc21-4d96-be5c-38b4b3be86e4","name":"search with pagination and sort","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{url}}/v1/gateways?limit=1&skip=1&sort_key=created_at&sort_direction=DESC","host":["{{url}}"],"path":["v1","gateways"],"query":[{"key":"limit","value":"1"},{"key":"skip","value":"1"},{"key":"sort_key","value":"created_at"},{"key":"sort_direction","value":"DESC"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 25 May 2020 14:07:49 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"427"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-info-limit","value":"1"},{"key":"x-info-skip","value":"1"},{"key":"x-info-sort-key","value":"created_at"},{"key":"x-info-sort-direction","value":"DESC"},{"key":"x-info-count","value":"240"},{"key":"etag","value":"W/\"1ab-q/R0uOOPYVtaDO8vZtm7DyIViDU\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"gateways\",\n        \"data\": [\n            {\n\t            \"created_at\": \"2020-05-25T13:24:56.662Z\",\n\t            \"updated_at\": \"2020-05-25T13:55:41.383Z\",\n\t            \"type\": \"Stripe\",\n\t            \"name\": \"first strip gateway\",\n\t            \"_id\": \"5ecbc728b12c99579e47002e\",\n\t            \"default\": false,\n\t            \"archived\": false,\n\t            \"mode\": \"test\"\n        \t}\n        ],\n        \"skip\": 1,\n        \"limit\": 1,\n        \"sortkey\": \"created_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 240\n    }\n}"}],"_postman_id":"d403baec-d7d5-4658-80bf-daa936c4c285"},{"name":"update","id":"8bcafe23-eecc-4f21-920c-93f336a9b281","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text","description":"<p>This is your PayDock API Secret Key</p>\n"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"first updated strip gateway\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/gateways/:id","description":"<p>Updates configuration for a gateway. Use query parameter ‘action=check’ to check gateway credentials before updating.</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-query\">Request query</h2>\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>action</td>\n<td>-</td>\n<td>string</td>\n<td>Use value <em>check</em> to check gateway credentials before updating.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>username</td>\n<td>-</td>\n<td>string</td>\n<td>A gateway username.  <br />See the <em>\"Request body for each gateway\"</em> table</td>\n</tr>\n<tr>\n<td>password</td>\n<td>-</td>\n<td>string</td>\n<td>A gateway password.  <br />See the <em>\"Request body for each gateway\"</em> table</td>\n</tr>\n<tr>\n<td>signature</td>\n<td>-</td>\n<td>string</td>\n<td>A gateway signature.  <br />See the <em>\"Request body for each gateway\"</em> table</td>\n</tr>\n<tr>\n<td>merchant</td>\n<td>-</td>\n<td>string</td>\n<td>A gateway merchant.  <br />See the <em>\"Request body for each gateway\"</em> table</td>\n</tr>\n<tr>\n<td>certificate_passphrase</td>\n<td>-</td>\n<td>string</td>\n<td>A gateway certificate passphrase.  <br />See the <em>\"Request body for each gateway\"</em> table</td>\n</tr>\n<tr>\n<td>type</td>\n<td>-</td>\n<td>type</td>\n<td>A type of the gateway. See <em>Types table</em></td>\n</tr>\n<tr>\n<td>name</td>\n<td>-</td>\n<td>string</td>\n<td>A manually defined name</td>\n</tr>\n<tr>\n<td>default</td>\n<td>-</td>\n<td>bool</td>\n<td>Use the gateway by default for the Client SDK widget. Default value is <em>false</em></td>\n</tr>\n<tr>\n<td>mode</td>\n<td>-</td>\n<td>string</td>\n<td>Defaults to <em>test</em>, must be <em>live</em> for the production mode</td>\n</tr>\n<tr>\n<td>proccess_custom_fields</td>\n<td>-</td>\n<td>bool</td>\n<td>All custom fields will be sent to the payment gateway during any transaction, if the payment gateway supports it. <em>false</em> by default (this feature is disabled)</td>\n</tr>\n<tr>\n<td>api_url</td>\n<td>-</td>\n<td>string</td>\n<td>Custom URL that can be used for sending requests, if the payment gateway supports it</td>\n</tr>\n<tr>\n<td>meta</td>\n<td>-</td>\n<td>object</td>\n<td>An optional object with specific fields for different gateways</td>\n</tr>\n<tr>\n<td>meta.reversal</td>\n<td>-</td>\n<td>bool</td>\n<td>A flag to use reversal functionality for transactions which have unexpected responses from a payment gateway (e.g., connection timeout, server errors, etc.). Supported Gateways: MasterCard. <em>false</em> by default</td>\n</tr>\n<tr>\n<td>meta.biller_code</td>\n<td>-</td>\n<td>string</td>\n<td>A biller code for the transaction (Bpoint)</td>\n</tr>\n<tr>\n<td>meta.currency</td>\n<td>-</td>\n<td>string (iso4217 alpha-3)</td>\n<td>A currency of the merchant account (EMS, Fiserv, Qualpay)</td>\n</tr>\n<tr>\n<td>meta.test_mode</td>\n<td>-</td>\n<td>bool</td>\n<td>Allows turning on/off the test mode on the <em>live</em> environment of the gateway (Authorize Net). <em>true</em> by default</td>\n</tr>\n<tr>\n<td>meta.ignore_expiry_date</td>\n<td>-</td>\n<td>bool</td>\n<td>Omits expiry, i.e. ignores the expiration of the credit card (Fat Zebra). <em>false</em> by default</td>\n</tr>\n<tr>\n<td>meta.real_time_card</td>\n<td>-</td>\n<td>bool</td>\n<td>Process card transaction in real-time (Ezidebit). <em>true</em> by default</td>\n</tr>\n<tr>\n<td>meta.store_ccv</td>\n<td>-</td>\n<td>bool</td>\n<td>A flag to be able to use a CVV value for the initial transaction</td>\n</tr>\n<tr>\n<td>meta.version</td>\n<td>-</td>\n<td>number</td>\n<td>A number to specify gateway version when supported (Afterpay)</td>\n</tr>\n<tr>\n<td>meta.region</td>\n<td>-</td>\n<td>string</td>\n<td>The country or region for the specified gateway (e.g: \"AU\")</td>\n</tr>\n<tr>\n<td>wallets</td>\n<td>-</td>\n<td>object</td>\n<td>An optional object with specific fields for wallet payments such as Apple/Google Pay</td>\n</tr>\n<tr>\n<td>wallets.apple</td>\n<td>-</td>\n<td>object</td>\n<td>An object with specific fields for Apple Pay</td>\n</tr>\n<tr>\n<td>wallets.apple.merchant</td>\n<td>-</td>\n<td>string</td>\n<td>An Apple Merchant ID</td>\n</tr>\n<tr>\n<td>wallets.apple.certificate_passphrase</td>\n<td>-</td>\n<td>string</td>\n<td>An Apple Merchant ID Certificate. Value must be Base64 encoded</td>\n</tr>\n<tr>\n<td>wallets.apple.signature</td>\n<td>-</td>\n<td>string</td>\n<td>An Apple Merchant ID Private Key. Value must be Base64 encoded</td>\n</tr>\n<tr>\n<td>wallets.apple.username</td>\n<td>-</td>\n<td>string</td>\n<td>An Apple Payment Processing Certificate used for the encryption process. Value must be Base64 encoded</td>\n</tr>\n<tr>\n<td>wallets.apple.password</td>\n<td>-</td>\n<td>string</td>\n<td>An Apple Payment Processing Private Key used to authenticate the communication with Apple Pay servers. Value must be Base64 encoded</td>\n</tr>\n<tr>\n<td>wallets.google</td>\n<td>-</td>\n<td>object</td>\n<td>An object with specific fields for Google Pay</td>\n</tr>\n<tr>\n<td>wallets.google.merchant</td>\n<td>-</td>\n<td>string</td>\n<td>Google Merchant Id</td>\n</tr>\n<tr>\n<td>settings</td>\n<td>-</td>\n<td>object</td>\n<td>An optional object with additional settings</td>\n</tr>\n<tr>\n<td>settings.terminal_id</td>\n<td>-</td>\n<td>string</td>\n<td>Terminal ID</td>\n</tr>\n<tr>\n<td>settings.acquiring_institution_id</td>\n<td>-</td>\n<td>string</td>\n<td>Acquiring Institution ID</td>\n</tr>\n<tr>\n<td>settings.forwarding_institution_id</td>\n<td>-</td>\n<td>string</td>\n<td>Forwarding Institution ID</td>\n</tr>\n<tr>\n<td>settings.merchant_name</td>\n<td>-</td>\n<td>string</td>\n<td>Merchant Name</td>\n</tr>\n<tr>\n<td>settings.merchant_tier_code</td>\n<td>-</td>\n<td>string</td>\n<td>Merchant Tier Code</td>\n</tr>\n<tr>\n<td>settings.merchant_category_code</td>\n<td>-</td>\n<td>string</td>\n<td>Merchant Category Code</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","gateways",":id"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"5ecbc728b12c99579e47002e","key":"id"}]}},"response":[{"id":"ab0e6063-0f8e-40a8-a4d3-8b71b35cac07","name":"update with an incorrect format","originalRequest":{"method":"PUT","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": {}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/gateways/:id","host":["{{url}}"],"path":["v1","gateways",":id"],"variable":[{"key":"id","value":"5ecbc728b12c99579e47002e"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 25 May 2020 14:19:52 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"90"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"5a-9thnWzDEj7MCyjo8Ipzyqw\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Bad request\"\n    },\n    \"resource\": {\n        \"type\": \"gateway\",\n        \"data\": null\n    },\n    \"error_summary\": {\n        \"message\": \"Bad request\",\n        \"code\": \"unspecified_error\",\n        \"details\": {\n            \"messages\": []\n        }\n    }\n}"},{"id":"1e43a8bd-f589-4f00-96ad-cb9c14459b61","name":"update success","originalRequest":{"method":"PUT","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"first updated strip gateway\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/gateways/:id","host":["{{url}}"],"path":["v1","gateways",":id"],"variable":[{"key":"id","value":"5ecbc728b12c99579e47002e"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 25 May 2020 14:14:02 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"279"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"117-7150q2+1c1kOxOQQQAufnQ\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"gateway\",\n        \"data\": {\n            \"created_at\": \"2020-05-25T13:24:56.662Z\",\n            \"updated_at\": \"2020-05-25T14:14:02.059Z\",\n            \"type\": \"Stripe\",\n            \"name\": \"first updated strip gateway\",\n            \"_id\": \"5ecbc728b12c99579e47002e\",\n            \"default\": false,\n            \"archived\": false,\n            \"mode\": \"test\"\n        }\n    }\n}"}],"_postman_id":"8bcafe23-eecc-4f21-920c-93f336a9b281"},{"name":"archive","id":"0ed0bec1-8f4b-4794-8154-582b546ce9f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text","description":"<p>This is your PayDock API Secret Key</p>\n"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"Stripe\",\n    \"name\": \"first strip gateway\",\n    \"username\": \"m5Jlhv0P2ASyFZYd2UEksqabQt5S92ut\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/gateways/:id","description":"<p>Archive gateway with the specified ID. A gateway cannot be archived if it has subscriptions running through it.</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","gateways",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"e4c2fb71-de94-4c5d-8569-955eb256c437","type":"string","value":"5ecbc728b12c99579e47002e","key":"id"}]}},"response":[{"id":"5feb9ca0-1503-4c2e-97b3-621bedc9a13a","name":"archive success","originalRequest":{"method":"DELETE","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"Stripe\",\n    \"name\": \"first strip gateway\",\n    \"username\": \"m5Jlhv0P2ASyFZYd2UEksqabQt5S92ut\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/gateways/:id","host":["{{url}}"],"path":["v1","gateways",":id"],"variable":[{"key":"id","value":"5ecbc728b12c99579e47002e"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 25 May 2020 14:21:28 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"255"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"ff-gt0WEUFsO45WBB6JZrq8tw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"gateway\",\n        \"data\": {\n            \"created_at\": \"2020-05-25T13:24:56.662Z\",\n            \"updated_at\": \"2020-05-25T14:21:28.251Z\",\n            \"type\": \"Stripe\",\n            \"name\": \"true\",\n            \"_id\": \"5ecbc728b12c99579e47002e\",\n            \"default\": false,\n            \"archived\": true,\n            \"mode\": \"test\"\n        }\n    }\n}"}],"_postman_id":"0ed0bec1-8f4b-4794-8154-582b546ce9f5"}],"id":"2c8379d7-3953-4f8d-aca4-8c41fb4e08a5","description":"<p>PayDock enables multiple gateways to be connected to a single PayDock account, see our list of Supported Gateways</p>\n<p>Gateways can be added through the API where the third-party gateway supports it or through the PayDock Admin Portal.</p>\n<p>Before assigning a gateway to a company, there should be an account registered with required gateway in their system, where specific data can be found (gateway token, merchant ID, etc.).</p>\n<h2 id=\"gateway-resource\">Gateway resource</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>+</td>\n<td>type</td>\n<td>Type of gateway</td>\n</tr>\n<tr>\n<td>name</td>\n<td>+</td>\n<td>string</td>\n<td>Manually defined name</td>\n</tr>\n<tr>\n<td>_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>Charge Id for any future requests</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>+</td>\n<td>string(ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>Creation date</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>+</td>\n<td>string(ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>Date of last update</td>\n</tr>\n<tr>\n<td>archived</td>\n<td>+</td>\n<td>bool</td>\n<td>For new created charges always <em>false</em>, <em>true</em> after manual archiving</td>\n</tr>\n<tr>\n<td>default</td>\n<td>-</td>\n<td>bool</td>\n<td>Use such gateway by default (e.g. Default gateway for client sdk widget). Default value is <em>false</em></td>\n</tr>\n<tr>\n<td>mode</td>\n<td>-</td>\n<td>string</td>\n<td>Defaults to <em>test</em>, must be <em>live</em> for production mode</td>\n</tr>\n<tr>\n<td>proccess_custom_fields</td>\n<td>-</td>\n<td>bool</td>\n<td>If value is true, all custom fields will be sent to the payment gateway during any transaction, if the payment gateway supports it.</td>\n</tr>\n<tr>\n<td>api_url</td>\n<td>-</td>\n<td>string</td>\n<td>Custom URL that can be used for sending requests, if the payment gateway supports it</td>\n</tr>\n<tr>\n<td>verification_status</td>\n<td>-</td>\n<td>string</td>\n<td>Status of gateway verification</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"2c8379d7-3953-4f8d-aca4-8c41fb4e08a5"},{"name":"network-tokens","item":[{"name":"create for existing vault","id":"270644f7-46fe-4b75-bf60-cf93cb26dc68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"default\": true,\n    \"service_id\": \"66c4a9ba8cb041c6f4b86654\" \n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/vault-tokens/:vault_token/network-tokens","description":"<p>Create a new network token for an existing vault.</p>\n<p><strong>Note:</strong> Network Tokens can't be created for Visa vaults without email. If Email is not provided in the Vault creation request, Paydock will automatically generate it. It’s highly recommended for merchants to provide email and use Paydock generation in rare cases. Network Tokens are supported only for permanent vaults.</p>\n<h2 id=\"request-body\">Request body</h2>\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>default</td>\n<td>-</td>\n<td>boolean</td>\n<td>When set to true, it sets the network token created to be the default network token for payment processing</td>\n</tr>\n<tr>\n<td>service_id</td>\n<td>-</td>\n<td>string(24 hex characters)</td>\n<td>If provided, this ID will be used to select the specific service for creating the network token. When not provided, the default Network Token Service for the network token scheme is used.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-params\">Request params</h2>\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><code>vault_token</code></td>\n<td>+</td>\n<td>String(UUID)</td>\n<td>The <code>vault_token</code> (UUID) of the vault for which a new network token should be created. This field is required.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","vault-tokens",":vault_token","network-tokens"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>The vault token UUID that a new network token should be created for</p>\n","type":"text/plain"},"type":"any","value":"288f776f-0391-4aae-8280-21a612a55841","key":"vault_token"}]}},"response":[{"id":"dbaab32e-aec9-4b05-a5d6-e608423530cc","name":"success","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"default\": true,\n    \"service_id\": \"66c4a9ba8cb041c6f4b86654\" \n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/vault-tokens/:vault_token/network-tokens","host":["{{url}}"],"path":["v1","vault-tokens",":vault_token","network-tokens"],"variable":[{"key":"vault_token","value":"288f776f-0391-4aae-8280-21a612a55841","description":"The vault token UUID that a new network token should be created for"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-external-duration","value":"2796"},{"key":"x-retry-delay","value":"0"},{"key":"x-correlation-id","value":"3ddb1bad-dcb1-414d-a41c-96a132ef0da2"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"123-OysMh9H76ZW5fZAsYCZ5/RzObJM\""},{"key":"date","value":"Tue, 20 Aug 2024 14:36:00 GMT"},{"key":"connection","value":"close"},{"key":"Content-Length","value":"291"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"network-token\",\n        \"data\": {\n            \"_id\": \"66c4a9d00baea2dadbea761f\",\n            \"default\": true,\n            \"expire_month\": \"12\",\n            \"expire_year\": \"2024\",\n            \"external_id\": \"385379dd643455daa990179145b45a01\",\n            \"status\": \"active\",\n            \"token\": \"4895370018476892\",\n            \"service_specific_description\": null\n        }\n    }\n}"},{"id":"3c88150c-700d-418b-8766-13a56fb79887","name":"error","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"default\": true,\n    \"service_id\": \"66c4a9ba8cb041c6f4b86654\" \n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/vault-tokens/:vault_token/network-tokens","host":["{{url}}"],"path":["v1","vault-tokens",":vault_token","network-tokens"],"variable":[{"key":"vault_token","value":"288f776f-0391-4aae-8280-21a612a55841","description":"The vault token UUID that a new network token should be created for"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-external-duration","value":"2796"},{"key":"x-retry-delay","value":"0"},{"key":"x-correlation-id","value":"3ddb1bad-dcb1-414d-a41c-96a132ef0da2"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"123-OysMh9H76ZW5fZAsYCZ5/RzObJM\""},{"key":"date","value":"Tue, 20 Aug 2024 14:36:00 GMT"},{"key":"connection","value":"close"},{"key":"Content-Length","value":"291"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Active network Token already exists for this service\",\n        \"code\": \"UnfulfilledCondition\",\n        \"details\": {\n            \"path\": \"service_id\",\n            \"messages\": []\n        }\n    },\n    \"resource\": {\n        \"type\": \"network-token\"\n    },\n    \"error_summary\": {\n        \"message\": \"Active network Token already exists for this service\",\n        \"code\": \"unfulfilled_condition\",\n        \"details\": {\n            \"path\": \"service_id\",\n            \"messages\": []\n        }\n    }\n}"}],"_postman_id":"270644f7-46fe-4b75-bf60-cf93cb26dc68"},{"name":"get","id":"53f0ddda-ad7c-42f7-ae3c-f9e573976f05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/vault-tokens/:vault_token/network-tokens/:network_token_id","description":"<p>Get information about a given network token.</p>\n<h2 id=\"request-params\">Request Params</h2>\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><code>vault_token</code></td>\n<td>+</td>\n<td>String(UUID)</td>\n<td>The <code>vault_token</code> (UUID) of the network token to get</td>\n</tr>\n<tr>\n<td><code>network_token_id</code></td>\n<td>+</td>\n<td>String</td>\n<td>The ID of the network token to get</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","vault-tokens",":vault_token","network-tokens",":network_token_id"],"host":["{{url}}"],"query":[],"variable":[{"id":"e471df12-2296-42ea-a9b2-9c8eed931bf2","description":{"content":"<p>The vault token UUID of the network token that should gotten</p>\n","type":"text/plain"},"type":"any","value":"b52f1448-2a5f-447f-8a6c-c64ea8af899c","key":"vault_token"},{"id":"d2c4f33d-7757-42e1-a4dc-86f78ca3e9f9","description":{"content":"<p>The ID of the network token</p>\n","type":"text/plain"},"type":"any","value":"66c708db3ba53d8f417be515","key":"network_token_id"}]}},"response":[{"id":"682496e3-cd7f-479a-9bfe-49427aa53da0","name":"success","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/vault-tokens/:vault_token/network-tokens/:network_token_id","host":["{{url}}"],"path":["v1","vault-tokens",":vault_token","network-tokens",":network_token_id"],"variable":[{"key":"vault_token","value":"b52f1448-2a5f-447f-8a6c-c64ea8af899c","description":"The vault token UUID of the network token that should gotten"},{"key":"network_token_id","value":"66c708db3ba43d8f417be515","description":"The ID of the network token"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:15:07 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-external-duration","value":"0"},{"key":"x-retry-delay","value":"0"},{"key":"x-correlation-id","value":"68756ee7-b18a-4e5f-957e-97fb04e5a3be"},{"key":"etag","value":"W/\"124-yEm2gZW0KSNqqLH8p7LxUOdv3jU\""},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"network-token\",\n        \"data\": {\n            \"_id\": \"66c708db3ba43d8f417be515\",\n            \"default\": false,\n            \"expire_month\": \"12\",\n            \"expire_year\": \"2024\",\n            \"external_id\": \"385379dd643455daa990179145b45a01\",\n            \"service_specific_description\": null,\n            \"status\": \"active\",\n            \"token\": \"4895370018485216\",\n            \"service_logs\": [\n                {\n                    \"req\": {\n                        \"body\": \"{\\\"clientAppID\\\":\\\"Paydock\\\",\\\"locale\\\":\\\"en_AU\\\",\\\"clientWalletAccountEmailAddressHash\\\":\\\"PoN720EZxo9ofpxRNkvgfMLIENIAq4OPDWjAb68EsW8\\\",\\\"clientWalletAccountEmailAddress\\\":\\\"asometest@uhgu.com\\\",\\\"clientWalletAccountID\\\":\\\"66e2f4bd524af10b8036b566\\\",\\\"protectionType\\\":\\\"CLOUD\\\",\\\"panSource\\\":\\\"MANUALLYENTERED\\\",\\\"consumerEntryMode\\\":\\\"KEYENTERED\\\",\\\"encPaymentInstrument\\\":\\\"************\\\",\\\"presentationType\\\":[\\\"ECOM\\\"],\\\"platformType\\\":\\\"WEB\\\",\\\"suppressTokenCreateNotification\\\":true}\",\n                        \"format\": \"json\",\n                        \"headers\": \"{\\\"x-request-id\\\":\\\"02a08b77-66ec-4970-a52f-a94fdcb0985d\\\"}\"\n                    },\n                    \"response_body\": {\n                        \"body\": \"{\\\"vProvisionedTokenID\\\":\\\"299831b3d81c139a7cbe169cabfa7a02\\\",\\\"vPanEnrollmentID\\\":\\\"c7dc7a74baa51d3af36413e4299be502\\\",\\\"ignore00field\\\":\\\"2247A2E7\\\",\\\"paymentInstrument\\\":{\\\"last4\\\":\\\"****\\\",\\\"expirationDate\\\":{\\\"year\\\":\\\"****\\\",\\\"month\\\":\\\"**\\\"},\\\"cvv2PrintedInd\\\":\\\"Y\\\",\\\"ignore01field\\\":\\\"187BC1AE\\\",\\\"expDatePrintedInd\\\":\\\"Y\\\",\\\"paymentAccountReference\\\":\\\"V0010013024234335941183132455\\\",\\\"enabledServices\\\":{\\\"merchantPresentedQR\\\":\\\"N\\\"}},\\\"tokenInfo\\\":{\\\"encTokenInfo\\\":\\\"************\\\",\\\"tokenRequestorID\\\":\\\"40000000080\\\",\\\"tokenReferenceID\\\":\\\"DNITHE302424844186934301\\\",\\\"tokenStatus\\\":\\\"ACTIVE\\\",\\\"last4\\\":\\\"****\\\",\\\"expirationDate\\\":{\\\"month\\\":\\\"**\\\",\\\"year\\\":\\\"****\\\"}}}\",\n                        \"format\": \"json\",\n                        \"headers\": \"null\"\n                    }\n                }\n            ]\n        }\n    }\n}"},{"id":"6613c0d6-08e9-4ff2-b983-55d2acada51c","name":"error","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/vault-tokens/:vault_token/network-tokens/:network_token_id","host":["{{url}}"],"path":["v1","vault-tokens",":vault_token","network-tokens",":network_token_id"],"variable":[{"key":"vault_token","value":"b52f1448-2a5f-447f-8a6c-c64ea8af899c","description":"The vault token UUID of the network token that should gotten"},{"key":"network_token_id","value":"66c708db3ba43d8f417be515","description":"The ID of the network token"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:21:06 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":"PayDock <paydock.com>"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-external-duration","value":"0"},{"key":"x-retry-delay","value":"0"},{"key":"x-correlation-id","value":"e0ade460-5965-4ba8-8bb1-60f8b0052b43"},{"key":"etag","value":"W/\"8e-1TGe4PCq8oz70pmR/04N9nBPTw8\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 404,\n    \"error\": {\n        \"message\": \"Network Token not found\",\n        \"code\": \"\",\n        \"details\": {\n            \"path\": \"\",\n            \"messages\": []\n        }\n    },\n    \"resource\": {\n        \"type\": \"network-token\"\n    },\n    \"error_summary\": {\n        \"message\": \"Network Token not found\",\n        \"code\": \"unspecified_error\",\n        \"details\": {\n            \"messages\": []\n        }\n    }\n}"}],"_postman_id":"53f0ddda-ad7c-42f7-ae3c-f9e573976f05"},{"name":"update","id":"5af2aad6-1a66-49dd-9075-794fd2ab2d8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"default\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/vault-tokens/:vault_token/network-tokens/:network_token_id","description":"<p>Change the default network token for payment processing.</p>\n<h2 id=\"request-body\">Request Body</h2>\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>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>default</td>\n<td>+</td>\n<td>boolean(true)</td>\n<td>value determines whether to set a given network token as default for a given vault and scheme</td>\n</tr>\n</tbody>\n</table>\n</div><p>Request params</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><code>vault_token</code></td>\n<td>+</td>\n<td>String(UUID)</td>\n<td>The <code>vault_token</code> (UUID) of the network token to be updated</td>\n</tr>\n<tr>\n<td><code>network_token_id</code></td>\n<td>+</td>\n<td>String(24 hex characters)</td>\n<td>The ID of the network token to be updated</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","vault-tokens",":vault_token","network-tokens",":network_token_id"],"host":["{{url}}"],"query":[],"variable":[{"id":"1d51e521-c840-48de-acb2-95569c9b05f7","description":{"content":"<p>The vault token UUID that a new network token should be created for</p>\n","type":"text/plain"},"type":"any","value":"288f776f-0391-4aae-8280-21a612a55841","key":"vault_token"},{"id":"7bf2103c-c8e0-4537-bb3d-a960d3e1b3d0","description":{"content":"<p>The ID of the network token to be updated </p>\n","type":"text/plain"},"type":"any","value":"66c4b7dc4e80bd6a51710b24","key":"network_token_id"}]}},"response":[{"id":"21445316-8a58-4064-bad5-965e2fb0af6f","name":"success","originalRequest":{"method":"PUT","header":[{"key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"default\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/vault-tokens/:vault_token/network-tokens/:network_token_id","host":["{{url}}"],"path":["v1","vault-tokens",":vault_token","network-tokens",":network_token_id"],"variable":[{"key":"vault_token","value":"288f776f-0391-4aae-8280-21a612a55841","description":"The vault token UUID that a new network token should be created for"},{"key":"network_token_id","value":"66c4b7dc4e80bd6a51710b24","description":"The ID of the network token to be updated "}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-external-duration","value":"0"},{"key":"x-retry-delay","value":"0"},{"key":"x-correlation-id","value":"eb541f56-db37-48c2-be11-822536643e5f"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"etag","value":"W/\"123-5CeWBTDiURUmZlaffi3bl1KefTo\""},{"key":"date","value":"Tue, 20 Aug 2024 17:13:01 GMT"},{"key":"connection","value":"close"},{"key":"Content-Length","value":"291"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"network-token\",\n        \"data\": {\n            \"_id\": \"66c4b7dc4e80bd6a51710b24\",\n            \"default\": true,\n            \"expire_month\": \"12\",\n            \"expire_year\": \"2024\",\n            \"external_id\": \"385379dd643455daa990179145b45a01\",\n            \"status\": \"active\",\n            \"token\": \"4895370018477684\",\n            \"service_specific_description\": null\n        }\n    }\n}"},{"id":"7c6f47e9-e77d-4e4b-83b5-41ef18ae0252","name":"error","originalRequest":{"method":"PUT","header":[{"key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"default\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/vault-tokens/:vault_token/network-tokens/:network_token_id","host":["{{url}}"],"path":["v1","vault-tokens",":vault_token","network-tokens",":network_token_id"],"variable":[{"key":"vault_token","value":"288f776f-0391-4aae-8280-21a612a55841","description":"The vault token UUID that a new network token should be created for"},{"key":"network_token_id","value":"66c4b7dc4e80bd6a51710b24","description":"The ID of the network token to be updated "}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:25:45 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":"PayDock <paydock.com>"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-external-duration","value":"0"},{"key":"x-retry-delay","value":"0"},{"key":"x-correlation-id","value":"4eeca62c-a657-4ca2-bfb2-654c11546350"},{"key":"etag","value":"W/\"d6-ByfxEtJX/7FuASFUDDlIDhaUCxM\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"body validation failed\",\n        \"code\": \"ValidationError\",\n        \"details\": {\n            \"path\": \"default\",\n            \"messages\": [\n                \"default must be one of the following values: true\"\n            ]\n        }\n    },\n    \"resource\": {\n        \"type\": \"network-token\"\n    },\n    \"error_summary\": {\n        \"message\": \"body validation failed\",\n        \"code\": \"validation_error\",\n        \"details\": {\n            \"path\": \"default\",\n            \"messages\": [\n                \"default must be one of the following values: true\"\n            ]\n        }\n    }\n}"}],"_postman_id":"5af2aad6-1a66-49dd-9075-794fd2ab2d8d"},{"name":"delete","id":"1cc86b63-225f-404a-b6e1-ad37bc9ae7ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"fraud\",\n    \"requestor\": \"cardholder\",\n    \"reason_desc\": \"Deleting because of fraud\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/vault-tokens/:vault_token/network-tokens/:network_token_id","description":"<p>Delete a network token from an existing vault.  </p>\n<p>A single request to delete one network token for a given vault will also delete all other network tokens for the vault which were created with services connected to the same(single) registration.</p>\n<h2 id=\"request-body\">Request Body</h2>\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><code>reason</code></td>\n<td>-</td>\n<td>String(default, cardholder,fraud, or other)</td>\n<td>Reason code for deleting the network token based on the type of scheme. The default value is \"default\"</td>\n</tr>\n<tr>\n<td><code>requestor</code></td>\n<td>-</td>\n<td>String(cardholder, merchant, issuer, or wallet)</td>\n<td>Entity initiating the network token deletion. The default value is \"merchant\"</td>\n</tr>\n<tr>\n<td><code>reason_desc</code></td>\n<td>-</td>\n<td>String(Max length = 255)</td>\n<td>A description of the reason for deleting the network token.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Request params</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><code>vault_token</code></td>\n<td>+</td>\n<td>String(UUID)</td>\n<td>The <code>vault_token</code> (UUID) of the network token to be deleted</td>\n</tr>\n<tr>\n<td><code>network_token_id</code></td>\n<td>+</td>\n<td>String</td>\n<td>The ID of the network token to be deleted</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","vault-tokens",":vault_token","network-tokens",":network_token_id"],"host":["{{url}}"],"query":[],"variable":[{"id":"213ef81e-4336-4b0d-8058-3eb9d5ff4691","description":{"content":"<p>The vault token UUID of the network token that should be deleted</p>\n","type":"text/plain"},"type":"any","value":"288f776f-0391-4aae-8280-21a612a55841","key":"vault_token"},{"id":"f1cbbe24-3943-4b40-b892-4b3b3d0c209d","description":{"content":"<p>The ID of the network token to be deleted</p>\n","type":"text/plain"},"type":"any","value":"66c4b7dc4e80bd6a51710b24","key":"network_token_id"}]}},"response":[{"id":"533589f2-8684-42f1-b90a-75dc56f4d8b5","name":"success","originalRequest":{"method":"DELETE","header":[{"key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/vault-tokens/:vault_token/network-tokens/:network_token_id","host":["{{url}}"],"path":["v1","vault-tokens",":vault_token","network-tokens",":network_token_id"],"variable":[{"key":"vault_token","value":"288f776f-0391-4aae-8280-21a612a55841","description":"The vault token UUID of the network token that should be deleted"},{"key":"network_token_id","value":"66c4b7dc4e80bd6a51710b24","description":"The ID of the network token to be deleted"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 20 Aug 2024 14:40:53 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":"PayDock <paydock.com>"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-external-duration","value":"1779"},{"key":"x-retry-delay","value":"0"},{"key":"x-correlation-id","value":"d1f234d8-7713-41bf-8e4f-fba053e32f0f"},{"key":"etag","value":"W/\"3f-3XMjQu6bPGtkpVy3fWVtbxA8frE\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"network-token\"\n    }\n}"},{"id":"73b03fa3-6d7c-4971-82ad-c97a795aaaac","name":"error","originalRequest":{"method":"DELETE","header":[{"key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/vault-tokens/:vault_token/network-tokens/:network_token_id","host":["{{url}}"],"path":["v1","vault-tokens",":vault_token","network-tokens",":network_token_id"],"variable":[{"key":"vault_token","value":"288f776f-0391-4aae-8280-21a612a55841","description":"The vault token UUID of the network token that should be deleted"},{"key":"network_token_id","value":"66c4b7dc4e80bd6a51710b24","description":"The ID of the network token to be deleted"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:26:38 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":"PayDock <paydock.com>"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-external-duration","value":"0"},{"key":"x-retry-delay","value":"0"},{"key":"x-correlation-id","value":"8c996784-6bd4-45d4-bd81-606f90f0b039"},{"key":"etag","value":"W/\"b3-ERxBHR9LkmuEoaey5ZHmvTmKkzQ\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Network Token not in active status\",\n        \"code\": \"UnfulfilledCondition\",\n        \"details\": {\n            \"path\": \"status\",\n            \"messages\": []\n        }\n    },\n    \"resource\": {\n        \"type\": \"network-token\"\n    },\n    \"error_summary\": {\n        \"message\": \"Network Token not in active status\",\n        \"code\": \"unfulfilled_condition\",\n        \"details\": {\n            \"path\": \"status\",\n            \"messages\": []\n        }\n    }\n}"}],"_postman_id":"1cc86b63-225f-404a-b6e1-ad37bc9ae7ae"}],"id":"f0eed57e-6548-415c-b210-ca13fc6690a1","description":"<p><strong>Network tokenization</strong> is a security technology that replaces sensitive payment information, like the Primary Account Number (PAN), expiry date, and CVV, with a unique identifier called a <strong>token</strong>. Schemes (payment networks) like Visa, Mastercard, and Amex offer network tokenization services, issuing tokens that are <strong>interoperable across many merchants and processors within their networks</strong>. This allows for secure transactions without ever exposing the full PAN, although the PAN might be required initially to create the token. Network tokenization enhances security, reduces data storage requirements, and improves the customer experience by streamlining checkout and enabling automatic card updates for recurring payments.</p>\n<h2 id=\"network-token-resource\">Network Token Resource</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Required[flow]</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>Unique identifier for the network token</td>\n</tr>\n<tr>\n<td>default</td>\n<td>+</td>\n<td>boolean</td>\n<td>Indicates if this is a default network token for payment</td>\n</tr>\n<tr>\n<td>expire_month</td>\n<td>+</td>\n<td>string</td>\n<td>Token expiration month</td>\n</tr>\n<tr>\n<td>expire_year</td>\n<td>+</td>\n<td>string</td>\n<td>Token expiration year</td>\n</tr>\n<tr>\n<td>external_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>External identifier for the network token</td>\n</tr>\n<tr>\n<td>service_specific_description</td>\n<td>+</td>\n<td>string</td>\n<td>Error message for cases when an error occurs during network token provisioning</td>\n</tr>\n<tr>\n<td>status</td>\n<td>+</td>\n<td>string</td>\n<td>Current status of the network token. (See all possible statuses below.)</td>\n</tr>\n<tr>\n<td>token</td>\n<td>+</td>\n<td>string</td>\n<td>Token number (Network Token itself)</td>\n</tr>\n<tr>\n<td>service_logs</td>\n<td>-</td>\n<td>array</td>\n<td>Array of service log entries</td>\n</tr>\n<tr>\n<td>service_logs[].req</td>\n<td>+</td>\n<td>object</td>\n<td>Request information for service log</td>\n</tr>\n<tr>\n<td>service_logs[].req.body</td>\n<td>+</td>\n<td>string</td>\n<td>JSON string containing request body</td>\n</tr>\n<tr>\n<td>service_logs[].req.format</td>\n<td>+</td>\n<td>string</td>\n<td>Format of the request. Example: \"application/json\"</td>\n</tr>\n<tr>\n<td>service_logs[].req.headers</td>\n<td>+</td>\n<td>string</td>\n<td>JSON string containing request headers</td>\n</tr>\n<tr>\n<td>service_logs[].response_body</td>\n<td>+</td>\n<td>object</td>\n<td>Response information for service log</td>\n</tr>\n<tr>\n<td>service_logs[].response_body.body</td>\n<td>+</td>\n<td>string</td>\n<td>JSON string containing response body</td>\n</tr>\n<tr>\n<td>service_logs[].response_body.format</td>\n<td>+</td>\n<td>string</td>\n<td>Format of the response. Example: \"application/json\"</td>\n</tr>\n<tr>\n<td>service_logs[].response_body.headers</td>\n<td>+</td>\n<td>string</td>\n<td>Response headers</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"possible-statuses\">Possible Statuses</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>active</td>\n<td>The network token is currently valid and can be used for transactions</td>\n</tr>\n<tr>\n<td>delete_failed</td>\n<td>An attempt to delete the network token was unsuccessful</td>\n</tr>\n<tr>\n<td>pending</td>\n<td>The network token is in the process of being created or updated</td>\n</tr>\n<tr>\n<td>deleted</td>\n<td>The network token has been successfully removed from the system</td>\n</tr>\n<tr>\n<td>suspended</td>\n<td>The network token has been temporarily disabled</td>\n</tr>\n<tr>\n<td>failed</td>\n<td>The network token creation or update process encountered an error</td>\n</tr>\n<tr>\n<td>inactive</td>\n<td>The network token exists but is not currently available for use</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"f0eed57e-6548-415c-b210-ca13fc6690a1"},{"name":"vaults","item":[{"name":"create","id":"381ac9a4-2e56-4dcb-afeb-14bc7d63b8eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"<p>This is your PayDock API Secret Key</p>\n"},{"key":"Content-Type","value":"application/json","description":"<p>Content-Type will always be application/json</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"card_name\": \"Carlie Kuvalis\",\n    \"card_number\": \"4242424242424242\",\n    \"expire_month\": \"09\",\n    \"expire_year\": \"21\",\n    \"card_ccv\": \"123\",\n    \"email\": \"carlie.kuvalis@example.com\",\n    \"network_token_service_id\": \"66c46c0d8cb041c6f4b80122\",\n    \"data_source\": \"stored\"\n}"},"url":"{{url}}/v1/vault/payment_sources","description":"<p>Create a new vault payment token representing user’s payment information.</p>\n<h2 id=\"flow\">Flow</h2>\n<p>You can create a vault using:</p>\n<ol>\n<li><p>credit card</p>\n</li>\n<li><p>bank account</p>\n</li>\n<li><p>one-time token</p>\n</li>\n<li><p>gift card</p>\n</li>\n</ol>\n<p>When vault is created using credit card or one-time token created from credit card, if the credit card is tokenizable(mastercard or visa card), <strong>network token</strong> is also created for the vault if Network Token Service is connected for the scheme as <code>default=true</code> and Registration is in completed status.</p>\n<p>Information about the network token created can be seen by making a <strong>GET</strong> call to <code>{{url}}/v1/vault-tokens/{{vault_token}}</code>, <strong>vault_token</strong> being the vault token UUID from the create vault request.</p>\n<p><strong>Note:</strong> Network Tokens can't be created for Visa vaults without email. Email is required by Visa for Network Token provisioning. Network Tokens are supported only for permanent vaults.</p>\n<h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>token</td>\n<td>+3</td>\n<td>string(UIID)</td>\n<td>One-time token with all the payment source information</td>\n</tr>\n<tr>\n<td>vault_token_reference</td>\n<td>-</td>\n<td>string (UUID, alphanumeric, digits)</td>\n<td>A unique identifier assigned to each vault token upon creation</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>-</td>\n<td>string</td>\n<td>Customer first name</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>-</td>\n<td>string</td>\n<td>Customer last name</td>\n</tr>\n<tr>\n<td>email</td>\n<td>-</td>\n<td>string</td>\n<td>Customer email</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>-</td>\n<td>string(E.164)</td>\n<td>Customer phone in E.164 international notation (Example: +12345678901)</td>\n</tr>\n<tr>\n<td>type</td>\n<td>+</td>\n<td>string</td>\n<td>Type of source. <em>card</em> for source with credit card, <em>bank_account</em> for direct debit source, <em>gift_card</em> for source with gift card.</td>\n</tr>\n<tr>\n<td>card_name</td>\n<td>-1</td>\n<td>string</td>\n<td>Cardholder name (as on card)  <br />*<em>Paydock’s recommendation is to provide this field if you have it, as some payment providers may require it during payment processing</em></td>\n</tr>\n<tr>\n<td>card_number</td>\n<td>+1</td>\n<td>string(numeric)</td>\n<td>Card number</td>\n</tr>\n<tr>\n<td>expire_month</td>\n<td>+1</td>\n<td>string(mm)</td>\n<td>Card expiration month mm</td>\n</tr>\n<tr>\n<td>expire_year</td>\n<td>+1</td>\n<td>string(yyyy)</td>\n<td>Card expiration year</td>\n</tr>\n<tr>\n<td>card_ccv</td>\n<td>-1</td>\n<td>string(numeric)</td>\n<td>Card CCV number</td>\n</tr>\n<tr>\n<td>account_name</td>\n<td>+2</td>\n<td>string</td>\n<td>Customer account name.</td>\n</tr>\n<tr>\n<td>account_number</td>\n<td>+2</td>\n<td>string</td>\n<td>Number of Customer account.</td>\n</tr>\n<tr>\n<td>account_bsb</td>\n<td>-2</td>\n<td>string</td>\n<td>Customer bank state branch number.</td>\n</tr>\n<tr>\n<td>account_routing</td>\n<td>-2</td>\n<td>string(numeric)</td>\n<td>Number of Customer account. BSB/Routing/SWIFT/IBAN Number.</td>\n</tr>\n<tr>\n<td>account_holder_type</td>\n<td>-2</td>\n<td>string</td>\n<td>account type (<em>personal</em> or <em>business</em>)</td>\n</tr>\n<tr>\n<td>account_bank_name</td>\n<td>-2</td>\n<td>string</td>\n<td>Name of account bank</td>\n</tr>\n<tr>\n<td>card_pin</td>\n<td>-4</td>\n<td>string(numeric)</td>\n<td>Card PIN number</td>\n</tr>\n<tr>\n<td>card_schema</td>\n<td>+4</td>\n<td>string</td>\n<td>Card schema for current card number</td>\n</tr>\n<tr>\n<td>card_processing_network</td>\n<td>+4</td>\n<td>string</td>\n<td>Card processing network for current card number</td>\n</tr>\n<tr>\n<td>store_pin</td>\n<td>-4</td>\n<td>boolean</td>\n<td>A flag to be able to use a PIN value for the initial transaction</td>\n</tr>\n<tr>\n<td>address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, line 1</td>\n</tr>\n<tr>\n<td>address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, line 2</td>\n</tr>\n<tr>\n<td>address_state</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, State</td>\n</tr>\n<tr>\n<td>address_country</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, Country Code</td>\n</tr>\n<tr>\n<td>address_city</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, City</td>\n</tr>\n<tr>\n<td>address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>Customer Address, Postcode</td>\n</tr>\n<tr>\n<td>store_ccv</td>\n<td>-</td>\n<td>boolean</td>\n<td>A flag to be able to use a CCV value for the initial transaction</td>\n</tr>\n<tr>\n<td>vault_type</td>\n<td>-</td>\n<td>string</td>\n<td>Vault token type, values: <em>session</em>, <em>permanent</em>  <br />  <br />Default value is <em>permanent</em></td>\n</tr>\n<tr>\n<td>network_token_service_id</td>\n<td>-</td>\n<td>string(24 character hex string)</td>\n<td>specific service ID to use for creating network token insteading of using the default service for the given network token type</td>\n</tr>\n<tr>\n<td>data_source</td>\n<td>-</td>\n<td>enum(stored,cardholder)</td>\n<td>The source of card details used. Defaults to cardholder if not provided when using OTT, and to stored if not provided when using card.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","vault","payment_sources"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"0dc23231-276d-405c-a0c2-944570394da6","name":"create with credit card","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"card_name\": \"Carlie Kuvalis\",\n    \"card_number\": \"4242424242424242\",\n    \"expire_month\": \"09\",\n    \"expire_year\": \"21\",\n    \"card_ccv\": \"123\",\n    \"email\": \"carlie.kuvalis@example.com\",\n    \"network_token_service_id\": \"66c46c0d8cb041c6f4b80122\",\n    \"data_source\": \"stored\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/vault/payment_sources"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 May 2020 15:05:50 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"472"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"1d8-HFBdItB79D+n1bz4HudGjQ\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"payment_source\",\n        \"data\": {\n            \"type\": \"card\",\n            \"company_id\": \"65cccde52cad2f1b64e7947e\",\n            \"email\": \"carlie.kuvalis@example.com\",\n            \"card_name\": \"Carlie Kuvalis\",\n            \"card_number_last4\": \"4242\",\n            \"card_number_bin\": \"42424242\",\n            \"card_scheme\": \"visa\",\n            \"status\": \"active\",\n            \"expire_month\": 9,\n            \"expire_year\": 2021,\n            \"created_at\": \"2024-08-20T11:32:04.527Z\",\n            \"_source_ip_address\": \"54.79.80.148\",\n            \"vault_type\": \"permanent\",\n            \"vault_token\": \"b80f5968-b4a9-4784-84b2-d91b707f8a19\",\n            \"updated_at\": \"2024-08-20T11:32:04.570Z\"\n        }\n    }\n}"},{"id":"cce14ca8-40cf-45ff-bea2-00f1f1e26da5","name":"create with credit card and attach vault token reference","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"card_name\": \"Carlie Kuvalis\",\n    \"card_number\": \"4242424242424242\",\n    \"expire_month\": \"09\",\n    \"expire_year\": \"21\",\n    \"card_ccv\": \"123\",\n    \"email\": \"carlie.kuvalis@example.com\",\n    \"network_token_service_id\": \"66c46c0d8cb041c6f4b80122\",\n    \"data_source\": \"stored\",\n    \"vault_token_reference\": \"49837263849382745\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/vault/payment_sources"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 May 2020 15:05:50 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"472"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"1d8-HFBdItB79D+n1bz4HudGjQ\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"payment_source\",\n        \"data\": {\n            \"type\": \"card\",\n            \"company_id\": \"65cccde52cad2f1b64e7947e\",\n            \"email\": \"carlie.kuvalis@example.com\",\n            \"card_name\": \"Carlie Kuvalis\",\n            \"card_number_last4\": \"4242\",\n            \"card_number_bin\": \"42424242\",\n            \"card_scheme\": \"visa\",\n            \"status\": \"active\",\n            \"expire_month\": 9,\n            \"expire_year\": 2021,\n            \"created_at\": \"2024-08-20T11:32:04.527Z\",\n            \"_source_ip_address\": \"54.79.80.148\",\n            \"vault_type\": \"permanent\",\n            \"vault_token\": \"b80f5968-b4a9-4784-84b2-d91b707f8a19\",\n            \"vault_token_reference\": \"49837263849382745\",\n            \"updated_at\": \"2024-08-20T11:32:04.570Z\"\n        }\n    }\n}"},{"id":"c5770d69-4065-44dc-a2d6-2ab840ab9654","name":"create with bank account","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"bank_account\",\n    \"account_name\": \"Wanda Mertz\",\n    \"account_number\": \"064000\",\n    \"account_routing\": \"064000\"\n}"},"url":"{{url}}/v1/vault/payment_sources"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 May 2020 15:10:38 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"465"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"1d1-OlHLaDF24tFmKWe+r+RX/A\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"payment_source\",\n        \"data\": {\n            \"vault_type\": \"permanent\",\n            \"account_bsb\": \"064000\",\n            \"updated_at\": \"2020-05-26T15:10:38.241Z\",\n            \"vault_token\": \"1797e611-150e-46ec-83c8-50be73f3bcfc\",\n            \"account_name\": \"Wanda Mertz\",\n            \"account_number\": \"064000\",\n            \"account_routing\": \"064000\",\n            \"status\": \"active\",\n            \"created_at\": \"2020-05-26T15:10:38.201Z\",\n            \"user_id\": \"5cbeda664fdfb25772b5547e\",\n            \"company_id\": \"5cbeda664fdfb25772b5547f\",\n            \"_source_ip_address\": \"192.168.0.1\",\n            \"type\": \"bank_account\"\n        }\n    }\n}"},{"id":"bcc82708-9581-4629-a635-7efc0c99b3cb","name":"create with one-time token","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"token\": \"005952f6-e909-401a-92d8-7f06d2135dbc\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/vault/payment_sources"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 05 Aug 2021 07:05:56 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"458"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"1ca-QKdHjfu8Jdb5d1bs70BnHA\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"payment_source\",\n        \"data\": {\n            \"vault_type\": \"permanent\",\n            \"type\": \"card\",\n            \"_source_ip_address\": \"54.86.50.139\",\n            \"expire_month\": 1,\n            \"expire_year\": 2023,\n            \"card_name\": \"Wanda  Mertz\",\n            \"card_number_last4\": \"4242\",\n            \"card_number_bin\": \"42424242\",\n            \"card_scheme\": \"visa\",\n            \"ref_token\": \"cus_hyyau7dpojJttR\",\n            \"status\": \"active\",\n            \"created_at\": \"2021-08-05T07:04:25.974Z\",\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"vault_token\": \"c90dbe45-7a23-4f26-9192-336a01e58e59\",\n            \"updated_at\": \"2021-08-05T07:05:56.035Z\"\n        }\n    }\n}"},{"id":"09d3cd35-7ae8-4d83-a45f-738156d195ae","name":"create with gift card","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Public Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Wanda\",\n    \"last_name\": \"Mertz\",\n    \"email\": \"wanda.mertz@example.com\",\n    \"phone\": \"+1234567890\",\n    \"card_name\": \"Wanda Mertz\",\n    \"card_number\": \"62734010001104878\",\n    \"card_pin\": \"1350\",\n    \"type\": \"gift_card\",\n    \"store_pin\": true,\n    \"card_scheme\": \"vii_giftcard\",\n    \"card_processing_network\": \"vii_giftcard\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/vault/payment_sources"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 May 2020 14:56:17 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"101"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"65-Yuk9xBrbQUsOVFK9PBnATQ\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"payment_source\",\n        \"data\": {\n            \"vault_type\": \"permanent\",\n            \"updated_at\": \"2020-05-26T15:05:50.731Z\",\n            \"vault_token\": \"e9adab9c-68f4-443a-b64f-faabb2750ab6\",\n            \"card_name\": \"Wanda Mertz\",\n            \"expire_month\": 9,\n            \"expire_year\": 2021,\n            \"card_number_last4\": \"4878\",\n            \"card_scheme\": \"vii_giftcard\",\n            \"status\": \"active\",\n            \"created_at\": \"2020-05-26T15:05:50.713Z\",\n            \"user_id\": \"5cbeda664fdfb25772b5547e\",\n            \"company_id\": \"5cbeda664fdfb25772b5547f\",\n            \"_source_ip_address\": \"192.168.0.1\",\n            \"type\": \"card\"\n        }\n    }\n}"},{"id":"1b524af5-144c-47f6-ae3f-b447fce96514","name":"create session token with credit card","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"card_name\": \"Carlie Kuvalis\",\n    \"card_number\": \"4242424242424242\",\n    \"expire_month\": \"09\",\n    \"expire_year\": \"21\",\n    \"card_ccv\": \"123\",\n    \"vault_type\": \"session\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/vault/payment_sources"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 May 2020 15:05:50 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"472"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"1d8-HFBdItB79D+n1bz4HudGjQ\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"payment_source\",\n        \"data\": {\n            \"vault_type\": \"session\",\n            \"updated_at\": \"2020-05-26T15:05:50.731Z\",\n            \"vault_token\": \"e9adab9c-68f4-443a-b64f-faabb2750ab6\",\n            \"card_name\": \"Carlie Kuvalis\",\n            \"expire_month\": 9,\n            \"expire_year\": 2021,\n            \"card_number_last4\": \"4242\",\n            \"card_number_bin\": \"42424242\",\n            \"card_scheme\": \"visa\",\n            \"status\": \"active\",\n            \"created_at\": \"2020-05-26T15:05:50.713Z\",\n            \"user_id\": \"5cbeda664fdfb25772b5547e\",\n            \"company_id\": \"5cbeda664fdfb25772b5547f\",\n            \"_source_ip_address\": \"192.168.0.1\",\n            \"type\": \"card\"\n        }\n    }\n}"},{"id":"566ab695-1890-4958-8be8-5e09e617468b","name":"create session token with bank account","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"bank_account\",\n    \"account_name\": \"Wanda Mertz\",\n    \"account_number\": \"064000\",\n    \"account_routing\": \"064000\",\n    \"vault_type\": \"session\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/vault/payment_sources"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 May 2020 15:10:38 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"465"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"1d1-OlHLaDF24tFmKWe+r+RX/A\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"payment_source\",\n        \"data\": {\n            \"vault_type\": \"session\",\n            \"account_bsb\": \"064000\",\n            \"updated_at\": \"2020-05-26T15:10:38.241Z\",\n            \"vault_token\": \"1797e611-150e-46ec-83c8-50be73f3bcfc\",\n            \"account_name\": \"Wanda Mertz\",\n            \"account_number\": \"064000\",\n            \"account_routing\": \"064000\",\n            \"status\": \"active\",\n            \"created_at\": \"2020-05-26T15:10:38.201Z\",\n            \"user_id\": \"5cbeda664fdfb25772b5547e\",\n            \"company_id\": \"5cbeda664fdfb25772b5547f\",\n            \"_source_ip_address\": \"192.168.0.1\",\n            \"type\": \"bank_account\"\n        }\n    }\n}"},{"id":"d1d24d51-bb3d-4ac5-b850-85ad241675af","name":"create session token with one-time token","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"token\": \"005952f6-e909-401a-92d8-7f06d2135dbc\",\n    \"vault_type\": \"session\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/vault/payment_sources"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Thu, 05 Aug 2021 07:05:56 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"458"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"1ca-QKdHjfu8Jdb5d1bs70BnHA\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"payment_source\",\n        \"data\": {\n            \"vault_type\": \"session\",\n            \"type\": \"card\",\n            \"_source_ip_address\": \"54.86.50.139\",\n            \"expire_month\": 1,\n            \"expire_year\": 2023,\n            \"card_name\": \"Wanda  Mertz\",\n            \"card_number_last4\": \"4242\",\n            \"card_number_bin\": \"42424242\",\n            \"card_scheme\": \"visa\",\n            \"ref_token\": \"cus_hyyau7dpojJttR\",\n            \"status\": \"active\",\n            \"created_at\": \"2021-08-05T07:04:25.974Z\",\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"vault_token\": \"c90dbe45-7a23-4f26-9192-336a01e58e59\",\n            \"updated_at\": \"2021-08-05T07:05:56.035Z\"\n        }\n    }\n}"}],"_postman_id":"381ac9a4-2e56-4dcb-afeb-14bc7d63b8eb"},{"name":"modify","id":"3279fd97-31be-4420-88dc-5d3833f6b94b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"expire_month\": \"01\",\n    \"expire_year\": \"22\"\n}"},"url":"{{url}}/v1/vault-tokens/:vault_token","description":"<p>Update a payment information</p>\n<h2 id=\"request-params\">Request params</h2>\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>vault_token</td>\n<td>+</td>\n<td>string (UIID)</td>\n<td>vault_token received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request body</h2>\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>expire_month</td>\n<td>+1</td>\n<td>string(mm)</td>\n<td>Card expiration month mm</td>\n</tr>\n<tr>\n<td>expire_year</td>\n<td>+1</td>\n<td>string(yyyy)</td>\n<td>Card expiration year</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-body\">Response body</h2>\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>vault_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>Vault Id</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","vault-tokens",":vault_token"],"host":["{{url}}"],"query":[],"variable":[{"id":"d0f15c3b-928c-49dc-8570-b3a1af384267","type":"string","value":"bfd538f5-e4e5-43bd-871d-3ffa6db7f59a","key":"vault_token"}]}},"response":[{"id":"ef3386b8-2bec-41a2-b01d-ccf84adda8ec","name":"modify expiry date of a vault token","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"expire_month\": \"01\",\n    \"expire_year\": \"22\"\n}"},"url":{"raw":"{{url}}/v1/vault-tokens/:vault_token","host":["{{url}}"],"path":["v1","vault-tokens",":vault_token"],"variable":[{"key":"vault_token","value":"bfd538f5-e4e5-43bd-871d-3ffa6db7f59a"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 26 May 2020 15:15:02 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"108"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"6c-DbeU7GHTqVwg0/65t4JWIg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"vault-token\",\n        \"data\": {\n            \"vault_id\": \"5ecd322551eff9228f882bd1\"\n        }\n    }\n}"}],"_postman_id":"3279fd97-31be-4420-88dc-5d3833f6b94b"},{"name":"search","id":"ff6a2bc2-e62c-40b3-b991-4786572e7af1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/vault/payment_sources?limit=2&skip=1&sortkey=updated_at&sortdirection=DESC","description":"<p><strong>Pagination</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>skip</td>\n<td>-</td>\n<td>number</td>\n<td>Pagination parameter to skip first n vault token from list, default = 0</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>-</td>\n<td>number</td>\n<td>Pagination parameter to limit output to n , default = 100 , maximum value = 1000</td>\n</tr>\n<tr>\n<td>sortkey</td>\n<td>-</td>\n<td>string</td>\n<td>Sorting key parameter i.e. created_at</td>\n</tr>\n<tr>\n<td>sortdirection</td>\n<td>-</td>\n<td>string</td>\n<td>Sorting order direction parameter <em>ASC</em> or <em>DESC</em> (<em>DESC</em> by default)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>filters</strong></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>archived</td>\n<td>-</td>\n<td>bool</td>\n<td>Set to true to show all the archived vault tokens. Default: <em>false</em></td>\n</tr>\n<tr>\n<td>card_number_last4</td>\n<td>-</td>\n<td>string</td>\n<td>Card number last 4</td>\n</tr>\n<tr>\n<td>expire_month</td>\n<td>-</td>\n<td>string(mm)</td>\n<td>Card expiration month</td>\n</tr>\n<tr>\n<td>expire_year</td>\n<td>-</td>\n<td>string(yyyy)</td>\n<td>Card expiration year</td>\n</tr>\n<tr>\n<td>type</td>\n<td>-</td>\n<td>string</td>\n<td>Type of payment source. Сard for payment with a credit card, bank_account for direct debit payments</td>\n</tr>\n<tr>\n<td>fetch_id</td>\n<td>-</td>\n<td>string (24 hex characters)</td>\n<td>ID of a fetch that created vault token</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Other</strong></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>search</td>\n<td>-</td>\n<td>string</td>\n<td>Word or phrase that you want to search in created vault tokens (search works by fields: first_name, last_name, email, account_name, card_name)</td>\n</tr>\n<tr>\n<td>expand</td>\n<td>-</td>\n<td>array(value,value,...)</td>\n<td><code>vault_token_reference</code> Displays vault token reference in response</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","vault","payment_sources"],"host":["{{url}}"],"query":[{"key":"limit","value":"2"},{"key":"skip","value":"1"},{"key":"sortkey","value":"updated_at"},{"key":"sortdirection","value":"DESC"}],"variable":[]}},"response":[{"id":"f683ac58-7041-4f7e-948f-5d7cc655e2e4","name":"search with filter","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"url":{"raw":"{{url}}/v1/vault/payment_sources?type=card","host":["{{url}}"],"path":["v1","vault","payment_sources"],"query":[{"key":"type","value":"card"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 27 May 2020 11:55:48 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"977"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"3d1-+2hTwPXeXx6KZUlzSRimBQ\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"vault-tokens\",\n        \"data\": [\n             {\n                \"vault_token\": \"053eb646-4098-443c-ba8d-07591804a9a4\",\n                \"updated_at\": \"2024-08-21T08:58:16.751Z\",\n                \"card_name\": \"Wanda Mertz\",\n                \"expire_month\": 9,\n                \"expire_year\": 2026,\n                \"card_number_last4\": \"4590\",\n                \"card_scheme\": \"mastercard\",\n                \"status\": \"active\",\n                \"created_at\": \"2024-08-21T08:58:16.721Z\",\n                \"company_id\": \"65cccde52cad2f1b64e7947e\",\n                \"_source_ip_address\": \"52.65.205.19\",\n                \"type\": \"card\",\n                \"vault_type\": \"permanent\",\n                \"card_number_bin\": \"22226904\",\n                \"payment_account_reference\": \"5001B36K1PFU1QCF5NI6W8BNDS341\",\n                \"network_tokens\": [\n                    {\n                        \"_id\": \"66c5ac2c7658cedffa139b0e\",\n                        \"default\": true,\n                        \"expire_month\": \"09\",\n                        \"expire_year\": \"2027\",\n                        \"external_id\": \"-KI7LNPlSzyJF3CR4oAQQw000000000000GB\",\n                        \"status\": \"active\",\n                        \"token\": \"5186151969518444\"\n                    }\n                ]\n            },\n            {\n                \"vault_token\": \"e6e1ee1a-66a9-4ca8-b340-056317b111b6\",\n                \"updated_at\": \"2024-08-21T08:46:35.428Z\",\n                \"expire_month\": 12,\n                \"expire_year\": 2025,\n                \"card_number_last4\": \"1654\",\n                \"card_scheme\": \"visa\",\n                \"status\": \"active\",\n                \"created_at\": \"2024-08-21T08:46:35.398Z\",\n                \"company_id\": \"65cccde52cad2f1b64e7947e\",\n                \"_source_ip_address\": \"52.65.205.19\",\n                \"type\": \"card\",\n                \"vault_type\": \"permanent\",\n                \"card_number_bin\": \"46229431\",\n                \"email\": \"test@test.com\",\n                \"data_source\": \"cardholder\",\n                \"network_tokens\": []\n            }\n        ],\n        \"skip\": 1,\n        \"limit\": 2,\n        \"sortkey\": \"updated_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 201\n    }\n}"},{"id":"4484009e-38d2-411c-b30e-4ba9d39981ef","name":"search by phrase","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"url":{"raw":"{{url}}/v1/vault/payment_sources?search=Wanda","host":["{{url}}"],"path":["v1","vault","payment_sources"],"query":[{"key":"search","value":"Wanda"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 27 May 2020 12:00:30 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"903"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"387-+OIt1xtusyclt8E0VBnUCA\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"vault-tokens\",\n        \"data\": [\n            {\n                \"vault_token\": \"72379cf6-dc56-44ab-8907-bb5418ef1530\",\n                \"updated_at\": \"2024-08-22T10:14:28.558Z\",\n                \"card_name\": \"Wanda Mertz\",\n                \"expire_month\": 9,\n                \"expire_year\": 2026,\n                \"card_number_last4\": \"4590\",\n                \"card_scheme\": \"mastercard\",\n                \"status\": \"active\",\n                \"created_at\": \"2024-08-22T10:14:28.501Z\",\n                \"company_id\": \"65cccde52cad2f1b64e7947e\",\n                \"_source_ip_address\": \"2.83.247.129\",\n                \"type\": \"card\",\n                \"vault_type\": \"permanent\",\n                \"card_number_bin\": \"22226904\",\n                \"payment_account_reference\": \"5001B36K1PFU1QCF5NI6W8BNDS341\",\n                \"network_tokens\": [\n                    {\n                        \"_id\": \"66c70f88b5c8bcadcc0ec412\",\n                        \"default\": true,\n                        \"expire_month\": \"09\",\n                        \"expire_year\": \"2027\",\n                        \"external_id\": \"QEnovas0Rq2xpJJsVAjZlA000000000000GB\",\n                        \"status\": \"active\",\n                        \"token\": \"5186151969517537\"\n                    }\n                ]\n            },\n            {\n                \"vault_token\": \"d24a2fbf-1029-4f75-9120-7348fc6b8ddc\",\n                \"updated_at\": \"2024-08-21T09:10:59.715Z\",\n                \"card_name\": \"Wanda Mertz\",\n                \"expire_month\": 9,\n                \"expire_year\": 2026,\n                \"card_number_last4\": \"4590\",\n                \"card_scheme\": \"mastercard\",\n                \"status\": \"active\",\n                \"created_at\": \"2024-08-21T09:10:59.681Z\",\n                \"company_id\": \"65cccde52cad2f1b64e7947e\",\n                \"_source_ip_address\": \"52.65.205.19\",\n                \"type\": \"card\",\n                \"vault_type\": \"permanent\",\n                \"card_number_bin\": \"22226904\",\n                \"network_tokens\": []\n            }\n        ],\n        \"skip\": 1,\n        \"limit\": 2,\n        \"sortkey\": \"updated_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 201\n    }\n}"},{"id":"057dc281-2d6c-493c-9ae9-b32561a32378","name":"search with pagination and sort","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"url":{"raw":"{{url}}/v1/vault/payment_sources?limit=2&skip=1&sortkey=updated_at&sortdirection=DESC","host":["{{url}}"],"path":["v1","vault","payment_sources"],"query":[{"key":"limit","value":"2"},{"key":"skip","value":"1"},{"key":"sortkey","value":"updated_at"},{"key":"sortdirection","value":"DESC"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 27 May 2020 11:07:21 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"900"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"384-ulJL2h379QpmLT/KDPuPfQ\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"payment_sources\",\n        \"data\": [\n            {\n                \"account_bsb\": \"064000\",\n                \"updated_at\": \"2020-05-26T15:10:38.241Z\",\n                \"vault_token\": \"1797e611-150e-46ec-83c8-50be73f3bcfc\",\n                \"account_name\": \"Carlie Kuvalis\",\n                \"account_number\": \"064000\",\n                \"account_routing\": \"064000\",\n                \"status\": \"active\",\n                \"created_at\": \"2020-05-26T15:10:38.201Z\",\n                \"user_id\": \"5cbeda664fdfb25772b5547e\",\n                \"company_id\": \"5cbeda664fdfb25772b5547f\",\n                \"_source_ip_address\": \"192.168.0.1\",\n                \"vault_type\": \"permanent\",\n                \"type\": \"bank_account\",\n                \"network_tokens\": []\n            },\n             {\n                \"vault_token\": \"665120e6-a1ab-4e8d-befc-12e6f8bc8a8c\",\n                \"updated_at\": \"2024-08-22T10:31:12.933Z\",\n                \"expire_month\": 12,\n                \"expire_year\": 2025,\n                \"card_number_last4\": \"1654\",\n                \"card_scheme\": \"visa\",\n                \"status\": \"active\",\n                \"created_at\": \"2024-08-22T10:31:12.879Z\",\n                \"company_id\": \"65cccde52cad2f1b64e7947e\",\n                \"_source_ip_address\": \"54.79.80.148\",\n                \"type\": \"card\",\n                \"vault_type\": \"permanent\",\n                \"card_number_bin\": \"46229431\",\n                \"email\": \"test@test.com\",\n                \"data_source\": \"cardholder\",\n                \"payment_account_reference\": \"V0010013024019123754661791664\",\n                \"network_tokens\": [\n                    {\n                        \"_id\": \"66c713737b67b4bf9109ae67\",\n                        \"default\": true,\n                        \"expire_month\": \"12\",\n                        \"expire_year\": \"2025\",\n                        \"external_id\": \"6bda2cb3fec9fd51b0551a5a3e257f01\",\n                        \"status\": \"active\",\n                        \"token\": \"4895370018481686\"\n                    }\n                ]\n            }\n        ],\n        \"count\": 162,\n        \"limit\": 2,\n        \"skip\": 1\n    }\n}"}],"_postman_id":"ff6a2bc2-e62c-40b3-b991-4786572e7af1"},{"name":"get","id":"4023c725-c467-45c2-a35e-be60c70013c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"expire_month\": \"01\",\n    \"expire_year\": \"22\"\n}"},"url":"{{url}}/v1/vault-tokens/:vault_token","description":"<p>Returns payment source information associated with a vault token, including network tokens associated with the given vault if any.</p>\n<h2 id=\"request-params\">Request params</h2>\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>vault_token</td>\n<td>+</td>\n<td>string (UIID)</td>\n<td>vault_token received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Other</strong></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>expand</td>\n<td>-</td>\n<td>array(value,value,...)</td>\n<td><code>vault_token_reference</code> Displays vault token reference in response</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","vault-tokens",":vault_token"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"b52f1448-2a5f-447f-8a6c-c64ea8af899c","key":"vault_token"}]}},"response":[{"id":"d413c62b-0285-4afa-b325-97ea4421cc62","name":"error","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"expire_month\": \"01\",\n    \"expire_year\": \"22\"\n}"},"url":{"raw":"{{url}}/v1/vault-tokens/:vault_token","host":["{{url}}"],"path":["v1","vault-tokens",":vault_token"],"variable":[{"key":"vault_token","value":"bfd538f5-e4e5-43bd-871d-3ffa6db7f59a"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:54:40 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-external-duration","value":"0"},{"key":"x-retry-delay","value":"0"},{"key":"x-correlation-id","value":"21bc23c5-4652-4115-af52-9782909b28bd"},{"key":"etag","value":"W/\"43-otDtT54/gaYBl5CdmVj7UbyExCs\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Vault Token not found or doesn't belong to your company\"\n}"},{"id":"dc42ecd7-6920-4995-a828-ef6e07938324","name":"success","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"expire_month\": \"01\",\n    \"expire_year\": \"22\"\n}"},"url":{"raw":"{{url}}/v1/vault-tokens/:vault_token","host":["{{url}}"],"path":["v1","vault-tokens",":vault_token"],"variable":[{"key":"vault_token","value":"b52f1448-2a5f-447f-8a6c-c64ea8af899c"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:55:52 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-external-duration","value":"0"},{"key":"x-retry-delay","value":"0"},{"key":"x-correlation-id","value":"0de06aed-3ac5-4d1b-836e-6232de7e28ab"},{"key":"etag","value":"W/\"3f8-xM0B/p7ofEnVP8mOUZ+eW0mHSAQ\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"vault-tokens\",\n        \"data\": {\n            \"vault_token\": \"b52f1448-2a5f-447f-8a6c-c64ea8af899c\",\n            \"updated_at\": \"2024-08-22T09:47:39.635Z\",\n            \"expire_month\": 12,\n            \"expire_year\": 2024,\n            \"card_number_last4\": \"2654\",\n            \"card_scheme\": \"visa\",\n            \"status\": \"active\",\n            \"created_at\": \"2024-08-22T09:45:58.088Z\",\n            \"company_id\": \"6602c49d392b930259c0dca9\",\n            \"_source_ip_address\": \"::1\",\n            \"type\": \"card\",\n            \"vault_type\": \"permanent\",\n            \"card_number_bin\": \"46229431\",\n            \"email\": \"test2@test.com\",\n            \"data_source\": \"cardholder\",\n            \"payment_account_reference\": \"V0010013024233501317036644060\",\n            \"network_tokens\": [\n                {\n                    \"_id\": \"66c708db3ba43d8f417be515\",\n                    \"default\": true,\n                    \"expire_month\": \"12\",\n                    \"expire_year\": \"2024\",\n                    \"external_id\": \"385379dd643455daa990179145b45a01\",\n                    \"service_specific_description\": null,\n                    \"status\": \"active\",\n                    \"token\": \"4895370018485216\"\n                }\n            ]\n        }\n    }\n}"},{"id":"a4508ab9-5e42-42aa-8891-86399f7dd3d7","name":"success (retrieving archived vault details)","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"expire_month\": \"01\",\n    \"expire_year\": \"22\"\n}"},"url":{"raw":"{{url}}/v1/vault-tokens/:vault_token","host":["{{url}}"],"path":["v1","vault-tokens",":vault_token"],"variable":[{"key":"vault_token","value":"b52f1448-2a5f-447f-8a6c-c64ea8af899c"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 Aug 2024 10:55:52 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-external-duration","value":"0"},{"key":"x-retry-delay","value":"0"},{"key":"x-correlation-id","value":"0de06aed-3ac5-4d1b-836e-6232de7e28ab"},{"key":"etag","value":"W/\"3f8-xM0B/p7ofEnVP8mOUZ+eW0mHSAQ\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"vault-tokens\",\n        \"data\": {\n            \"vault_token\": \"b52f1448-2a5f-447f-8a6c-c64ea8af899c\",\n            \"updated_at\": \"2024-08-22T09:47:39.635Z\",\n            \"expire_month\": 12,\n            \"expire_year\": 2024,\n            \"card_number_last4\": \"2654\",\n            \"card_scheme\": \"visa\",\n            \"status\": \"archived\",\n            \"status_reason\": \"other\",\n            \"status_reason_description\": \"Payment source is expired.\",\n            \"status_requestor\": \"issuer\",\n            \"created_at\": \"2024-08-22T09:45:58.088Z\",\n            \"company_id\": \"6602c49d392b930259c0dca9\",\n            \"_source_ip_address\": \"::1\",\n            \"type\": \"card\",\n            \"vault_type\": \"permanent\",\n            \"card_number_bin\": \"46229431\",\n            \"email\": \"wanda.mertz@example.com\",\n            \"data_source\": \"cardholder\",\n            \"payment_account_reference\": \"V0010013024233501317036644060\",\n            \"network_tokens\": []\n        }\n    }\n}"}],"_postman_id":"4023c725-c467-45c2-a35e-be60c70013c4"},{"name":"archive","id":"4ca41a42-df96-4701-aa62-8c89da496e0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"fraud\",\n    \"requestor\": \"cardholder\",\n    \"reason_desc\": \"Deleting because of fraud\"\n}"},"url":"{{url}}/v1/vault-tokens/:vault_token","description":"<p>Archive a vault token.</p>\n<p>This request will also delete all network tokens associated with the given vault.</p>\n<h2 id=\"request-params\">Request params</h2>\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>vault_token</td>\n<td>+</td>\n<td>string (UIID)</td>\n<td>vault_token received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request body</h2>\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><code>reason</code></td>\n<td>-</td>\n<td>String(default, cardholder,fraud, or other)</td>\n<td>Machine-friendly code that explains why the vault token is being deleted.</td>\n</tr>\n<tr>\n<td><code>reason_desc</code></td>\n<td>-</td>\n<td>String(Max length = 255)</td>\n<td>Human-friendly text description that allows for a more in-depth explanation to complement the \"reason\" field.</td>\n</tr>\n<tr>\n<td><code>requestor</code></td>\n<td>-</td>\n<td>String(cardholder, merchant, issuer, or wallet)</td>\n<td>Machine-friendly code that gives insight on the type of user or system who initiated the deletion process. This is not an identifier.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","vault-tokens",":vault_token"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"bfd538f5-e4e5-43bd-871d-3ffa6db7f59a","key":"vault_token"}]}},"response":[{"id":"113e86a2-e6a3-4143-a143-44b7721dfac7","name":"archive success","originalRequest":{"method":"DELETE","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/v1/vault-tokens/:vault_token","host":["{{url}}"],"path":["v1","vault-tokens",":vault_token"],"variable":[{"key":"vault_token","value":"bfd538f5-e4e5-43bd-871d-3ffa6db7f59a"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 27 May 2020 12:01:28 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"61"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"3d-1gQorHmwozsZv9i3tVGFKw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"vault-token\"\n    }\n}"}],"_postman_id":"4ca41a42-df96-4701-aa62-8c89da496e0d"},{"name":"remove all","id":"b4ba210d-8436-4847-98b3-6959337292d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/vault/payment_sources/all","description":"<p>Remove all vaults in your company</p>\n<h2 id=\"response-body\">Response body</h2>\n<p> void</p>\n","urlObject":{"path":["v1","vault","payment_sources","all"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"de07d9a4-2399-4904-89f7-dd4f278f4bb0","name":"remove all success","originalRequest":{"method":"DELETE","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/vault/payment_sources/all"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 27 May 2020 12:02:42 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"106"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"6a-WkWkH9yxuF15B1O7gh3fNA\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"payment_sources\",\n        \"data\": [],\n        \"count\": 162,\n        \"limit\": 0,\n        \"skip\": 0\n    }\n}"}],"_postman_id":"b4ba210d-8436-4847-98b3-6959337292d3"},{"name":"get cvv","id":"adf6d918-1aad-4886-9bc4-17a5affd60a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"expire_month\": \"01\",\n    \"expire_year\": \"22\"\n}"},"url":"{{url}}/v1/vault/cvv/:vault_token","description":"<p>Get information associated with a CVV vault token</p>\n<h2 id=\"request-params\">Request params</h2>\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>vault_token</td>\n<td>+</td>\n<td>string (UIID)</td>\n<td>A CVV UIID received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","vault","cvv",":vault_token"],"host":["{{url}}"],"query":[],"variable":[{"id":"8e3fad55-af24-4be1-97ad-40dfe09b4582","type":"string","value":"9ca20eb5-c1f5-440b-a41d-86a6f612d57c","key":"vault_token"}]}},"response":[{"id":"f8802996-66c7-4543-a6df-d10a0446fbc5","name":"common","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"expire_month\": \"01\",\n    \"expire_year\": \"22\"\n}"},"url":{"raw":"{{url}}/v1/vault/cvv/:vault_token","host":["{{url}}"],"path":["v1","vault","cvv",":vault_token"],"variable":[{"key":"vault_token","value":"9ca20eb5-c1f5-440b-a41d-86a6f612d57c","type":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 04 Jun 2021 06:02:38 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":"PayDock <paydock.com>"},{"key":"etag","value":"W/\"a6-rujMoTw/vorUzI511DRvBa/HBbc\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"vault-cvv\",\n        \"data\": {\n            \"expires_at\": \"2021-06-28T00:00:00.000Z\",\n            \"vault_token_uuid\": \"9ca20eb5-c1f5-440b-a41d-86a6f612d57c\"\n        }\n    }\n}"}],"_postman_id":"adf6d918-1aad-4886-9bc4-17a5affd60a2"},{"name":"modify cvv","id":"c7e20791-29e2-4bce-9b01-0507e89dc769","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"<p>This is your PayDock API Secret Key</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","description":"<p>Content-Type will always be application/json</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"expires_at\": \"2021-06-28T00:00:00.000Z\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/vault/cvv/:vault_token","description":"<p>Modify a CVV vault token.</p>\n<h2 id=\"request-params\">Request params</h2>\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>vault_token</td>\n<td>+</td>\n<td>string (UIID)</td>\n<td>A CVV UIID received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request body</h2>\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>expires_at</td>\n<td>+1</td>\n<td>string (ISO)</td>\n<td>A card expiration date and time (should not exceed 30 days in the future since the moment the request was made)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-body\">Response body</h2>\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>uiid</td>\n<td>+</td>\n<td>string (uiid)</td>\n<td>A CVV UIID</td>\n</tr>\n<tr>\n<td>expires_at</td>\n<td>+1</td>\n<td>string (ISO)</td>\n<td>A card expiration date and time</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","vault","cvv",":vault_token"],"host":["{{url}}"],"query":[],"variable":[{"id":"9a9f42ad-4465-452f-a2fb-59b14f176b5b","type":"any","value":"9ca20eb5-c1f5-440b-a41d-86a6f612d57c","key":"vault_token"}]}},"response":[{"id":"83bf3874-af04-4c0c-9211-c0a4ab351fc3","name":"UnfulfilledCondition","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key","type":"text"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"expires_at\": \"2022-05-28T00:00:00.000Z\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/vault/cvv/:vault_token","host":["{{url}}"],"path":["v1","vault","cvv",":vault_token"],"variable":[{"key":"vault_token","value":"9ca20eb5-c1f5-440b-a41d-86a6f612d57c"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 04 Jun 2021 05:56:17 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"etag","value":"W/\"a6-M+yuhM1/Xb3PWRnvQuNhv+Le6a0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Requested expiration date cannot be more than 30 days\",\n        \"code\": \"UnfulfilledCondition\",\n        \"details\": {\n            \"path\": \"expires_at\"\n        }\n    },\n    \"resource\": {},\n    \"error_summary\": {\n        \"message\": \"Requested expiration date cannot be more than 30 days\",\n        \"code\": \"unfulfilled_condition\",\n        \"details\": {\n            \"path\": \"expires_at\",\n            \"messages\": []\n        }\n    }\n}"},{"id":"f9beb5f6-425f-4a02-b73f-8e6a2c2a2c11","name":"common","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key","type":"text"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"expires_at\": \"2021-06-28T00:00:00.000Z\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/vault/cvv/:vault_token","host":["{{url}}"],"path":["v1","vault","cvv",":vault_token"],"variable":[{"key":"vault_token","value":"9ca20eb5-c1f5-440b-a41d-86a6f612d57c"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 04 Jun 2021 05:57:30 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"etag","value":"W/\"a6-rujMoTw/vorUzI511DRvBa/HBbc\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"vault-cvv\",\n        \"data\": {\n            \"expires_at\": \"2021-06-28T00:00:00.000Z\",\n            \"vault_token_uuid\": \"9ca20eb5-c1f5-440b-a41d-86a6f612d57c\"\n        }\n    }\n}"}],"_postman_id":"c7e20791-29e2-4bce-9b01-0507e89dc769"}],"id":"a0061608-b78e-4f6a-b690-e7211bdc5d02","description":"<p>Paydock has a PCI compliant vault that lets you access and store customer payment details from all of your payment gateways. Our vault enables you to pre-fill customer card details and help your customers transact faster - regardless of the payment gateway you process transactions with.</p>\n<p>The vault is built on the Paydock infrastructure so you do not take any liabilities or data risks.</p>\n<h2 id=\"conditions\">Conditions</h2>\n<p>The response can differ depending on the payment method:</p>\n<ol>\n<li><p>credit card</p>\n</li>\n<li><p>bank account</p>\n</li>\n<li><p>Created by fetch</p>\n</li>\n</ol>\n<h2 id=\"vault-resource\">Vault resource</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required [flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>vault_token</td>\n<td>+</td>\n<td>string (UUID)</td>\n<td>A vault token</td>\n</tr>\n<tr>\n<td>vault_token_reference</td>\n<td>-</td>\n<td>string (UUID, alphanumeric, digits)</td>\n<td>A unique identifier assigned to each vault token upon creation</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>+</td>\n<td>string (ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>A vault token creation date</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>+</td>\n<td>string (ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>A date of the last vault token update</td>\n</tr>\n<tr>\n<td>archived</td>\n<td>+</td>\n<td>bool</td>\n<td>For newly created vaults, it is always <em>false</em>, it is set to <em>true</em> after manual archiving</td>\n</tr>\n<tr>\n<td>user_id</td>\n<td>-</td>\n<td>string (24 hex characters)</td>\n<td>An ID of the request initiator if the request was made by the personal token (from the dashboard)</td>\n</tr>\n<tr>\n<td>status</td>\n<td>+</td>\n<td>string</td>\n<td>An actual vault status. See the <em>status</em> table</td>\n</tr>\n<tr>\n<td>_source_ip_address</td>\n<td>+</td>\n<td>string</td>\n<td>A client's IP address</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's first name</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's last name</td>\n</tr>\n<tr>\n<td>email</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's email</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>-</td>\n<td>string(E.164)</td>\n<td>A customer's phone in the E.164 international notation (Example: +12345678901)</td>\n</tr>\n<tr>\n<td>type</td>\n<td>+</td>\n<td>string</td>\n<td>A type of the payment source. <em>card</em> is for a source with credit card, <em>bank_account</em> is for a direct debit source</td>\n</tr>\n<tr>\n<td>card_name</td>\n<td>+1</td>\n<td>string</td>\n<td>A cardholder's name (as on card)</td>\n</tr>\n<tr>\n<td>card_number_last4</td>\n<td>+1</td>\n<td>string (numeric)</td>\n<td>Card number last 4 digits</td>\n</tr>\n<tr>\n<td>card_number_bin</td>\n<td>+1</td>\n<td>string (numeric)</td>\n<td>Card BIN number</td>\n</tr>\n<tr>\n<td>card_scheme</td>\n<td>+1</td>\n<td>string</td>\n<td>A card scheme (i.g. <em>visa</em>, <em>mastercard</em> etc...)</td>\n</tr>\n<tr>\n<td>expire_month</td>\n<td>+1</td>\n<td>string (mm)</td>\n<td>A card expiration month</td>\n</tr>\n<tr>\n<td>expire_year</td>\n<td>+1</td>\n<td>string (yyyy)</td>\n<td>A card expiration year</td>\n</tr>\n<tr>\n<td>account_name</td>\n<td>+2</td>\n<td>string</td>\n<td>A customer's account name</td>\n</tr>\n<tr>\n<td>account_number</td>\n<td>+2</td>\n<td>string</td>\n<td>A customer's account number</td>\n</tr>\n<tr>\n<td>account_bsb</td>\n<td>-2</td>\n<td>string</td>\n<td>A customer's bank state branch number</td>\n</tr>\n<tr>\n<td>account_routing</td>\n<td>-2</td>\n<td>string (numeric)</td>\n<td>A customer's account number: BSB/Routing/SWIFT/IBAN Number</td>\n</tr>\n<tr>\n<td>account_holder_type</td>\n<td>-2</td>\n<td>string</td>\n<td>An account type (<em>personal</em> or <em>business</em>)</td>\n</tr>\n<tr>\n<td>account_bank_name</td>\n<td>-2</td>\n<td>string</td>\n<td>An account bank name</td>\n</tr>\n<tr>\n<td>address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's address, line 1</td>\n</tr>\n<tr>\n<td>address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's address, line 2</td>\n</tr>\n<tr>\n<td>address_state</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's address, state</td>\n</tr>\n<tr>\n<td>address_country</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's address, country code</td>\n</tr>\n<tr>\n<td>address_city</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's address, city</td>\n</tr>\n<tr>\n<td>address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>A customer's address, postcode</td>\n</tr>\n<tr>\n<td>fetch_id</td>\n<td>+3</td>\n<td>string (24 hex characters)</td>\n<td>ID of existing fetch that created the vault token</td>\n</tr>\n<tr>\n<td>payment_account_reference</td>\n<td>-</td>\n<td>string</td>\n<td>Payment Account Reference (PAR) is a non-financial reference value assigned to each  <br />unique PAN to link a Payment Account represented by PAN and its affiliated Tokens.</td>\n</tr>\n<tr>\n<td>data_source</td>\n<td>-</td>\n<td>string</td>\n<td>Possible values:  <br /><code>cardholder, stored</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"status\">Status</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>status</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>active</td>\n<td>A default status after creating</td>\n</tr>\n<tr>\n<td>archived</td>\n<td>A status after the vault token is manually archived</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"fcf214cc-8b5e-4d37-be3a-cfbfd9bbc31a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c6f3673d-a5aa-4a73-8735-e72fb72bff09","type":"text/javascript","exec":[""]}}],"_postman_id":"a0061608-b78e-4f6a-b690-e7211bdc5d02"},{"name":"notifications","item":[{"name":"logs","item":[{"name":"search logs","id":"191c4375-a16d-448b-abae-286a7d9a470d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/notifications/logs","description":"<p>Retrieve list of all notifications, with parameter list.</p>\n<h2 id=\"request-query-params\">Request query params</h2>\n<p><strong>Pagination</strong></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>skip</td>\n<td>-</td>\n<td>number</td>\n<td>Pagination parameter to skip first n subscriptions from list, default = 0</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>-</td>\n<td>number</td>\n<td>Pagination parameter to limit output to n , default = 100 , maximum value = 1000</td>\n</tr>\n<tr>\n<td>sortkey</td>\n<td>-</td>\n<td>string</td>\n<td>Sorting key parameter i.e. created_at</td>\n</tr>\n<tr>\n<td>sortdirection</td>\n<td>-</td>\n<td>string</td>\n<td>Sorting order direction parameter <em>ASC</em> or <em>DESC</em> (<em>DESC</em> by default)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Filters</strong></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>archived</td>\n<td>-</td>\n<td>bool</td>\n<td>Set to <em>true</em> to show all the archived notification logs. Default: <em>false</em></td>\n</tr>\n<tr>\n<td>success</td>\n<td>-</td>\n<td>bool</td>\n<td>Parameter to filter success or failed notifications. Values: <em>true</em>/<em>false</em></td>\n</tr>\n<tr>\n<td>event</td>\n<td>-</td>\n<td>string</td>\n<td>Parameter to filter notification events. Values: <em>transaction_success</em>, <em>transaction_failure</em>, <em>subscription_transaction</em>, <em>subscription_transaction_failure</em>, *subscription_creation_success *, <em>subscription_creation_failure</em>, <em>subscription_updated</em>, <em>subscription_finished</em>, <em>subscription_failed</em>, <em>refund_requested</em>, <em>refund_successful</em>, <em>refund_failure</em>, <em>card_expiration_warning</em>, <em>transfer_pending</em>, <em>transfer_requested</em>, <em>transfer_partially_approved</em>, <em>transfer_partially_declined</em>, <em>transfer_declined</em>, <em>transfer_approved</em></td>\n</tr>\n<tr>\n<td>parent_id</td>\n<td>-</td>\n<td>string (24 hex characters)</td>\n<td>Used to search for notifications that have been resent, represents the id of the failed notification</td>\n</tr>\n<tr>\n<td>destination</td>\n<td>-</td>\n<td>string</td>\n<td>Shows email address or webhook URL.</td>\n</tr>\n<tr>\n<td>type</td>\n<td>-</td>\n<td>string</td>\n<td>Parameter to filter notification by type. Values: <em>email</em>, <em>webhook</em></td>\n</tr>\n<tr>\n<td>relation_id</td>\n<td>-</td>\n<td>string (24 hex characters)</td>\n<td>Related Subscription/Charge/Transaction ID</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Other</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>created_at.from</td>\n<td>-</td>\n<td>string(ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>Parameter to filter notifications date range. Format: ISO 8601 (yyyy-mm-ddThh:mm:ss.sssZ) or short type of date (yyyy-mm-dd) or specify time offsets from UTC (yyyy-mm-ddThh:mm:ss+hh:mm)</td>\n</tr>\n<tr>\n<td>created_at.to</td>\n<td>-</td>\n<td>string(ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>Parameter to filter notifications date range. Format: ISO 8601 (yyyy-mm-ddThh:mm:ss.sssZ) or short type of date (yyyy-mm-dd) or specify time offsets from UTC (yyyy-mm-ddThh:mm:ss+hh:mm)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","notifications","logs"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"11cc6a2d-f902-45e2-8a82-bcbcc883fbe8","name":"search logs by type","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/notifications/logs?type=email&limit=2","host":["{{url}}"],"path":["v1","notifications","logs"],"query":[{"key":"type","value":"email"},{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 11:27:56 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"862"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"35e-h8UxC6yhVgK5wHEl5N+sdg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification_logs\",\n        \"data\": [\n            {\n                \"_id\": \"5f58a2e184fcc97544c4d23b\",\n                \"created_at\": \"2020-09-09T09:39:45.448Z\",\n                \"success\": false,\n                \"type\": \"email\",\n                \"destination\": \"wanda.mertz@example.com\",\n                \"_object_id\": \"5f58a2dc84fcc97544c4d238\",\n                \"notification_id\": \"5ebe7c9e2da56d524c66edf9\",\n                \"template_id\": \"5ebe7c762da56d524c66edf8\",\n                \"parent_id\": null,\n                \"event\": \"transaction_success\",\n                \"response_status\": null,\n                \"status\": \"processing\",\n                \"archived\": false\n            },\n            {\n                \"_id\": \"5f579671207335153de3e9e1\",\n                \"created_at\": \"2020-09-08T14:34:25.628Z\",\n                \"success\": false,\n                \"type\": \"email\",\n                \"destination\": \"wanda.mertz@example.com\",\n                \"_object_id\": \"5f57966d207335153de3e9de\",\n                \"notification_id\": \"5ebe7c9e2da56d524c66edf9\",\n                \"template_id\": \"5ebe7c762da56d524c66edf8\",\n                \"parent_id\": null,\n                \"event\": \"transaction_success\",\n                \"response_status\": null,\n                \"status\": \"processing\",\n                \"archived\": false\n            }\n        ],\n        \"count\": 77,\n        \"limit\": 2,\n        \"skip\": 0\n    }\n}"},{"id":"17c34b13-5a89-4e02-bfdf-fbc2ec312afe","name":"search logs","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":"{{url}}/v1/notifications/logs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 10:58:22 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"36967"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"9067-Qm7YuhzXNn77ZsuD9xawJg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification_logs\",\n        \"data\": [\n            {\n                \"_id\": \"5f58a2e184fcc97544c4d23b\",\n                \"created_at\": \"2020-09-09T09:39:45.448Z\",\n                \"success\": false,\n                \"type\": \"email\",\n                \"destination\": \"carlie.kuvalis@example.com\",\n                \"_object_id\": \"5f58a2dc84fcc97544c4d238\",\n                \"notification_id\": \"5ebe7c9e2da56d524c66edf9\",\n                \"template_id\": \"5ebe7c762da56d524c66edf8\",\n                \"parent_id\": null,\n                \"event\": \"transaction_success\",\n                \"response_status\": null,\n                \"status\": \"processing\",\n                \"archived\": false\n            },\n            {\n                \"_id\": \"5f58a2e084fcc97544c4d23a\",\n                \"created_at\": \"2020-09-09T09:39:44.944Z\",\n                \"success\": true,\n                \"type\": \"webhook\",\n                \"destination\": \"http://konopelski.kuvalis.group.biz\",\n                \"_object_id\": \"5f58a2dc84fcc97544c4d238\",\n                \"notification_id\": \"5e4b915bcd34da6dde6d1615\",\n                \"parent_id\": null,\n                \"event\": \"transaction_success\",\n                \"response_status\": \"200\",\n                \"status\": \"complete\",\n                \"archived\": false\n            },\n            {\n                \"_id\": \"5f5796ca207335153de3e9e3\",\n                \"created_at\": \"2020-09-08T14:35:54.278Z\",\n                \"success\": false,\n                \"type\": \"email\",\n                \"destination\": \"carlie.kuvalis@example.com\",\n                \"_object_id\": \"5f579661207335153de3e9da\",\n                \"notification_id\": \"5ebe7c9e2da56d524c66edf9\",\n                \"template_id\": \"5ebe7c762da56d524c66edf8\",\n                \"parent_id\": null,\n                \"event\": \"transaction_success\",\n                \"response_status\": null,\n                \"status\": \"processing\",\n                \"archived\": false\n            }\n        ],\n        \"count\": 3,\n        \"limit\": 100,\n        \"skip\": 0\n    }\n}"},{"id":"9fa0c6e8-940a-4fef-b0e4-0fd3e153f9b6","name":"search logs with pagination","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/notifications/logs?skip=2&limit=2","host":["{{url}}"],"path":["v1","notifications","logs"],"query":[{"key":"skip","value":"2"},{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 11:11:14 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"839"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"347-H7qmAvM3S/vEpn6Dq14hbw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification_logs\",\n        \"data\": [\n            {\n                \"_id\": \"5f5796ca207335153de3e9e3\",\n                \"created_at\": \"2020-09-08T14:35:54.278Z\",\n                \"success\": false,\n                \"type\": \"email\",\n                \"destination\": \"wanda.mertz@example.com\",\n                \"_object_id\": \"5f579661207335153de3e9da\",\n                \"notification_id\": \"5ebe7c9e2da56d524c66edf9\",\n                \"template_id\": \"5ebe7c762da56d524c66edf8\",\n                \"parent_id\": null,\n                \"event\": \"transaction_success\",\n                \"response_status\": null,\n                \"status\": \"processing\",\n                \"archived\": false\n            },\n            {\n                \"_id\": \"5f5796c7207335153de3e9e2\",\n                \"created_at\": \"2020-09-08T14:35:51.295Z\",\n                \"success\": true,\n                \"type\": \"webhook\",\n                \"destination\": \"http://hahn.mertz.llc.biz\",\n                \"_object_id\": \"5f579661207335153de3e9da\",\n                \"notification_id\": \"5e4b915bcd34da6dde6d1615\",\n                \"parent_id\": null,\n                \"event\": \"transaction_success\",\n                \"response_status\": \"200\",\n                \"status\": \"complete\",\n                \"archived\": false\n            }\n        ],\n        \"count\": 160,\n        \"limit\": 2,\n        \"skip\": 2\n    }\n}"},{"id":"a3438cec-22f1-44ae-b599-99a30ed026d0","name":"search logs by success","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/notifications/logs?success=false","host":["{{url}}"],"path":["v1","notifications","logs"],"query":[{"key":"success","value":"false"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 11:26:41 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"862"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"35e-N+SbtlEZay8sxi/AUhrLvQ\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification_logs\",\n        \"data\": [\n            {\n                \"_id\": \"5f58a2e184fcc97544c4d23b\",\n                \"created_at\": \"2020-09-09T09:39:45.448Z\",\n                \"success\": false,\n                \"type\": \"email\",\n                \"destination\": \"carlie.kuvalis@example.com\",\n                \"_object_id\": \"5f58a2dc84fcc97544c4d238\",\n                \"notification_id\": \"5ebe7c9e2da56d524c66edf9\",\n                \"template_id\": \"5ebe7c762da56d524c66edf8\",\n                \"parent_id\": null,\n                \"event\": \"transaction_success\",\n                \"response_status\": null,\n                \"status\": \"processing\",\n                \"archived\": false\n            },\n            {\n                \"_id\": \"5f579671207335153de3e9e1\",\n                \"created_at\": \"2020-09-08T14:34:25.628Z\",\n                \"success\": false,\n                \"type\": \"email\",\n                \"destination\": \"carlie.kuvalis@example.com\",\n                \"_object_id\": \"5f57966d207335153de3e9de\",\n                \"notification_id\": \"5ebe7c9e2da56d524c66edf9\",\n                \"template_id\": \"5ebe7c762da56d524c66edf8\",\n                \"parent_id\": null,\n                \"event\": \"transaction_success\",\n                \"response_status\": null,\n                \"status\": \"processing\",\n                \"archived\": false\n            }\n        ],\n        \"count\": 81,\n        \"limit\": 2,\n        \"skip\": 0\n    }\n}"},{"id":"e7c4dc45-3a2b-43a5-86aa-3947cec6d410","name":"search logs by archived","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/notifications/logs?archived=true","host":["{{url}}"],"path":["v1","notifications","logs"],"query":[{"key":"archived","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 11:12:57 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"484"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"1e4-73MK0/LEmFuTqt29YX3t0A\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification_logs\",\n        \"data\": [\n            {\n                \"_id\": \"5f5796ca207335153de3e9e3\",\n                \"created_at\": \"2020-09-08T14:35:54.278Z\",\n                \"success\": false,\n                \"type\": \"email\",\n                \"destination\": \"wanda.mertz@example.com\",\n                \"_object_id\": \"5f579661207335153de3e9da\",\n                \"notification_id\": \"5ebe7c9e2da56d524c66edf9\",\n                \"template_id\": \"5ebe7c762da56d524c66edf8\",\n                \"parent_id\": null,\n                \"event\": \"transaction_success\",\n                \"response_status\": null,\n                \"status\": \"processing\",\n                \"archived\": true\n            }\n        ],\n        \"count\": 1,\n        \"limit\": 100,\n        \"skip\": 0\n    }\n}"},{"id":"ba070a33-f596-4fe0-81eb-ada3b3cd0e85","name":"search logs by parent Id","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/notifications/logs?parent_id=5f5789d2ca97750b32ecdd54","host":["{{url}}"],"path":["v1","notifications","logs"],"query":[{"key":"parent_id","value":"5f5789d2ca97750b32ecdd54"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 11:30:04 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"507"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"1fb-6d6qv0z1nP64vu5BUR8G2g\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification_logs\",\n        \"data\": [\n            {\n                \"_id\": \"5f5789d5e2f9bf184bcd2062\",\n                \"parent_root_id\": \"5f5789d2ca97750b32ecdd54\",\n                \"created_at\": \"2020-09-08T13:40:37.604Z\",\n                \"parent_id\": \"5f5789d2ca97750b32ecdd54\",\n                \"type\": \"webhook\",\n                \"destination\": \"http://hahn.mertz.llc.biz\",\n                \"_object_id\": \"5f5789cbca97750b32ecdd52\",\n                \"notification_id\": \"5e4b915bcd34da6dde6d1615\",\n                \"event\": \"transaction_success\",\n                \"response_status\": \"200\",\n                \"success\": true,\n                \"archived\": false\n            }\n        ],\n        \"count\": 1,\n        \"limit\": 100,\n        \"skip\": 0\n    }\n}"},{"id":"ff5305f4-c962-4664-a5a3-c821e372764c","name":"search logs by relation Id","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/notifications/logs?relation_id=5f57966d207335153de3e9de","host":["{{url}}"],"path":["v1","notifications","logs"],"query":[{"key":"relation_id","value":"5f57966d207335153de3e9de"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 11:28:46 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"839"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"347-pxLEeOVhQ3f96d3gkq0mgQ\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification_logs\",\n        \"data\": [\n            {\n                \"_id\": \"5f579671207335153de3e9e1\",\n                \"created_at\": \"2020-09-08T14:34:25.628Z\",\n                \"success\": false,\n                \"type\": \"email\",\n                \"destination\": \"carlie.kuvalis@example.com\",\n                \"_object_id\": \"5f57966d207335153de3e9de\",\n                \"notification_id\": \"5ebe7c9e2da56d524c66edf9\",\n                \"template_id\": \"5ebe7c762da56d524c66edf8\",\n                \"parent_id\": null,\n                \"event\": \"transaction_success\",\n                \"response_status\": null,\n                \"status\": \"processing\",\n                \"archived\": false\n            },\n            {\n                \"_id\": \"5f579671207335153de3e9e0\",\n                \"created_at\": \"2020-09-08T14:34:25.265Z\",\n                \"success\": true,\n                \"type\": \"webhook\",\n                \"destination\": \"http://konopelski.kuvalis.group.biz\",\n                \"_object_id\": \"5f57966d207335153de3e9de\",\n                \"notification_id\": \"5e4b915bcd34da6dde6d1615\",\n                \"parent_id\": null,\n                \"event\": \"transaction_success\",\n                \"response_status\": \"200\",\n                \"status\": \"complete\",\n                \"archived\": false\n            }\n        ],\n        \"count\": 2,\n        \"limit\": 100,\n        \"skip\": 0\n    }\n}"}],"_postman_id":"191c4375-a16d-448b-abae-286a7d9a470d"},{"name":"get log","id":"6562a5c2-9efb-4ddb-87bb-b96af9471c71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/notifications/logs?_id=5f5789d5e2f9bf184bcd2062","description":"<p>Get specific notification log by log id.</p>\n<h2 id=\"request-query-params\">Request query params</h2>\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>_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","notifications","logs"],"host":["{{url}}"],"query":[{"key":"_id","value":"5f5789d5e2f9bf184bcd2062"}],"variable":[]}},"response":[{"id":"3b4c65eb-35eb-4a0d-9303-d170e6f60434","name":"get log","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/notifications/logs?_id=5f5789d5e2f9bf184bcd2062","host":["{{url}}"],"path":["v1","notifications","logs"],"query":[{"key":"_id","value":"5f5789d5e2f9bf184bcd2062"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 13:26:04 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"473"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"1d9-AuXZfYlgB5tmAWrD9zOetw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification_log\",\n        \"data\": {\n            \"_id\": \"5f5789d5e2f9bf184bcd2062\",\n            \"parent_root_id\": \"5f5789d2ca97750b32ecdd54\",\n            \"created_at\": \"2020-09-08T13:40:37.604Z\",\n            \"parent_id\": \"5f5789d2ca97750b32ecdd54\",\n            \"type\": \"webhook\",\n            \"destination\": \"http://hahn.mertz.llc.biz\",\n            \"_object_id\": \"5f5789cbca97750b32ecdd52\",\n            \"notification_id\": \"5e4b915bcd34da6dde6d1615\",\n            \"event\": \"transaction_success\",\n            \"response_status\": \"200\",\n            \"success\": true,\n            \"archived\": false\n        }\n    }\n}"}],"_postman_id":"6562a5c2-9efb-4ddb-87bb-b96af9471c71"},{"name":"archive log","id":"0aa6457a-8fb1-4ebb-bdf5-c2f6f48deeb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/notifications/logs/:id","description":"<p>Archive a notification log.</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","notifications","logs",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"929d1bce-c0f4-41e0-bec6-54779b60072a","type":"string","value":"5f5789d5e2f9bf184bcd2062","key":"id"}]}},"response":[{"id":"b40b8d73-497a-4828-b6dc-d580f3df707e","name":"archive log","originalRequest":{"method":"DELETE","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"label\": \"Sms first template\",\n\t\"notification_event\": \"transaction_failure\",\n\t\"body\": \"Charge {{CHARGE_ID}} with {{AMOUNT}} {{CURRENCY}} edited\",\n\t\"destination\": \"{{{PHONE}}}\",\n\t\"type\": \"sms\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/notifications/logs/:id","host":["{{url}}"],"path":["v1","notifications","logs",":id"],"variable":[{"key":"id","value":"5f5789d5e2f9bf184bcd2062"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 19:34:18 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"510"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"1fe-dxG/MldOgCcdVMUtbYf0bA\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"charge\",\n        \"data\": {\n            \"_id\": \"5f5789d5e2f9bf184bcd2062\",\n            \"parent_root_id\": \"5f5789d2ca97750b32ecdd54\",\n            \"created_at\": \"2020-09-08T13:40:37.604Z\",\n            \"parent_id\": \"5f5789d2ca97750b32ecdd54\",\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"type\": \"webhook\",\n            \"destination\": \"http://hahn.mertz.llc.biz\",\n            \"_object_id\": \"5f5789cbca97750b32ecdd52\",\n            \"notification_id\": \"5e4b915bcd34da6dde6d1615\",\n            \"event\": \"transaction_success\",\n            \"__v\": 0,\n            \"response_status\": \"200\",\n            \"success\": true,\n            \"archived\": true\n        }\n    }\n}"}],"_postman_id":"0aa6457a-8fb1-4ebb-bdf5-c2f6f48deeb7"}],"id":"95b2e97d-095b-4b22-a2d9-cf9987736763","description":"<p>Logs generating automatically after sending notification.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"0886d43f-08bd-4890-8e85-87befa992b8b"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"7e7c296d-c31f-489b-b912-93d34325a939"}}],"_postman_id":"95b2e97d-095b-4b22-a2d9-cf9987736763"},{"name":"templates","item":[{"name":"create template","id":"f5f5f5a1-6147-4154-a272-b80d60378943","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"html\": false,\n  \"type\": \"message\",\n  \"label\": \"The template for transactions\",\n  \"notification_event\": \"transaction_success\",\n  \"body\": \"Charge {{CHARGE_ID}} with {{AMOUNT}} {{CURRENCY}} created.\"\n}"},"url":"{{url}}/v1/notifications/templates","description":"<p>Create a notification template (available for email, sms and webhook notifications types).</p>\n<h2 id=\"request-body\">Request body</h2>\n<p>Note:</p>\n<p>* If the <strong>type</strong> is <em>message</em> and the <strong>html</strong> is <em>true</em> the <strong>body</strong> will be validated on the valid html format.<br />* If the <strong>type</strong> is <em>message</em> and the <strong>html</strong> is <em>false</em> the <strong>body</strong> will be considered as plain text.<br />* If the <strong>type</strong> is <em>fields</em> and the <strong>html</strong> is <em>true</em> then an error will occur (incompatible values).</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>body</td>\n<td>+</td>\n<td>string</td>\n<td>Use custom text or/and predefined variables, in which PayDock automatically pulls values from customer, charge or subscription data objects.</td>\n</tr>\n<tr>\n<td>label</td>\n<td>+</td>\n<td>string</td>\n<td>Name of current template to identify it further</td>\n</tr>\n<tr>\n<td>html</td>\n<td>-</td>\n<td>bool</td>\n<td>Body could be in html or plain text format. Allowed values <em>true</em>, <em>false</em>, default is <em>false</em></td>\n</tr>\n<tr>\n<td>type</td>\n<td>-</td>\n<td>string</td>\n<td>Allowed values: <em>message</em>, <em>fields</em>. Default is <em>message</em></td>\n</tr>\n<tr>\n<td>notification_event</td>\n<td>+</td>\n<td>string</td>\n<td>Event to trigger notification. Look at the <em>Event</em> table</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","notifications","templates"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"95b8293f-ec53-497b-a740-ee529636624a","name":"create the html template","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"The template for transactions\",\n    \"notification_event\": \"transaction_success\",\n    \"body\": \"<p>Charge <b>{{CHARGE_ID}}</b> with {{AMOUNT}} {{CURRENCY}} created.</p>\",\n    \"type\": \"message\",\n    \"html\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/notifications/templates"},"status":"Created","code":201,"_postman_previewlanguage":"Text","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 13:54:17 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"328"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"148-DtFNeIzjuQmpdWP7T/H0Tg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification-templates\",\n        \"data\": {\n            \"_id\": \"635a5ab84daae13a18f84731\",\n            \"created_at\": \"2022-10-27T10:17:28.084Z\",\n            \"updated_at\": \"2022-10-27T10:17:28.084Z\",\n            \"scope_id\": \"618d2c188a08786a53572f22\",\n            \"scope\": \"company\",\n            \"archived\": false,\n            \"html\": true,\n            \"body\": \"<p>Charge <b>{{CHARGE_ID}}</b> with {{AMOUNT}} {{CURRENCY}} created.</p>\",\n            \"label\": \"The template for transactions\",\n            \"notification_event\": \"transaction_success\",\n            \"type\": \"message\"\n        }\n    }\n}"},{"id":"7b14c62d-cfff-4128-9240-24222fcb1b61","name":"create the plain text template","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"The template for transactions\",\n    \"notification_event\": \"transaction_success\",\n    \"body\": \"Charge {{CHARGE_ID}} with {{AMOUNT}} {{CURRENCY}} created.\",\n    \"type\": \"message\",\n    \"html\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/notifications/templates"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 13:54:17 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"328"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"148-DtFNeIzjuQmpdWP7T/H0Tg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification-templates\",\n        \"data\": {\n            \"_id\": \"635a5ab84daae13a18f84731\",\n            \"created_at\": \"2022-10-27T10:17:28.084Z\",\n            \"updated_at\": \"2022-10-27T10:17:28.084Z\",\n            \"scope_id\": \"618d2c188a08786a53572f22\",\n            \"scope\": \"company\",\n            \"archived\": false,\n            \"html\": false,\n            \"body\": \"Charge {{CHARGE_ID}} with {{AMOUNT}} {{CURRENCY}} created.\",\n            \"label\": \"The template for transactions\",\n            \"notification_event\": \"transaction_success\",\n            \"type\": \"message\"\n        }\n    }\n}"},{"id":"1eee06ea-4dbd-4311-a8c3-62e833fa68c1","name":"create the fields template","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"type\": \"fields\",\n    \"label\": \"The template for transactions\",\n    \"notification_event\": \"transaction_success\",\n    \"body\": \"_id,transfer,type,updated_at,user_id,_3ds,_source_ip_address,amount\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/notifications/templates"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 13:54:17 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"328"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"148-DtFNeIzjuQmpdWP7T/H0Tg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": 201,\n  \"error\": null,\n  \"resource\": {\n    \"type\": \"notification-templates\",\n    \"data\": {\n      \"_id\": \"635a5bc14daae13a18f847e0\",\n      \"created_at\": \"2022-10-27T10:21:53.930Z\",\n      \"updated_at\": \"2022-10-27T10:21:53.930Z\",\n      \"scope_id\": \"618d2c188a08786a53572f22\",\n      \"scope\": \"company\",\n      \"archived\": false,\n      \"html\": false,\n      \"body\": [\n        \"_id\",\n        \"transfer\",\n        \"type\",\n        \"updated_at\",\n        \"user_id\",\n        \"_3ds\",\n        \"_source_ip_address\",\n        \"amount\"\n      ],\n      \"label\": \"The template for transactions\",\n      \"notification_event\": \"transaction_success\",\n      \"type\": \"fields\"\n    }\n  }\n}"}],"_postman_id":"f5f5f5a1-6147-4154-a272-b80d60378943"},{"name":"search templates","id":"716579df-da5a-403c-b153-cd7a3642ba4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/notifications/templates","description":"<p>Returns notification templates limited to 100.</p>\n<h2 id=\"request-query-params\">Request query params</h2>\n<p><strong>Pagination</strong></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>skip</td>\n<td>-</td>\n<td>number</td>\n<td>Pagination parameter to skip first n subscriptions from list, default = 0</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>-</td>\n<td>number</td>\n<td>Pagination parameter to limit output to n , default = 100 , maximum value = 1000</td>\n</tr>\n<tr>\n<td>sortkey</td>\n<td>-</td>\n<td>string</td>\n<td>Sorting key parameter i.e. created_at</td>\n</tr>\n<tr>\n<td>sortdirection</td>\n<td>-</td>\n<td>string</td>\n<td>Sorting order direction parameter <em>ASC</em> or <em>DESC</em> (<em>DESC</em> by default)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Filters</strong></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>html</td>\n<td>-</td>\n<td>bool</td>\n<td><em>true</em> or <em>false</em></td>\n</tr>\n<tr>\n<td>notification_event</td>\n<td>-</td>\n<td>string</td>\n<td>Event name</td>\n</tr>\n<tr>\n<td>type</td>\n<td>-</td>\n<td>string</td>\n<td>Allowed values: message, fields.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Other</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>created_at.from</td>\n<td>-</td>\n<td>string(ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>Parameter to filter notifications date range. Format: ISO 8601 (yyyy-mm-ddThh:mm:ss.sssZ) or short type of date (yyyy-mm-dd) or specify time offsets from UTC (yyyy-mm-ddThh:mm:ss+hh:mm)</td>\n</tr>\n<tr>\n<td>created_at.to</td>\n<td>-</td>\n<td>string(ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>Parameter to filter notifications date range. Format: ISO 8601 (yyyy-mm-ddThh:mm:ss.sssZ) or short type of date (yyyy-mm-dd) or specify time offsets from UTC (yyyy-mm-ddThh:mm:ss+hh:mm)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","notifications","templates"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"da5abe03-02a6-4630-9cd8-94b29553050f","name":"search templates by html","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"url":{"raw":"{{url}}/v1/notifications/templates?html=false","host":["{{url}}"],"path":["v1","notifications","templates"],"query":[{"key":"html","value":"false"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 10:57:28 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"351"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"15f-FuSvCU0/O+A9JhGMA+5oAg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification-templates\",\n        \"data\": [\n            {\n                \"_id\": \"5f588d954d9f505928aca283\",\n                \"created_at\": \"2020-09-09T08:08:53.962Z\",\n                \"updated_at\": \"2020-09-09T08:08:53.962Z\",\n                \"html\": false,\n                \"notification_event\": \"subscription_failed\",\n                \"body\": \"O)lol {{EMAIL}} {{AMOUNT}}{{CUSTOMER_REFERENCE}}\",\n                \"label\": \"Sms template\"\n            }\n        ],\n        \"count\": 1,\n        \"limit\": 100,\n        \"skip\": 0\n    }\n}"},{"id":"535f3390-5e0e-4293-a718-ec051258a2e5","name":"search templates by type","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"url":{"raw":"{{url}}/v1/notifications/templates?type=fields","host":["{{url}}"],"path":["v1","notifications","templates"],"query":[{"key":"type","value":"fields"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 10:57:28 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"351"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"15f-FuSvCU0/O+A9JhGMA+5oAg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification-templates\",\n        \"data\": [\n            {\n                \"_id\": \"635a5bc14daae13a18f847e0\",\n                \"created_at\": \"2022-10-27T10:21:53.930Z\",\n                \"updated_at\": \"2022-10-27T10:21:53.930Z\",\n                \"scope_id\": \"618d2c188a08786a53572f22\",\n                \"scope\": \"company\",\n                \"archived\": false,\n                \"html\": false,\n                \"body\": [\n                    \"_id\",\n                    \"transfer\",\n                    \"type\",\n                    \"updated_at\",\n                    \"user_id\",\n                    \"_3ds\",\n                    \"_source_ip_address\",\n                    \"amount\"\n                ],\n                \"label\": \"The template for transactions\",\n                \"notification_event\": \"transaction_success\",\n                \"type\": \"fields\"\n            },\n            {\n                \"_id\": \"635a5b964daae13a18f847b5\",\n                \"created_at\": \"2022-10-27T10:21:10.043Z\",\n                \"updated_at\": \"2022-10-27T10:21:10.043Z\",\n                \"scope_id\": \"618d2c188a08786a53572f22\",\n                \"scope\": \"company\",\n                \"archived\": false,\n                \"html\": false,\n                \"body\": [\n                    \"_id\",\n                    \"logs_migrated\",\n                    \"customer\",\n                    \"customer.customer_id\",\n                    \"customer.first_name\",\n                    \"customer.last_name\",\n                    \"customer.email\",\n                    \"customer.phone\",\n                    \"customer.phone2\",\n                    \"customer.reference\",\n                    \"customer.company_name\",\n                    \"customer.payment_source\",\n                    \"customer.payment_source.source_id\",\n                    \"customer.payment_source.type\",\n                    \"customer.payment_source.wallet_type\",\n                    \"customer.payment_source.card_name\",\n                    \"customer.payment_source.card_number_last4\",\n                    \"customer.payment_source.card_number_bin\",\n                    \"customer.payment_source.card_number_length\",\n                    \"customer.payment_source.card_number_hash_uuid\",\n                    \"customer.payment_source.card_scheme\",\n                    \"customer.payment_source.account_name\",\n                    \"customer.payment_source.account_bsb\",\n                    \"customer.payment_source.account_number\",\n                    \"customer.payment_source.account_routing\",\n                    \"customer.payment_source.account_type\",\n                    \"customer.payment_source.account_holder_type\",\n                    \"customer.payment_source.account_bank_name\",\n                    \"customer.payment_source.status\",\n                    \"customer.payment_source.expire_month\",\n                    \"customer.payment_source.expire_year\",\n                    \"customer.payment_source.address_line1\",\n                    \"customer.payment_source.address_line2\",\n                    \"customer.payment_source.address_line3\",\n                    \"customer.payment_source.address_city\",\n                    \"customer.payment_source.address_postcode\",\n                    \"customer.payment_source.address_state\",\n                    \"customer.payment_source.address_country\",\n                    \"customer.payment_source.gateway_id\",\n                    \"customer.payment_source.gateway_type\",\n                    \"customer.payment_source.gateway_name\",\n                    \"customer.payment_source.checkout_email\",\n                    \"customer.payment_source.checkout_holder\",\n                    \"customer.payment_source.external_payer_id\",\n                    \"customer.payment_source.ref_token\",\n                    \"customer.payment_source.vault_token\"\n                ],\n                \"label\": \"The template for transactions\",\n                \"notification_event\": \"transaction_success\",\n                \"type\": \"fields\"\n            }\n        ],\n        \"skip\": 0,\n        \"limit\": 100,\n        \"count\": 2\n    }\n}"},{"id":"4d4b2f1b-03b5-4777-bc25-9d08b993bfe0","name":"search templates","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"url":"{{url}}/v1/notifications/templates"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 10:50:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"6125"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"17ed-XhgwzEoRJVYiDfWH3m6UWA\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification-templates\",\n        \"data\": [\n            {\n                \"_id\": \"5f588d954d9f505928aca283\",\n                \"created_at\": \"2020-09-09T08:08:53.962Z\",\n                \"updated_at\": \"2020-09-09T08:08:53.962Z\",\n                \"html\": false,\n                \"notification_event\": \"subscription_failed\",\n                \"body\": \"O)lol {{EMAIL}} {{AMOUNT}}{{CUSTOMER_REFERENCE}}\",\n                \"label\": \"Sms template\"\n            },\n            {\n                \"_id\": \"5ebe7c762da56d524c66edf8\",\n                \"created_at\": \"2020-05-15T11:26:46.180Z\",\n                \"updated_at\": \"2020-05-15T11:26:46.180Z\",\n                \"html\": true,\n                \"notification_event\": \"transaction_success\",\n                \"body\": \"test {{ brand }}\",\n                \"label\": \"Test brand\"\n            },\n            {\n                \"_id\": \"5eb3f746cf13724d2da45bf2\",\n                \"created_at\": \"2020-05-07T11:55:50.361Z\",\n                \"updated_at\": \"2020-05-07T11:55:50.361Z\",\n                \"html\": true,\n                \"notification_event\": \"transaction_success\",\n                \"body\": \"<!DOCTYPE html>\\n<html pattern-id=\\\"general\\\">\\n<head>\\n\\t<meta charset=\\\"utf-8\\\">\\n\\t<meta name=\\\"viewport\\\" content=\\\"width=device-width, initial-scale=1.0\\\">\\n\\t<meta http-equiv=\\\"X-UA-Compatible\\\" content=\\\"IE=edge\\\">\\n\\t<title></title>\\n\\n\\t<!--hack for Outlook-->\\n\\t<style type=\\\"text/css\\\">\\n\\t\\t.im {\\n\\t\\t\\tcolor: #000000 !important;\\n\\t\\t}\\n\\n\\t</style>\\n\\n</head>\\n\\n<body align=\\\"center\\\" style=\\\"margin: 0;\\n             padding: 0;\\n             color: #000000;\\\">\\n\\n<!--MAIN TABLE-->\\n\\n<table border=\\\"0\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" width=\\\"100%\\\" height=\\\"100%\\\" style=\\\"margin: 0;\\n              padding: 0;\\\">\\n\\t<tr style=\\\"height: 100%\\\">\\n\\n\\t\\t<td align=\\\"center\\\" style=\\\"margin: 0 auto;\\n                   padding: 0;\\\">\\n\\n\\n\\t\\t\\t<!--BODY TABLE-->\\n\\t\\t\\t<table border=\\\"0\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" width=\\\"100%\\\" style=\\\"margin: 0;\\n                    padding: 0;\\\">\\n\\n\\t\\t\\t\\t<!--LOGO & MOTTO-->\\n\\n\\t\\t\\t\\t<tr>\\n\\t\\t\\t\\t\\t<td style=\\\"margin: 0;\\n                       padding: 0;\\\">\\n\\t\\t\\t\\t\\t\\t<table border=\\\"0\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" width=\\\"100%\\\" height=\\\"100%\\\" style=\\\"\\tmargin: 0;\\n                          \\t\\t\\t\\tpadding: 0;\\\">\\n\\n\\t\\t\\t\\t\\t\\t\\t<tr>\\n\\t\\t\\t\\t\\t\\t\\t\\t<td style=\\\"\\theight: 20px;\\n                           \\t\\t\\t\\t  \\tmargin: 0;\\n                           \\t\\t\\t\\t\\tpadding: 0;\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t&#xA0;\\n\\t\\t\\t\\t\\t\\t\\t\\t</td>\\n\\t\\t\\t\\t\\t\\t\\t</tr>\\n\\t\\t\\t\\t\\t\\t</table>\\n\\t\\t\\t\\t\\t</td>\\n\\t\\t\\t\\t</tr>\\n\\t\\t\\t\\t<tr>\\n\\t\\t\\t\\t\\t<td style=\\\"\\tmargin: 0;\\n                      \\t\\t\\tpadding: 0;\\\">\\n\\t\\t\\t\\t\\t\\t<table align=\\\"center\\\" border=\\\"0\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" max-width=\\\"480px\\\" height=\\\"100%\\\" style=\\\"\\tmargin: 0 auto;\\n                          \\t\\t\\t\\tmax-width: 480px;\\n                          \\t\\t\\t\\twidth: 100%;\\n                          \\t\\t\\t\\tpadding: 0 20px;\\\">\\n\\n\\t\\t\\t\\t\\t\\t\\t<!--LOGO-->\\n\\t\\t\\t\\t\\t\\t\\t<tr>\\n\\t\\t\\t\\t\\t\\t\\t\\t<td style=\\\"\\theight: 48px;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t   \\tborder:none;\\n                           \\t\\t\\t\\t   \\tmargin: 0;\\n                           \\t\\t\\t\\t   \\tpadding: 0 10px;\\n                           \\t\\t\\t\\t\\ttext-align: left;\\\">\\n\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a tag-name=\\\"logo_link\\\" target=\\\"_blank\\\" style=\\\"\\tdisplay: block;\\n                            \\t\\t\\t\\t\\twidth: 140px;\\n                            \\t\\t\\t\\t\\tmargin: 0 auto;\\n                            \\t\\t\\t\\t\\tfloat:right\\\">\\n\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<img tag-name=\\\"logo\\\" src=\\\"\\\" border=\\\"0\\\" alt=\\\"\\\" style=\\\"display: block; padding: 20px 0; width: 100%; height: auto; margin: 0; border: none;\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</td>\\n\\t\\t\\t\\t\\t\\t\\t</tr>\\n\\n\\t\\t\\t\\t\\t\\t\\t<!--CONTENT-->\\n\\t\\t\\t\\t\\t\\t\\t<tr>\\n\\t\\t\\t\\t\\t\\t\\t\\t<td style=\\\"\\tcolor: #000000;\\n                    \\t\\t\\t\\t\\t\\ttext-align: left;\\n                    \\t\\t\\t\\t\\t\\tmargin: 0;\\n                    \\t\\t\\t\\t\\t\\tpadding: 0;\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<h1 tag-name=\\\"title\\\" style=\\\"color: #000000; font-size: 28px !important; font-family: -apple-system, San Francisco, Helvetica, Arial, sans-serif; font-weight: bold; line-height: 1.4; -webkit-text-size-adjust: none; display: block; margin: 0; padding: 0 1rem; text-align: left;\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</h1>\\n\\t\\t\\t\\t\\t\\t\\t\\t</td>\\n\\t\\t\\t\\t\\t\\t\\t</tr>\\n\\t\\t\\t\\t\\t\\t\\t<!--BODY OF THE LETTER-->\\n\\t\\t\\t\\t\\t\\t\\t<!--margin-top: 3rem-->\\n\\t\\t\\t\\t\\t\\t\\t<tr>\\n\\t\\t\\t\\t\\t\\t\\t\\t<td style=\\\"\\theight: 25px;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t   \\t\\tmargin: 0;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t   \\t\\tpadding: 0 1rem;\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t&#xA0;\\n\\t\\t\\t\\t\\t\\t\\t\\t</td>\\n\\t\\t\\t\\t\\t\\t\\t</tr>\\n\\n\\t\\t\\t\\t\\t\\t\\t<tr>\\n\\t\\t\\t\\t\\t\\t\\t\\t<td style=\\\"\\tcolor: #000000;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t   \\tfont-size: 15px;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tfont-family: -apple-system, San Francisco, Helvetica, Arial, sans-serif;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t   \\tline-height: 20px;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t   \\ttext-align: left;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t   \\tmargin: 0;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t   \\tpadding: 0 1rem;\\\">\\n\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<p tag-name=\\\"paragraph\\\" style=\\\"color: #000000 !important; font-size: 15px; font-family: -apple-system, San Francisco, Helvetica, Arial, sans-serif; font-weight: 400; line-height: 1.4; -webkit-text-size-adjust: none; display: block; margin: 15px 0; padding: 0; text-align: left;\\\">\\n\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</p>\\n\\t\\t\\t\\t\\t\\t\\t\\t</td>\\n\\t\\t\\t\\t\\t\\t\\t</tr>\\n\\n\\t\\t\\t\\t\\t\\t\\t<!--margin-top: 3rem-->\\n\\t\\t\\t\\t\\t\\t\\t<tr>\\n\\t\\t\\t\\t\\t\\t\\t\\t<td style=\\\"\\theight: 32px;\\n                    \\t\\t\\t\\t\\t\\tmargin: 0;\\n                    \\t\\t\\t\\t\\t\\tpadding: 0 1rem;\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t&#xA0;\\n\\t\\t\\t\\t\\t\\t\\t\\t</td>\\n\\t\\t\\t\\t\\t\\t\\t</tr>\\n\\n\\t\\t\\t\\t\\t\\t\\t<!--FOOTER-->\\n\\t\\t\\t\\t\\t\\t\\t<tr>\\n\\t\\t\\t\\t\\t\\t\\t\\t<td style=\\\"\\theight: 20px;\\n                    \\t\\t\\t\\t\\t\\tborder: none;\\n                    \\t\\t\\t\\t\\t\\tmargin: 0;\\n                    \\t\\t\\t\\t\\t\\tpadding: 0 1rem;\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<p tag-name=\\\"footer\\\" style=\\\"color: #000000 !important; font-size: 12px; font-family: -apple-system, San Francisco, Helvetica, Arial, sans-serif; font-weight: 400; line-height: 1.4; -webkit-text-size-adjust: none; display: block; margin: 0; padding: 0; text-align: left;\\\">\\n\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</p>\\n\\t\\t\\t\\t\\t\\t\\t\\t</td>\\n\\t\\t\\t\\t\\t\\t\\t</tr>\\n\\t\\t\\t\\t\\t\\t</table>\\n\\t\\t\\t\\t\\t</td>\\n\\t\\t\\t\\t</tr>\\n\\t\\t\\t</table>\\n\\t\\t</td>\\n\\t</tr>\\n</table>\\n</body>\\n</html>\\n\",\n                \"label\": \"Test\"\n            }\n        ],\n        \"count\": 3,\n        \"limit\": 100,\n        \"skip\": 0\n    }\n}"},{"id":"d624db9d-183d-4840-a2df-2832db780f9e","name":"search templates with pagination","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"url":{"raw":"{{url}}/v1/notifications/templates?skip=1&limit=1","host":["{{url}}"],"path":["v1","notifications","templates"],"query":[{"key":"skip","value":"1"},{"key":"limit","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 10:55:39 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"314"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"13a-gZnrkDmOzxfHJlndE9S+7A\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification-templates\",\n        \"data\": [\n            {\n                \"_id\": \"5ebe7c762da56d524c66edf8\",\n                \"created_at\": \"2020-05-15T11:26:46.180Z\",\n                \"updated_at\": \"2020-05-15T11:26:46.180Z\",\n                \"html\": true,\n                \"notification_event\": \"transaction_success\",\n                \"body\": \"test {{ brand }}\",\n                \"label\": \"Test brand\"\n            }\n        ],\n        \"count\": 3,\n        \"limit\": 1,\n        \"skip\": 1\n    }\n}"},{"id":"31f50597-a75e-4a2c-b4fe-64c1448a367e","name":"search templates by notification event","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"url":{"raw":"{{url}}/v1/notifications/templates?notification_event=transaction_success","host":["{{url}}"],"path":["v1","notifications","templates"],"query":[{"key":"notification_event","value":"transaction_success"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 10:56:55 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"5873"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"16f1-nYaScLHSaSImIZ+H7cr5ug\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification-templates\",\n        \"data\": [\n            {\n                \"_id\": \"5ebe7c762da56d524c66edf8\",\n                \"created_at\": \"2020-05-15T11:26:46.180Z\",\n                \"updated_at\": \"2020-05-15T11:26:46.180Z\",\n                \"html\": true,\n                \"notification_event\": \"transaction_success\",\n                \"body\": \"test {{ brand }}\",\n                \"label\": \"Test brand\"\n            },\n            {\n                \"_id\": \"5eb3f746cf13724d2da45bf2\",\n                \"created_at\": \"2020-05-07T11:55:50.361Z\",\n                \"updated_at\": \"2020-05-07T11:55:50.361Z\",\n                \"html\": true,\n                \"notification_event\": \"transaction_success\",\n                \"body\": \"<!DOCTYPE html>\\n<html pattern-id=\\\"general\\\">\\n<head>\\n\\t<meta charset=\\\"utf-8\\\">\\n\\t<meta name=\\\"viewport\\\" content=\\\"width=device-width, initial-scale=1.0\\\">\\n\\t<meta http-equiv=\\\"X-UA-Compatible\\\" content=\\\"IE=edge\\\">\\n\\t<title></title>\\n\\n\\t<!--hack for Outlook-->\\n\\t<style type=\\\"text/css\\\">\\n\\t\\t.im {\\n\\t\\t\\tcolor: #000000 !important;\\n\\t\\t}\\n\\n\\t</style>\\n\\n</head>\\n\\n<body align=\\\"center\\\" style=\\\"margin: 0;\\n             padding: 0;\\n             color: #000000;\\\">\\n\\n<!--MAIN TABLE-->\\n\\n<table border=\\\"0\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" width=\\\"100%\\\" height=\\\"100%\\\" style=\\\"margin: 0;\\n              padding: 0;\\\">\\n\\t<tr style=\\\"height: 100%\\\">\\n\\n\\t\\t<td align=\\\"center\\\" style=\\\"margin: 0 auto;\\n                   padding: 0;\\\">\\n\\n\\n\\t\\t\\t<!--BODY TABLE-->\\n\\t\\t\\t<table border=\\\"0\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" width=\\\"100%\\\" style=\\\"margin: 0;\\n                    padding: 0;\\\">\\n\\n\\t\\t\\t\\t<!--LOGO & MOTTO-->\\n\\n\\t\\t\\t\\t<tr>\\n\\t\\t\\t\\t\\t<td style=\\\"margin: 0;\\n                       padding: 0;\\\">\\n\\t\\t\\t\\t\\t\\t<table border=\\\"0\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" width=\\\"100%\\\" height=\\\"100%\\\" style=\\\"\\tmargin: 0;\\n                          \\t\\t\\t\\tpadding: 0;\\\">\\n\\n\\t\\t\\t\\t\\t\\t\\t<tr>\\n\\t\\t\\t\\t\\t\\t\\t\\t<td style=\\\"\\theight: 20px;\\n                           \\t\\t\\t\\t  \\tmargin: 0;\\n                           \\t\\t\\t\\t\\tpadding: 0;\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t&#xA0;\\n\\t\\t\\t\\t\\t\\t\\t\\t</td>\\n\\t\\t\\t\\t\\t\\t\\t</tr>\\n\\t\\t\\t\\t\\t\\t</table>\\n\\t\\t\\t\\t\\t</td>\\n\\t\\t\\t\\t</tr>\\n\\t\\t\\t\\t<tr>\\n\\t\\t\\t\\t\\t<td style=\\\"\\tmargin: 0;\\n                      \\t\\t\\tpadding: 0;\\\">\\n\\t\\t\\t\\t\\t\\t<table align=\\\"center\\\" border=\\\"0\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" max-width=\\\"480px\\\" height=\\\"100%\\\" style=\\\"\\tmargin: 0 auto;\\n                          \\t\\t\\t\\tmax-width: 480px;\\n                          \\t\\t\\t\\twidth: 100%;\\n                          \\t\\t\\t\\tpadding: 0 20px;\\\">\\n\\n\\t\\t\\t\\t\\t\\t\\t<!--LOGO-->\\n\\t\\t\\t\\t\\t\\t\\t<tr>\\n\\t\\t\\t\\t\\t\\t\\t\\t<td style=\\\"\\theight: 48px;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t   \\tborder:none;\\n                           \\t\\t\\t\\t   \\tmargin: 0;\\n                           \\t\\t\\t\\t   \\tpadding: 0 10px;\\n                           \\t\\t\\t\\t\\ttext-align: left;\\\">\\n\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a tag-name=\\\"logo_link\\\" target=\\\"_blank\\\" style=\\\"\\tdisplay: block;\\n                            \\t\\t\\t\\t\\twidth: 140px;\\n                            \\t\\t\\t\\t\\tmargin: 0 auto;\\n                            \\t\\t\\t\\t\\tfloat:right\\\">\\n\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<img tag-name=\\\"logo\\\" src=\\\"\\\" border=\\\"0\\\" alt=\\\"\\\" style=\\\"display: block; padding: 20px 0; width: 100%; height: auto; margin: 0; border: none;\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</td>\\n\\t\\t\\t\\t\\t\\t\\t</tr>\\n\\n\\t\\t\\t\\t\\t\\t\\t<!--CONTENT-->\\n\\t\\t\\t\\t\\t\\t\\t<tr>\\n\\t\\t\\t\\t\\t\\t\\t\\t<td style=\\\"\\tcolor: #000000;\\n                    \\t\\t\\t\\t\\t\\ttext-align: left;\\n                    \\t\\t\\t\\t\\t\\tmargin: 0;\\n                    \\t\\t\\t\\t\\t\\tpadding: 0;\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<h1 tag-name=\\\"title\\\" style=\\\"color: #000000; font-size: 28px !important; font-family: -apple-system, San Francisco, Helvetica, Arial, sans-serif; font-weight: bold; line-height: 1.4; -webkit-text-size-adjust: none; display: block; margin: 0; padding: 0 1rem; text-align: left;\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</h1>\\n\\t\\t\\t\\t\\t\\t\\t\\t</td>\\n\\t\\t\\t\\t\\t\\t\\t</tr>\\n\\t\\t\\t\\t\\t\\t\\t<!--BODY OF THE LETTER-->\\n\\t\\t\\t\\t\\t\\t\\t<!--margin-top: 3rem-->\\n\\t\\t\\t\\t\\t\\t\\t<tr>\\n\\t\\t\\t\\t\\t\\t\\t\\t<td style=\\\"\\theight: 25px;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t   \\t\\tmargin: 0;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t   \\t\\tpadding: 0 1rem;\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t&#xA0;\\n\\t\\t\\t\\t\\t\\t\\t\\t</td>\\n\\t\\t\\t\\t\\t\\t\\t</tr>\\n\\n\\t\\t\\t\\t\\t\\t\\t<tr>\\n\\t\\t\\t\\t\\t\\t\\t\\t<td style=\\\"\\tcolor: #000000;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t   \\tfont-size: 15px;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tfont-family: -apple-system, San Francisco, Helvetica, Arial, sans-serif;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t   \\tline-height: 20px;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t   \\ttext-align: left;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t   \\tmargin: 0;\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t   \\tpadding: 0 1rem;\\\">\\n\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<p tag-name=\\\"paragraph\\\" style=\\\"color: #000000 !important; font-size: 15px; font-family: -apple-system, San Francisco, Helvetica, Arial, sans-serif; font-weight: 400; line-height: 1.4; -webkit-text-size-adjust: none; display: block; margin: 15px 0; padding: 0; text-align: left;\\\">\\n\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</p>\\n\\t\\t\\t\\t\\t\\t\\t\\t</td>\\n\\t\\t\\t\\t\\t\\t\\t</tr>\\n\\n\\t\\t\\t\\t\\t\\t\\t<!--margin-top: 3rem-->\\n\\t\\t\\t\\t\\t\\t\\t<tr>\\n\\t\\t\\t\\t\\t\\t\\t\\t<td style=\\\"\\theight: 32px;\\n                    \\t\\t\\t\\t\\t\\tmargin: 0;\\n                    \\t\\t\\t\\t\\t\\tpadding: 0 1rem;\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t&#xA0;\\n\\t\\t\\t\\t\\t\\t\\t\\t</td>\\n\\t\\t\\t\\t\\t\\t\\t</tr>\\n\\n\\t\\t\\t\\t\\t\\t\\t<!--FOOTER-->\\n\\t\\t\\t\\t\\t\\t\\t<tr>\\n\\t\\t\\t\\t\\t\\t\\t\\t<td style=\\\"\\theight: 20px;\\n                    \\t\\t\\t\\t\\t\\tborder: none;\\n                    \\t\\t\\t\\t\\t\\tmargin: 0;\\n                    \\t\\t\\t\\t\\t\\tpadding: 0 1rem;\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<p tag-name=\\\"footer\\\" style=\\\"color: #000000 !important; font-size: 12px; font-family: -apple-system, San Francisco, Helvetica, Arial, sans-serif; font-weight: 400; line-height: 1.4; -webkit-text-size-adjust: none; display: block; margin: 0; padding: 0; text-align: left;\\\">\\n\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</p>\\n\\t\\t\\t\\t\\t\\t\\t\\t</td>\\n\\t\\t\\t\\t\\t\\t\\t</tr>\\n\\t\\t\\t\\t\\t\\t</table>\\n\\t\\t\\t\\t\\t</td>\\n\\t\\t\\t\\t</tr>\\n\\t\\t\\t</table>\\n\\t\\t</td>\\n\\t</tr>\\n</table>\\n</body>\\n</html>\\n\",\n                \"label\": \"Test\"\n            }\n        ],\n        \"count\": 2,\n        \"limit\": 100,\n        \"skip\": 0\n    }\n}"}],"_postman_id":"716579df-da5a-403c-b153-cd7a3642ba4d"},{"name":"get template","id":"f11b17ad-6ee7-4275-9e30-3ab12ad4ea85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/notifications/templates/:id","description":"<p>Get specific notification template by template id.</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","notifications","templates",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"3ee5ee6e-cf9c-42d0-86f8-5835adf175d7","type":"string","value":"5ebe7c762da56d524c66edf8","key":"id"}]}},"response":[{"id":"39135bc1-42e6-4286-96f5-e8156a728a67","name":"get template","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"url":{"raw":"{{url}}/v1/notifications/templates/:id","host":["{{url}}"],"path":["v1","notifications","templates",":id"],"variable":[{"key":"id","value":"635a587c4daae13a18f846d7"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 13:22:52 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"282"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"11a-OdZp4hUmT0meEQTeyFa8pA\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification-templates\",\n        \"data\": {\n            \"scope_id\": \"618d2c188a08786a53572f22\",\n            \"scope\": \"company\",\n            \"archived\": false,\n            \"html\": true,\n            \"body\": \"<p>Charge <b>{{CHARGE_ID}}</b> with {{AMOUNT}} {{CURRENCY}} created.</p>\",\n            \"label\": \"The template for transactions\",\n            \"notification_event\": \"transaction_success\",\n            \"type\": \"message\",\n            \"_id\": \"635a587c4daae13a18f846d7\",\n            \"created_at\": \"2022-10-27T10:07:56.637Z\",\n            \"updated_at\": \"2022-10-27T10:07:56.637Z\",\n            \"is_used\": false\n        }\n    }\n}"}],"_postman_id":"f11b17ad-6ee7-4275-9e30-3ab12ad4ea85"},{"name":"modify template","id":"899c26bd-fe42-4249-98ed-aba9e2121774","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"html\": true,\n    \"body\": \"<p>Charge <b>{{CHARGE_ID}}</b> with {{AMOUNT}} {{CURRENCY}} created.</p>\",\n    \"label\": \"The template for transactions\",\n    \"notification_event\": \"transaction_failure\",\n    \"type\": \"message\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/notifications/templates/:id","description":"<p>Update a notification template (available for email, sms and webhook notifications types).</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request body</h2>\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>body</td>\n<td>-</td>\n<td>string</td>\n<td>Use custom text or/and predefined variables, in which PayDock automatically pulls values from customer, charge or subscription data objects.</td>\n</tr>\n<tr>\n<td>label</td>\n<td>-</td>\n<td>string</td>\n<td>Name of current template to identify it further</td>\n</tr>\n<tr>\n<td>html</td>\n<td>-</td>\n<td>bool</td>\n<td>Body could be in html or plain text format. Allowed values <em>true</em>, <em>false</em></td>\n</tr>\n<tr>\n<td>type</td>\n<td>-</td>\n<td>string</td>\n<td>Allowed values: message, fields.</td>\n</tr>\n<tr>\n<td>notification_event</td>\n<td>-</td>\n<td>string</td>\n<td>Event to trigger notification. Look at the Event table</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","notifications","templates",":id"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"635a57f24daae13a18f84690","key":"id"}]}},"response":[{"id":"b1b1a5fd-3edd-46a7-96a3-3c7a35f0617d","name":"modify template","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"html\": true,\n    \"body\": \"<p>Charge <b>{{CHARGE_ID}}</b> with {{AMOUNT}} {{CURRENCY}} created.</p>\",\n    \"label\": \"The template for transactions\",\n    \"notification_event\": \"transaction_failure\",\n    \"type\": \"message\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/notifications/templates/:id","host":["{{url}}"],"path":["v1","notifications","templates",":id"],"variable":[{"key":"id","value":"635a57f24daae13a18f84690"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 14:02:50 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"318"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"13e-U9UP3beJ2+Ju2wOYzCpNPg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification-templates\",\n        \"data\": {\n            \"_id\": \"635a57f24daae13a18f84690\",\n            \"created_at\": \"2022-10-27T10:05:38.400Z\",\n            \"updated_at\": \"2022-10-27T10:55:13.320Z\",\n            \"scope_id\": \"618d2c188a08786a53572f22\",\n            \"scope\": \"company\",\n            \"archived\": false,\n            \"html\": true,\n            \"body\": \"<p>Charge <b>{{CHARGE_ID}}</b> with {{AMOUNT}} {{CURRENCY}} created.</p>\",\n            \"label\": \"The template for transactions\",\n            \"notification_event\": \"transaction_failure\",\n            \"type\": \"message\"\n        }\n    }\n}"}],"_postman_id":"899c26bd-fe42-4249-98ed-aba9e2121774"},{"name":"delete template","id":"d4541653-6dd2-4fe8-bf95-5d84c9a75370","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/notifications/templates/:id","description":"<p>Delete a notification template.</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","notifications","templates",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"35188f89-f132-4a21-b58b-035dcbffb4c5","type":"string","value":"5f58de89fb861d6300bdfdff","key":"id"}]}},"response":[{"id":"8461284e-4ffc-4ed1-b9b5-041868a12679","name":"delete template","originalRequest":{"method":"DELETE","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n\t\"label\": \"Sms first template\",\n\t\"notification_event\": \"transaction_failure\",\n\t\"body\": \"Charge {{CHARGE_ID}} with {{AMOUNT}} {{CURRENCY}} edited\",\n\t\"destination\": \"{{{PHONE}}}\",\n\t\"type\": \"sms\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/notifications/templates/:id","host":["{{url}}"],"path":["v1","notifications","templates",":id"],"variable":[{"key":"id","value":"635a587c4daae13a18f846d7"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 19:30:39 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"318"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"13e-IQJpRvlLk0f4Y7GmLSLBXA\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification-templates\",\n        \"data\": {\n            \"scope_id\": \"618d2c188a08786a53572f22\",\n            \"scope\": \"company\",\n            \"archived\": false,\n            \"html\": true,\n            \"body\": \"<p>Charge <b>{{CHARGE_ID}}</b> with {{AMOUNT}} {{CURRENCY}} created.</p>\",\n            \"label\": \"The template for transactions\",\n            \"notification_event\": \"transaction_success\",\n            \"type\": \"message\",\n            \"_id\": \"635a587c4daae13a18f846d7\",\n            \"created_at\": \"2022-10-27T10:07:56.637Z\",\n            \"updated_at\": \"2022-10-27T10:07:56.637Z\",\n            \"is_used\": false\n        }\n    }\n}"}],"_postman_id":"d4541653-6dd2-4fe8-bf95-5d84c9a75370"},{"name":"get template variables","id":"c58fdb14-69f3-431a-bd99-2079cf5d2c8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/notifications/templates/variables","description":"<p>Get list of existing variables for each type of notification event.</p>\n","urlObject":{"path":["v1","notifications","templates","variables"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"638ba086-d085-436b-bfd8-6a185dae1831","name":"get template variables","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":"{{url}}/v1/notifications/templates/variables"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 13 Sep 2020 15:21:50 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3554"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"de2-kfWIB0VjYcBd224uWkew7g\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"variables\",\n        \"data\": [\n            {\n                \"event\": \"transaction_success\",\n                \"variables\": [\n                    \"CHARGE_ID\",\n                    \"EMAIL\",\n                    \"FIRST_NAME\",\n                    \"LAST_NAME\",\n                    \"PHONE\",\n                    \"AMOUNT\",\n                    \"CURRENCY\",\n                    \"CUSTOMER_REFERENCE\",\n                    \"CHARGE_REFERENCE\",\n                    \"CHARGE_DESCRIPTION\",\n                    \"CREATED_AT\",\n                    \"UPDATED_AT\"\n                ]\n            },\n            {\n                \"event\": \"transaction_failure\",\n                \"variables\": [\n                    \"CHARGE_ID\",\n                    \"EMAIL\",\n                    \"FIRST_NAME\",\n                    \"LAST_NAME\",\n                    \"PHONE\",\n                    \"AMOUNT\",\n                    \"CURRENCY\",\n                    \"CUSTOMER_REFERENCE\",\n                    \"CHARGE_REFERENCE\",\n                    \"CHARGE_DESCRIPTION\",\n                    \"CREATED_AT\",\n                    \"UPDATED_AT\"\n                ]\n            },\n            {\n                \"event\": \"subscription_transaction\",\n                \"variables\": [\n                    \"CHARGE_ID\",\n                    \"EMAIL\",\n                    \"FIRST_NAME\",\n                    \"LAST_NAME\",\n                    \"PHONE\",\n                    \"AMOUNT\",\n                    \"CURRENCY\",\n                    \"CUSTOMER_REFERENCE\",\n                    \"CHARGE_REFERENCE\",\n                    \"CHARGE_DESCRIPTION\",\n                    \"CREATED_AT\",\n                    \"UPDATED_AT\"\n                ]\n            },\n            {\n                \"event\": \"subscription_transaction_failure\",\n                \"variables\": [\n                    \"CHARGE_ID\",\n                    \"EMAIL\",\n                    \"FIRST_NAME\",\n                    \"LAST_NAME\",\n                    \"PHONE\",\n                    \"AMOUNT\",\n                    \"CURRENCY\",\n                    \"CUSTOMER_REFERENCE\",\n                    \"CHARGE_REFERENCE\",\n                    \"CHARGE_DESCRIPTION\",\n                    \"CREATED_AT\",\n                    \"UPDATED_AT\"\n                ]\n            },\n            {\n                \"event\": \"subscription_creation_success\",\n                \"variables\": [\n                    \"SUBSCRIPTION_ID\",\n                    \"EMAIL\",\n                    \"FIRST_NAME\",\n                    \"LAST_NAME\",\n                    \"PHONE\",\n                    \"AMOUNT\",\n                    \"CURRENCY\",\n                    \"CUSTOMER_REFERENCE\",\n                    \"CHARGE_REFERENCE\",\n                    \"CHARGE_DESCRIPTION\",\n                    \"CREATED_AT\",\n                    \"UPDATED_AT\"\n                ]\n            },\n            {\n                \"event\": \"subscription_creation_failure\",\n                \"variables\": [\n                    \"EMAIL\",\n                    \"FIRST_NAME\",\n                    \"LAST_NAME\",\n                    \"PHONE\",\n                    \"AMOUNT\",\n                    \"CURRENCY\",\n                    \"CUSTOMER_REFERENCE\",\n                    \"CHARGE_REFERENCE\",\n                    \"CHARGE_DESCRIPTION\",\n                    \"CREATED_AT\",\n                    \"UPDATED_AT\"\n                ]\n            },\n            {\n                \"event\": \"subscription_failed\",\n                \"variables\": [\n                    \"EMAIL\",\n                    \"FIRST_NAME\",\n                    \"LAST_NAME\",\n                    \"PHONE\",\n                    \"AMOUNT\",\n                    \"CURRENCY\",\n                    \"CUSTOMER_REFERENCE\",\n                    \"CHARGE_REFERENCE\",\n                    \"CHARGE_DESCRIPTION\",\n                    \"CREATED_AT\",\n                    \"UPDATED_AT\"\n                ]\n            },\n            {\n                \"event\": \"subscription_updated\",\n                \"variables\": [\n                    \"SUBSCRIPTION_ID\",\n                    \"EMAIL\",\n                    \"FIRST_NAME\",\n                    \"LAST_NAME\",\n                    \"PHONE\",\n                    \"AMOUNT\",\n                    \"CURRENCY\",\n                    \"CUSTOMER_REFERENCE\",\n                    \"CHARGE_REFERENCE\",\n                    \"CHARGE_DESCRIPTION\",\n                    \"CREATED_AT\",\n                    \"UPDATED_AT\"\n                ]\n            },\n            {\n                \"event\": \"subscription_finished\",\n                \"variables\": [\n                    \"SUBSCRIPTION_ID\",\n                    \"EMAIL\",\n                    \"FIRST_NAME\",\n                    \"LAST_NAME\",\n                    \"PHONE\",\n                    \"AMOUNT\",\n                    \"CURRENCY\",\n                    \"CUSTOMER_REFERENCE\",\n                    \"REFERENCE\",\n                    \"DESCRIPTION\",\n                    \"CREATED_AT\",\n                    \"UPDATED_AT\",\n                    \"STATUS\",\n                    \"COMPLETED_COUNT\"\n                ]\n            },\n            {\n                \"event\": \"refund_requested\",\n                \"variables\": [\n                    \"CHARGE_ID\",\n                    \"EMAIL\",\n                    \"FIRST_NAME\",\n                    \"LAST_NAME\",\n                    \"PHONE\",\n                    \"AMOUNT\",\n                    \"CURRENCY\",\n                    \"CUSTOMER_REFERENCE\",\n                    \"CHARGE_REFERENCE\",\n                    \"CHARGE_DESCRIPTION\",\n                    \"CREATED_AT\",\n                    \"UPDATED_AT\"\n                ]\n            },\n            {\n                \"event\": \"refund_success\",\n                \"variables\": [\n                    \"CHARGE_ID\",\n                    \"EMAIL\",\n                    \"FIRST_NAME\",\n                    \"LAST_NAME\",\n                    \"PHONE\",\n                    \"AMOUNT\",\n                    \"REFUND_AMOUNT\",\n                    \"CURRENCY\",\n                    \"CUSTOMER_REFERENCE\",\n                    \"CHARGE_REFERENCE\",\n                    \"CHARGE_DESCRIPTION\",\n                    \"CREATED_AT\",\n                    \"UPDATED_AT\"\n                ]\n            },\n            {\n                \"event\": \"refund_failure\",\n                \"variables\": [\n                    \"CHARGE_ID\",\n                    \"EMAIL\",\n                    \"FIRST_NAME\",\n                    \"LAST_NAME\",\n                    \"PHONE\",\n                    \"AMOUNT\",\n                    \"REFUND_AMOUNT\",\n                    \"CURRENCY\",\n                    \"CUSTOMER_REFERENCE\",\n                    \"CHARGE_REFERENCE\",\n                    \"CHARGE_DESCRIPTION\",\n                    \"CREATED_AT\",\n                    \"UPDATED_AT\"\n                ]\n            },\n            {\n                \"event\": \"card_expiration_warning\",\n                \"variables\": [\n                    \"EXPIRE_MONTH\",\n                    \"EXPIRE_YEAR\",\n                    \"CARD_NUMBER_LAST4\",\n                    \"CARD_SCHEME\",\n                    \"EMAIL\",\n                    \"FIRST_NAME\",\n                    \"LAST_NAME\",\n                    \"PHONE\",\n                    \"CUSTOMER_REFERENCE\",\n                    \"CREATED_AT\",\n                    \"UPDATED_AT\"\n                ]\n            },\n            {\n                \"event\": \"transfer_pending\",\n                \"variables\": [\n                    \"TRANSFER_ID\",\n                    \"DESCRIPTION\",\n                    \"REFERENCE\",\n                    \"CURRENCY\",\n                    \"CREATED_AT\",\n                    \"UPDATED_AT\"\n                ]\n            },\n            {\n                \"event\": \"transfer_requested\",\n                \"variables\": [\n                    \"TRANSFER_ID\",\n                    \"DESCRIPTION\",\n                    \"REFERENCE\",\n                    \"CURRENCY\",\n                    \"CREATED_AT\",\n                    \"UPDATED_AT\"\n                ]\n            },\n            {\n                \"event\": \"transfer_partially_approved\",\n                \"variables\": [\n                    \"TRANSFER_ID\",\n                    \"DESCRIPTION\",\n                    \"REFERENCE\",\n                    \"CURRENCY\",\n                    \"CREATED_AT\",\n                    \"UPDATED_AT\"\n                ]\n            },\n            {\n                \"event\": \"transfer_partially_declined\",\n                \"variables\": [\n                    \"TRANSFER_ID\",\n                    \"DESCRIPTION\",\n                    \"REFERENCE\",\n                    \"CURRENCY\",\n                    \"CREATED_AT\",\n                    \"UPDATED_AT\"\n                ]\n            },\n            {\n                \"event\": \"transfer_declined\",\n                \"variables\": [\n                    \"TRANSFER_ID\",\n                    \"DESCRIPTION\",\n                    \"REFERENCE\",\n                    \"CURRENCY\",\n                    \"CREATED_AT\",\n                    \"UPDATED_AT\"\n                ]\n            },\n            {\n                \"event\": \"transfer_approved\",\n                \"variables\": [\n                    \"TRANSFER_ID\",\n                    \"DESCRIPTION\",\n                    \"REFERENCE\",\n                    \"CURRENCY\",\n                    \"CREATED_AT\",\n                    \"UPDATED_AT\"\n                ]\n            }\n        ]\n    }\n}"}],"_postman_id":"c58fdb14-69f3-431a-bd99-2079cf5d2c8f"}],"id":"239bbdbd-4f29-4635-bab4-50b19b1f66e0","description":"<p>Templates are used for creating email and sms notifications.</p>\n<h2 id=\"templates-resource\">Templates resource</h2>\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>body</td>\n<td>+</td>\n<td>string</td>\n<td>Use custom text or/and predefined variables, in which PayDock automatically pulls values from customer, charge or subscription data objects.</td>\n</tr>\n<tr>\n<td>label</td>\n<td>+</td>\n<td>string</td>\n<td>Name of current template to identify it further</td>\n</tr>\n<tr>\n<td>html</td>\n<td>+</td>\n<td>bool</td>\n<td>Body could be in html or plain text format. Allowed values <em>true</em>, <em>false</em></td>\n</tr>\n<tr>\n<td>notification_event</td>\n<td>+</td>\n<td>string</td>\n<td>Event to trigger notification. Look at the <em>Event</em> table</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"46128594-ddea-4e2f-9d43-75caffad8766"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"119a719b-84a7-45db-8f40-052e665bbb85"}}],"_postman_id":"239bbdbd-4f29-4635-bab4-50b19b1f66e0"},{"name":"create","id":"ac194fce-0ddc-4a8d-82e7-2c99d1010973","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"transaction_success\",\n    \"destination\": \"http://hahn.mertz.llc.biz\",\n    \"type\": \"webhook\",\n    \"transaction_only\": false\n}"},"url":"{{url}}/v1/notifications","description":"<p>Creates a trigger to send a notification to a customer or endpoint. To send an email or SMS to a customer, use swap values (eg {{PHONE}} or {{EMAIL}}) which are loaded from the customer (See <a href=\"https://docs.paydock.com/?javascript#swap-values-for-templates\">Swap Values for templates</a> for the full list).</p>\n<h2 id=\"request-body\">Request body</h2>\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>type</td>\n<td>+</td>\n<td>string</td>\n<td>Type of notification: <em>webhook</em>, <em>email</em>, <em>sms</em></td>\n</tr>\n<tr>\n<td>destination</td>\n<td>+</td>\n<td>string</td>\n<td>Where to send notification (secure https:// URL for webhook, email address for email ({{EMAIL}} of the current customer), phone number in international E.164 format ({{PHONE}} of the current customer))</td>\n</tr>\n<tr>\n<td>template_id</td>\n<td>+email, +sms</td>\n<td>string</td>\n<td>Custom template, which can be used with email, sms or webhook notifications</td>\n</tr>\n<tr>\n<td>event</td>\n<td>+</td>\n<td>string</td>\n<td>Event to trigger a notification. Look at the <em>Event</em> table</td>\n</tr>\n<tr>\n<td>from</td>\n<td>-</td>\n<td>string</td>\n<td>FROM email address parameter</td>\n</tr>\n<tr>\n<td>subject</td>\n<td>-</td>\n<td>string</td>\n<td>Set subject of an email notification</td>\n</tr>\n<tr>\n<td>transaction_only</td>\n<td>-webhook</td>\n<td>bool</td>\n<td>If true, the payload of an event will include information on the latest transaction only and a charge ID. The rest of the fields will be omitted. By default, it is set to false.</td>\n</tr>\n<tr>\n<td>notification_service_id</td>\n<td>-webhook</td>\n<td>string</td>\n<td>Authentication service ID (secure https:// links only)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","notifications"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"3c496141-6d72-42e7-9e74-835201da2401","name":"create notification webhook","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"transaction_success\",\n    \"destination\": \"https://hahn.mertz.llc.biz\",\n    \"type\": \"webhook\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/notifications"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 10:13:51 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"188"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"bc-YDX0W9mGxj4rD5YMpCROFw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification\",\n        \"data\": {\n            \"event\": \"transaction_success\",\n            \"destination\": \"http://hahn.mertz.llc.biz\",\n            \"type\": \"webhook\",\n            \"_id\": \"5f58aadf4d9f505928aca28a\",\n            \"transaction_only\": false\n        }\n    }\n}"},{"id":"5f1b875f-45b1-492a-be6f-714f2fbece5e","name":"create email notification","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"transaction_success\",\n    \"destination\": \"wanda.mertz@example.com\",\n    \"template_id\":\"5f54aadf4d9f505928cba11b\",\n    \"type\": \"email\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/notifications"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 10:13:51 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"188"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"bc-YDX0W9mGxj4rD5YMpCROFw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification\",\n        \"data\": {\n            \"event\": \"transaction_success\",\n            \"destination\": \"wanda.mertz@example.com\",\n            \"type\": \"email\",\n            \"_id\": \"5f58aadf4d9f505928aca28b\",\n             \"template_id\":\"5f54aadf4d9f505928cba11b\",\n             \"created_at\": \"2023-08-08T10:22:29.975Z\",\n            \"updated_at\": \"2023-08-08T10:22:29.975Z\"\n        }\n    }\n}"},{"id":"3579bc91-44da-41c5-bb05-2376b481127e","name":"create sms notification","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"transaction_success\",\n    \"destination\": \"+1234567890\",\n    \"template_id\":\"5f54aadf4d9f505928cba22c\",\n    \"type\": \"sms\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/notifications"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 10:13:51 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"188"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"bc-YDX0W9mGxj4rD5YMpCROFw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification\",\n        \"data\": {\n            \"event\": \"transaction_success\",\n            \"destination\": \"+1234567890\",\n            \"type\": \"sms\",\n            \"_id\": \"5f58aadf4d9f505928aca29b\",\n             \"template_id\":\"5f54aadf4d9f505928cba11b\",\n             \"created_at\": \"2023-08-08T10:23:29.975Z\",\n            \"updated_at\": \"2023-08-08T10:23:29.975Z\"\n        }\n    }\n}"},{"id":"90104faa-e5e8-4097-874e-3ca7c3efcf1e","name":"create notification webhook with authentication services ID","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"transaction_success\",\n    \"destination\": \"https://hahn.mertz.llc.biz\",\n    \"type\": \"webhook\",\n    \"notification_service_id\": \"6163fb14f37d237279ce1a98\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/notifications"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 10:13:51 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"188"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"bc-YDX0W9mGxj4rD5YMpCROFw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification\",\n        \"data\": {\n            \"event\": \"transaction_success\",\n            \"destination\": \"https://hahn.mertz.llc.biz\",\n            \"type\": \"webhook\",\n            \"_id\": \"5f58aadf4d9f505928aca28a\",\n            \"transaction_only\": false,\n            \"notification_service_id\": \"6163fb14f37d237279ce1a98\"\n        }\n    }\n}"},{"id":"d5b8a3e8-8dbc-497a-b622-487aa652e7f9","name":"create the notification webhook with the 'transaction only' flag","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"event\": \"transaction_success\",\n    \"destination\": \"http://hahn.mertz.llc.biz\",\n    \"type\": \"webhook\",\n    \"transaction_only\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/notifications"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 10:13:51 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"188"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"bc-YDX0W9mGxj4rD5YMpCROFw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification\",\n        \"data\": {\n            \"event\": \"transaction_success\",\n            \"destination\": \"http://hahn.mertz.llc.biz\",\n            \"type\": \"webhook\",\n            \"_id\": \"5f58aadf4d9f505928aca28a\",\n            \"transaction_only\": true\n        }\n    }\n}"}],"_postman_id":"ac194fce-0ddc-4a8d-82e7-2c99d1010973"},{"name":"search","id":"081f7133-3266-4aa0-a6d4-4941794ce40a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/notifications","description":"<p>Returns all notification triggers for the account, limited to 100 records.</p>\n<h2 id=\"request-query-params\">Request query params</h2>\n<p><strong>Pagination</strong></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>skip</td>\n<td>-</td>\n<td>number</td>\n<td>Pagination parameter to skip first n subscriptions from list, default = 0</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>-</td>\n<td>number</td>\n<td>Pagination parameter to limit output to n , default = 100 , maximum value = 1000</td>\n</tr>\n<tr>\n<td>sortkey</td>\n<td>-</td>\n<td>string</td>\n<td>Sorting key parameter i.e. created_at (created_at by default)</td>\n</tr>\n<tr>\n<td>sortdirection</td>\n<td>-</td>\n<td>string</td>\n<td>Sorting order direction parameter <em>ASC</em> or <em>DESC</em> (<em>DESC</em> by default)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Filters</strong></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>type</td>\n<td>-</td>\n<td>string</td>\n<td>Type of notification: webhook, email, sms</td>\n</tr>\n<tr>\n<td>event</td>\n<td>-</td>\n<td>string</td>\n<td>Event to trigger a notification. Look at the Event table</td>\n</tr>\n<tr>\n<td>notification_template_id</td>\n<td>-</td>\n<td>string</td>\n<td>Custom template, which can be used with email, sms or webhook notifications</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","notifications"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"3c8731f7-c3aa-4226-b84c-d08f4828d5cf","name":"search","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":"{{url}}/v1/notifications"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 10:49:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"724"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"2d4-vqQnca5vrMgh6dYptzXtgg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notifications\",\n        \"data\": [\n            {\n                \"transaction_only\": false,\n                \"_id\": \"632823a87da0216638903ae2\",\n                \"template_id\": null,\n                \"notification_service_id\": \"6311da62eb1468c24545adff\",\n                \"type\": \"webhook\",\n                \"event\": \"transaction_success\",\n                \"destination\": \"http://hahn.mertz.llc.biz\",\n                \"created_at\": \"2022-09-19T08:09:12.254Z\",\n                \"updated_at\": \"2022-09-19T08:09:12.254Z\"\n            },\n            {\n                \"type\": \"email\",\n                \"event\": \"transaction_success\",\n                \"template_id\": \"5ebe7c762da56d524c66edf8\",\n                \"destination\": \"wanda.mertz@example.com\",\n                \"from\": \"carlie.kuvalis@example.com\",\n                \"subject\": \"Test\",\n                \"_id\": \"5ebe7c9e2da56d524c66edf9\"\n            },\n            {\n                \"type\": \"sms\",\n                \"event\": \"subscription_failed\",\n                \"template_id\": \"5f588d954d9f505928aca283\",\n                \"destination\": \"{{PHONE}}\",\n                \"from\": \"\",\n                \"_id\": \"5f588db64d9f505928aca284\"\n            },\n            {\n                \"event\": \"transaction_success\",\n                \"destination\": \"http://hahn.mertz.llc.biz\",\n                \"type\": \"webhook\",\n                \"_id\": \"5f58aadf4d9f505928aca28a\"\n            }\n        ],\n        \"count\": 4,\n        \"limit\": 100,\n        \"skip\": 0\n    }\n}"},{"id":"03213437-a7ee-42e0-9a00-cba1cc454667","name":"search notifications by event","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/notifications?event=transaction_success","host":["{{url}}"],"path":["v1","notifications"],"query":[{"key":"event","value":"transaction_success"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 10:49:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"724"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"2d4-vqQnca5vrMgh6dYptzXtgg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notifications\",\n        \"data\": [\n            {\n                \"type\": \"webhook\",\n                \"event\": \"transaction_success\",\n                \"destination\": \"http://hahn.mertz.llc.biz\",\n                \"from\": \"\",\n                \"_id\": \"5e4b915bcd34da6dde6d1615\"\n            },\n            {\n                \"type\": \"email\",\n                \"event\": \"transaction_success\",\n                \"template_id\": \"5ebe7c762da56d524c66edf8\",\n                \"destination\": \"wanda.mertz@example.com\",\n                \"from\": \"carlie.kuvalis@example.com\",\n                \"subject\": \"Test\",\n                \"_id\": \"5ebe7c9e2da56d524c66edf9\"\n            },\n            {\n                \"event\": \"transaction_success\",\n                \"destination\": \"http://hahn.mertz.llc.biz\",\n                \"type\": \"webhook\",\n                \"_id\": \"5f58aadf4d9f505928aca28a\"\n            }\n        ],\n        \"count\": 3,\n        \"limit\": 100,\n        \"skip\": 0\n    }\n}"},{"id":"b35b6e4d-ea4a-4d7f-8dfc-34af48e698af","name":"search notifications by type","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/notifications?type=webhook","host":["{{url}}"],"path":["v1","notifications"],"query":[{"key":"type","value":"webhook"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 10:49:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"724"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"2d4-vqQnca5vrMgh6dYptzXtgg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notifications\",\n        \"data\": [\n            {\n                \"transaction_only\": false,\n                \"_id\": \"632823a87da0216638903ae2\",\n                \"template_id\": null,\n                \"notification_service_id\": \"6311da62eb1468c24545adff\",\n                \"type\": \"webhook\",\n                \"event\": \"transaction_success\",\n                \"destination\": \"http://hahn.mertz.llc.biz\",\n                \"created_at\": \"2022-09-19T08:09:12.254Z\",\n                \"updated_at\": \"2022-09-19T08:09:12.254Z\"\n            }\n        ],\n        \"count\": 1,\n        \"limit\": 100,\n        \"skip\": 0\n    }\n}"},{"id":"a45d83b5-34a3-4872-98e2-7d8ca6769337","name":"search notifications by template id","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/notifications?notification_template_id=5e4b915bcd34da6dde6d1615","host":["{{url}}"],"path":["v1","notifications"],"query":[{"key":"notification_template_id","value":"5e4b915bcd34da6dde6d1615"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 10:49:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"724"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"2d4-vqQnca5vrMgh6dYptzXtgg\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notifications\",\n        \"data\": [\n            {\n                \"transaction_only\": false,\n                \"_id\": \"632823a87da0216638903ae2\",\n                \"template_id\": \"5e4b915bcd34da6dde6d1615\",\n                \"notification_service_id\": \"6311da62eb1468c24545adff\",\n                \"type\": \"webhook\",\n                \"event\": \"transaction_success\",\n                \"destination\": \"http://hahn.mertz.llc.biz\",\n                \"created_at\": \"2022-09-19T08:09:12.254Z\",\n                \"updated_at\": \"2022-09-19T08:09:12.254Z\"\n            }\n        ],\n        \"count\": 1,\n        \"limit\": 100,\n        \"skip\": 0\n    }\n}"}],"_postman_id":"081f7133-3266-4aa0-a6d4-4941794ce40a"},{"name":"get","id":"936e5cfb-b7a0-4560-ac58-d2ffafa28612","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/notifications/:id","description":"<p>Retrive details on a specific notification.</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","notifications",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"9c4b32ac-6005-45ee-ba8f-b081077f972a","type":"string","value":"5ebe7c9e2da56d524c66edf9","key":"id"}]}},"response":[{"id":"620e121b-9610-45bd-bf6e-434465c1f025","name":"get","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"url":{"raw":"{{url}}/v1/notifications/:id","host":["{{url}}"],"path":["v1","notifications",":id"],"variable":[{"key":"id","value":"5ebe7c9e2da56d524c66edf9"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 13:20:30 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"272"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"110-AJGPG+PXnQ3dcPF/ydaFVw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification\",\n        \"data\": {\n            \"type\": \"email\",\n            \"event\": \"transaction_success\",\n            \"template_id\": \"5ebe7c762da56d524c66edf8\",\n            \"destination\": \"wanda.mertz@example.com\",\n            \"from\": \"carlie.kuvalis@example.com\",\n            \"subject\": \"Test\",\n            \"_id\": \"5ebe7c9e2da56d524c66edf9\"\n        }\n    }\n}"}],"_postman_id":"936e5cfb-b7a0-4560-ac58-d2ffafa28612"},{"name":"resend webhook notification","id":"23fb2915-2f3c-4aa5-adb3-af0741df8c24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/notifications/logs/:id","description":"<p>Resend webhook notification.</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request body</h2>\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>destination</td>\n<td>-</td>\n<td>string</td>\n<td>Where to send notification (secure https:// URL)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","notifications","logs",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"e8e8198e-f29e-4be7-afa7-f8efe8e2671d","type":"string","value":"5f58eb6d61d0d5314e1089dc","key":"id"}]}},"response":[{"id":"e38887bc-0489-4047-9a63-a299024dd01d","name":"resend webhook notification with another destination","originalRequest":{"method":"PUT","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"distanation\": \"http://hahn.mertz.llc.biz\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/notifications/logs/:id","host":["{{url}}"],"path":["v1","notifications","logs",":id"],"variable":[{"key":"id","value":"5f58eb6d61d0d5314e1089dc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 11 Sep 2020 09:59:09 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"486"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"1e6-e04AGBr5wT0dws7piCTtSA\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification_log\",\n        \"data\": {\n            \"__v\": 0,\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"created_at\": \"2020-09-11T09:59:09.140Z\",\n            \"success\": false,\n            \"type\": \"webhook\",\n            \"destination\": \"http://hahn.mertz.llc.biz\",\n            \"_object_id\": \"5f58eb0061d0d5314e1089da\",\n            \"notification_id\": \"5f58eb6d61d0d5314e1089dc\",\n            \"parent_id\": \"5f58eb6d61d0d5314e1089dc\",\n            \"event\": \"transaction_success\",\n            \"response_status\": \"405\",\n            \"status\": \"processing\",\n            \"_id\": \"5f5b4a6dbcff3a3646e6fdfd\",\n            \"archived\": false\n        }\n    }\n}"},{"id":"75db55f6-b0e7-4818-ab04-c53484ba95d1","name":"resend webhook notification","originalRequest":{"method":"PUT","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/notifications/logs/:id","host":["{{url}}"],"path":["v1","notifications","logs",":id"],"variable":[{"key":"id","value":"5f58eb6d61d0d5314e1089dc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"486"},{"key":"ETag","value":"W/\"1e6-fRLxe42W/5i3II+IS87YqQ\""},{"key":"Date","value":"Wed, 09 Sep 2020 19:49:37 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification_log\",\n        \"data\": {\n            \"__v\": 0,\n            \"company_id\": \"5d305bfbfac31b4448c738d7\",\n            \"created_at\": \"2020-09-09T19:49:37.249Z\",\n            \"success\": false,\n            \"type\": \"webhook\",\n            \"destination\": \"http://hahn.mertz.llc.biz\",\n            \"_object_id\": \"5f58eb0061d0d5314e1089da\",\n            \"notification_id\": \"5f58eb6d61d0d5314e1089dc\",\n            \"parent_id\": \"5f58eb6d61d0d5314e1089dc\",\n            \"event\": \"transaction_success\",\n            \"response_status\": \"405\",\n            \"status\": \"processing\",\n            \"_id\": \"5f5931d163abd512e47c7753\",\n            \"archived\": false\n        }\n    }\n}"}],"_postman_id":"23fb2915-2f3c-4aa5-adb3-af0741df8c24"},{"name":"delete","id":"45080f06-c166-42e8-9782-d9e183e5300b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/notifications/:id","description":"<p>Delete a notification.</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","notifications",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"9e8287f0-2f6a-488b-81df-742cfbb28dcc","type":"string","value":"5ebe7c9e2da56d524c66edf9","key":"id"}]}},"response":[{"id":"cf908241-c951-497f-9a20-106e04e55954","name":"delete","originalRequest":{"method":"DELETE","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"Content-Type will always be application/json","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"label\": \"Sms first template\",\n\t\"notification_event\": \"transaction_failure\",\n\t\"body\": \"Charge {{CHARGE_ID}} with {{AMOUNT}} {{CURRENCY}} edited\",\n\t\"destination\": \"{{{PHONE}}}\",\n\t\"type\": \"sms\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/notifications/:id","host":["{{url}}"],"path":["v1","notifications",":id"],"variable":[{"key":"id","value":"5ebe7c9e2da56d524c66edf9"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 09 Sep 2020 19:32:23 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"272"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"110-AJGPG+PXnQ3dcPF/ydaFVw\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"notification\",\n        \"data\": {\n            \"type\": \"email\",\n            \"event\": \"transaction_success\",\n            \"template_id\": \"5ebe7c762da56d524c66edf8\",\n            \"destination\": \"wanda.mertz@example.com\",\n            \"from\": \"carlie.kuvalis@example.com\",\n            \"subject\": \"Test\",\n            \"_id\": \"5ebe7c9e2da56d524c66edf9\"\n        }\n    }\n}"}],"_postman_id":"45080f06-c166-42e8-9782-d9e183e5300b"}],"id":"52a7b557-20c6-444f-856a-a37adfb1a26c","description":"<p>Notifications are automated messages that are triggered in response to events within the system.</p>\n<p>Within PayDock, notification triggers are set up to fire on different events. Notification triggers can have different types (i.e. Webhook, Email, Sms) and events (i.e. Transaction Success).</p>\n<p>Notifications for email and SMS require templates for the notification.</p>\n<p>See also <a href=\"https://docs.paydock.com/?javascript#webhook-event-example\">Examples of webhook payloads</a></p>\n<p>Notification Templates also provide swap values (eg {{PHONE}} or {{EMAIL}}) that will be populated from the customer, charge or subscription that triggered the notification (See <a href=\"https://docs.paydock.com/?javascript#swap-values-for-templates\">Swap Values for templates</a> for the full list).</p>\n<h2 id=\"notification-resource\">Notification resource</h2>\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>type</td>\n<td>+</td>\n<td>string</td>\n<td>Type of notification: <em>webhook</em>, <em>email</em>, <em>sms</em></td>\n</tr>\n<tr>\n<td>destination</td>\n<td>+</td>\n<td>string</td>\n<td>Where to send notification (secure https:// URL for webhook, email address for email ({{EMAIL}} of the current customer), phone number in international E.164 format ({{PHONE}} of the current customer))</td>\n</tr>\n<tr>\n<td>template_id</td>\n<td>+email, +sms</td>\n<td>string</td>\n<td>Custom template, which can be used with email or SMS notifications</td>\n</tr>\n<tr>\n<td>event</td>\n<td>+</td>\n<td>string</td>\n<td>Event to trigger a notification. Look at the <em>Event</em> table</td>\n</tr>\n<tr>\n<td>transaction_only</td>\n<td>-webhook</td>\n<td>bool</td>\n<td>If true, the payload of an event will include information on the latest transaction only and a charge ID. The rest of the fields will be omitted. By default, it is set to <em>false</em>.</td>\n</tr>\n<tr>\n<td>notification_service_id</td>\n<td>-webhook</td>\n<td>string</td>\n<td>Authentication service ID (secure https:// links only)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"event\">Event</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>name</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>transaction_success</td>\n<td>Transaction processed successfully</td>\n</tr>\n<tr>\n<td>transaction_failure</td>\n<td>Transaction processed unsuccessfully</td>\n</tr>\n<tr>\n<td>subscription_transaction</td>\n<td>Transaction processed by subscription</td>\n</tr>\n<tr>\n<td>subscription_transaction_failure</td>\n<td>Transaction processed by subscription unsuccessfully</td>\n</tr>\n<tr>\n<td>subscription_creation_success</td>\n<td>Subscription created successfully</td>\n</tr>\n<tr>\n<td>subscription_creation_failure</td>\n<td>Subscription created unsuccessfully</td>\n</tr>\n<tr>\n<td>subscription_updated</td>\n<td>Subscription was updated</td>\n</tr>\n<tr>\n<td>subscription_finished</td>\n<td>Subscription was finished</td>\n</tr>\n<tr>\n<td>subscription_failed</td>\n<td>Subscription failed</td>\n</tr>\n<tr>\n<td>refund_requested</td>\n<td>Refund was requested</td>\n</tr>\n<tr>\n<td>refund_successful</td>\n<td>Refund processed successfully</td>\n</tr>\n<tr>\n<td>refund_failure</td>\n<td>Refund processed unsuccessfully</td>\n</tr>\n<tr>\n<td>card_expiration_warning</td>\n<td>Card will be expired soon</td>\n</tr>\n<tr>\n<td>transfer_pending</td>\n<td>Transfer on a pending status</td>\n</tr>\n<tr>\n<td>transfer_requested</td>\n<td>Transfer requested</td>\n</tr>\n<tr>\n<td>transfer_partially_approved</td>\n<td>Transfer is partially approved</td>\n</tr>\n<tr>\n<td>transfer_partially_declined</td>\n<td>Transfer is partially declined</td>\n</tr>\n<tr>\n<td>transfer_declined</td>\n<td>Transfer declined</td>\n</tr>\n<tr>\n<td>transfer_approved</td>\n<td>Transfer approved</td>\n</tr>\n<tr>\n<td>standalone_fraud_check_in_review</td>\n<td>Standalone Fraud Check In Review</td>\n</tr>\n<tr>\n<td>standalone_fraud_check_success</td>\n<td>Standalone Fraud Check In Success</td>\n</tr>\n<tr>\n<td>standalone_fraud_check_failed</td>\n<td>Standalone Fraud Check Failed</td>\n</tr>\n<tr>\n<td>standalone_fraud_check_in_review_approved</td>\n<td>Standalone Fraud Check in Review Approved</td>\n</tr>\n<tr>\n<td>standalone_fraud_check_in_review_declined</td>\n<td>Standalone Fraud Check in Review Declined</td>\n</tr>\n<tr>\n<td>network_token_issuer_update</td>\n<td>Network Token Updated (Issuer Update)</td>\n</tr>\n<tr>\n<td>network_token_creation_failed</td>\n<td>Network Token Creation Failed</td>\n</tr>\n<tr>\n<td>network_token_registration_success</td>\n<td>Network Token Registration Success</td>\n</tr>\n<tr>\n<td>network_token_registration_failure</td>\n<td>Network Token Registration Failure</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"9bc34f62-3698-4ca8-aa1d-8cbfdc797fc2"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"a20a5143-e1ae-46f1-8086-d9af85b3e7bd"}}],"_postman_id":"52a7b557-20c6-444f-856a-a37adfb1a26c"},{"name":"gateways-accounts","item":[{"name":"create","id":"40dd851c-f48e-4fce-b0e8-cbfedc61b690","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","type":"text","value":"{{secretkey}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"wanda.mertz@example.com\",\n    \"company_name\": \"Hahn Mertz LLC\",\n    \"reference\": \"Ref to Account\",\n    \"business_type\": \"company\",\n    \"address\": {\n        \"city\": \"Lake Robyn\",\n        \"line1\": \"61426 Osvaldo Plains\",\n        \"line2\": \"Apt. 276\",\n        \"postal_code\": \"07396\",\n        \"country\": \"US\"\n    },\n    \"meta\": {\n        \"type\": \"custom\",\n        \"capabilities\": {\n            \"card_payments\": {\n                \"requested\": true\n            },\n            \"transfers\": {\n                \"requested\": true\n            }\n        },\n        \"company\": {\n            \"registration_number\": \"664558728\"\n        }\n    }\n}"},"url":"{{url}}/v1/gateways/:gateway_id/accounts","description":"<p>Create gateway account</p>\n<h2 id=\"request-params\">Request params</h2>\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>gateway_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>id of already added to a PayDock gateway service. Available gateways: Stripe</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[type]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>business_type</td>\n<td>+</td>\n<td>string</td>\n<td>Business type of gateway account. Look at the <em>Business types</em> table</td>\n</tr>\n<tr>\n<td>email</td>\n<td>-</td>\n<td>string</td>\n<td>Gateway account email</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>-</td>\n<td>string</td>\n<td>Gateway account individual first name</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>-</td>\n<td>string</td>\n<td>Gateway account individual last name</td>\n</tr>\n<tr>\n<td>label</td>\n<td>-</td>\n<td>string</td>\n<td>Gateway account label</td>\n</tr>\n<tr>\n<td>company_name</td>\n<td>-</td>\n<td>string</td>\n<td>Gateway account company name</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>Manualy added reference to gateway account</td>\n</tr>\n<tr>\n<td>address</td>\n<td>-</td>\n<td>object</td>\n<td>Object with the gateway account company address information.</td>\n</tr>\n<tr>\n<td>address.country</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. Country code.</td>\n</tr>\n<tr>\n<td>address.line1</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. Line 1.</td>\n</tr>\n<tr>\n<td>address.line2</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. Line 2.</td>\n</tr>\n<tr>\n<td>address.state</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. State.</td>\n</tr>\n<tr>\n<td>address.postal_code</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. Postal code.</td>\n</tr>\n<tr>\n<td>address.city</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. City.</td>\n</tr>\n<tr>\n<td>meta</td>\n<td>+</td>\n<td>object</td>\n<td>Object with the gateway account additional information. All the fields with stripe structure</td>\n</tr>\n<tr>\n<td>meta.type</td>\n<td>+</td>\n<td>string</td>\n<td>The type of Stripe account to create. May be one of <em>custom</em>, <em>express</em> or <em>standard</em>.</td>\n</tr>\n<tr>\n<td>meta.country</td>\n<td>-</td>\n<td>string</td>\n<td>The country in which the account holder resides, or in which the business is legally established.</td>\n</tr>\n<tr>\n<td>meta.company</td>\n<td>-</td>\n<td>object</td>\n<td>Object with the company information.</td>\n</tr>\n<tr>\n<td>meta.company.owners_provided</td>\n<td>-</td>\n<td>boolean</td>\n<td>Whether the company’s owners have been provided.</td>\n</tr>\n<tr>\n<td>meta.company.phone</td>\n<td>-</td>\n<td>string</td>\n<td>The company’s phone number.</td>\n</tr>\n<tr>\n<td>meta.company.registration_number</td>\n<td>-</td>\n<td>string</td>\n<td>The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes.</td>\n</tr>\n<tr>\n<td>meta.company.structure</td>\n<td>-</td>\n<td>string</td>\n<td>The category identifying the legal structure of the company or legal entity.</td>\n</tr>\n<tr>\n<td>meta.company.tax_id</td>\n<td>-</td>\n<td>string</td>\n<td>The business ID number of the company, as appropriate for the company’s country.</td>\n</tr>\n<tr>\n<td>meta.company.tax_id_registrar</td>\n<td>-</td>\n<td>string</td>\n<td>The jurisdiction in which the tax_id is registered.</td>\n</tr>\n<tr>\n<td>meta.company.vat_id</td>\n<td>-</td>\n<td>string</td>\n<td>The VAT number of the company.</td>\n</tr>\n<tr>\n<td>meta.individual</td>\n<td>-</td>\n<td>object</td>\n<td>Object with information about the person represented by the account. This field is null unless business_type is set to individual.</td>\n</tr>\n<tr>\n<td>meta.individual.address</td>\n<td>-</td>\n<td>object</td>\n<td>Object with the individual’s primary address.</td>\n</tr>\n<tr>\n<td>meta.individual.address.country</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. Country code.</td>\n</tr>\n<tr>\n<td>meta.individual.address.line1</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. Line 1.</td>\n</tr>\n<tr>\n<td>meta.individual.address.line2</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. Line 2.</td>\n</tr>\n<tr>\n<td>meta.individual.address.state</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. State.</td>\n</tr>\n<tr>\n<td>meta.individual.address.postal_code</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. Postal code.</td>\n</tr>\n<tr>\n<td>meta.individual.address.city</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. City.</td>\n</tr>\n<tr>\n<td>meta.individual.dob</td>\n<td>-</td>\n<td>object</td>\n<td>The individual’s date of birth.</td>\n</tr>\n<tr>\n<td>meta.individual.dob.day</td>\n<td>+</td>\n<td>string</td>\n<td>The day of birth, between 1 and 31.</td>\n</tr>\n<tr>\n<td>meta.individual.dob.month</td>\n<td>+</td>\n<td>string</td>\n<td>The month of birth, between 1 and 12.</td>\n</tr>\n<tr>\n<td>meta.individual.dob.year</td>\n<td>+</td>\n<td>string</td>\n<td>The four-digit year of birth.</td>\n</tr>\n<tr>\n<td>meta.individual.gender</td>\n<td>-</td>\n<td>string</td>\n<td>The individual’s gender.</td>\n</tr>\n<tr>\n<td>meta.individual.id_number</td>\n<td>-</td>\n<td>string</td>\n<td>The government-issued ID number of the individual, as appropriate for the representative’s country.</td>\n</tr>\n<tr>\n<td>meta.individual.phone</td>\n<td>-</td>\n<td>string</td>\n<td>The individual’s phone number.</td>\n</tr>\n<tr>\n<td>meta.individual.ssn_last_4</td>\n<td>-</td>\n<td>string</td>\n<td>The last four digits of the individual’s Social Security Number</td>\n</tr>\n<tr>\n<td>meta.capabilities</td>\n<td>+custom</td>\n<td>object</td>\n<td>Capabilities for <em>custom</em> account</td>\n</tr>\n<tr>\n<td>meta.capabilities.au_becs_debit_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The au_becs_debit_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.bacs_debit_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The bacs_debit_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.bancontact_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The bancontact_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.card_issuing.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The card_issuing capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.card_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The card_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.cartes_bancaires_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The cartes_bancaires_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.eps_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The eps_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.fpx_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The fpx_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.giropay_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The giropay_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.grabpay_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The grabpay_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.ideal_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The ideal_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.jcb_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The jcb_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.legacy_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The legacy_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.oxxo_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The oxxo_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.p24_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The p24_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.sepa_debit_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The sepa_debit_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.sofort_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The sofort_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.tax_reporting_us_1099_k.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The tax_reporting_us_1099_k capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.tax_reporting_us_1099_misc.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The tax_reporting_us_1099_misc capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.transfers.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The transfers capability.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"business-types\">Business types</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>individual</td>\n<td>Individual</td>\n</tr>\n<tr>\n<td>company</td>\n<td>Company</td>\n</tr>\n<tr>\n<td>non_profit</td>\n<td>Non profit</td>\n</tr>\n<tr>\n<td>government_entity</td>\n<td>Government entity</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","gateways",":gateway_id","accounts"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"","key":"gateway_id"}]}},"response":[{"id":"a48add36-0eab-4cb9-b530-3860e2300ffd","name":"gateway error","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","type":"text","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"wanda.mertz@example.com\",\n    \"company_name\": \"Hahn Mertz LLC\",\n    \"reference\": \"Ref to Account\",\n    \"business_type\": \"company\",\n    \"address\": {\n        \"city\": \"Lake Robyn\",\n        \"line1\": \"61426 Osvaldo Plains\",\n        \"line2\": \"Apt. 276\",\n        \"postal_code\": \"07396\",\n        \"country\": \"US\"\n    },\n    \"meta\": {\n        \"type\": \"custom\",\n        \"capabilities\": {\n            \"card_payments\": {\n                \"requested\": true\n            },\n            \"transfers\": {\n                \"requested\": true\n            }\n        },\n        \"company\": {\n            \"registration_number\": \"664558728\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/gateways/:gateway_id/accounts","host":["{{url}}"],"path":["v1","gateways",":gateway_id","accounts"],"variable":[{"key":"gateway_id","value":""}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 12 Jan 2021 14:33:36 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"438"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"1b6-0jdMheb8e3ESV5vP4XDuZhRlg4s\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error_code\": \"invalid_request_details\",\n    \"data\": null,\n    \"error\": \"Invalid Request Details\",\n    \"error_details\": [\n        {\n            \"gateway_specific_code\": \"account_country_invalid_address\",\n            \"gateway_specific_description\": \"The country of the business address provided does not match the country of the account. Businesses must be located in the same country as the account.\",\n            \"description\": \"Invalid Request Details\",\n            \"status_code\": null,\n            \"status_code_description\": null\n        }\n    ]\n}"},{"id":"ec2ff240-8bd0-4178-9709-eba77d6eecba","name":"validation error","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","type":"text","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"wanda.mertz@example.com\",\n    \"company_name\": \"Hahn Mertz LLC\",\n    \"reference\": \"Ref to Account\",\n    \"business_type\": \"company\",\n    \"address\": {\n        \"city\": \"Lake Robyn\",\n        \"line1\": \"61426 Osvaldo Plains\",\n        \"line2\": \"Apt. 276\",\n        \"postal_code\": \"07396\",\n        \"country\": \"US\"\n    },\n    \"meta\": {\n        \"type\": \"custom\",\n        \"capabilities\": {\n            \"card_payments\": {\n                \"requested\": true\n            },\n            \"transfers\": {\n                \"requested\": true\n            }\n        },\n        \"company\": {\n            \"registration_number\": \"664558728\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/gateways/:gateway_id/accounts","host":["{{url}}"],"path":["v1","gateways",":gateway_id","accounts"],"variable":[{"key":"gateway_id","value":""}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 12 Jan 2021 14:29:29 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"168"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"9b-o619clLO96UbubvX+/Ja9qnfXHA\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"body validation failed\",\n    \"error_code\": \"ValidationError\",\n    \"error_path\": \"business_type\",\n    \"error_details\": [\n        \"business_type must be a valid enum value\"\n    ],\n    \"status\": 400\n}"},{"id":"4dfde9da-21f0-4f39-b625-6ebb5ca99abd","name":"create success","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","type":"text","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"wanda.mertz@example.com\",\n    \"company_name\": \"Hahn Mertz LLC\",\n    \"reference\": \"Ref to Account\",\n    \"business_type\": \"generate enterprise technologies\",\n    \"address\": {\n        \"city\": \"Lake Robyn\",\n        \"line1\": \"61426 Osvaldo Plains\",\n        \"line2\": \"Apt. 276\",\n        \"postal_code\": \"07396\",\n        \"country\": \"US\"\n    },\n    \"meta\": {\n        \"type\": \"custom\",\n        \"capabilities\": {\n            \"card_payments\": {\n                \"requested\": true\n            },\n            \"transfers\": {\n                \"requested\": true\n            }\n        },\n        \"company\": {\n            \"registration_number\": \"664558728\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/gateways/:gateway_id/accounts","host":["{{url}}"],"path":["v1","gateways",":gateway_id","accounts"],"variable":[{"key":"gateway_id","value":"5fcca767dabe9b028df619f1"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 12 Jan 2021 14:27:07 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"521"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"209-BO7Kjo48jijDTArT7VxtiTsC/RE\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"gateway-account\",\n        \"data\": {\n            \"gateway_id\": \"5fcca767dabe9b028df619f1\",\n            \"email\": \"wanda.mertz@example.com\",\n            \"company_name\": \"Hahn Mertz LLC\",\n            \"reference\": \"Ref to Account\",\n            \"business_type\": \"company\",\n            \"address\": {\n                \"city\": \"Lake Robyn\",\n                \"line1\": \"61426 Osvaldo Plains\",\n                \"line2\": \"Apt. 276\",\n                \"postal_code\": \"07396\",\n                \"country\": \"US\"\n            },\n            \"external_id\": \"acct_1I8nptPum4UT1YqA\",\n            \"_id\": \"5ffdb1bbc12d143ffbb22ebf\",\n            \"created_at\": \"2021-01-12T14:27:07.491Z\",\n            \"updated_at\": \"2021-01-12T14:27:07.491Z\",\n            \"archived\": false\n        }\n    }\n}"}],"_postman_id":"40dd851c-f48e-4fce-b0e8-cbfedc61b690"},{"name":"modify","id":"1b1f03b2-39ef-47a9-bf45-c8528979d17e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","type":"text","value":"{{secretkey}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"wanda.mertz@example.com\",\n    \"company_name\": \"Hahn Mertz LLC\",\n    \"reference\": \"Ref to Account\",\n    \"business_type\": \"individual\",\n    \"address\": {\n        \"city\": \"Lake Robyn\",\n        \"line1\": \"61426 Osvaldo Plains\",\n        \"line2\": \"Apt. 276\",\n        \"postal_code\": \"07396\",\n        \"country\": \"US\"\n    },\n    \"meta\": {\n        \"company\": {\n            \"registration_number\": \"6645587281\"\n        }\n    }\n}"},"url":"{{url}}/v1/gateways/:gateway_id/accounts/:id","description":"<p>Modify gateway account</p>\n<h2 id=\"request-params\">Request params</h2>\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>gateway_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>id of already added to a PayDock gateway service. Available gateways: Stripe</td>\n</tr>\n<tr>\n<td>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[type]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>business_type</td>\n<td>+</td>\n<td>string</td>\n<td>Business type of gateway account. Look at the <em>Business types</em> table</td>\n</tr>\n<tr>\n<td>email</td>\n<td>-</td>\n<td>string</td>\n<td>Gateway account email</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>-</td>\n<td>string</td>\n<td>Gateway account individual first name</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>-</td>\n<td>string</td>\n<td>Gateway account individual last name</td>\n</tr>\n<tr>\n<td>label</td>\n<td>-</td>\n<td>string</td>\n<td>Gateway account label</td>\n</tr>\n<tr>\n<td>company_name</td>\n<td>-</td>\n<td>string</td>\n<td>Gateway account company name</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>Manualy added reference to gateway account</td>\n</tr>\n<tr>\n<td>address</td>\n<td>-</td>\n<td>object</td>\n<td>Object with the gateway account company address information.</td>\n</tr>\n<tr>\n<td>address.country</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. Country code.</td>\n</tr>\n<tr>\n<td>address.line1</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. Line 1.</td>\n</tr>\n<tr>\n<td>address.line2</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. Line 2.</td>\n</tr>\n<tr>\n<td>address.state</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. State.</td>\n</tr>\n<tr>\n<td>address.postal_code</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. Postal code.</td>\n</tr>\n<tr>\n<td>address.city</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. City.</td>\n</tr>\n<tr>\n<td>meta</td>\n<td>-</td>\n<td>object</td>\n<td>Object with the gateway account additional information. All the fields with stripe structure</td>\n</tr>\n<tr>\n<td>meta.company</td>\n<td>-</td>\n<td>object</td>\n<td>Object with the company information.</td>\n</tr>\n<tr>\n<td>meta.company.owners_provided</td>\n<td>-</td>\n<td>boolean</td>\n<td>Whether the company’s owners have been provided.</td>\n</tr>\n<tr>\n<td>meta.company.phone</td>\n<td>-</td>\n<td>string</td>\n<td>The company’s phone number.</td>\n</tr>\n<tr>\n<td>meta.company.registration_number</td>\n<td>-</td>\n<td>string</td>\n<td>The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes.</td>\n</tr>\n<tr>\n<td>meta.company.structure</td>\n<td>-</td>\n<td>string</td>\n<td>The category identifying the legal structure of the company or legal entity.</td>\n</tr>\n<tr>\n<td>meta.company.tax_id</td>\n<td>-</td>\n<td>string</td>\n<td>The business ID number of the company, as appropriate for the company’s country.</td>\n</tr>\n<tr>\n<td>meta.company.tax_id_registrar</td>\n<td>-</td>\n<td>string</td>\n<td>The jurisdiction in which the tax_id is registered.</td>\n</tr>\n<tr>\n<td>meta.company.vat_id</td>\n<td>-</td>\n<td>string</td>\n<td>The VAT number of the company.</td>\n</tr>\n<tr>\n<td>meta.individual</td>\n<td>-</td>\n<td>object</td>\n<td>Object with information about the person represented by the account. This field is null unless business_type is set to individual.</td>\n</tr>\n<tr>\n<td>meta.individual.address</td>\n<td>-</td>\n<td>object</td>\n<td>Object with the individual’s primary address.</td>\n</tr>\n<tr>\n<td>meta.individual.address.country</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. Country code.</td>\n</tr>\n<tr>\n<td>meta.individual.address.line1</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. Line 1.</td>\n</tr>\n<tr>\n<td>meta.individual.address.line2</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. Line 2.</td>\n</tr>\n<tr>\n<td>meta.individual.address.state</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. State.</td>\n</tr>\n<tr>\n<td>meta.individual.address.postal_code</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. Postal code.</td>\n</tr>\n<tr>\n<td>meta.individual.address.city</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. City.</td>\n</tr>\n<tr>\n<td>meta.individual.dob</td>\n<td>-</td>\n<td>object</td>\n<td>The individual’s date of birth.</td>\n</tr>\n<tr>\n<td>meta.individual.dob.day</td>\n<td>+</td>\n<td>string</td>\n<td>The day of birth, between 1 and 31.</td>\n</tr>\n<tr>\n<td>meta.individual.dob.month</td>\n<td>+</td>\n<td>string</td>\n<td>The month of birth, between 1 and 12.</td>\n</tr>\n<tr>\n<td>meta.individual.dob.year</td>\n<td>+</td>\n<td>string</td>\n<td>The four-digit year of birth.</td>\n</tr>\n<tr>\n<td>meta.individual.gender</td>\n<td>-</td>\n<td>string</td>\n<td>The individual’s gender.</td>\n</tr>\n<tr>\n<td>meta.individual.id_number</td>\n<td>-</td>\n<td>string</td>\n<td>The government-issued ID number of the individual, as appropriate for the representative’s country.</td>\n</tr>\n<tr>\n<td>meta.individual.phone</td>\n<td>-</td>\n<td>string</td>\n<td>The individual’s phone number.</td>\n</tr>\n<tr>\n<td>meta.individual.ssn_last_4</td>\n<td>-</td>\n<td>string</td>\n<td>The last four digits of the individual’s Social Security Number</td>\n</tr>\n<tr>\n<td>meta.capabilities</td>\n<td>-</td>\n<td>object</td>\n<td>Capabilities for <em>custom</em> account</td>\n</tr>\n<tr>\n<td>meta.capabilities.au_becs_debit_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The au_becs_debit_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.bacs_debit_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The bacs_debit_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.bancontact_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The bancontact_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.card_issuing.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The card_issuing capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.card_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The card_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.cartes_bancaires_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The cartes_bancaires_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.eps_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The eps_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.fpx_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The fpx_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.giropay_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The giropay_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.grabpay_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The grabpay_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.ideal_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The ideal_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.jcb_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The jcb_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.legacy_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The legacy_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.oxxo_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The oxxo_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.p24_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The p24_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.sepa_debit_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The sepa_debit_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.sofort_payments.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The sofort_payments capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.tax_reporting_us_1099_k.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The tax_reporting_us_1099_k capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.tax_reporting_us_1099_misc.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The tax_reporting_us_1099_misc capability.</td>\n</tr>\n<tr>\n<td>meta.capabilities.transfers.requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>The transfers capability.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"business-types\">Business types</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>individual</td>\n<td>Individual</td>\n</tr>\n<tr>\n<td>company</td>\n<td>Company</td>\n</tr>\n<tr>\n<td>non_profit</td>\n<td>Non profit</td>\n</tr>\n<tr>\n<td>government_entity</td>\n<td>Government entity</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","gateways",":gateway_id","accounts",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"b6019399-d692-4b61-9277-c75e4c456953","type":"string","value":"","key":"gateway_id"},{"id":"de4e2e75-963d-43a6-8f2b-e62150eecf77","type":"string","value":"","key":"id"}]}},"response":[{"id":"d280288f-563d-4598-b4b4-280148e9a20e","name":"gateway error","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","type":"text","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"wanda.mertz@example.com\",\n    \"company_name\": \"Hahn Mertz LLC\",\n    \"reference\": \"Ref to Account\",\n    \"business_type\": \"individual\",\n    \"address\": {\n        \"city\": \"Lake Robyn\",\n        \"line1\": \"61426 Osvaldo Plains\",\n        \"line2\": \"Apt. 276\",\n        \"postal_code\": \"07396\",\n        \"country\": \"US\"\n    },\n    \"meta\": {\n        \"company\": {\n            \"registration_number\": \"6645587281\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/gateways/:gateway_id/accounts/:id","host":["{{url}}"],"path":["v1","gateways",":gateway_id","accounts",":id"],"variable":[{"key":"gateway_id","value":""},{"key":"id","value":""}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 12 Jan 2021 14:58:39 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"438"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"1b6-0jdMheb8e3ESV5vP4XDuZhRlg4s\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error_code\": \"invalid_request_details\",\n    \"data\": null,\n    \"error\": \"Invalid Request Details\",\n    \"error_details\": [\n        {\n            \"gateway_specific_code\": \"account_country_invalid_address\",\n            \"gateway_specific_description\": \"The country of the business address provided does not match the country of the account. Businesses must be located in the same country as the account.\",\n            \"description\": \"Invalid Request Details\",\n            \"status_code\": null,\n            \"status_code_description\": null\n        }\n    ]\n}"},{"id":"b9262723-fdc2-4f73-82eb-bee22acb39d5","name":"modify success","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","type":"text","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"wanda.mertz@example.com\",\n    \"company_name\": \"Hahn Mertz LLC\",\n    \"reference\": \"Ref to Account\",\n    \"business_type\": \"individual\",\n    \"address\": {\n        \"city\": \"Lake Robyn\",\n        \"line1\": \"61426 Osvaldo Plains\",\n        \"line2\": \"Apt. 276\",\n        \"postal_code\": \"07396\",\n        \"country\": \"US\"\n    },\n    \"meta\": {\n        \"company\": {\n            \"registration_number\": \"6645587281\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/gateways/:gateway_id/accounts/:id","host":["{{url}}"],"path":["v1","gateways",":gateway_id","accounts",":id"],"variable":[{"key":"gateway_id","value":""},{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 12 Jan 2021 14:57:27 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"548"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"224-WaxQH7y/2VDe9DE4abpUTx1Foic\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"gateway-account\",\n        \"data\": {\n            \"gateway_id\": \"5fcca767dabe9b028df619f1\",\n            \"email\": \"wanda.mertz@example.com\",\n            \"company_name\": \"Hahn Mertz LLC\",\n            \"reference\": \"Ref to Account\",\n            \"business_type\": \"individual\",\n            \"address\": {\n                \"city\": \"Lake Robyn\",\n                \"line1\": \"61426 Osvaldo Plains\",\n                \"line2\": \"Apt. 276\",\n                \"postal_code\": \"07396\",\n                \"country\": \"US\"\n            },\n            \"external_id\": \"acct_2I4o6KE2herKvFrC\",\n            \"_id\": \"5ffdb5b7c12d143ffbb22ecf\",\n            \"created_at\": \"2021-01-12T14:44:07.055Z\",\n            \"updated_at\": \"2021-01-12T14:57:27.416Z\",\n            \"archived\": false\n        }\n    }\n}"},{"id":"91900896-00af-4904-b9c2-63cb94d493af","name":"validation error","originalRequest":{"method":"POST","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","type":"text","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"wanda.mertz@example.com\",\n    \"company_name\": \"Hahn Mertz LLC\",\n    \"reference\": \"Ref to Account\",\n    \"business_type\": \"individual\",\n    \"address\": {\n        \"city\": \"Lake Robyn\",\n        \"line1\": \"61426 Osvaldo Plains\",\n        \"line2\": \"Apt. 276\",\n        \"postal_code\": \"07396\",\n        \"country\": \"US\"\n    },\n    \"meta\": {\n        \"company\": {\n            \"registration_number\": \"6645587281\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/gateways/:gateway_id/accounts/:id","host":["{{url}}"],"path":["v1","gateways",":gateway_id","accounts",":id"],"variable":[{"key":"gateway_id","value":""},{"key":"id","value":""}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 12 Jan 2021 14:56:16 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"141"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"80-EhoukGSALUa+9AeTYH3giilj0pM\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"param validation failed\",\n    \"error_code\": \"ValidationError\",\n    \"error_path\": \"id\",\n    \"error_details\": [\n        \"id must be a mongodb id\"\n    ],\n    \"status\": 400\n}"}],"_postman_id":"1b1f03b2-39ef-47a9-bf45-c8528979d17e"},{"name":"get","id":"046e4d1b-8610-49dd-a7db-382fd6fd46b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","type":"text","value":"{{secretkey}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/v1/gateways/:gateway_id/accounts/:id","description":"<p>Get gateway account</p>\n<h2 id=\"request-params\">Request params</h2>\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>gateway_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>id of already added to a PayDock gateway service. Available gateways: Stripe</td>\n</tr>\n<tr>\n<td>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","gateways",":gateway_id","accounts",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"10fa8e10-5058-4ca8-b94a-5336be3930fc","type":"string","value":"","key":"gateway_id"},{"id":"26d07e33-9d32-4c3f-b586-7978e0b708fc","type":"string","value":"","key":"id"}]}},"response":[{"id":"ac761558-bd12-4b34-b482-dd2edbc49790","name":"get success","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","type":"text","value":"{{secretkey}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/v1/gateways/:gateway_id/accounts/:id","host":["{{url}}"],"path":["v1","gateways",":gateway_id","accounts",":id"],"variable":[{"key":"gateway_id","value":"5fcca767dabe9b028df619f1"},{"key":"id","value":"5ffdb5b70c4a94401a154369"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 12 Jan 2021 15:00:34 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"10869"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"2a75-iELmVB0w4iODHngIvYzUjG6wKJY\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"gateway-account\",\n        \"data\": {\n            \"gateway_id\": \"5fcca767dabe9b028df619f1\",\n            \"email\": \"wanda.mertz@example.com\",\n            \"company_name\": \"Hahn Mertz LLC\",\n            \"reference\": \"Ref to Account\",\n            \"business_type\": \"individual\",\n            \"address\": {\n                \"city\": \"Lake Robyn\",\n                \"line1\": \"61426 Osvaldo Plains\",\n                \"line2\": \"Apt. 276\",\n                \"postal_code\": \"07396\",\n                \"country\": \"US\"\n            },\n            \"external_id\": \"acct_2I6o6LQ2dfgTvWyI\",\n            \"_id\": \"5ffdb5b7c12d143ffbb22ecf\",\n            \"created_at\": \"2021-01-12T14:44:07.055Z\",\n            \"updated_at\": \"2021-01-12T14:57:27.416Z\",\n            \"archived\": false,\n            \"logs\": [\n                {\n                    \"request\": {\n                        \"body\": \"{\\\"type\\\":\\\"custom\\\",\\\"company\\\":{\\\"registration_number\\\":\\\"664558728\\\",\\\"address\\\":{\\\"city\\\":\\\"Lake Robyn\\\",\\\"country\\\":\\\"US\\\",\\\"line1\\\":\\\"61426 Osvaldo Plains\\\",\\\"line2\\\":\\\"Apt. 276\\\",\\\"postal_code\\\":\\\"07396\\\"},\\\"name\\\":\\\"Hahn Mertz LLC\\\"},\\\"capabilities\\\":{\\\"card_payments\\\":{\\\"requested\\\":true},\\\"transfers\\\":{\\\"requested\\\":true}},\\\"business_type\\\":\\\"company\\\",\\\"email\\\":\\\"wanda.mertz@example.com\\\"}\",\n                        \"format\": \"json\"\n                    },\n                    \"response\": {\n                        \"body\": \"{\\\"id\\\":\\\"acct_2I6o6LQ2dfgTvWyI\\\",\\\"object\\\":\\\"account\\\",\\\"business_profile\\\":{\\\"mcc\\\":null,\\\"name\\\":\\\"Hahn Mertz LLC\\\",\\\"product_description\\\":null,\\\"support_address\\\":null,\\\"support_email\\\":null,\\\"support_phone\\\":null,\\\"support_url\\\":null,\\\"url\\\":null},\\\"business_type\\\":\\\"company\\\",\\\"capabilities\\\":{\\\"card_payments\\\":\\\"inactive\\\",\\\"transfers\\\":\\\"inactive\\\"},\\\"charges_enabled\\\":false,\\\"company\\\":{\\\"address\\\":{\\\"city\\\":\\\"Lake Robyn\\\",\\\"country\\\":\\\"US\\\",\\\"line1\\\":\\\"61426 Osvaldo Plains\\\",\\\"line2\\\":\\\"Apt. 276\\\",\\\"postal_code\\\":\\\"07396\\\",\\\"state\\\":null},\\\"directors_provided\\\":false,\\\"executives_provided\\\":false,\\\"id_number\\\":\\\"664558728\\\",\\\"name\\\":\\\"Hahn Mertz LLC\\\",\\\"owners_provided\\\":false,\\\"registration_number\\\":\\\"664558728\\\",\\\"tax_id_provided\\\":false,\\\"verification\\\":{\\\"document\\\":{\\\"back\\\":null,\\\"details\\\":null,\\\"details_code\\\":null,\\\"front\\\":null}}},\\\"country\\\":\\\"US\\\",\\\"created\\\":1610462645,\\\"default_currency\\\":\\\"usd\\\",\\\"details_submitted\\\":false,\\\"email\\\":\\\"wanda.mertz@example.com\\\",\\\"external_accounts\\\":{\\\"object\\\":\\\"list\\\",\\\"data\\\":[],\\\"has_more\\\":false,\\\"total_count\\\":0,\\\"url\\\":\\\"/v1/accounts/acct_1I8o6LQ2herKvWyP/external_accounts\\\"},\\\"metadata\\\":{},\\\"payouts_enabled\\\":false,\\\"requirements\\\":{\\\"current_deadline\\\":null,\\\"currently_due\\\":[\\\"business_profile.mcc\\\",\\\"business_profile.url\\\",\\\"company.address.state\\\",\\\"company.owners_provided\\\",\\\"company.phone\\\",\\\"company.tax_id\\\",\\\"external_account\\\",\\\"owners.email\\\",\\\"owners.first_name\\\",\\\"owners.last_name\\\",\\\"representative.address.city\\\",\\\"representative.address.line1\\\",\\\"representative.address.postal_code\\\",\\\"representative.address.state\\\",\\\"representative.dob.day\\\",\\\"representative.dob.month\\\",\\\"representative.dob.year\\\",\\\"representative.email\\\",\\\"representative.first_name\\\",\\\"representative.last_name\\\",\\\"representative.phone\\\",\\\"representative.relationship.executive\\\",\\\"representative.relationship.title\\\",\\\"representative.ssn_last_4\\\",\\\"tos_acceptance.date\\\",\\\"tos_acceptance.ip\\\"],\\\"disabled_reason\\\":\\\"requirements.past_due\\\",\\\"errors\\\":[],\\\"eventually_due\\\":[\\\"business_profile.mcc\\\",\\\"business_profile.url\\\",\\\"company.address.line1\\\",\\\"company.address.state\\\",\\\"company.owners_provided\\\",\\\"company.phone\\\",\\\"company.tax_id\\\",\\\"external_account\\\",\\\"owners.address.city\\\",\\\"owners.address.line1\\\",\\\"owners.address.postal_code\\\",\\\"owners.address.state\\\",\\\"owners.dob.day\\\",\\\"owners.dob.month\\\",\\\"owners.dob.year\\\",\\\"owners.email\\\",\\\"owners.first_name\\\",\\\"owners.last_name\\\",\\\"owners.phone\\\",\\\"owners.ssn_last_4\\\",\\\"representative.address.city\\\",\\\"representative.address.line1\\\",\\\"representative.address.postal_code\\\",\\\"representative.address.state\\\",\\\"representative.dob.day\\\",\\\"representative.dob.month\\\",\\\"representative.dob.year\\\",\\\"representative.email\\\",\\\"representative.first_name\\\",\\\"representative.last_name\\\",\\\"representative.phone\\\",\\\"representative.relationship.executive\\\",\\\"representative.relationship.title\\\",\\\"representative.ssn_last_4\\\",\\\"tos_acceptance.date\\\",\\\"tos_acceptance.ip\\\"],\\\"past_due\\\":[\\\"business_profile.mcc\\\",\\\"business_profile.url\\\",\\\"company.address.state\\\",\\\"company.owners_provided\\\",\\\"company.phone\\\",\\\"company.tax_id\\\",\\\"external_account\\\",\\\"owners.email\\\",\\\"owners.first_name\\\",\\\"owners.last_name\\\",\\\"representative.address.city\\\",\\\"representative.address.line1\\\",\\\"representative.address.postal_code\\\",\\\"representative.address.state\\\",\\\"representative.dob.day\\\",\\\"representative.dob.month\\\",\\\"representative.dob.year\\\",\\\"representative.email\\\",\\\"representative.first_name\\\",\\\"representative.last_name\\\",\\\"representative.phone\\\",\\\"representative.relationship.executive\\\",\\\"representative.relationship.title\\\",\\\"representative.ssn_last_4\\\",\\\"tos_acceptance.date\\\",\\\"tos_acceptance.ip\\\"],\\\"pending_verification\\\":[]},\\\"settings\\\":{\\\"bacs_debit_payments\\\":{},\\\"branding\\\":{\\\"icon\\\":null,\\\"logo\\\":null,\\\"primary_color\\\":null,\\\"secondary_color\\\":null},\\\"card_payments\\\":{\\\"decline_on\\\":{\\\"avs_failure\\\":false,\\\"cvc_failure\\\":false},\\\"statement_descriptor_prefix\\\":null},\\\"dashboard\\\":{\\\"display_name\\\":null,\\\"timezone\\\":\\\"Etc/UTC\\\"},\\\"payments\\\":{\\\"statement_descriptor\\\":null,\\\"statement_descriptor_kana\\\":null,\\\"statement_descriptor_kanji\\\":null},\\\"payouts\\\":{\\\"debit_negative_balances\\\":false,\\\"schedule\\\":{\\\"delay_days\\\":2,\\\"interval\\\":\\\"daily\\\"},\\\"statement_descriptor\\\":null},\\\"sepa_debit_payments\\\":{}},\\\"tos_acceptance\\\":{\\\"date\\\":null,\\\"ip\\\":null,\\\"user_agent\\\":null},\\\"type\\\":\\\"custom\\\"}\",\n                        \"format\": \"json\"\n                    },\n                    \"_id\": \"5ffdb5b70c4a94401a154369\",\n                    \"url\": \"http://hahn.mertz.llc.biz\",\n                    \"relation_id\": \"5ffdb5b7c12d143ffbb22ecf\",\n                    \"relation_entity\": \"service\",\n                    \"action\": \"create_gateway_account\",\n                    \"status\": \"200\",\n                    \"tcp_status\": null,\n                    \"created_at\": \"2021-01-12T14:44:07.068Z\",\n                    \"updated_at\": \"2021-01-12T14:44:07.068Z\",\n                    \"__v\": 0\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"046e4d1b-8610-49dd-a7db-382fd6fd46b5"},{"name":"search","id":"55caf1d6-f6bf-4648-a9ff-feac8186a33c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","type":"text","value":"{{secretkey}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{url}}/v1/gateways/:gateway_id/accounts","description":"<p>Returns all gateway accounts for the gateway, limited to 100 records.</p>\n<h2 id=\"request-params\">Request params</h2>\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>gateway_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>id of already added to a PayDock gateway service. Available gateways: Stripe</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-query-params\">Request query params</h2>\n<p><strong>Pagination</strong></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>skip</td>\n<td>-</td>\n<td>number</td>\n<td>Pagination parameter to skip first n subscriptions from list, default = 0</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>-</td>\n<td>number</td>\n<td>Pagination parameter to limit output to n , default = 100 , maximum value = 1000</td>\n</tr>\n<tr>\n<td>sortkey</td>\n<td>-</td>\n<td>string</td>\n<td>Sorting key parameter i.e. created_at</td>\n</tr>\n<tr>\n<td>sortdirection</td>\n<td>-</td>\n<td>string</td>\n<td>Sorting order direction parameter <em>ASC</em> or <em>DESC</em> (<em>DESC</em> by default)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Filters</strong></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>business_type</td>\n<td>-</td>\n<td>string</td>\n<td>Business type of gateway account. Look at the Business types table</td>\n</tr>\n<tr>\n<td>company_name</td>\n<td>-</td>\n<td>string</td>\n<td>Gateway account company name</td>\n</tr>\n<tr>\n<td>label</td>\n<td>-</td>\n<td>string</td>\n<td>Gateway account label</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>Gateway account reference</td>\n</tr>\n<tr>\n<td>archived</td>\n<td>-</td>\n<td>bool</td>\n<td><em>true</em> or <em>false</em></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Other</strong></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>search</td>\n<td>-</td>\n<td>string</td>\n<td>Search by gateway account email, first_name, last_name</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"business-types\">Business types</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>individual</td>\n<td>Individual</td>\n</tr>\n<tr>\n<td>company</td>\n<td>Company</td>\n</tr>\n<tr>\n<td>non_profit</td>\n<td>Non profit</td>\n</tr>\n<tr>\n<td>government_entity</td>\n<td>Government entity</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","gateways",":gateway_id","accounts"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"","key":"gateway_id"}]}},"response":[{"id":"5c5cd1d8-f385-4ccf-a8fb-3111b30b8a01","name":"search by company_name","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","type":"text","value":"{{secretkey}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/v1/gateways/:gateway_id/accounts?company_name=Hahn Mertz LLC","host":["{{url}}"],"path":["v1","gateways",":gateway_id","accounts"],"query":[{"key":"company_name","value":"Hahn Mertz LLC"}],"variable":[{"key":"gateway_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 12 Jan 2021 15:06:03 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1050"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-info-limit","value":"100"},{"key":"x-info-skip","value":"0"},{"key":"x-info-sort-key","value":"created_at"},{"key":"x-info-sort-direction","value":"DESC"},{"key":"x-info-count","value":"2"},{"key":"etag","value":"W/\"41a-UuvtECNCIRn2dtoDQuw/W0nvycU\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"gateway-account\",\n        \"data\": [\n            {\n                \"business_type\": \"company\",\n                \"gateway_id\": \"5fcca767dabe9b028df619f1\",\n                \"email\": \"wanda.mertz@example.com\",\n                \"company_name\": \"Hahn Mertz LLC\",\n                \"reference\": \"Ref to Account\",\n                \"address\": {\n                    \"city\": \"Lake Robyn\",\n                    \"line1\": \"61426 Osvaldo Plains\",\n                    \"line2\": \"Apt. 276\",\n                    \"postal_code\": \"07396\",\n                    \"country\": \"US\"\n                },\n                \"external_id\": \"acct_1I8nvwPouiYbXHtV\",\n                \"_id\": \"5ffdb331c12d143ffbb22ec3\",\n                \"created_at\": \"2021-01-12T14:33:21.821Z\",\n                \"updated_at\": \"2021-01-12T14:33:21.821Z\",\n                \"archived\": false\n            }\n        ],\n        \"skip\": 0,\n        \"limit\": 100,\n        \"sortkey\": \"created_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 1\n    }\n}"},{"id":"7c4755e6-c725-4a46-b856-7e7c551a6d17","name":"search success","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","type":"text","value":"{{secretkey}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{url}}/v1/gateways/:gateway_id/accounts","host":["{{url}}"],"path":["v1","gateways",":gateway_id","accounts"],"variable":[{"key":"gateway_id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 12 Jan 2021 15:03:25 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2753"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-info-limit","value":"100"},{"key":"x-info-skip","value":"0"},{"key":"x-info-sort-key","value":"created_at"},{"key":"x-info-sort-direction","value":"DESC"},{"key":"x-info-count","value":"6"},{"key":"etag","value":"W/\"ac1-xkzLBRpASff8O5kcErlPtqLvNAc\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"gateway-account\",\n        \"data\": [\n            {\n                \"gateway_id\": \"5fcca767dabe9b028df619f1\",\n                \"reference\": \"New Ref to Account\",\n                \"email\": \"wanda.mertz@example.com\",\n                \"company_name\": \"Hahn Mertz LLC\",\n                \"business_type\": \"individual\",\n                \"address\": {\n                    \"city\": \"Lake Robyn\",\n                    \"line1\": \"61426 Osvaldo Plains\",\n                    \"line2\": \"Apt. 276\",\n                    \"postal_code\": \"07396\",\n                    \"country\": \"US\"\n                },\n                \"external_id\": \"acct_1I8o6LQ2herKvWyP\",\n                \"_id\": \"5ffdb5b7c12d143ffbb22ecf\",\n                \"created_at\": \"2021-01-12T14:44:07.055Z\",\n                \"updated_at\": \"2021-01-12T14:57:27.416Z\",\n                \"archived\": false\n            },\n            {\n                \"business_type\": \"company\",\n                \"gateway_id\": \"5fcca767dabe9b028df619f1\",\n                \"email\": \"wanda.mertz@example.com\",\n                \"company_name\": \"Hahn Mertz LLC\",\n                \"reference\": \"Ref to Account\",\n                \"address\": {\n                    \"city\": \"Lake Robyn\",\n                    \"line1\": \"61426 Osvaldo Plains\",\n                    \"line2\": \"Apt. 276\",\n                    \"postal_code\": \"07396\",\n                    \"country\": \"US\"\n                },\n                \"external_id\": \"acct_1I8nvwPouiYbXHtV\",\n                \"_id\": \"5ffdb331c12d143ffbb22ec3\",\n                \"created_at\": \"2021-01-12T14:33:21.821Z\",\n                \"updated_at\": \"2021-01-12T14:33:21.821Z\",\n                \"archived\": false\n            }\n        ],\n        \"skip\": 0,\n        \"limit\": 100,\n        \"sortkey\": \"created_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 2\n    }\n}"}],"_postman_id":"55caf1d6-f6bf-4648-a9ff-feac8186a33c"},{"name":"delete","id":"a5aa8d2c-c627-4ecd-9795-3e27da970941","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-user-secret-key","type":"text","value":"{{secretkey}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/gateways/:gateway_id/accounts/:id","description":"<p>Archive Gateway Accounts to hide it it from gateway accounts list. You can still retrieve archived Gateway Accounts.</p>\n<h2 id=\"request-params\">Request params</h2>\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>gateway_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>id of already added to a PayDock gateway service. Available gateways: Stripe</td>\n</tr>\n<tr>\n<td>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>_id received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","gateways",":gateway_id","accounts",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"4085e45b-9745-4913-8a4a-6d53cbddd7f4","type":"string","value":"","key":"gateway_id"},{"id":"4401e02d-77bf-40b9-bab8-6e557ad30951","type":"string","value":"","key":"id"}]}},"response":[{"id":"5e075241-2355-401f-9715-9270759bf45b","name":"delete failed","originalRequest":{"method":"DELETE","header":[{"key":"x-user-secret-key","type":"text","value":"{{secretkey}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/gateways/:gateway_id/accounts/:id","host":["{{url}}"],"path":["v1","gateways",":gateway_id","accounts",":id"],"variable":[{"key":"gateway_id","value":""},{"key":"id","type":"string","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 12 Jan 2021 15:07:48 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"29"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"1d-aIj+H2OlTc9IcyGo/9fHu1m4gIg\""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Account not found\"\n}"},{"id":"e85c77e1-b945-447f-9357-0941edd272ce","name":"delete success","originalRequest":{"method":"DELETE","header":[{"key":"x-user-secret-key","type":"text","value":"{{secretkey}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/gateways/:gateway_id/accounts/:id","host":["{{url}}"],"path":["v1","gateways",":gateway_id","accounts",":id"],"variable":[{"key":"gateway_id","value":""},{"key":"id","type":"string","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 12 Jan 2021 15:07:27 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"521"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"PayDock <paydock.com>"},{"key":"access-control-allow-origin","value":"*"},{"key":"etag","value":"W/\"209-vcifzVHsREyvtifmv1ZjWvfKFjI\""},{"key":"Strict-Transport-Security","value":"max-age=15768000"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"gateway-account\",\n        \"data\": {\n            \"business_type\": \"company\",\n                \"gateway_id\": \"5fcca767dabe9b028df619f1\",\n                \"email\": \"wanda.mertz@example.com\",\n                \"company_name\": \"Hahn Mertz LLC\",\n                \"reference\": \"Ref to Account\",\n                \"address\": {\n                    \"city\": \"Lake Robyn\",\n                    \"line1\": \"61426 Osvaldo Plains\",\n                    \"line2\": \"Apt. 276\",\n                    \"postal_code\": \"07396\",\n                    \"country\": \"US\"\n                },\n            \"external_id\": \"acct_1I8nvwPouiYbXHtV\",\n            \"_id\": \"5ffdb331c12d143ffbb22ec3\",\n            \"created_at\": \"2021-01-12T14:33:21.821Z\",\n            \"updated_at\": \"2021-01-12T15:07:27.409Z\",\n            \"archived\": true\n        }\n    }\n}"}],"_postman_id":"a5aa8d2c-c627-4ecd-9795-3e27da970941"}],"id":"2e1281f8-d6fc-4d72-9335-1b4d73f63255","description":"<p>Gateway Sub-accounts like Stripe are used to route payments between business, customers, and recipients who need to get paid. This functionality helps to create, update accounts using e.g. Stripe and store information inside Paydock for the future payments.</p>\n<h2 id=\"gateway-resource\">Gateway resource</h2>\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>_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>A gateway account ID for any future requests</td>\n</tr>\n<tr>\n<td>business_type</td>\n<td>+</td>\n<td>string</td>\n<td>A business type of the gateway account. Look at the <em>Business types</em> table</td>\n</tr>\n<tr>\n<td>email</td>\n<td>-</td>\n<td>string</td>\n<td>An email assigned to the gateway account</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>-</td>\n<td>string</td>\n<td>A first name assigned to the gateway account</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>-</td>\n<td>string</td>\n<td>A last name assigned to the gateway account</td>\n</tr>\n<tr>\n<td>label</td>\n<td>-</td>\n<td>string</td>\n<td>A label assigned to the gateway account</td>\n</tr>\n<tr>\n<td>company_name</td>\n<td>-</td>\n<td>string</td>\n<td>A company name assigned to the gateway account</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>string</td>\n<td>A reference manually added to the gateway account</td>\n</tr>\n<tr>\n<td>gateway_id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>An ID of the already created gateways at Paydock. Supported gateways: Stripe</td>\n</tr>\n<tr>\n<td>external_id</td>\n<td>+</td>\n<td>string</td>\n<td>A gateway account ID on the gateway side</td>\n</tr>\n<tr>\n<td>address</td>\n<td>-</td>\n<td>object</td>\n<td>An object with the gateway account company address information</td>\n</tr>\n<tr>\n<td>address.country</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. Country code.</td>\n</tr>\n<tr>\n<td>address.line1</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. Line 1.</td>\n</tr>\n<tr>\n<td>address.line2</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. Line 2.</td>\n</tr>\n<tr>\n<td>address.state</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. State.</td>\n</tr>\n<tr>\n<td>address.postal_code</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. Postal code.</td>\n</tr>\n<tr>\n<td>address.city</td>\n<td>-</td>\n<td>string</td>\n<td>Company address. City.</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>+</td>\n<td>string(ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>A creation date</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>+</td>\n<td>string(ISO 8601 format - yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>A date of the last update</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"business-types\">Business types</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>individual</td>\n<td>Individual</td>\n</tr>\n<tr>\n<td>company</td>\n<td>Company</td>\n</tr>\n<tr>\n<td>non_profit</td>\n<td>Non profit</td>\n</tr>\n<tr>\n<td>government_entity</td>\n<td>Government entity</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"f476c3f2-2c2d-41d9-be25-5784e77a19e3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"8d56eb21-2c62-4be5-944e-5531d927aaa1","type":"text/javascript","exec":[""]}}],"_postman_id":"2e1281f8-d6fc-4d72-9335-1b4d73f63255"},{"name":"fetches","item":[{"name":"create","id":"25e6748c-a0b8-428f-b49a-89688906fe98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>Content-Type depends on body</p>\n","key":"Content-Type","value":"application/xml"},{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"x-original-url","value":"https://example.com/enpoint","description":"<p>Original url</p>\n","type":"text"},{"key":"x-original-method","value":"GET","description":"<p>Original method</p>\n","type":"text"},{"key":"x-original-Authorization","value":"Basic dXNlcm5hbWU6cGFzc3dvcmQ=","description":"<p>Any custom original header</p>\n","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/fetches","description":"<p>This endpoint takes the original header, body, URL and request method, delivers it to a specific service and replaces some card data with vault tokens in the response.</p>\n<p>The original means that this is the exact data that a particular service expects to receive.</p>\n<p>The service is detected automatically. However, it must be previously connected (See the endpoint <strong>services create</strong> with the <code>proxy_link</code> group).</p>\n<p>All card data (except for the number and CVV), external IDs and vault tokens can also be obtained with <em>get by ID</em> and <em>search</em> endpoints.</p>\n<h2 id=\"request-headers\">Request headers</h2>\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>x-original-url</td>\n<td>+</td>\n<td>string</td>\n<td>URL</td>\n</tr>\n<tr>\n<td>x-original-method</td>\n<td>+</td>\n<td>string</td>\n<td>HTTP methods: <code>GET</code>, <code>POST</code></td>\n</tr>\n<tr>\n<td>x-original-[any]</td>\n<td>-</td>\n<td>string</td>\n<td>Any original header</td>\n</tr>\n<tr>\n<td>x-virtual-flow</td>\n<td>-</td>\n<td>string</td>\n<td>It allows simulating some positive and negative responses for testing needs. It works only with a virtual mode. By default, it is always a positive response. See <em>Virtual Flow</em> table</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request body</h2>\n<p>The original body that a particular service expects to receive.</p>\n<h2 id=\"response-body\">Response body</h2>\n<p>The original body that a particular service is expected to return with sanitized card number and CVV.</p>\n<h2 id=\"response-headers\">Response headers</h2>\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>x-fetch-id</td>\n<td>+</td>\n<td>string (24 byte hex)</td>\n<td>A fetch ID for any future requests</td>\n</tr>\n<tr>\n<td>x-response-source</td>\n<td>+</td>\n<td>string</td>\n<td>If you received a response from an external service (OTA), the header value will always be <code>external</code>. Values can be <code>internal</code> or <code>external</code></td>\n</tr>\n<tr>\n<td>x-original-[any]</td>\n<td>-</td>\n<td>string</td>\n<td>Any original response header</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"virtual-flow\">Virtual flow</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>flow</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>unauthorized</td>\n<td>The case when the auth data is incorrect or not provided</td>\n</tr>\n<tr>\n<td>no_cvv</td>\n<td>The case when CVV was not provided</td>\n</tr>\n<tr>\n<td>without_card</td>\n<td>The case when payment details were not provided in a booking request</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"original-url\">Original URL</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>endpoint</th>\n<th>url</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>GetNewReservations</td>\n<td><a href=\"https://secure-supply-xml.booking.com/hotels/ota/OTA_HotelResNotif\">https://secure-supply-xml.booking.com/hotels/ota/OTA_HotelResNotif</a></td>\n</tr>\n<tr>\n<td>GetModifiedReservations</td>\n<td><a href=\"https://secure-supply-xml.booking.com/hotels/ota/OTA_HotelResModifyNotif\">https://secure-supply-xml.booking.com/hotels/ota/OTA_HotelResModifyNotif</a></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","fetches"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"aea9fb66-7f57-4bd4-999f-fbc7c177ba57","name":"create","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/xml","description":"Content-Type depends on body","type":"text"},{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"x-original-url","value":"https://secure-supply-xml.booking.com/hotels/ota/OTA_HotelResNotif","description":"Original url","type":"text"},{"key":"x-original-method","value":"GET","description":"Original method","type":"text"},{"key":"x-original-Authorization","value":"Basic dXNlcm5hbWU6cGFzc3dvcmQ=","description":"Any custom original header","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"xml"}}},"url":"{{url}}/v1/fetches"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 24 Feb 2021 15:28:49 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"188"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"X-Powered-By","value":"PayDock <paydock.com>"},{"key":"ETag","value":"W/\"bc-DpQXZU8IJBl7rSXxbaGw+A\""},{"key":"x-fetch-id","value":"Fetch id as a result of the operation","description":"","type":"text"},{"key":"","value":"","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<OTA_HotelResNotifRQ xmlns=\"http://www.opentravel.org/OTA/2003/05\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n\txsi:schemaLocation=\"http://www.opentravel.org/OTA/2003/05 OTA_HotelResNotifRQ.xsd\"\n\tTimeStamp=\"2012-11-13T10:06:51-00:00\" Target=\"Production\" Version=\"2.001\">\n    <HotelReservations>\n        <HotelReservation>\n            <RoomStays>\n                <RoomStay IndexNumber=\"369\">\n                    <RoomTypes>\n                        <RoomType RoomTypeCode=\"36745601\">\n                            <RoomDescription\n\t\t\t\t\t\t\t\tName=\"Standard Double Room - Special conditions - Breakfast included,Lunch included,Dinner included\">\n                                <Text />\n                                <MealPlan>All meals and select beverages are included in the room rate.</MealPlan>\n                                <MaxChildren>0</MaxChildren>\n                            </RoomDescription>\n                            <Amenities>\n                                <Amenity />\n                            </Amenities>\n                        </RoomType>\n                    </RoomTypes>\n                    <RatePlans>\n                        <RatePlan>\n                            <Commission>\n                                <CommissionPayableAmount Amount=\"4500\" DecimalPlaces=\"2\" CurrencyCode=\"EUR\" />\n                            </Commission>\n                        </RatePlan>\n                    </RatePlans>\n                    <RoomRates>\n                        <RoomRate EffectiveDate=\"2012-12-13\" RatePlanCode=\"1278608\">\n                            <Rates>\n                                <Rate>\n                                    <Total AmountAfterTax=\"37000\" DecimalPlaces=\"2\" CurrencyCode=\"EUR\" />\n                                </Rate>\n                            </Rates>\n                        </RoomRate>\n                    </RoomRates>\n                    <GuestCounts>\n                        <GuestCount Count=\"2\" />\n                    </GuestCounts>\n                    <Total AmountAfterTax=\"37500\" DecimalPlaces=\"2\" CurrencyCode=\"EUR\" />\n                    <BasicPropertyInfo HotelCode=\"123456\" />\n                    <ResGuestRPHs>\n                        <ResGuestRPH RPH=\"1\" />\n                    </ResGuestRPHs>\n                    <Comments>\n                        <Comment>\n                            <Text>I need a wake up service</Text>\n                        </Comment>\n                    </Comments>\n                    <SpecialRequests>\n                        <SpecialRequest Name=\"smoking preference\">\n                            <Text>Non-Smoking</Text>\n                        </SpecialRequest>\n                    </SpecialRequests>\n                    <ServiceRPHs>\n                        <ServiceRPH RPH=\"1\" />\n                    </ServiceRPHs>\n                </RoomStay>\n            </RoomStays>\n            <Services>\n                <Service ServiceRPH=\"1\" ServiceInventoryCode=\"22\" ServicePricingType=\"3\">\n                    <ServiceDetails>\n                        <TimeSpan Duration=\"1\" />\n                        <Fees>\n                            <Fee Amount=\"5\" />\n                        </Fees>\n                    </ServiceDetails>\n                </Service>\n            </Services>\n            <ResGuests>\n                <ResGuest ResGuestRPH=\"1\">\n                    <Profiles>\n                        <ProfileInfo>\n                            <Profile>\n                                <Customer>\n                                    <PersonName>\n                                        <GivenName>Wanda</GivenName>\n                                        <Surname>Mertz</Surname>\n                                    </PersonName>\n                                </Customer>\n                            </Profile>\n                        </ProfileInfo>\n                    </Profiles>\n                </ResGuest>\n            </ResGuests>\n            <ResGlobalInfo>\n                <Comments>\n                    <Comment>\n                        <Text>SPECIAL REQUESTS</Text>\n                    </Comment>\n                </Comments>\n                <Guarantee>\n                    <GuaranteesAccepted>\n                        <GuaranteeAccepted>\n                            <PaymentCard CardCode=\"MC\" CardNumber=\"00f47462-4e6a-4877-adc6-96294863f2ea\"\n\t\t\t\t\t\t\t\tSeriesCode=\"4b2cb88b-fe7c-48bf-942d-7e036c7b3be2\" ExpireDate=\"0128\">\n                                <CardHolderName>Wanda Mertz</CardHolderName>\n                            </PaymentCard>\n                        </GuaranteeAccepted>\n                    </GuaranteesAccepted>\n                </Guarantee>\n                <Total AmountAfterTax=\"37500\" DecimalPlaces=\"2\" CurrencyCode=\"EUR\" />\n                <HotelReservationIDs>\n                    <HotelReservationID ResID_Value=\"312637549\" ResID_Date=\"2012-11-13T11:06:39\" />\n                </HotelReservationIDs>\n                <Profiles>\n                    <ProfileInfo>\n                        <Profile>\n                            <Customer>\n                                <PersonName>\n                                    <GivenName>Wanda</GivenName>\n                                    <Surname>Mertz</Surname>\n                                </PersonName>\n                                <Telephone PhoneNumber=\"+12 34 56 78 90\" />\n                                <Email />\n                                <Address>\n                                    <AddressLine>61426 Osvaldo Plains</AddressLine>\n                                    <CityName>Lake Robyn</CityName>\n                                    <PostalCode>07396</PostalCode>\n                                    <CountryName Code=\"US\" />\n                                    <CompanyName />\n                                </Address>\n                            </Customer>\n                        </Profile>\n                    </ProfileInfo>\n                </Profiles>\n            </ResGlobalInfo>\n        </HotelReservation>\n    </HotelReservations>\n</OTA_HotelResNotifRQ>\n<!-- RUID: [vbslrriu88tSVYkc2RlIyh4YU50006u8mgftUJQvv83JighksriMRryryjIz/pirccDosO3nt0XGyyvxg8fgIxN0e00000aiA==] -->"}],"_postman_id":"25e6748c-a0b8-428f-b49a-89688906fe98"},{"name":"get","id":"15cf7b26-a65c-48d5-b04e-de4b37796866","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/fetches/:id","description":"<p>Retrieves data on a fetch with the specified ID.</p>\n<h2 id=\"request-params\">Request params</h2>\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>id</td>\n<td>+</td>\n<td>string (24 byte hex)</td>\n<td>An ID received at the creation stage (from the header)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","fetches",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"2b530928-0755-4e06-9e26-9bc606e1d56f","type":"string","value":"5f084eb39c63b80a26e52b01","key":"id"}]}},"response":[{"id":"f63f1f28-6008-4b86-9d92-8ef56f02622e","name":"common","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/fetches/:id","host":["{{url}}"],"path":["v1","fetches",":id"],"variable":[{"id":"2b530928-0755-4e06-9e26-9bc606e1d56f","key":"id","type":"string","value":"5f084eb39c63b80a26e52b01"}]}},"status":"Ok","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"fetch\",\n        \"data\": {\n            \"_id\": \"6036772db68daaa5adcc6ba9\",\n            \"created_at\": \"2021-02-24T15:56:29.969Z\",\n            \"updated_at\": \"2021-02-24T15:56:29.969Z\",\n            \"archived\": \"false\",\n            \"response_properties\": [\n                [\n                    {\n                        \"sanitized_as\": \"original\",\n                        \"type\": \"cardholder_name\",\n                        \"path\": \"OTA_HotelResNotifRQ.HotelReservations.HotelReservation[0].ResGlobalInfo.Guarantee.GuaranteesAccepted.GuaranteeAccepted.PaymentCard[0].CardHolderName\",\n                        \"value\": \"Wanda Mertz\"\n                    },\n                    {\n                        \"sanitized_as\": \"card_number_vault\",\n                        \"type\": \"card_number\",\n                        \"path\": \"OTA_HotelResNotifRQ.HotelReservations.HotelReservation[0].ResGlobalInfo.Guarantee.GuaranteesAccepted.GuaranteeAccepted.PaymentCard[0].$CardNumber\",\n                        \"value\": \"2e5a168f-c769-4c05-805a-abadbe2aff78\"\n                    },\n                    {\n                        \"sanitized_as\": \"cvv_vault\",\n                        \"type\": \"card_cvv\",\n                        \"path\": \"OTA_HotelResNotifRQ.HotelReservations.HotelReservation[1].ResGlobalInfo.Guarantee.GuaranteesAccepted.GuaranteeAccepted.PaymentCard[0].$SeriesCode\",\n                        \"value\": \"2e5a168f-c769-4c05-805a-abadbe2aff79\"\n                    },\n                    {\n                        \"sanitized_as\": \"original\",\n                        \"type\": \"expire_month\",\n                        \"path\": \"OTA_HotelResNotifRQ.HotelReservations.HotelReservation[0].ResGlobalInfo.Guarantee.GuaranteesAccepted.GuaranteeAccepted.PaymentCard[0].$ExpireDate\",\n                        \"value\": \"01\"\n                    },\n                    {\n                        \"sanitized_as\": \"original\",\n                        \"type\": \"expire_year\",\n                        \"path\": \"OTA_HotelResNotifRQ.HotelReservations.HotelReservation[1].ResGlobalInfo.Guarantee.GuaranteesAccepted.GuaranteeAccepted.PaymentCard[0].$ExpireDate\",\n                        \"value\": \"20\"\n                    },\n                    {\n                        \"sanitized_as\": \"original\",\n                        \"type\": \"actual_till\",\n                        \"path\": \"OTA_HotelResNotifRQ.HotelReservations.HotelReservation[1].RoomRate[1].$EffectiveDate\",\n                        \"value\": \"2021-02-24T15:56:29.969Z\"\n                    },\n                    {\n                        \"sanitized_as\": \"original\",\n                        \"type\": \"external_id\",\n                        \"path\": \"OTA_HotelResNotifRQ.HotelReservations.HotelReservation[1].ResGlobalInfo.HotelReservationIDs.HotelReservationID.$ResID_Value\",\n                        \"value\": \"1e5a168f-c769-4c05-805a-abadbe2aff76\"\n                    }\n                ]   \n            ],\n            \"service_id\": \"6036772bb68daaa5adcc6ba6\",\n            \"mode\": \"test\",\n            \"logs\": [],\n            \"status\": \"completed\"\n        }\n    }\n}"}],"_postman_id":"15cf7b26-a65c-48d5-b04e-de4b37796866"},{"name":"search","id":"3423b2c0-9d67-4197-a6ee-4b7c2a2f71c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>This is your PayDock API Secret Key</p>\n","key":"x-user-secret-key","value":"{{secretkey}}"},{"description":"<p>Content-Type will always be application/json</p>\n","key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/fetches","description":"<p>Returns all fetches.</p>\n<h2 id=\"request-query-params\">Request query params</h2>\n<p><strong>Pagination</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>skip</td>\n<td>-</td>\n<td>number</td>\n<td>A pagination parameter to skip the first <em>No.</em> fetches from the list, default = 0</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>-</td>\n<td>number</td>\n<td>A pagination parameter to limit the output to <em>No.</em> fetches, default = 100 , maximum value = 1000</td>\n</tr>\n<tr>\n<td>sortkey</td>\n<td>-</td>\n<td>string</td>\n<td>A sorting key parameter, i.e., created_at</td>\n</tr>\n<tr>\n<td>sortdirection</td>\n<td>-</td>\n<td>string</td>\n<td>A sorting order direction parameter <em>ASC</em> or <em>DESC</em> (<em>DESC</em> by default)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Filters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required[flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>service_id</td>\n<td>-</td>\n<td>string (24 byte hex)</td>\n<td>An ID of the service with which fetches were created/processed</td>\n</tr>\n<tr>\n<td>status</td>\n<td>-</td>\n<td>string</td>\n<td>See <em>Status table</em></td>\n</tr>\n<tr>\n<td>archived</td>\n<td>-</td>\n<td>bool</td>\n<td>By default, it is set to <em>false</em>. It will show all archived charges if set to <em>true</em></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","fetches"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"379bc6e0-031a-49a2-acd7-abad5a09020e","name":"common","originalRequest":{"method":"GET","header":[{"description":"This is your PayDock API Secret Key","key":"x-user-secret-key","value":"{{secretkey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"Content-Type will always be application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/fetches"},"status":"Ok","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"fetch\",\n        \"data\": [\n            {\n                \"_id\": \"6036772db68daaa5adcc6ba9\",\n                \"created_at\": \"2021-02-24T15:56:29.969Z\",\n                \"updated_at\": \"2021-02-24T15:56:29.969Z\",\n                \"archived\": \"false\",\n                \"response_properties\": [\n                    [\n                        {\n                            \"sanitized_as\": \"original\",\n                            \"type\": \"cardholder_name\",\n                            \"path\": \"OTA_HotelResNotifRQ.HotelReservations.HotelReservation[0].ResGlobalInfo.Guarantee.GuaranteesAccepted.GuaranteeAccepted.PaymentCard[0].CardHolderName\",\n                            \"value\": \"Wanda Mertz\"\n                        },\n                        {\n                            \"sanitized_as\": \"card_number_vault\",\n                            \"type\": \"card_number\",\n                            \"path\": \"OTA_HotelResNotifRQ.HotelReservations.HotelReservation[0].ResGlobalInfo.Guarantee.GuaranteesAccepted.GuaranteeAccepted.PaymentCard[0].$CardNumber\",\n                            \"value\": \"2e5a168f-c769-4c05-805a-abadbe2aff78\"\n                        },\n                        {\n                            \"sanitized_as\": \"cvv_vault\",\n                            \"type\": \"card_cvv\",\n                            \"path\": \"OTA_HotelResNotifRQ.HotelReservations.HotelReservation[1].ResGlobalInfo.Guarantee.GuaranteesAccepted.GuaranteeAccepted.PaymentCard[0].$SeriesCode\",\n                            \"value\": \"2e5a168f-c769-4c05-805a-abadbe2aff79\"\n                        },\n                        {\n                            \"sanitized_as\": \"original\",\n                            \"type\": \"expire_month\",\n                            \"path\": \"OTA_HotelResNotifRQ.HotelReservations.HotelReservation[0].ResGlobalInfo.Guarantee.GuaranteesAccepted.GuaranteeAccepted.PaymentCard[0].$ExpireDate\",\n                            \"value\": \"01\"\n                        },\n                        {\n                            \"sanitized_as\": \"original\",\n                            \"type\": \"expire_year\",\n                            \"path\": \"OTA_HotelResNotifRQ.HotelReservations.HotelReservation[1].ResGlobalInfo.Guarantee.GuaranteesAccepted.GuaranteeAccepted.PaymentCard[0].$ExpireDate\",\n                            \"value\": \"20\"\n                        },\n                        {\n                            \"sanitized_as\": \"original\",\n                            \"type\": \"actual_till\",\n                            \"path\": \"OTA_HotelResNotifRQ.HotelReservations.HotelReservation[1].RoomRate[1].$EffectiveDate\",\n                            \"value\": \"2021-02-24T15:56:29.969Z\"\n                        },\n                        {\n                            \"sanitized_as\": \"original\",\n                            \"type\": \"external_id\",\n                            \"path\": \"OTA_HotelResNotifRQ.HotelReservations.HotelReservation[1].ResGlobalInfo.HotelReservationIDs.HotelReservationID.$ResID_Value\",\n                            \"value\": \"1e5a168f-c769-4c05-805a-abadbe2aff76\"\n                        }\n                    ]\n         \n                ],\n                \"service_id\": \"6036772bb68daaa5adcc6ba6\",\n                \"mode\": \"test\",\n                \"status\": \"completed\"\n            }\n        ],\n        \"skip\": 0,\n        \"limit\": 100,\n        \"sortkey\": \"created_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 1\n    }\n}"}],"_postman_id":"3423b2c0-9d67-4197-a6ee-4b7c2a2f71c9"}],"id":"1738f720-bc73-4033-9e35-23318e9d4f64","description":"<p>Every proxy request generates a fetch entity that includes common information and relations with vaults etc.</p>\n<h2 id=\"fetch-resource\">Fetch resource</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>field</th>\n<th>required [flow]</th>\n<th>type</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>_id</td>\n<td>+</td>\n<td>string (24 byte hex)</td>\n<td>A charge ID for any future requests</td>\n</tr>\n<tr>\n<td>created_at</td>\n<td>+</td>\n<td>string (ISO 8601 format: yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>The date of the fetch creation</td>\n</tr>\n<tr>\n<td>updated_at</td>\n<td>+</td>\n<td>string (ISO 8601 format: yyyy-mm-ddThh:mm:ss.sssZ)</td>\n<td>The date of the last fetch update</td>\n</tr>\n<tr>\n<td>status</td>\n<td>+</td>\n<td>string</td>\n<td>An actual fetch status. See the <em>status</em> table</td>\n</tr>\n<tr>\n<td>archived</td>\n<td>+</td>\n<td>bool</td>\n<td>For a newly created fetch, it is always <em>false</em>. It is set to <em>true</em> after manual archivation</td>\n</tr>\n<tr>\n<td>logs</td>\n<td>+</td>\n<td>Array</td>\n<td>The list of request and response logs</td>\n</tr>\n<tr>\n<td>service_id</td>\n<td>+</td>\n<td>string (24 byte hex)</td>\n<td>A proxy link service ID used for a fetch request</td>\n</tr>\n<tr>\n<td>mode</td>\n<td>+</td>\n<td>string (24 byte hex)</td>\n<td>A proxy link service mode used for a fetch request. See <em>service endpoints</em> for more information about the modes</td>\n</tr>\n<tr>\n<td>response_properties</td>\n<td>-</td>\n<td>Array&lt; Array&lt; Object &gt; &gt;</td>\n<td>Every payment source property is presented in the form of a structure with detailed information</td>\n</tr>\n<tr>\n<td>response_properties[][].type</td>\n<td>+</td>\n<td>string</td>\n<td>A type of the parsed property. See <em>Property types</em> table</td>\n</tr>\n<tr>\n<td>response_properties[][].sanitized_as</td>\n<td>+</td>\n<td>string</td>\n<td>A type of the sanitizer applied to this property. See <em>Sanitize types</em> table</td>\n</tr>\n<tr>\n<td>response_properties[][].value</td>\n<td>+</td>\n<td>string</td>\n<td>An original or sanitized value according to the sanitize type rules</td>\n</tr>\n<tr>\n<td>response_properties[][].path</td>\n<td>+</td>\n<td>string</td>\n<td>A path to the property in the original response body</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"fetch-status\">Fetch status</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>status</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>completed</td>\n<td>A successful fetch request</td>\n</tr>\n<tr>\n<td>failed</td>\n<td>An unsuccessful (failed) fetch request</td>\n</tr>\n<tr>\n<td>inprogress</td>\n<td>A system state of a transaction while it is sending a request to a payment gateway</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"sanitize-types\">Sanitize types</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>status</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>original</td>\n<td>The value remained unchanged</td>\n</tr>\n<tr>\n<td>cvv_vault</td>\n<td>The value was replaced with a CVV vault token</td>\n</tr>\n<tr>\n<td>card_number_vault</td>\n<td>The value was replaced with a card vault token</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"property-types\">Property types</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>status</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cardholder_name</td>\n<td>Cardholder name</td>\n</tr>\n<tr>\n<td>card_number</td>\n<td>Card number</td>\n</tr>\n<tr>\n<td>card_cvv</td>\n<td>Card CVV number</td>\n</tr>\n<tr>\n<td>expire_month</td>\n<td>Card expiry month</td>\n</tr>\n<tr>\n<td>expire_year</td>\n<td>Card expiry year</td>\n</tr>\n<tr>\n<td>actual_till</td>\n<td>An expiration date of the CVV vault token. For example, the final date of the reservation.</td>\n</tr>\n<tr>\n<td>external_id</td>\n<td>The original external_id, i.e. the ID of the entity which was generated on the OTA provider's side</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"542aa0f4-0227-4ffa-9d96-5944e32fde11","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c713ba74-bd70-4f98-bfb8-d579459b0831","type":"text/javascript","exec":[""]}}],"_postman_id":"1738f720-bc73-4033-9e35-23318e9d4f64"},{"name":"bulk-charges","item":[{"name":"cancel","id":"1578bf05-0ed8-4ac8-955b-1c14080a81b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Token-Id","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"X-Access-Token","value":"Merchant's access token"}],"body":{"mode":"raw","raw":"{\n  \"charges\": []\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{url}}/v1/bulk-charges/:bulk_reference/cancel","description":"<p><strong>Performs cancel operation for all charges attached to the bulk</strong></p>\n<hr />\n<p><em><strong>Request body</strong></em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field 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>charges</td>\n<td>+</td>\n<td>array</td>\n<td>Array of the charge IDs</td>\n</tr>\n<tr>\n<td>charges.[].id</td>\n<td>-</td>\n<td>UUID</td>\n<td>Charge ID to be cancelled</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>If the request body has empty charges array all charges attached to the bulk will be processed.</em></p>\n<p><strong>Response body</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>ObjectID</td>\n<td>Bulk Internal identifier</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>UUID</td>\n<td>Bulk external identifier</td>\n</tr>\n<tr>\n<td>status</td>\n<td>enum</td>\n<td><strong>The possible enum values:  <br />new -</strong> <em>Initial status of the bulk when it has been created but no processing action has been executed yet.  <br /></em><strong>inprogress -</strong> <em>The bulk operation is in progress and locked to any requests for update bulk</em>  <br />  <br /><strong>completed</strong> - <em>The bulk operation is completed and ready for changing its state  <br />  <br /></em><strong>failed</strong> - <em>The bulk operation is failed because of any internal problems</em></td>\n</tr>\n<tr>\n<td>action_logs</td>\n<td>Array</td>\n<td>Contains history of the updated bulk fields, only changed fields will be shown in the array</td>\n</tr>\n<tr>\n<td>action_logs.id</td>\n<td>ObjectID</td>\n<td>Internal action_log identifier</td>\n</tr>\n<tr>\n<td>action_logs.created_at</td>\n<td>DateTime</td>\n<td>Date of action_log creating</td>\n</tr>\n<tr>\n<td>action_logs.status</td>\n<td>String</td>\n<td>The possible enum values:  <br /><strong>completed</strong> - The bulk action has been completed for all charges successfully  <br />  <br /><strong>failed</strong> - At least one charge has not been completed successfully  <br />  <br /><strong>unprocessable</strong> - At least one charge can not be processed due to internal status validation</td>\n</tr>\n<tr>\n<td>action_logs.type</td>\n<td>String</td>\n<td>The possible enum values:  <br />- fraud  <br />- refund  <br />- cancel  <br />- capture</td>\n</tr>\n<tr>\n<td>action_logs.items</td>\n<td>Array</td>\n<td>Item of an action log. Represents the combination of different properties and statuses for each charge that has been affected by one specific action execution.</td>\n</tr>\n<tr>\n<td>action_logs.items.[].status</td>\n<td>String</td>\n<td>Status of action item validation failure - unprocessable or result of action execution  <br />- completed  <br />- failed  <br />- pending</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge</td>\n<td>Object</td>\n<td>The last snapshot of the charge received either during the validation (if unprocessable) or after action has been executed.</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge.id</td>\n<td>ObjectId</td>\n<td>The id of charge that has been under validation or processing</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge.type</td>\n<td>String</td>\n<td>The type of charge  <br />- financial  <br />- fraud</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge.status</td>\n<td>String</td>\n<td>The status of charge either after getting charge by id to perform validation and this validation failed so no action has been executed, or if validation passed and the status of charge after the action execution.  <br />  <br />- complete  <br />- failed  <br />- pending  <br />- held  <br />- requested  <br />- refund_requested  <br />- refunded  <br />- inprogress  <br />- cancelled  <br />- archived</td>\n</tr>\n<tr>\n<td>action_logs.items.[].transaction</td>\n<td>Object</td>\n<td>The last snapshot of the transaction received either during the validation (if unprocessable) or after action has been executed.</td>\n</tr>\n<tr>\n<td>action_logs.items.[].transaction.id</td>\n<td>ObjectId</td>\n<td>The id of transaction received together with charge that has been under validation or processing</td>\n</tr>\n<tr>\n<td>action_logs.items.[].transaction.type</td>\n<td>String</td>\n<td>The type of transaction  <br />  <br />- initialization  <br />- sale  <br />- refund  <br />- cancel  <br />- capture  <br />- fraud  <br />- balance</td>\n</tr>\n<tr>\n<td>action_logs.items.[].transaction.status</td>\n<td>String</td>\n<td>The status of transaction either after getting charge by id to perform validation and this validation failed so no action has been executed, or if validation passed and the status of transaction after the action over charge was executed.  <br />  <br />- pending  <br />- cancel_requested  <br />- capture_requested  <br />- requested  <br />- declined  <br />- approved  <br />- inprogres  <br />- complete  <br />- failed  <br />- cancelled  <br />- authentication_pending</td>\n</tr>\n<tr>\n<td>action_logs.items.[].error_summary</td>\n<td>Object</td>\n<td><strong>error_summary</strong> field should be present if some error occurs, and charge status is <strong>failed</strong></td>\n</tr>\n<tr>\n<td>action_logs.items.[].error_summary.message</td>\n<td>Text</td>\n<td>An Error description from remote server in case of request or if an error occurs into application then the description should be provided here</td>\n</tr>\n<tr>\n<td>action_logs.items.[].error_summary.code</td>\n<td>Int</td>\n<td>Error family code</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge_sources</td>\n<td>Object</td>\n<td>the object should be present in case of <strong>fraud type</strong> of <em>action_log</em></td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge_sources.id</td>\n<td>ObjectID</td>\n<td>Charge’s ID</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge_sources.vault_token</td>\n<td>UUID</td>\n<td>Vault token required for do fraud request</td>\n</tr>\n<tr>\n<td>charges</td>\n<td>Array</td>\n<td>The list of charges to which the process has been applied</td>\n</tr>\n<tr>\n<td>charges.[].id</td>\n<td>ObjectID</td>\n<td>The charge id</td>\n</tr>\n<tr>\n<td>charges.[].type</td>\n<td>enum</td>\n<td>The possible enum values:  <br />- financial  <br />- fraud</td>\n</tr>\n<tr>\n<td>charges.[].vault_token</td>\n<td>UUID4</td>\n<td>vault token for fraud action</td>\n</tr>\n<tr>\n<td>charges.[].attached_at</td>\n<td>DateTime</td>\n<td>Date time when a charge has been attached to the bulk</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","bulk-charges",":bulk_reference","cancel"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"Bulk reference UUID identifier","key":"bulk_reference"}]}},"response":[{"id":"930c8217-ee54-4f22-814c-f4988c829eb1","name":"Charge cancel operation has been successful.","originalRequest":{"method":"POST","header":[{"key":"X-Scope","value":"company","description":"(Required) "},{"key":"X-Scope-Id","value":"<string>","description":"(Required) "},{"key":"X-Initiator-Id","value":"<string>"},{"key":"X-Token-Id","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"charges\": []\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/bulk-charges/:bulk_reference/cancel","host":["{{baseUrl}}"],"path":["bulk-charges",":bulk_reference","cancel"],"variable":[{"key":"bulk_reference","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<string>\",\n  \"reference\": \"<string>\",\n  \"created_at\": \"<dateTime>\",\n  \"status\": \"completed\",\n  \"charges\": [\n    {\n      \"type\": \"financial\",\n      \"attached_at\": \"<dateTime>\",\n      \"id\": \"<string>\",\n      \"vault_token\": \"<uuid>\"\n    },\n    {\n      \"type\": \"fraud\",\n      \"attached_at\": \"<dateTime>\",\n      \"id\": \"<string>\",\n      \"vault_token\": \"<uuid>\"\n    }\n  ],\n  \"updated_at\": \"<dateTime>\",\n  \"action_logs\": [\n    {\n      \"created_at\": \"<dateTime>\",\n      \"status\": \"unprocessable\",\n      \"type\": \"capture\",\n      \"id\": \"<string>\",\n      \"items\": [\n        {\n          \"status\": \"pending\",\n          \"charge\": {\n            \"id\": \"<string>\",\n            \"type\": \"financial\",\n            \"status\": \"other\"\n          },\n          \"transaction\": {\n            \"id\": \"<string>\",\n            \"status\": \"cancel_requested\",\n            \"type\": \"initialization\",\n            \"fraud\": {\n              \"status\": \"reject\"\n            }\n          },\n          \"error_summary\": {\n            \"message\": \"<string>\",\n            \"code\": \"<string>\"\n          },\n          \"charge_sources\": [\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            },\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            }\n          ]\n        },\n        {\n          \"status\": \"failed\",\n          \"charge\": {\n            \"id\": \"<string>\",\n            \"type\": \"fraud\",\n            \"status\": \"inreview\"\n          },\n          \"transaction\": {\n            \"id\": \"<string>\",\n            \"status\": \"complete\",\n            \"type\": \"balance\",\n            \"fraud\": {\n              \"status\": \"approve\"\n            }\n          },\n          \"error_summary\": {\n            \"message\": \"<string>\",\n            \"code\": \"<string>\"\n          },\n          \"charge_sources\": [\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            },\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            }\n          ]\n        }\n      ]\n    },\n    {\n      \"created_at\": \"<dateTime>\",\n      \"status\": \"completed\",\n      \"type\": \"cancel\",\n      \"id\": \"<string>\",\n      \"items\": [\n        {\n          \"status\": \"failed\",\n          \"charge\": {\n            \"id\": \"<string>\",\n            \"type\": \"financial\",\n            \"status\": \"declined\"\n          },\n          \"transaction\": {\n            \"id\": \"<string>\",\n            \"status\": \"cancelled\",\n            \"type\": \"capture\",\n            \"fraud\": {\n              \"status\": \"approve\"\n            }\n          },\n          \"error_summary\": {\n            \"message\": \"<string>\",\n            \"code\": \"<string>\"\n          },\n          \"charge_sources\": [\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            },\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            }\n          ]\n        },\n        {\n          \"status\": \"completed\",\n          \"charge\": {\n            \"id\": \"<string>\",\n            \"type\": \"fraud\",\n            \"status\": \"inprogress\"\n          },\n          \"transaction\": {\n            \"id\": \"<string>\",\n            \"status\": \"pending\",\n            \"type\": \"fraud\",\n            \"fraud\": {\n              \"status\": \"reject\"\n            }\n          },\n          \"error_summary\": {\n            \"message\": \"<string>\",\n            \"code\": \"<string>\"\n          },\n          \"charge_sources\": [\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            },\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            }\n          ]\n        }\n      ]\n    }\n  ]\n}"}],"_postman_id":"1578bf05-0ed8-4ac8-955b-1c14080a81b9"},{"name":"capture","id":"51c80bdd-9000-4a1f-8fe0-3a13c97e45ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"X-Access-Token","value":"","description":"<p>Merchant's access token</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"charges\": [\n    {\n      \"id\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{url}}/v1/bulk-charges/:bulk_reference/capture","description":"<p><strong>Performs capture for all charges attached to the bulk</strong></p>\n<hr />\n<p><em><strong>Request body</strong></em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field 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>charges</td>\n<td>+</td>\n<td>array</td>\n<td>Array of the charge IDs</td>\n</tr>\n<tr>\n<td>charges.[].id</td>\n<td>-</td>\n<td>UUID</td>\n<td>Charge ID to be captured</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>If the request body has empty charges array all charges attached to the bulk will be processed.</em></p>\n<p><strong>Response body</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>ObjectID</td>\n<td>Bulk Internal identifier</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>UUID</td>\n<td>Bulk external identifier</td>\n</tr>\n<tr>\n<td>status</td>\n<td>enum</td>\n<td><strong>The possible enum values:  <br />new -</strong> <em>Initial status of the bulk when it has been created but no processing action has been executed yet.  <br /></em><strong>inprogress -</strong> <em>The bulk operation is in progress and locked to any requests for update bulk</em>  <br />  <br /><strong>completed</strong> - <em>The bulk operation is completed and ready for changing its state  <br />  <br /></em><strong>failed</strong> - <em>The bulk operation is failed because of any internal problems</em></td>\n</tr>\n<tr>\n<td>action_logs</td>\n<td>Array</td>\n<td>Contains history of the updated bulk fields, only changed fields will be shown in the array</td>\n</tr>\n<tr>\n<td>action_logs.id</td>\n<td>ObjectID</td>\n<td>Internal action_log identifier</td>\n</tr>\n<tr>\n<td>action_logs.created_at</td>\n<td>DateTime</td>\n<td>Date of action_log creating</td>\n</tr>\n<tr>\n<td>action_logs.status</td>\n<td>String</td>\n<td>The possible enum values:  <br /><strong>completed</strong> - The bulk action has been completed for all charges successfully  <br />  <br /><strong>failed</strong> - At least one charge has not been completed successfully  <br />  <br /><strong>unprocessable</strong> - At least one charge can not be processed due to internal status validation</td>\n</tr>\n<tr>\n<td>action_logs.type</td>\n<td>String</td>\n<td>The possible enum values:  <br />- fraud  <br />- refund  <br />- cancel  <br />- capture</td>\n</tr>\n<tr>\n<td>action_logs.items</td>\n<td>Array</td>\n<td>Item of an action log. Represents the combination of different properties and statuses for each charge that has been affected by one specific action execution.</td>\n</tr>\n<tr>\n<td>action_logs.items.[].status</td>\n<td>String</td>\n<td>Status of action item validation failure - unprocessable or result of action execution  <br />- completed  <br />- failed  <br />- pending</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge</td>\n<td>Object</td>\n<td>The last snapshot of the charge received either during the validation (if unprocessable) or after action has been executed.</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge.id</td>\n<td>ObjectId</td>\n<td>The id of charge that has been under validation or processing</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge.type</td>\n<td>String</td>\n<td>The type of charge  <br />- financial  <br />- fraud</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge.status</td>\n<td>String</td>\n<td>The status of charge either after getting charge by id to perform validation and this validation failed so no action has been executed, or if validation passed and the status of charge after the action execution.  <br />  <br />- complete  <br />- failed  <br />- pending  <br />- held  <br />- requested  <br />- refund_requested  <br />- refunded  <br />- inprogress  <br />- cancelled  <br />- archived</td>\n</tr>\n<tr>\n<td>action_logs.items.[].transaction</td>\n<td>Object</td>\n<td>The last snapshot of the transaction received either during the validation (if unprocessable) or after action has been executed.</td>\n</tr>\n<tr>\n<td>action_logs.items.[].transaction.id</td>\n<td>ObjectId</td>\n<td>The id of transaction received together with charge that has been under validation or processing</td>\n</tr>\n<tr>\n<td>action_logs.items.[].transaction.type</td>\n<td>String</td>\n<td>The type of transaction  <br />  <br />- initialization  <br />- sale  <br />- refund  <br />- cancel  <br />- capture  <br />- fraud  <br />- balance</td>\n</tr>\n<tr>\n<td>action_logs.items.[].transaction.status</td>\n<td>String</td>\n<td>The status of transaction either after getting charge by id to perform validation and this validation failed so no action has been executed, or if validation passed and the status of transaction after the action over charge was executed.  <br />  <br />- pending  <br />- cancel_requested  <br />- capture_requested  <br />- requested  <br />- declined  <br />- approved  <br />- inprogres  <br />- complete  <br />- failed  <br />- cancelled  <br />- authentication_pending</td>\n</tr>\n<tr>\n<td>action_logs.items.[].error_summary</td>\n<td>Object</td>\n<td><strong>error_summary</strong> field should be present if some error occurs, and charge status is <strong>failed</strong></td>\n</tr>\n<tr>\n<td>action_logs.items.[].error_summary.message</td>\n<td>Text</td>\n<td>An Error description from remote server in case of request or if an error occurs into application then the description should be provided here</td>\n</tr>\n<tr>\n<td>action_logs.items.[].error_summary.code</td>\n<td>Int</td>\n<td>Error family code</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge_sources</td>\n<td>Object</td>\n<td>the object should be present in case of <strong>fraud type</strong> of <em>action_log</em></td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge_sources.id</td>\n<td>ObjectID</td>\n<td>Charge’s ID</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge_sources.vault_token</td>\n<td>UUID</td>\n<td>Vault token required for do fraud request</td>\n</tr>\n<tr>\n<td>charges</td>\n<td>Array</td>\n<td>The list of charges to which the process has been applied</td>\n</tr>\n<tr>\n<td>charges.[].id</td>\n<td>ObjectID</td>\n<td>The charge id</td>\n</tr>\n<tr>\n<td>charges.[].type</td>\n<td>enum</td>\n<td>The possible enum values:  <br />- financial  <br />- fraud</td>\n</tr>\n<tr>\n<td>charges.[].vault_token</td>\n<td>UUID4</td>\n<td>vault token for fraud action</td>\n</tr>\n<tr>\n<td>charges.[].vault_token_reference</td>\n<td>string (UUID, alphanumeric, digits)</td>\n<td>A unique identifier assigned to each vault token upon creation</td>\n</tr>\n<tr>\n<td>charges.[].attached_at</td>\n<td>DateTime</td>\n<td>Date time when a charge has been attached to the bulk</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","bulk-charges",":bulk_reference","capture"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"Bulk reference UUID identifier","key":"bulk_reference"}]}},"response":[{"id":"d7255ee2-8fa9-4093-b7cf-0e54e0582e77","name":"Charge capture operation has been successful.","originalRequest":{"method":"POST","header":[{"key":"X-Scope","value":"company","description":"(Required) "},{"key":"X-Scope-Id","value":"<string>","description":"(Required) "},{"key":"X-Initiator-Id","value":"<string>"},{"key":"X-Token-Id","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"charges\": [\n    {\n      \"id\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/bulk-charges/:bulk_reference/capture","host":["{{baseUrl}}"],"path":["bulk-charges",":bulk_reference","capture"],"variable":[{"key":"bulk_reference","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<string>\",\n  \"reference\": \"<string>\",\n  \"created_at\": \"<dateTime>\",\n  \"status\": \"completed\",\n  \"charges\": [\n    {\n      \"type\": \"financial\",\n      \"attached_at\": \"<dateTime>\",\n      \"id\": \"<string>\",\n      \"vault_token\": \"<uuid>\"\n    },\n    {\n      \"type\": \"fraud\",\n      \"attached_at\": \"<dateTime>\",\n      \"id\": \"<string>\",\n      \"vault_token\": \"<uuid>\"\n    }\n  ],\n  \"updated_at\": \"<dateTime>\",\n  \"action_logs\": [\n    {\n      \"created_at\": \"<dateTime>\",\n      \"status\": \"unprocessable\",\n      \"type\": \"capture\",\n      \"id\": \"<string>\",\n      \"items\": [\n        {\n          \"status\": \"pending\",\n          \"charge\": {\n            \"id\": \"<string>\",\n            \"type\": \"financial\",\n            \"status\": \"other\"\n          },\n          \"transaction\": {\n            \"id\": \"<string>\",\n            \"status\": \"cancel_requested\",\n            \"type\": \"initialization\",\n            \"fraud\": {\n              \"status\": \"reject\"\n            }\n          },\n          \"error_summary\": {\n            \"message\": \"<string>\",\n            \"code\": \"<string>\"\n          },\n          \"charge_sources\": [\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            },\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            }\n          ]\n        },\n        {\n          \"status\": \"failed\",\n          \"charge\": {\n            \"id\": \"<string>\",\n            \"type\": \"fraud\",\n            \"status\": \"inreview\"\n          },\n          \"transaction\": {\n            \"id\": \"<string>\",\n            \"status\": \"complete\",\n            \"type\": \"balance\",\n            \"fraud\": {\n              \"status\": \"approve\"\n            }\n          },\n          \"error_summary\": {\n            \"message\": \"<string>\",\n            \"code\": \"<string>\"\n          },\n          \"charge_sources\": [\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            },\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            }\n          ]\n        }\n      ]\n    },\n    {\n      \"created_at\": \"<dateTime>\",\n      \"status\": \"completed\",\n      \"type\": \"cancel\",\n      \"id\": \"<string>\",\n      \"items\": [\n        {\n          \"status\": \"failed\",\n          \"charge\": {\n            \"id\": \"<string>\",\n            \"type\": \"financial\",\n            \"status\": \"declined\"\n          },\n          \"transaction\": {\n            \"id\": \"<string>\",\n            \"status\": \"cancelled\",\n            \"type\": \"capture\",\n            \"fraud\": {\n              \"status\": \"approve\"\n            }\n          },\n          \"error_summary\": {\n            \"message\": \"<string>\",\n            \"code\": \"<string>\"\n          },\n          \"charge_sources\": [\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            },\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            }\n          ]\n        },\n        {\n          \"status\": \"completed\",\n          \"charge\": {\n            \"id\": \"<string>\",\n            \"type\": \"fraud\",\n            \"status\": \"inprogress\"\n          },\n          \"transaction\": {\n            \"id\": \"<string>\",\n            \"status\": \"pending\",\n            \"type\": \"fraud\",\n            \"fraud\": {\n              \"status\": \"reject\"\n            }\n          },\n          \"error_summary\": {\n            \"message\": \"<string>\",\n            \"code\": \"<string>\"\n          },\n          \"charge_sources\": [\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            },\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            }\n          ]\n        }\n      ]\n    }\n  ]\n}"}],"_postman_id":"51c80bdd-9000-4a1f-8fe0-3a13c97e45ed"},{"name":"fraud Check","id":"c055ef50-d95b-4685-ab84-a449059c0a96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"X-Access-Token","value":"","description":"<p>Merchant's access token</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"service_id\": \"<string>\",\n  \"charges\": []\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{url}}/bulk-charges/:bulk_reference/fraud","description":"<p><strong>Performs fraud check for all charges attached to the bulk</strong></p>\n<hr />\n<p><em><strong>Request body</strong></em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field 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>service_id</td>\n<td>+</td>\n<td>ObjectID of fraud service used to perform check</td>\n<td></td>\n</tr>\n<tr>\n<td>charges</td>\n<td>+</td>\n<td>array</td>\n<td>Array of the charge IDs</td>\n</tr>\n<tr>\n<td>charges.[].id</td>\n<td>-</td>\n<td>UUID</td>\n<td>Charge ID to be checked</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>If the request body has empty charges array all charges attached to the bulk will be processed.</em></p>\n<p><strong>Response body</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>ObjectID</td>\n<td>Bulk Internal identifier</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>UUID</td>\n<td>Bulk external identifier</td>\n</tr>\n<tr>\n<td>status</td>\n<td>enum</td>\n<td><strong>The possible enum values:  <br />new -</strong> <em>Initial status of the bulk when it has been created but no processing action has been executed yet.  <br /></em><strong>inprogress -</strong> <em>The bulk operation is in progress and locked to any requests for update bulk</em>  <br />  <br /><strong>completed</strong> - <em>The bulk operation is completed and ready for changing its state  <br />  <br /></em><strong>failed</strong> - <em>The bulk operation is failed because of any internal problems</em></td>\n</tr>\n<tr>\n<td>action_logs</td>\n<td>Array</td>\n<td>Contains history of the updated bulk fields, only changed fields will be shown in the array</td>\n</tr>\n<tr>\n<td>action_logs.id</td>\n<td>ObjectID</td>\n<td>Internal action_log identifier</td>\n</tr>\n<tr>\n<td>action_logs.created_at</td>\n<td>DateTime</td>\n<td>Date of action_log creating</td>\n</tr>\n<tr>\n<td>action_logs.status</td>\n<td>String</td>\n<td>The possible enum values:  <br /><strong>completed</strong> - The bulk action has been completed for all charges successfully  <br />  <br /><strong>failed</strong> - At least one charge has not been completed successfully  <br />  <br /><strong>unprocessable</strong> - At least one charge can not be processed due to internal status validation</td>\n</tr>\n<tr>\n<td>action_logs.type</td>\n<td>String</td>\n<td>The possible enum values:  <br />- fraud  <br />- refund  <br />- cancel  <br />- capture</td>\n</tr>\n<tr>\n<td>action_logs.items</td>\n<td>Array</td>\n<td>Item of an action log. Represents the combination of different properties and statuses for each charge that has been affected by one specific action execution.</td>\n</tr>\n<tr>\n<td>action_logs.items.[].status</td>\n<td>String</td>\n<td>Status of action item validation failure - unprocessable or result of action execution  <br />- completed  <br />- failed  <br />- pending</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge</td>\n<td>Object</td>\n<td>The last snapshot of the charge received either during the validation (if unprocessable) or after action has been executed.</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge.id</td>\n<td>ObjectId</td>\n<td>The id of charge that has been under validation or processing</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge.type</td>\n<td>String</td>\n<td>The type of charge  <br />- financial  <br />- fraud</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge.status</td>\n<td>String</td>\n<td>The status of charge either after getting charge by id to perform validation and this validation failed so no action has been executed, or if validation passed and the status of charge after the action execution.  <br />  <br />- complete  <br />- failed  <br />- pending  <br />- held  <br />- requested  <br />- refund_requested  <br />- refunded  <br />- inprogress  <br />- cancelled  <br />- archived</td>\n</tr>\n<tr>\n<td>action_logs.items.[].transaction</td>\n<td>Object</td>\n<td>The last snapshot of the transaction received either during the validation (if unprocessable) or after action has been executed.</td>\n</tr>\n<tr>\n<td>action_logs.items.[].transaction.id</td>\n<td>ObjectId</td>\n<td>The id of transaction received together with charge that has been under validation or processing</td>\n</tr>\n<tr>\n<td>action_logs.items.[].transaction.type</td>\n<td>String</td>\n<td>The type of transaction  <br />  <br />- initialization  <br />- sale  <br />- refund  <br />- cancel  <br />- capture  <br />- fraud  <br />- balance</td>\n</tr>\n<tr>\n<td>action_logs.items.[].transaction.status</td>\n<td>String</td>\n<td>The status of transaction either after getting charge by id to perform validation and this validation failed so no action has been executed, or if validation passed and the status of transaction after the action over charge was executed.  <br />  <br />- pending  <br />- cancel_requested  <br />- capture_requested  <br />- requested  <br />- declined  <br />- approved  <br />- inprogres  <br />- complete  <br />- failed  <br />- cancelled  <br />- authentication_pending</td>\n</tr>\n<tr>\n<td>action_logs.items.[].error_summary</td>\n<td>Object</td>\n<td><strong>error_summary</strong> field should be present if some error occurs, and charge status is <strong>failed</strong></td>\n</tr>\n<tr>\n<td>action_logs.items.[].error_summary.message</td>\n<td>Text</td>\n<td>An Error description from remote server in case of request or if an error occurs into application then the description should be provided here</td>\n</tr>\n<tr>\n<td>action_logs.items.[].error_summary.code</td>\n<td>Int</td>\n<td>Error family code</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge_sources</td>\n<td>Object</td>\n<td>the object should be present in case of <strong>fraud type</strong> of <em>action_log</em></td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge_sources.id</td>\n<td>ObjectID</td>\n<td>Charge’s ID</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge_sources.vault_token</td>\n<td>UUID</td>\n<td>Vault token required for do fraud request</td>\n</tr>\n<tr>\n<td>charges</td>\n<td>Array</td>\n<td>The list of charges to which the process has been applied</td>\n</tr>\n<tr>\n<td>charges.[].id</td>\n<td>ObjectID</td>\n<td>The charge id</td>\n</tr>\n<tr>\n<td>charges.[].type</td>\n<td>enum</td>\n<td>The possible enum values:  <br />- financial  <br />- fraud</td>\n</tr>\n<tr>\n<td>charges.[].vault_token</td>\n<td>UUID4</td>\n<td>vault token for fraud action</td>\n</tr>\n<tr>\n<td>charges.[].attached_at</td>\n<td>DateTime</td>\n<td>Date time when a charge has been attached to the bulk</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["bulk-charges",":bulk_reference","fraud"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"Bulk reference UUID identifier","key":"bulk_reference"}]}},"response":[{"id":"c13f81aa-52c1-4b4d-b8cd-af3b0106397f","name":"Charge cancel operation has been successful.","originalRequest":{"method":"POST","header":[{"key":"X-Scope","value":"company","description":"(Required) "},{"key":"X-Scope-Id","value":"<string>","description":"(Required) "},{"key":"X-Initiator-Id","value":"<string>"},{"key":"X-Token-Id","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"service_id\": \"<string>\",\n  \"charges\": []\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/bulk-charges/:bulk_reference/fraud","host":["{{baseUrl}}"],"path":["bulk-charges",":bulk_reference","fraud"],"variable":[{"key":"bulk_reference","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<string>\",\n  \"reference\": \"<string>\",\n  \"created_at\": \"<dateTime>\",\n  \"status\": \"completed\",\n  \"charges\": [\n    {\n      \"type\": \"financial\",\n      \"attached_at\": \"<dateTime>\",\n      \"id\": \"<string>\",\n      \"vault_token\": \"<uuid>\"\n    },\n    {\n      \"type\": \"fraud\",\n      \"attached_at\": \"<dateTime>\",\n      \"id\": \"<string>\",\n      \"vault_token\": \"<uuid>\"\n    }\n  ],\n  \"updated_at\": \"<dateTime>\",\n  \"action_logs\": [\n    {\n      \"created_at\": \"<dateTime>\",\n      \"status\": \"unprocessable\",\n      \"type\": \"capture\",\n      \"id\": \"<string>\",\n      \"items\": [\n        {\n          \"status\": \"pending\",\n          \"charge\": {\n            \"id\": \"<string>\",\n            \"type\": \"financial\",\n            \"status\": \"other\"\n          },\n          \"transaction\": {\n            \"id\": \"<string>\",\n            \"status\": \"cancel_requested\",\n            \"type\": \"initialization\",\n            \"fraud\": {\n              \"status\": \"reject\"\n            }\n          },\n          \"error_summary\": {\n            \"message\": \"<string>\",\n            \"code\": \"<string>\"\n          },\n          \"charge_sources\": [\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            },\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            }\n          ]\n        },\n        {\n          \"status\": \"failed\",\n          \"charge\": {\n            \"id\": \"<string>\",\n            \"type\": \"fraud\",\n            \"status\": \"inreview\"\n          },\n          \"transaction\": {\n            \"id\": \"<string>\",\n            \"status\": \"complete\",\n            \"type\": \"balance\",\n            \"fraud\": {\n              \"status\": \"approve\"\n            }\n          },\n          \"error_summary\": {\n            \"message\": \"<string>\",\n            \"code\": \"<string>\"\n          },\n          \"charge_sources\": [\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            },\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            }\n          ]\n        }\n      ]\n    },\n    {\n      \"created_at\": \"<dateTime>\",\n      \"status\": \"completed\",\n      \"type\": \"cancel\",\n      \"id\": \"<string>\",\n      \"items\": [\n        {\n          \"status\": \"failed\",\n          \"charge\": {\n            \"id\": \"<string>\",\n            \"type\": \"financial\",\n            \"status\": \"declined\"\n          },\n          \"transaction\": {\n            \"id\": \"<string>\",\n            \"status\": \"cancelled\",\n            \"type\": \"capture\",\n            \"fraud\": {\n              \"status\": \"approve\"\n            }\n          },\n          \"error_summary\": {\n            \"message\": \"<string>\",\n            \"code\": \"<string>\"\n          },\n          \"charge_sources\": [\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            },\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            }\n          ]\n        },\n        {\n          \"status\": \"completed\",\n          \"charge\": {\n            \"id\": \"<string>\",\n            \"type\": \"fraud\",\n            \"status\": \"inprogress\"\n          },\n          \"transaction\": {\n            \"id\": \"<string>\",\n            \"status\": \"pending\",\n            \"type\": \"fraud\",\n            \"fraud\": {\n              \"status\": \"reject\"\n            }\n          },\n          \"error_summary\": {\n            \"message\": \"<string>\",\n            \"code\": \"<string>\"\n          },\n          \"charge_sources\": [\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            },\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            }\n          ]\n        }\n      ]\n    }\n  ]\n}"}],"_postman_id":"c055ef50-d95b-4685-ab84-a449059c0a96"},{"name":"refund","id":"19298d16-2005-47bc-a19d-1cab86a4c804","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"X-Access-Token","value":"","description":"<p>Merchant's access token</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"charges\": []\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{url}}/v1/bulk-charges/:bulk_reference/refund","description":"<p><strong>Performs refund for all charges attached to the bulk</strong></p>\n<hr />\n<p><em><strong>Request body</strong></em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field 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>charges</td>\n<td>+</td>\n<td>array</td>\n<td>Array of the charge IDs</td>\n</tr>\n<tr>\n<td>charges.[].id</td>\n<td>-</td>\n<td>UUID</td>\n<td>Charge ID to be refunded</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>If the request body has empty charges array all charges attached to the bulk will be processed.</em></p>\n<p><strong>Response body</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>ObjectID</td>\n<td>Bulk Internal identifier</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>UUID</td>\n<td>Bulk external identifier</td>\n</tr>\n<tr>\n<td>status</td>\n<td>enum</td>\n<td><strong>Het possible enum values:  <br />new -</strong> <em>Initial status of the bulk when it has been created but no processing action has been executed yet.  <br /></em><strong>inprogress -</strong> <em>The bulk operation is in progress and locked to any requests for update bulk</em>  <br />  <br /><strong>completed</strong> - <em>The bulk operation is completed and ready for changing it’s state  <br />  <br /></em><strong>failed</strong> - <em>The bulk operation is failed, because of any internal problems</em></td>\n</tr>\n<tr>\n<td>action_logs</td>\n<td>Array</td>\n<td>Contains history of the updated bulk fields, only changed fields will be shown in the array</td>\n</tr>\n<tr>\n<td>action_logs.id</td>\n<td>ObjectID</td>\n<td>Internal action_log identifier</td>\n</tr>\n<tr>\n<td>action_logs.created_at</td>\n<td>DateTime</td>\n<td>Date of action_log creating</td>\n</tr>\n<tr>\n<td>action_logs.status</td>\n<td>String</td>\n<td>The possible enum values:  <br /><strong>completed</strong> - The bulk action has been completed for all charges successfully  <br />  <br /><strong>failed</strong> - At least one charge has not been completed successfully  <br />  <br /><strong>unprocessable</strong> - At least one charge can not be processed due to internal status validation</td>\n</tr>\n<tr>\n<td>action_logs.type</td>\n<td>String</td>\n<td>The possible enum values:  <br />- fraud  <br />- refund  <br />- cancel  <br />- capture</td>\n</tr>\n<tr>\n<td>action_logs.items</td>\n<td>Array</td>\n<td>Item of an action log. Represents the combination of different properties and statuses for each charge that has been affected by one specific action execution.</td>\n</tr>\n<tr>\n<td>action_logs.items.[].status</td>\n<td>String</td>\n<td>Status of action item validation failure - unprocessable or result of action execution  <br />- completed  <br />- failed  <br />- pending</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge</td>\n<td>Object</td>\n<td>The last snapshot of the charge received either during the validation (if unprocessable) or after action has been executed.</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge.id</td>\n<td>ObjectId</td>\n<td>The id of charge that has been under validation or processing</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge.type</td>\n<td>String</td>\n<td>The type of charge  <br />- financial  <br />- fraud</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge.status</td>\n<td>String</td>\n<td>The status of charge either after getting charge by id to perform validation and this validation failed so no action has been executed, or if validation passed and the status of charge after the action execution.  <br />  <br />- complete  <br />- failed  <br />- pending  <br />- held  <br />- requested  <br />- refund_requested  <br />- refunded  <br />- inprogress  <br />- cancelled  <br />- archived</td>\n</tr>\n<tr>\n<td>action_logs.items.[].transaction</td>\n<td>Object</td>\n<td>The last snapshot of the transaction received either during the validation (if unprocessable) or after action has been executed.</td>\n</tr>\n<tr>\n<td>action_logs.items.[].transaction.id</td>\n<td>ObjectId</td>\n<td>The id of transaction received together with charge that has been under validation or processing</td>\n</tr>\n<tr>\n<td>action_logs.items.[].transaction.type</td>\n<td>String</td>\n<td>The type of transaction  <br />  <br />- initialization  <br />- sale  <br />- refund  <br />- cancel  <br />- capture  <br />- fraud  <br />- balance</td>\n</tr>\n<tr>\n<td>action_logs.items.[].transaction.status</td>\n<td>String</td>\n<td>The status of transaction either after getting charge by id to perform validation and this validation failed so no action has been executed, or if validation passed and the status of transaction after the action over charge was executed.  <br />  <br />- pending  <br />- cancel_requested  <br />- capture_requested  <br />- requested  <br />- declined  <br />- approved  <br />- inprogres  <br />- complete  <br />- failed  <br />- cancelled  <br />- authentication_pending</td>\n</tr>\n<tr>\n<td>action_logs.items.[].error_summary</td>\n<td>Object</td>\n<td><strong>error_summary</strong> field should be present if some error occurs, and charge status is <strong>failed</strong></td>\n</tr>\n<tr>\n<td>action_logs.items.[].error_summary.message</td>\n<td>Text</td>\n<td>An Error description from remote server in case of request or if an error occurs into application then the description should be provided here</td>\n</tr>\n<tr>\n<td>action_logs.items.[].error_summary.code</td>\n<td>Int</td>\n<td>Error family code</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge_sources</td>\n<td>Object</td>\n<td>the object should be present in case of <strong>fraud type</strong> of <em>action_log</em></td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge_sources.id</td>\n<td>ObjectID</td>\n<td>Charge’s ID</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge_sources.vault_token</td>\n<td>UUID</td>\n<td>Vault token required for do fraud request</td>\n</tr>\n<tr>\n<td>charges</td>\n<td>Array</td>\n<td>The list of charges to which the process has been applied</td>\n</tr>\n<tr>\n<td><strong>charges</strong>.[].id</td>\n<td>ObjectID</td>\n<td>The charge id</td>\n</tr>\n<tr>\n<td><strong>charges</strong>.[].type</td>\n<td>enum</td>\n<td>The possible enum values:  <br />- financial  <br />- fraud</td>\n</tr>\n<tr>\n<td><strong>charges.[]</strong>.vault_token</td>\n<td>UUID4</td>\n<td>vault token for fraud action</td>\n</tr>\n<tr>\n<td><strong>charges</strong>.[].attached_at</td>\n<td>DateTime</td>\n<td>Date time when a charge has been attached to the bulk</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","bulk-charges",":bulk_reference","refund"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"Bulk reference UUID identifier","key":"bulk_reference"}]}},"response":[{"id":"9c73f6cf-5fe0-411c-bbe8-6633a7659f87","name":"Charge refund operation has been successful.","originalRequest":{"method":"POST","header":[{"key":"X-Scope","value":"company","description":"(Required) "},{"key":"X-Scope-Id","value":"<string>","description":"(Required) "},{"key":"X-Initiator-Id","value":"<string>"},{"key":"X-Token-Id","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"charges\": []\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"{{baseUrl}}/bulk-charges/:bulk_reference/refund","host":["{{baseUrl}}"],"path":["bulk-charges",":bulk_reference","refund"],"variable":[{"key":"bulk_reference","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<string>\",\n  \"reference\": \"<string>\",\n  \"created_at\": \"<dateTime>\",\n  \"status\": \"completed\",\n  \"charges\": [\n    {\n      \"type\": \"financial\",\n      \"attached_at\": \"<dateTime>\",\n      \"id\": \"<string>\",\n      \"vault_token\": \"<uuid>\"\n    },\n    {\n      \"type\": \"fraud\",\n      \"attached_at\": \"<dateTime>\",\n      \"id\": \"<string>\",\n      \"vault_token\": \"<uuid>\"\n    }\n  ],\n  \"updated_at\": \"<dateTime>\",\n  \"action_logs\": [\n    {\n      \"created_at\": \"<dateTime>\",\n      \"status\": \"unprocessable\",\n      \"type\": \"capture\",\n      \"id\": \"<string>\",\n      \"items\": [\n        {\n          \"status\": \"pending\",\n          \"charge\": {\n            \"id\": \"<string>\",\n            \"type\": \"financial\",\n            \"status\": \"other\"\n          },\n          \"transaction\": {\n            \"id\": \"<string>\",\n            \"status\": \"cancel_requested\",\n            \"type\": \"initialization\",\n            \"fraud\": {\n              \"status\": \"reject\"\n            }\n          },\n          \"error_summary\": {\n            \"message\": \"<string>\",\n            \"code\": \"<string>\"\n          },\n          \"charge_sources\": [\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            },\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            }\n          ]\n        },\n        {\n          \"status\": \"failed\",\n          \"charge\": {\n            \"id\": \"<string>\",\n            \"type\": \"fraud\",\n            \"status\": \"inreview\"\n          },\n          \"transaction\": {\n            \"id\": \"<string>\",\n            \"status\": \"complete\",\n            \"type\": \"balance\",\n            \"fraud\": {\n              \"status\": \"approve\"\n            }\n          },\n          \"error_summary\": {\n            \"message\": \"<string>\",\n            \"code\": \"<string>\"\n          },\n          \"charge_sources\": [\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            },\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            }\n          ]\n        }\n      ]\n    },\n    {\n      \"created_at\": \"<dateTime>\",\n      \"status\": \"completed\",\n      \"type\": \"cancel\",\n      \"id\": \"<string>\",\n      \"items\": [\n        {\n          \"status\": \"failed\",\n          \"charge\": {\n            \"id\": \"<string>\",\n            \"type\": \"financial\",\n            \"status\": \"declined\"\n          },\n          \"transaction\": {\n            \"id\": \"<string>\",\n            \"status\": \"cancelled\",\n            \"type\": \"capture\",\n            \"fraud\": {\n              \"status\": \"approve\"\n            }\n          },\n          \"error_summary\": {\n            \"message\": \"<string>\",\n            \"code\": \"<string>\"\n          },\n          \"charge_sources\": [\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            },\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            }\n          ]\n        },\n        {\n          \"status\": \"completed\",\n          \"charge\": {\n            \"id\": \"<string>\",\n            \"type\": \"fraud\",\n            \"status\": \"inprogress\"\n          },\n          \"transaction\": {\n            \"id\": \"<string>\",\n            \"status\": \"pending\",\n            \"type\": \"fraud\",\n            \"fraud\": {\n              \"status\": \"reject\"\n            }\n          },\n          \"error_summary\": {\n            \"message\": \"<string>\",\n            \"code\": \"<string>\"\n          },\n          \"charge_sources\": [\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            },\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            }\n          ]\n        }\n      ]\n    }\n  ]\n}"}],"_postman_id":"19298d16-2005-47bc-a19d-1cab86a4c804"},{"name":"search Bulks","id":"02e93ac0-dad8-4447-83b1-0d87109faf8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"X-Access-Token","value":"Merchant's access token"}],"url":"{{url}}/v1/bulk-charges?skip=0&limit=100&sortkey=<string>&sortdirection=ASC&id=<string>&reference=<string>&status=completed&range.key=created_at&range.from=<dateTime>&range.to=<dateTime>","description":"<p><strong>Search bulk</strong></p>\n<hr />\n<p>Request paramenters</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field 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>skip</td>\n<td>Default 0</td>\n<td>number</td>\n<td>A pagination parameter to skip first N bulks from the list</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>Default 100</td>\n<td>number</td>\n<td>A pagination parameter to limit output to N maximum value = 1000</td>\n</tr>\n<tr>\n<td>sortkey</td>\n<td>Default created_at</td>\n<td>string</td>\n<td>A sorting key parameter, i.e. created_at, updated_at</td>\n</tr>\n<tr>\n<td>sortdirection</td>\n<td>Default DESC</td>\n<td>string</td>\n<td>A sorting order direction parameter ASC or DESC</td>\n</tr>\n<tr>\n<td>id</td>\n<td>-</td>\n<td>ObjectID</td>\n<td>Id of bulk search parameter</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>-</td>\n<td>UUID</td>\n<td>Bulk reference search parameter</td>\n</tr>\n<tr>\n<td>status</td>\n<td>-</td>\n<td>enum</td>\n<td>Possible enum values:  <br />- new  <br />- inprogress  <br />- completed  <br />- failed</td>\n</tr>\n<tr>\n<td>created_at_from</td>\n<td>-</td>\n<td>ISO 8601 datetime (UTC)</td>\n<td>Search parameter to find bulk where created_at date is greater than or equal specified value.</td>\n</tr>\n<tr>\n<td>created_at_to</td>\n<td>-</td>\n<td>ISO 8601 datetime (UTC)</td>\n<td>Search parameter to find bulk where created_at date is less than specified value.</td>\n</tr>\n<tr>\n<td>updated_at_from</td>\n<td>-</td>\n<td>ISO 8601 datetime (UTC)</td>\n<td>Search parameter to find bulk where updated_at date is greater than or equal specified value.</td>\n</tr>\n<tr>\n<td>updated_at_to</td>\n<td>-</td>\n<td>ISO 8601 datetime (UTC)</td>\n<td>Search parameter to find bulk where updated_at date is less than specified value.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Response body</strong></p>\n<p>The array of bulk charges that are corresponding to search criteria.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>ObjectID</td>\n<td>Bulk Internal identifier</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>UUID</td>\n<td>Bulk external identifier</td>\n</tr>\n<tr>\n<td>status</td>\n<td>enum</td>\n<td><strong>Het possible enum values:  <br />new -</strong> <em>Initial status of the bulk when it has been created but no processing action has been executed yet.  <br /></em><strong>inprogress -</strong> <em>The bulk operation is in progress and locked to any requests for update bulk</em>  <br />  <br /><strong>completed</strong> - <em>The bulk operation is completed and ready for changing it’s state  <br />  <br /></em><strong>failed</strong> - <em>The bulk operation is failed, because of any internal problems</em></td>\n</tr>\n<tr>\n<td>action_logs</td>\n<td>Array</td>\n<td>Contains history of the updated bulk fields, only changed fields will be shown in the array</td>\n</tr>\n<tr>\n<td>action_logs.id</td>\n<td>ObjectID</td>\n<td>Internal action_log identifier</td>\n</tr>\n<tr>\n<td>action_logs.created_at</td>\n<td>DateTime</td>\n<td>Date of action_log creating</td>\n</tr>\n<tr>\n<td>action_logs.status</td>\n<td>String</td>\n<td>The possible enum values:  <br /><strong>completed</strong> - The bulk action has been completed for all charges successfully  <br />  <br /><strong>failed</strong> - At least one charge has not been completed successfully  <br />  <br /><strong>unprocessable</strong> - At least one charge can not be processed due to internal status validation</td>\n</tr>\n<tr>\n<td>action_logs.type</td>\n<td>String</td>\n<td>The possible enum values:  <br />- fraud  <br />- refund  <br />- cancel  <br />- capture</td>\n</tr>\n<tr>\n<td>action_logs.items</td>\n<td>Array</td>\n<td>Item of an action log. Represents the combination of different properties and statuses for each charge that has been affected by one specific action execution.</td>\n</tr>\n<tr>\n<td>action_logs.items.[].status</td>\n<td>String</td>\n<td>Status of action item validation failure - unprocessable or result of action execution  <br />- completed  <br />- failed  <br />- pending</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge</td>\n<td>Object</td>\n<td>The last snapshot of the charge received either during the validation (if unprocessable) or after action has been executed.</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge.id</td>\n<td>ObjectId</td>\n<td>The id of charge that has been under validation or processing</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge.type</td>\n<td>String</td>\n<td>The type of charge  <br />- financial  <br />- fraud</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge.status</td>\n<td>String</td>\n<td>The status of charge either after getting charge by id to perform validation and this validation failed so no action has been executed, or if validation passed and the status of charge after the action execution.  <br />  <br />- complete  <br />- failed  <br />- pending  <br />- held  <br />- requested  <br />- refund_requested  <br />- refunded  <br />- inprogress  <br />- cancelled  <br />- archived</td>\n</tr>\n<tr>\n<td>action_logs.items.[].transaction</td>\n<td>Object</td>\n<td>The last snapshot of the transaction received either during the validation (if unprocessable) or after action has been executed.</td>\n</tr>\n<tr>\n<td>action_logs.items.[].transaction.id</td>\n<td>ObjectId</td>\n<td>The id of transaction received together with charge that has been under validation or processing</td>\n</tr>\n<tr>\n<td>action_logs.items.[].transaction.type</td>\n<td>String</td>\n<td>The type of transaction  <br />  <br />- initialization  <br />- sale  <br />- refund  <br />- cancel  <br />- capture  <br />- fraud  <br />- balance</td>\n</tr>\n<tr>\n<td>action_logs.items.[].transaction.status</td>\n<td>String</td>\n<td>The status of transaction either after getting charge by id to perform validation and this validation failed so no action has been executed, or if validation passed and the status of transaction after the action over charge was executed.  <br />  <br />- pending  <br />- cancel_requested  <br />- capture_requested  <br />- requested  <br />- declined  <br />- approved  <br />- inprogres  <br />- complete  <br />- failed  <br />- cancelled  <br />- authentication_pending</td>\n</tr>\n<tr>\n<td>action_logs.items.[].error_summary</td>\n<td>Object</td>\n<td><strong>error_summary</strong> field should be present if some error occurs, and charge status is <strong>failed</strong></td>\n</tr>\n<tr>\n<td>action_logs.items.[].error_summary.message</td>\n<td>Text</td>\n<td>An Error description from remote server in case of request or if an error occurs into application then the description should be provided here</td>\n</tr>\n<tr>\n<td>action_logs.items.[].error_summary.code</td>\n<td>Int</td>\n<td>Error family code</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge_sources</td>\n<td>Object</td>\n<td>the object should be present in case of <strong>fraud type</strong> of <em>action_log</em></td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge_sources.id</td>\n<td>ObjectID</td>\n<td>Charge’s ID</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge_sources.vault_token</td>\n<td>UUID</td>\n<td>Vault token required for do fraud request</td>\n</tr>\n<tr>\n<td>charges</td>\n<td>Array</td>\n<td>The list of charges to which the process has been applied</td>\n</tr>\n<tr>\n<td>charges.[].id</td>\n<td>ObjectID</td>\n<td>The charge id</td>\n</tr>\n<tr>\n<td>charges.[].type</td>\n<td>enum</td>\n<td>The possible enum values:  <br />- financial  <br />- fraud</td>\n</tr>\n<tr>\n<td>charges.[].vault_token</td>\n<td>UUID4</td>\n<td>vault token for fraud action</td>\n</tr>\n<tr>\n<td>charges.[].attached_at</td>\n<td>DateTime</td>\n<td>Date time when a charge has been attached to the bulk</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","bulk-charges"],"host":["{{url}}"],"query":[{"description":{"content":"<p>A pagination parameter to skip the first N bulks from the list, default = 0</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>A pagination parameter to limit the output to N, default = 100, maximum value = 1000</p>\n","type":"text/plain"},"key":"limit","value":"100"},{"description":{"content":"<p>A sorting key parameter, i.e. created_at</p>\n","type":"text/plain"},"key":"sortkey","value":"<string>"},{"description":{"content":"<p>A sorting order direction parameter ASC or DESC (DESC by default)</p>\n","type":"text/plain"},"key":"sortdirection","value":"ASC"},{"description":{"content":"<p>Search by id</p>\n","type":"text/plain"},"key":"id","value":"<string>"},{"description":{"content":"<p>Search by bulk reference</p>\n","type":"text/plain"},"key":"reference","value":"<string>"},{"description":{"content":"<p>Search by status</p>\n","type":"text/plain"},"key":"status","value":"completed"},{"description":{"content":"<p>Date field to make range search by.</p>\n","type":"text/plain"},"key":"range.key","value":"created_at"},{"description":{"content":"<p>Search by date specified in 'range.key' starting from.</p>\n","type":"text/plain"},"key":"range.from","value":"<dateTime>"},{"description":{"content":"<p>Search up to date specified in 'range.key'.</p>\n","type":"text/plain"},"key":"range.to","value":"<dateTime>"}],"variable":[]}},"response":[{"id":"7a4cc299-e12e-4d07-a0e0-928528e07830","name":"Returned bulks by specified search criteria.","originalRequest":{"method":"GET","header":[{"key":"X-Scope","value":"company","description":"(Required) "},{"key":"X-Scope-Id","value":"<string>","description":"(Required) "},{"key":"X-Initiator-Id","value":"<string>"},{"key":"X-Token-Id","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/bulk-charges?skip=0&limit=100&sortkey=<string>&sortdirection=ASC&id=<string>&reference=<string>&status=completed&range.key=created_at&range.from=<dateTime>&range.to=<dateTime>","host":["{{baseUrl}}"],"path":["bulk-charges"],"query":[{"key":"skip","value":"0","description":"A pagination parameter to skip the first N bulks from the list, default = 0"},{"key":"limit","value":"100","description":"A pagination parameter to limit the output to N, default = 100, maximum value = 1000"},{"key":"sortkey","value":"<string>","description":"A sorting key parameter, i.e. created_at"},{"key":"sortdirection","value":"ASC","description":"A sorting order direction parameter ASC or DESC (DESC by default)"},{"key":"id","value":"<string>","description":"Search by id"},{"key":"reference","value":"<string>","description":"Search by bulk reference"},{"key":"status","value":"completed","description":"Search by status"},{"key":"range.key","value":"created_at","description":"Date field to make range search by."},{"key":"range.from","value":"<dateTime>","description":"Search by date specified in 'range.key' starting from."},{"key":"range.to","value":"<dateTime>","description":"Search up to date specified in 'range.key'."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"<string>\",\n    \"reference\": \"<string>\",\n    \"created_at\": \"<dateTime>\",\n    \"status\": \"completed\",\n    \"charges\": [\n      {\n        \"type\": \"fraud\",\n        \"attached_at\": \"<dateTime>\",\n        \"id\": \"<string>\",\n        \"vault_token\": \"<uuid>\"\n      },\n      {\n        \"type\": \"fraud\",\n        \"attached_at\": \"<dateTime>\",\n        \"id\": \"<string>\",\n        \"vault_token\": \"<uuid>\"\n      }\n    ],\n    \"updated_at\": \"<dateTime>\",\n    \"action_logs\": [\n      {\n        \"created_at\": \"<dateTime>\",\n        \"status\": \"completed\",\n        \"type\": \"capture\",\n        \"id\": \"<string>\",\n        \"items\": [\n          {\n            \"status\": \"failed\",\n            \"charge\": {\n              \"id\": \"<string>\",\n              \"type\": \"financial\",\n              \"status\": \"cancelled\"\n            },\n            \"transaction\": {\n              \"id\": \"<string>\",\n              \"status\": \"requested\",\n              \"type\": \"standalonefraud\",\n              \"fraud\": {\n                \"status\": \"approve\"\n              }\n            },\n            \"error_summary\": {\n              \"message\": \"<string>\",\n              \"code\": \"<string>\"\n            },\n            \"charge_sources\": [\n              {\n                \"id\": \"<string>\",\n                \"vault_token\": \"<uuid>\"\n              },\n              {\n                \"id\": \"<string>\",\n                \"vault_token\": \"<uuid>\"\n              }\n            ]\n          },\n          {\n            \"status\": \"completed\",\n            \"charge\": {\n              \"id\": \"<string>\",\n              \"type\": \"financial\",\n              \"status\": \"cancelled\"\n            },\n            \"transaction\": {\n              \"id\": \"<string>\",\n              \"status\": \"pending\",\n              \"type\": \"capture\",\n              \"fraud\": {\n                \"status\": \"failed\"\n              }\n            },\n            \"error_summary\": {\n              \"message\": \"<string>\",\n              \"code\": \"<string>\"\n            },\n            \"charge_sources\": [\n              {\n                \"id\": \"<string>\",\n                \"vault_token\": \"<uuid>\"\n              },\n              {\n                \"id\": \"<string>\",\n                \"vault_token\": \"<uuid>\"\n              }\n            ]\n          }\n        ]\n      },\n      {\n        \"created_at\": \"<dateTime>\",\n        \"status\": \"failed\",\n        \"type\": \"capture\",\n        \"id\": \"<string>\",\n        \"items\": [\n          {\n            \"status\": \"unprocessable\",\n            \"charge\": {\n              \"id\": \"<string>\",\n              \"type\": \"financial\",\n              \"status\": \"wallet_initialized\"\n            },\n            \"transaction\": {\n              \"id\": \"<string>\",\n              \"status\": \"capture_requested\",\n              \"type\": \"refund\",\n              \"fraud\": {\n                \"status\": \"reject\"\n              }\n            },\n            \"error_summary\": {\n              \"message\": \"<string>\",\n              \"code\": \"<string>\"\n            },\n            \"charge_sources\": [\n              {\n                \"id\": \"<string>\",\n                \"vault_token\": \"<uuid>\"\n              },\n              {\n                \"id\": \"<string>\",\n                \"vault_token\": \"<uuid>\"\n              }\n            ]\n          },\n          {\n            \"status\": \"completed\",\n            \"charge\": {\n              \"id\": \"<string>\",\n              \"type\": \"fraud\",\n              \"status\": \"authentication_not_supported\"\n            },\n            \"transaction\": {\n              \"id\": \"<string>\",\n              \"status\": \"rejected\",\n              \"type\": \"refund\",\n              \"fraud\": {\n                \"status\": \"approve\"\n              }\n            },\n            \"error_summary\": {\n              \"message\": \"<string>\",\n              \"code\": \"<string>\"\n            },\n            \"charge_sources\": [\n              {\n                \"id\": \"<string>\",\n                \"vault_token\": \"<uuid>\"\n              },\n              {\n                \"id\": \"<string>\",\n                \"vault_token\": \"<uuid>\"\n              }\n            ]\n          }\n        ]\n      }\n    ]\n  },\n  {\n    \"id\": \"<string>\",\n    \"reference\": \"<string>\",\n    \"created_at\": \"<dateTime>\",\n    \"status\": \"inprogress\",\n    \"charges\": [\n      {\n        \"type\": \"fraud\",\n        \"attached_at\": \"<dateTime>\",\n        \"id\": \"<string>\",\n        \"vault_token\": \"<uuid>\"\n      },\n      {\n        \"type\": \"fraud\",\n        \"attached_at\": \"<dateTime>\",\n        \"id\": \"<string>\",\n        \"vault_token\": \"<uuid>\"\n      }\n    ],\n    \"updated_at\": \"<dateTime>\",\n    \"action_logs\": [\n      {\n        \"created_at\": \"<dateTime>\",\n        \"status\": \"completed\",\n        \"type\": \"fraud\",\n        \"id\": \"<string>\",\n        \"items\": [\n          {\n            \"status\": \"completed\",\n            \"charge\": {\n              \"id\": \"<string>\",\n              \"type\": \"financial\",\n              \"status\": \"pre_authenticated\"\n            },\n            \"transaction\": {\n              \"id\": \"<string>\",\n              \"status\": \"authentication_pending\",\n              \"type\": \"fraud\",\n              \"fraud\": {\n                \"status\": \"failed\"\n              }\n            },\n            \"error_summary\": {\n              \"message\": \"<string>\",\n              \"code\": \"<string>\"\n            },\n            \"charge_sources\": [\n              {\n                \"id\": \"<string>\",\n                \"vault_token\": \"<uuid>\"\n              },\n              {\n                \"id\": \"<string>\",\n                \"vault_token\": \"<uuid>\"\n              }\n            ]\n          },\n          {\n            \"status\": \"completed\",\n            \"charge\": {\n              \"id\": \"<string>\",\n              \"type\": \"fraud\",\n              \"status\": \"inreview\"\n            },\n            \"transaction\": {\n              \"id\": \"<string>\",\n              \"status\": \"declined\",\n              \"type\": \"balance\",\n              \"fraud\": {\n                \"status\": \"review\"\n              }\n            },\n            \"error_summary\": {\n              \"message\": \"<string>\",\n              \"code\": \"<string>\"\n            },\n            \"charge_sources\": [\n              {\n                \"id\": \"<string>\",\n                \"vault_token\": \"<uuid>\"\n              },\n              {\n                \"id\": \"<string>\",\n                \"vault_token\": \"<uuid>\"\n              }\n            ]\n          }\n        ]\n      },\n      {\n        \"created_at\": \"<dateTime>\",\n        \"status\": \"completed\",\n        \"type\": \"capture\",\n        \"id\": \"<string>\",\n        \"items\": [\n          {\n            \"status\": \"unprocessable\",\n            \"charge\": {\n              \"id\": \"<string>\",\n              \"type\": \"fraud\",\n              \"status\": \"authentication_not_supported\"\n            },\n            \"transaction\": {\n              \"id\": \"<string>\",\n              \"status\": \"failed\",\n              \"type\": \"cancel\",\n              \"fraud\": {\n                \"status\": \"approve\"\n              }\n            },\n            \"error_summary\": {\n              \"message\": \"<string>\",\n              \"code\": \"<string>\"\n            },\n            \"charge_sources\": [\n              {\n                \"id\": \"<string>\",\n                \"vault_token\": \"<uuid>\"\n              },\n              {\n                \"id\": \"<string>\",\n                \"vault_token\": \"<uuid>\"\n              }\n            ]\n          },\n          {\n            \"status\": \"unprocessable\",\n            \"charge\": {\n              \"id\": \"<string>\",\n              \"type\": \"fraud\",\n              \"status\": \"declined\"\n            },\n            \"transaction\": {\n              \"id\": \"<string>\",\n              \"status\": \"inprogress\",\n              \"type\": \"fraud\",\n              \"fraud\": {\n                \"status\": \"failed\"\n              }\n            },\n            \"error_summary\": {\n              \"message\": \"<string>\",\n              \"code\": \"<string>\"\n            },\n            \"charge_sources\": [\n              {\n                \"id\": \"<string>\",\n                \"vault_token\": \"<uuid>\"\n              },\n              {\n                \"id\": \"<string>\",\n                \"vault_token\": \"<uuid>\"\n              }\n            ]\n          }\n        ]\n      }\n    ]\n  }\n]"}],"_postman_id":"02e93ac0-dad8-4447-83b1-0d87109faf8f"},{"name":"get Bulk","id":"f5386276-f066-4cda-97ee-dfa8e661f7d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"X-Access-Token","value":"Merchant's access token"}],"url":"{{url}}/v1/bulk-charges/:bulk_reference","description":"<p><strong>Returns the bulk by reference id</strong></p>\n<hr />\n<p><strong>Response body</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>ObjectID</td>\n<td>Bulk Internal identifier</td>\n</tr>\n<tr>\n<td>reference</td>\n<td>UUID</td>\n<td>Bulk external identifier</td>\n</tr>\n<tr>\n<td>status</td>\n<td>enum</td>\n<td><strong>Het possible enum values:  <br />new -</strong> <em>Initial status of the bulk when it has been created but no processing action has been executed yet.  <br /></em><strong>inprogress -</strong> <em>The bulk operation is in progress and locked to any requests for update bulk</em>  <br />  <br /><strong>completed</strong> - <em>The bulk operation is completed and ready for changing it’s state  <br />  <br /></em><strong>failed</strong> - <em>The bulk operation is failed, because of any internal problems</em></td>\n</tr>\n<tr>\n<td>action_logs</td>\n<td>Array</td>\n<td>Contains history of the updated bulk fields, only changed fields will be shown in the array</td>\n</tr>\n<tr>\n<td>action_logs.id</td>\n<td>ObjectID</td>\n<td>Internal action_log identifier</td>\n</tr>\n<tr>\n<td>action_logs.created_at</td>\n<td>DateTime</td>\n<td>Date of action_log creating</td>\n</tr>\n<tr>\n<td>action_logs.status</td>\n<td>String</td>\n<td>The possible enum values:  <br />- completed  <br />- failed  <br />- unprocessable</td>\n</tr>\n<tr>\n<td>action_logs.type</td>\n<td>String</td>\n<td>The possible enum values:  <br />- fraud  <br />- refund  <br />- cancel  <br />- capture</td>\n</tr>\n<tr>\n<td>action_logs.items</td>\n<td>Array</td>\n<td>Item of an action log. Represents the combination of different properties and statuses for each charge that has been affected by one specific action execution.</td>\n</tr>\n<tr>\n<td>action_logs.items.[].status</td>\n<td>String</td>\n<td>Status of action item validation failure - unprocessable or result of action execution  <br />- completed  <br />- failed  <br />- pending</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge</td>\n<td>Object</td>\n<td>The last snapshot of the charge received either during the validation (if unprocessable) or after action has been executed.</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge.id</td>\n<td>ObjectId</td>\n<td>The id of charge that has been under validation or processing</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge.type</td>\n<td>String</td>\n<td>The type of charge  <br />- financial  <br />- fraud</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge.status</td>\n<td>String</td>\n<td>The status of charge either after getting charge by id to perform validation and this validation failed so no action has been executed, or if validation passed and the status of charge after the action execution.  <br />  <br />- complete  <br />- failed  <br />- pending  <br />- held  <br />- requested  <br />- refund_requested  <br />- refunded  <br />- inprogress  <br />- cancelled  <br />- archived</td>\n</tr>\n<tr>\n<td>action_logs.items.[].transaction</td>\n<td>Object</td>\n<td>The last snapshot of the transaction received either during the validation (if unprocessable) or after action has been executed.</td>\n</tr>\n<tr>\n<td>action_logs.items.[].transaction.id</td>\n<td>ObjectId</td>\n<td>The id of transaction received together with charge that has been under validation or processing</td>\n</tr>\n<tr>\n<td>action_logs.items.[].transaction.type</td>\n<td>String</td>\n<td>The type of transaction  <br />  <br />- initialization  <br />- sale  <br />- refund  <br />- cancel  <br />- capture  <br />- fraud  <br />- balance</td>\n</tr>\n<tr>\n<td>action_logs.items.[].transaction.status</td>\n<td>String</td>\n<td>The status of transaction either after getting charge by id to perform validation and this validation failed so no action has been executed, or if validation passed and the status of transaction after the action over charge was executed.  <br />  <br />- pending  <br />- cancel_requested  <br />- capture_requested  <br />- requested  <br />- declined  <br />- approved  <br />- inprogres  <br />- complete  <br />- failed  <br />- cancelled  <br />- authentication_pending</td>\n</tr>\n<tr>\n<td>action_logs.items.[].error_summary</td>\n<td>Object</td>\n<td><strong>error_summary</strong> field should be present if some error occurs, and charge status is <strong>failed</strong></td>\n</tr>\n<tr>\n<td>action_logs.items.[].error_summary.message</td>\n<td>Text</td>\n<td>An Error description from remote server in case of request or if an error occurs into application then the description should be provided here</td>\n</tr>\n<tr>\n<td>action_logs.items.[].error_summary.code</td>\n<td>Int</td>\n<td>Error family code</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge_sources</td>\n<td>Object</td>\n<td>the object should be present in case of <strong>fraud type</strong> of <em>action_log</em></td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge_sources.id</td>\n<td>ObjectID</td>\n<td>Charge’s ID</td>\n</tr>\n<tr>\n<td>action_logs.items.[].charge_sources.vault_token</td>\n<td>UUID</td>\n<td>Vault token required for do fraud request</td>\n</tr>\n<tr>\n<td>charges</td>\n<td>Array</td>\n<td>The list of charges to which the process has been applied</td>\n</tr>\n<tr>\n<td>charges.[].id</td>\n<td>ObjectID</td>\n<td>The charge id</td>\n</tr>\n<tr>\n<td>charges.[].type</td>\n<td>enum</td>\n<td>The possible enum values:  <br />- financial  <br />- fraud</td>\n</tr>\n<tr>\n<td>charges.[].vault_token</td>\n<td>UUID4</td>\n<td>vault token for fraud action</td>\n</tr>\n<tr>\n<td>charges.[].attached_at</td>\n<td>DateTime</td>\n<td>Date time when a charge has been attached to the bulk</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","bulk-charges",":bulk_reference"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"<string>","key":"bulk_reference"}]}},"response":[{"id":"a3649fbb-4ba4-4965-b47d-c4dffff8fcfb","name":"Successfully returned bulk by specified reference or object id.","originalRequest":{"method":"GET","header":[{"key":"X-Scope","value":"company","description":"(Required) "},{"key":"X-Scope-Id","value":"<string>","description":"(Required) "},{"key":"X-Initiator-Id","value":"<string>"},{"key":"X-Token-Id","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/bulk-charges/:bulk_reference","host":["{{baseUrl}}"],"path":["bulk-charges",":bulk_reference"],"variable":[{"key":"bulk_reference","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"<string>\",\n  \"reference\": \"<string>\",\n  \"created_at\": \"<dateTime>\",\n  \"status\": \"completed\",\n  \"charges\": [\n    {\n      \"type\": \"financial\",\n      \"attached_at\": \"<dateTime>\",\n      \"id\": \"<string>\",\n      \"vault_token\": \"<uuid>\"\n    },\n    {\n      \"type\": \"fraud\",\n      \"attached_at\": \"<dateTime>\",\n      \"id\": \"<string>\",\n      \"vault_token\": \"<uuid>\"\n    }\n  ],\n  \"updated_at\": \"<dateTime>\",\n  \"action_logs\": [\n    {\n      \"created_at\": \"<dateTime>\",\n      \"status\": \"unprocessable\",\n      \"type\": \"capture\",\n      \"id\": \"<string>\",\n      \"items\": [\n        {\n          \"status\": \"pending\",\n          \"charge\": {\n            \"id\": \"<string>\",\n            \"type\": \"financial\",\n            \"status\": \"other\"\n          },\n          \"transaction\": {\n            \"id\": \"<string>\",\n            \"status\": \"cancel_requested\",\n            \"type\": \"initialization\",\n            \"fraud\": {\n              \"status\": \"reject\"\n            }\n          },\n          \"error_summary\": {\n            \"message\": \"<string>\",\n            \"code\": \"<string>\"\n          },\n          \"charge_sources\": [\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            },\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            }\n          ]\n        },\n        {\n          \"status\": \"failed\",\n          \"charge\": {\n            \"id\": \"<string>\",\n            \"type\": \"fraud\",\n            \"status\": \"inreview\"\n          },\n          \"transaction\": {\n            \"id\": \"<string>\",\n            \"status\": \"complete\",\n            \"type\": \"balance\",\n            \"fraud\": {\n              \"status\": \"approve\"\n            }\n          },\n          \"error_summary\": {\n            \"message\": \"<string>\",\n            \"code\": \"<string>\"\n          },\n          \"charge_sources\": [\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            },\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            }\n          ]\n        }\n      ]\n    },\n    {\n      \"created_at\": \"<dateTime>\",\n      \"status\": \"completed\",\n      \"type\": \"cancel\",\n      \"id\": \"<string>\",\n      \"items\": [\n        {\n          \"status\": \"failed\",\n          \"charge\": {\n            \"id\": \"<string>\",\n            \"type\": \"financial\",\n            \"status\": \"declined\"\n          },\n          \"transaction\": {\n            \"id\": \"<string>\",\n            \"status\": \"cancelled\",\n            \"type\": \"capture\",\n            \"fraud\": {\n              \"status\": \"approve\"\n            }\n          },\n          \"error_summary\": {\n            \"message\": \"<string>\",\n            \"code\": \"<string>\"\n          },\n          \"charge_sources\": [\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            },\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            }\n          ]\n        },\n        {\n          \"status\": \"completed\",\n          \"charge\": {\n            \"id\": \"<string>\",\n            \"type\": \"fraud\",\n            \"status\": \"inprogress\"\n          },\n          \"transaction\": {\n            \"id\": \"<string>\",\n            \"status\": \"pending\",\n            \"type\": \"fraud\",\n            \"fraud\": {\n              \"status\": \"reject\"\n            }\n          },\n          \"error_summary\": {\n            \"message\": \"<string>\",\n            \"code\": \"<string>\"\n          },\n          \"charge_sources\": [\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            },\n            {\n              \"id\": \"<string>\",\n              \"vault_token\": \"<uuid>\"\n            }\n          ]\n        }\n      ]\n    }\n  ]\n}"},{"id":"f0ecc297-9183-49cb-a7c1-fcc8a0bb6a08","name":"Bulk by reference or object id not found","originalRequest":{"method":"GET","header":[{"key":"X-Scope","value":"company","description":"(Required) "},{"key":"X-Scope-Id","value":"<string>","description":"(Required) "},{"key":"X-Initiator-Id","value":"<string>"},{"key":"X-Token-Id","value":"<string>"}],"url":{"raw":"{{baseUrl}}/bulk-charges/:bulk_reference","host":["{{baseUrl}}"],"path":["bulk-charges",":bulk_reference"],"variable":[{"key":"bulk_reference"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"f5386276-f066-4cda-97ee-dfa8e661f7d5"}],"id":"f468bb3f-630d-45fc-8fac-52c680fd5aa3","description":"<p>This API provides split payment features and interacts in PayDock to collect payment sources and orchestrate payments</p>\n","_postman_id":"f468bb3f-630d-45fc-8fac-52c680fd5aa3"},{"name":"registrations","item":[{"name":"create (Click To Pay)","id":"8d454ea2-2d5c-432f-ab1e-47ba570ab49c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"<p>This is your PayDock API Secret Key</p>\n"},{"key":"Content-Type","value":"application/json","description":"<p>Content-Type will always be application/json</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Click to Pay Registration\",\n    \"mode\": \"test\",\n    \"group\": \"click_to_pay\",\n    \"type\": \"ClickToPay\",\n    \"merchant_data\": {\n        \"company_name\": \"CompanyName\",\n        \"url\": \"https://www.paydock.com\",\n        \"country_code\": \"AU\"\n    },\n    \"src_options\": {\n        \"supported_card_schemes\": [\n            \"MASTERCARD\",\n            \"VISA\",\n            \"DISCOVER\",\n            \"AMEX\"\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/registrations","description":"<p>Create a Click to Pay registration.</p>\n","urlObject":{"path":["v1","registrations"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"1de701e8-7057-43e2-a40a-20685da660ed","name":"create success","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Click to Pay Registration\",\n    \"mode\": \"test\",\n    \"group\": \"click_to_pay\",\n    \"type\": \"ClickToPay\",\n    \"merchant_data\": {\n        \"company_name\": \"CompanyName\",\n        \"url\": \"https://www.paydock.com\",\n        \"country_code\": \"AU\"\n    },\n    \"src_options\": {\n        \"supported_card_schemes\": [\n            \"MASTERCARD\",\n            \"VISA\",\n            \"DISCOVER\",\n            \"AMEX\"\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/registrations"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"registration\",\n        \"data\": {\n            \"_id\": \"65e99a21586f8714510b5c02\",\n            \"name\": \"Click to Pay Registration\",\n            \"group\": \"click_to_pay\",\n            \"type\": \"ClickToPay\",\n            \"mode\": \"test\",\n            \"status\": \"completed\",\n            \"company_id\": \"6308bccfb150df6d264ff8bd\",\n            \"external_id\": \"9806cf50-ee5d-4f73-892e-20ee6abea854\",\n            \"_3ds_options\": {},\n            \"created_at\": \"2024-03-07T10:42:41.710Z\",\n            \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n            \"transactions\": [\n                {\n                    \"_id\": \"65e99a21586f8714510b5c03\",\n                    \"external_id\": \"f17dd683-8d36-44ad-acef-432b29c325e5\",\n                    \"type\": \"create\",\n                    \"status\": \"success\",\n                    \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                    \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                    \"service_logs\": [\n                        {\n                            \"req\": {\n                                \"body\": \"{\\\"dpas\\\":[{\\\"dpaData\\\":{\\\"dpaName\\\":\\\"CompanyName\\\",\\\"dpaUri\\\":\\\"https://www.paydock.com\\\",\\\"dpaAddress\\\":{}},\\\"supportedCardBrands\\\":[\\\"MASTERCARD\\\",\\\"VISA\\\",\\\"DISCOVER\\\",\\\"AMEX\\\"],\\\"debitTokenRequested\\\":false,\\\"merchantCountryCode\\\":\\\"AU\\\",\\\"threeDSDefaultdata\\\":{}}]}\",\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            },\n                            \"response_body\": {\n                                \"body\": \"{\\\"dpaResults\\\":[{\\\"srciDpaId\\\":\\\"9806cf50-ee5d-4f73-892e-20ee6abea854\\\",\\\"status\\\":\\\"SUCCESSFUL\\\",\\\"dpaName\\\":\\\"CompanyName\\\",\\\"error\\\":null}]}\",\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            }\n                        }\n                    ]\n                }\n            ],\n            \"acquirer_data\": {},\n            \"src_options\": {\n                \"supported_card_schemes\": [\n                    \"MASTERCARD\",\n                    \"VISA\",\n                    \"DISCOVER\",\n                    \"AMEX\"\n                ],\n                \"tokenization\": false,\n                \"supported_checkouts\": []\n            },\n            \"merchant_data\": {\n                \"origin_domains\": [],\n                \"merchant_category_codes\": [],\n                \"company_name\": \"CompanyName\",\n                \"url\": \"https://www.paydock.com\",\n                \"country_code\": \"AU\"\n            }\n        }\n    }\n}"},{"id":"0b6b70e7-c5ad-404f-9cee-979f844d6f16","name":"registration error","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Click to Pay Registration\",\n    \"mode\": \"test\",\n    \"group\": \"click_to_pay\",\n    \"type\": \"ClickToPay\",\n    \"merchant_data\": {\n        \"company_name\": \"Company\",\n        \"url\": \"https://www.paydock.com\",\n        \"country_code\": \"AU\"\n    },\n    \"src_options\": {\n        \"supported_card_schemes\": [\n            \"MASTERCARD\",\n            \"VISA\",\n            \"DISCOVER\",\n            \"AMEX\"\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/registrations"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Registration failed\",\n        \"code\": \"SrciClientOrgValidationImpl\",\n        \"details\": {\n            \"path\": \"\",\n            \"messages\": [],\n            \"status_code\": \"SrciClientOrgValidationImpl\",\n            \"status_code_description\": \"SCD043: Invalid Merchant Details provided, SCD129: Dpa Presentation Name .\"\n        }\n    },\n    \"resource\": {\n        \"data\": {\n            \"_id\": \"65e999e6586f8714510b5bf1\",\n            \"name\": \"Click to Pay Registration\",\n            \"group\": \"click_to_pay\",\n            \"type\": \"ClickToPay\",\n            \"mode\": \"test\",\n            \"status\": \"failed\",\n            \"company_id\": \"6308bccfb150df6d264ff8bd\",\n            \"_3ds_options\": {},\n            \"archived_at\": \"2024-03-07T10:41:42.182Z\",\n            \"created_at\": \"2024-03-07T10:41:42.184Z\",\n            \"updated_at\": \"2024-03-07T10:41:42.184Z\",\n            \"transactions\": [\n                {\n                    \"_id\": \"65e999e6586f8714510b5bf2\",\n                    \"external_id\": \"0dce1274-9697-4084-a18e-94b328fa8714\",\n                    \"type\": \"create\",\n                    \"status\": \"failed\",\n                    \"created_at\": \"2024-03-07T10:41:42.184Z\",\n                    \"error_message\": \"SCD043: Invalid Merchant Details provided, SCD129: Dpa Presentation Name .\",\n                    \"updated_at\": \"2024-03-07T10:41:42.184Z\",\n                    \"error_code\": \"SrciClientOrgValidationImpl\",\n                    \"service_logs\": [\n                        {\n                            \"req\": {\n                                \"body\": \"{\\\"dpas\\\":[{\\\"dpaData\\\":{\\\"dpaName\\\":\\\"Company\\\",\\\"dpaUri\\\":\\\"https://www.paydock.com\\\",\\\"dpaAddress\\\":{}},\\\"supportedCardBrands\\\":[\\\"MASTERCARD\\\",\\\"VISA\\\",\\\"DISCOVER\\\",\\\"AMEX\\\"],\\\"debitTokenRequested\\\":false,\\\"merchantCountryCode\\\":\\\"AU\\\",\\\"threeDSDefaultdata\\\":{}}]}\",\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            },\n                            \"response_body\": {\n                                \"body\": \"{\\\"dpaResults\\\":[{\\\"srciDpaId\\\":null,\\\"status\\\":\\\"FAILED\\\",\\\"dpaName\\\":\\\"Company\\\",\\\"error\\\":{\\\"status\\\":400,\\\"reason\\\":\\\"SrciClientOrgValidationImpl\\\",\\\"message\\\":\\\"SCD043: Invalid Merchant Details provided.\\\",\\\"errordetail\\\":[{\\\"reason\\\":\\\"INVALID_VALUE\\\",\\\"sourceType\\\":\\\"BODY\\\",\\\"message\\\":\\\"SCD129: Dpa Presentation Name - Company in the request already exists for given Org Id - 33133a82-d2e2-4f3a-8e62-01c1af6641d5 and existing checkout Id - 2e3f0691-b52f-4c8d-afc5-43eb55c4db7b\\\",\\\"source\\\":\\\"SrciClientOrgValidationImpl\\\"}]}}]}\",\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            }\n                        }\n                    ]\n                }\n            ],\n            \"acquirer_data\": {},\n            \"src_options\": {\n                \"supported_card_schemes\": [\n                    \"MASTERCARD\",\n                    \"VISA\",\n                    \"DISCOVER\",\n                    \"AMEX\"\n                ],\n                \"tokenization\": false,\n                \"supported_checkouts\": []\n            },\n            \"merchant_data\": {\n                \"origin_domains\": [],\n                \"merchant_category_codes\": [],\n                \"company_name\": \"Company\",\n                \"url\": \"https://www.paydock.com\",\n                \"country_code\": \"AU\"\n            }\n        },\n        \"type\": \"registration\"\n    },\n    \"error_summary\": {\n        \"message\": \"Registration failed\",\n        \"code\": \"srci_client_org_validation_impl\",\n        \"details\": {\n            \"messages\": []\n        }\n    }\n}"},{"id":"610b90d2-464f-4e6b-9853-3bf14421e28b","name":"validation error","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Click to Pay Registration\",\n    \"mode\": \"test\",\n    \"group\": \"click_to_pay\",\n    \"type\": \"ClickToPay\",\n    \"merchant_data\": {\n        \"url\": \"https://www.paydock.com\",\n        \"country_code\": \"AU\"\n    },\n    \"src_options\": {\n        \"supported_card_schemes\": [\n            \"MASTERCARD\",\n            \"VISA\",\n            \"DISCOVER\",\n            \"AMEX\"\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/registrations"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"body validation failed\",\n        \"code\": \"ValidationError\",\n        \"details\": {\n            \"path\": \"merchant_data.company_name\",\n            \"messages\": [\n                \"company_name must be shorter than or equal to 60 characters\",\n                \"company_name must be longer than or equal to 1 characters\",\n                \"company_name should not be empty\",\n                \"company_name must be a string\"\n            ]\n        }\n    },\n    \"resource\": {\n        \"type\": \"registration\"\n    },\n    \"error_summary\": {\n        \"message\": \"body validation failed\",\n        \"code\": \"validation_error\",\n        \"details\": {\n            \"path\": \"merchant_data.company_name\",\n            \"messages\": [\n                \"company_name must be shorter than or equal to 60 characters\",\n                \"company_name must be longer than or equal to 1 characters\",\n                \"company_name should not be empty\",\n                \"company_name must be a string\"\n            ]\n        }\n    }\n}"}],"_postman_id":"8d454ea2-2d5c-432f-ab1e-47ba570ab49c"},{"name":"create (VisaVTS)","id":"b60e70f4-b67c-4693-bd75-dc357adc87a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"<p>This is your PayDock API Secret Key</p>\n"},{"key":"Content-Type","value":"application/json","description":"<p>Content-Type will always be application/json</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"group\": \"network_token\",\n    \"mode\": \"test\",\n    \"name\": \"FTB Visa NT Registration - 7152\",\n    \"type\": \"VisaVTS\",\n    \"enable_vault_updates\": true,\n    \"merchant_data\": {\n        \"company_name\": \"Ecom Holdings Online Inc\",\n        \"display_name\": \"Test 534721\",\n        \"url\": \"http://russ.biz\",\n        \"address_line1\": \"100 Avenue Lane Street\",\n        \"address_line2\": \"APT 282, Floor 511662\",\n        \"address_city\": \"Sydney\",\n        \"address_state\": \"NSW\",\n        \"address_country\": \"AU\",\n        \"address_postcode\": \"2000\",\n        \"business_identification_type\": \"ABN\",\n        \"business_identification_value\": \"56431650880\",\n        \"company_phone\": \"1234567890\",\n        \"duns_number\": \"123456789\",\n        \"contact\": {\n            \"first_name\": \"Berniece\",\n            \"last_name\": \"Powlowski\",\n            \"email\": \"Barry5@gmail.com\"\n        },\n        \"acquirers_data\": [\n            {\n                \"ica\": \"12345\",\n                \"merchant_id\": \"MC1234567891234\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/registrations","description":"<p>Create a registration for VisaVTS.</p>\n<p><strong>Note:</strong> VTS registration in the production environment takes between 72 hours to a maximum of 5 calendar days. Before the onboarding is completed on the Visa side, merchants will not be able to provision or manage Network tokens until onboarding is completed.</p>\n","urlObject":{"path":["v1","registrations"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"1809e8ad-1a6f-4db3-846c-641f6fd3107f","name":"create success","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"group\": \"network_token\",\n    \"mode\": \"test\",\n    \"name\": \"FTB Visa NT Registration - 371872\",\n    \"type\": \"VisaVTS\",\n    \"enable_vault_updates\": true,\n    \"merchant_data\": {\n        \"company_name\": \"Test Fritsch - D'Amore - LLC\",\n        \"display_name\": \"Test 368541\",\n        \"url\": \"https://robb.name\",\n        \"address_line1\": \"100 Avenue Lane Street\",\n        \"address_line2\": \"APT 766, Floor 499150\",\n        \"address_city\": \"Sydney\",\n        \"address_state\": \"NSW\",\n        \"address_country\": \"AU\",\n        \"address_postcode\": \"2000\",\n        \"business_identification_type\": \"ABN\",\n        \"business_identification_value\": \"56431650880\",\n        \"company_phone\": \"1234567890\",\n        \"duns_number\": \"123456789\",\n        \"contact\": {\n            \"first_name\": \"Alanna\",\n            \"last_name\": \"Powlowski\",\n            \"email\": \"Derick.Wilderman@gmail.com\"\n        },\n        \"acquirers_data\": [\n            {\n                \"ica\": \"12345\",\n                \"merchant_id\": \"MC1234567891234\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/registrations"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"registration\",\n        \"data\": {\n            \"_id\": \"66c5ce0c6cf2a4024dc1df73\",\n            \"name\": \"FTB Visa NT Registration - 371872\",\n            \"group\": \"network_token\",\n            \"type\": \"VisaVTS\",\n            \"mode\": \"test\",\n            \"status\": \"completed\",\n            \"enable_vault_updates\": true,\n            \"company_id\": \"65cccde52cad2f1b64e7947e\",\n            \"external_id\": \"6ba234cb-0b01-48a0-86be-01dae8554bdd\",\n            \"created_at\": \"2024-08-21T11:22:52.843Z\",\n            \"updated_at\": \"2024-08-21T11:22:52.843Z\",\n            \"transactions\": [\n                {\n                    \"_id\": \"66c5ce0c6cf2a4024dc1df74\",\n                    \"external_id\": \"6ba234cb-0b01-48a0-86be-01dae8554bdd\",\n                    \"type\": \"create\",\n                    \"status\": \"success\",\n                    \"created_at\": \"2024-08-21T11:22:52.842Z\",\n                    \"updated_at\": \"2024-08-21T11:22:52.842Z\",\n                    \"service_logs\": [\n                        {\n                            \"req\": {\n                                \"body\": \"{\\\"serviceContext\\\":\\\"TOKENIZATION\\\",\\\"companyPrimaryTradeName\\\":\\\"Test 368541\\\",\\\"companyPrimaryLegalName\\\":\\\"Test Fritsch - D'Amore - LLC\\\",\\\"primaryWebsiteURL\\\":\\\"https://robb.name\\\",\\\"companyAddress1\\\":\\\"100 Avenue Lane Street\\\",\\\"companyAddress2\\\":\\\"APT 766, Floor 499150\\\",\\\"companyCity\\\":\\\"Sydney\\\",\\\"companyStateProvinceCode\\\":\\\"NSW\\\",\\\"companyPostalCode\\\":\\\"2000\\\",\\\"companyCountryCode\\\":\\\"AU\\\",\\\"companyPhone\\\":\\\"1234567890\\\",\\\"dunsNumber\\\":\\\"123456789\\\",\\\"primaryContactFirstName\\\":\\\"Alanna\\\",\\\"primaryContactLastName\\\":\\\"Powlowski\\\",\\\"primaryContactEmail\\\":\\\"derick.wilderman@gmail.com\\\",\\\"relationships\\\":[{\\\"externalClientId\\\":\\\"2657a444-5978-4d14-8efb-697d73c3e456\\\"}],\\\"businessIdentificationType\\\":\\\"ABN\\\",\\\"businessIdentificationValue\\\":\\\"56431650880\\\",\\\"tokenizationConfiguration\\\":{\\\"tokenizationProfiles\\\":[{\\\"profileName\\\":\\\"Paydock\\\",\\\"applicationId\\\":\\\"Paydock\\\"}]},\\\"trSettings\\\":{\\\"panLifecycleUpdateParticipationType\\\":\\\"optin\\\"}}\",\n                                \"format\": \"json\",\n                                \"headers\": \"{\\\"x-request-id\\\":\\\"31accd19-f7b4-425e-81b2-d3a75a3f7b5e\\\"}\"\n                            },\n                            \"response_body\": {\n                                \"body\": \"{\\\"id\\\":\\\"72f2e1af-0bfc-421b-9c3a-1e434c4ac701\\\",\\\"primaryContactFirstName\\\":\\\"Sienna\\\",\\\"primaryContactLastName\\\":\\\"Wunsch\\\",\\\"primaryContactEmail\\\":\\\"kaia_botsford22@hotmail.com\\\",\\\"enablePortalAccess\\\":false,\\\"primaryWebsiteURL\\\":\\\"https://jude.com\\\",\\\"companyPrimaryLegalName\\\":\\\"Test McClure - Crist - Group\\\",\\\"companyPrimaryTradeName\\\":\\\"Test 364598\\\",\\\"companyAddress1\\\":\\\"Cnr Bridge St\\\",\\\"companyAddress2\\\":\\\"APT 513, Floor 993554\\\",\\\"companyCity\\\":\\\"Sydney\\\",\\\"companyStateProvinceCode\\\":\\\"NSW\\\",\\\"companyPostalCode\\\":\\\"2000\\\",\\\"companyCountryCode\\\":\\\"AU\\\",\\\"businessIdentificationType\\\":\\\"ABN\\\",\\\"businessIdentificationValue\\\":\\\"56431650880\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"enablePANAccess\\\":false,\\\"created\\\":\\\"2024-07-24\\\",\\\"apiKeys\\\":[],\\\"profiles\\\":[],\\\"relationships\\\":[{\\\"externalClientId\\\":\\\"6ba234cb-0b01-48a0-86be-01dae8554bdd\\\",\\\"permissionGroups\\\":[],\\\"merchantPlanAcceptanceDisabled\\\":false}],\\\"acquirerIdentifiers\\\":[],\\\"tokenizationConfiguration\\\":{\\\"channelSecurityContext\\\":\\\"SHARED_SECRET\\\",\\\"tokenRequestorId\\\":\\\"40000000061\\\",\\\"tokenizationProfiles\\\":[{\\\"profileName\\\":\\\"Paydock\\\",\\\"applicationId\\\":\\\"Paydock\\\",\\\"enableVerifiedCryptogram\\\":false}]},\\\"trSettings\\\":{\\\"panLifecycleUpdateParticipationType\\\":\\\"OPTIN\\\"},\\\"restrictMultipleDeviceBinding\\\":false,\\\"updated\\\":\\\"2024-07-24\\\",\\\"createdBy\\\":\\\"ApiKey = 'K0QVR1ZLF1DA0CB41QWZ21GOo_XN50RXJG2VORAkf5opF-b7M', Name = 'Paydock Holdings Pty Limited'\\\",\\\"clientAuthenticationLevel\\\":\\\"XV2_SEG\\\",\\\"isFavorite\\\":false,\\\"associatedVdpEnvironments\\\":[],\\\"permissionPolicies\\\":[],\\\"promoteVdpApp\\\":\\\"CERT\\\",\\\"integrationWalletData\\\":{\\\"trTSPClientId\\\":\\\"e8a9043e-403a-d82f-97fc-19a5fa792802\\\",\\\"wpClientId\\\":\\\"9d4c65df-c7a0-9763-012c-18a62e68b801\\\",\\\"trTspId\\\":null,\\\"trTSPCompanyPrimaryLegalName\\\":\\\"Paydock Holdings Pty Limited\\\",\\\"wpCompanyPrimaryLegalName\\\":\\\"Test McClure - Crist - Group\\\"},\\\"vdpEnvironment\\\":\\\"CERT\\\",\\\"liabilityShiftParticipationSettings\\\":[],\\\"tokenRequestorServiceTypes\\\":[\\\"Purchase\\\"],\\\"cloudServices\\\":[\\\"CBP\\\"]}\",\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            }\n                        }\n                    ]\n                }\n            ],\n            \"merchant_data\": {\n                \"company_name\": \"Test Fritsch - D'Amore - LLC\",\n                \"display_name\": \"Test 368541\",\n                \"url\": \"https://robb.name\",\n                \"address_line1\": \"100 Avenue Lane Street\",\n                \"address_line2\": \"APT 766, Floor 499150\",\n                \"address_city\": \"Sydney\",\n                \"address_country\": \"AU\",\n                \"address_state\": \"NSW\",\n                \"address_postcode\": \"2000\",\n                \"merchant_category_codes\": [],\n                \"company_phone\": \"1234567890\",\n                \"business_identification_type\": \"ABN\",\n                \"business_identification_value\": \"56431650880\",\n                \"contact\": {\n                    \"email\": \"derick.wilderman@gmail.com\",\n                    \"first_name\": \"Alanna\",\n                    \"last_name\": \"Powlowski\"\n                },\n                \"token_requestor_id\": \"40000000061\",\n                \"duns_number\": \"123456789\"\n            },\n            \"acquirers_data\": []\n        }\n    }\n}"},{"id":"1bb4b228-dedb-4f73-bcdf-78e60cdff539","name":"validation error","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"group\": \"network_token\",\n    \"mode\": \"\",\n    \"name\": \"FTB Visa NT Registration - 324155\",\n    \"type\": \"VisaVTS\",\n    \"merchant_data\": {\n        \"company_name\": \"Test Kunde - Heidenreich - LLC\",\n        \"display_name\": \"Test 577438\",\n        \"url\": \"http://donavon.name\",\n        \"address_line1\": \"100 Avenue Lane Street\",\n        \"address_line2\": \"APT 22, Floor 972784\",\n        \"address_city\": \"Sydney\",\n        \"address_state\": \"NSW\",\n        \"address_country\": \"AU\",\n        \"address_postcode\": \"2000\",\n        \"business_identification_type\": \"ABN\",\n        \"business_identification_value\": \"56431650880\",\n        \"company_phone\": \"1234567890\",\n        \"duns_number\": \"123456789\",\n        \"contact\": {\n            \"first_name\": \"Unique\",\n            \"last_name\": \"Bernier\",\n            \"email\": \"Raleigh18@yahoo.com\"\n        },\n        \"acquirers_data\": [\n            {\n                \"ica\": \"12345\",\n                \"merchant_id\": \"MC1234567891234\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/registrations"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"body validation failed\",\n        \"code\": \"ValidationError\",\n        \"details\": {\n            \"path\": \"mode\",\n            \"messages\": [\n                \"mode must be a valid enum value\"\n            ]\n        }\n    },\n    \"resource\": {\n        \"type\": \"registration\"\n    },\n    \"error_summary\": {\n        \"message\": \"body validation failed\",\n        \"code\": \"validation_error\",\n        \"details\": {\n            \"path\": \"mode\",\n            \"messages\": [\n                \"mode must be a valid enum value\"\n            ]\n        }\n    }\n}"},{"id":"ade55c47-0136-44a8-9db1-a647ce12f8dd","name":"registration error","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"group\": \"network_token\",\n    \"mode\": \"test\",\n    \"name\": \"FTB Visa NT Registration - 36438\",\n    \"type\": \"VisaVTS\",\n    \"merchant_data\": {\n        \"company_name\": \"Test Collins, Will and Kshlerin - Inc\",\n        \"display_name\": \"Test 482898\",\n        \"url\": \"https://stanford.biz\",\n        \"address_line1\": \"100 Avenue Lane Street\",\n        \"address_line2\": \"APT 320, Floor 568438\",\n        \"address_city\": \"Sydney\",\n        \"address_state\": \"NSW\",\n        \"address_country\": \"AU\",\n        \"address_postcode\": \"2000\",\n        \"business_identification_type\": \"ABN\",\n        \"business_identification_value\": \"56431650880\",\n        \"company_phone\": \"1234567890\",\n        \"duns_number\": \"123456789\",\n        \"contact\": {\n            \"first_name\": \"Maxine\",\n            \"last_name\": \"Schaefer\",\n            \"email\": \"Yvette_Wolf36@hotmail.com\"\n        },\n        \"acquirers_data\": [\n            {\n                \"ica\": \"12345\",\n                \"merchant_id\": \"MC1234567891234\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/registrations"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Registration failed\",\n        \"code\": \"400\",\n        \"details\": {\n            \"path\": \"\",\n            \"messages\": [],\n            \"status_code\": \"400\",\n            \"status_code_description\": \"Invalid input found, please correct the input data\"\n        }\n    },\n    \"resource\": {\n        \"data\": {\n            \"_id\": \"66bf794c1e772e753a587d98\",\n            \"name\": \"FTB Visa NT Registration - 630765\",\n            \"group\": \"network_token\",\n            \"type\": \"VisaVTS\",\n            \"mode\": \"test\",\n            \"status\": \"failed\",\n            \"company_id\": \"66bc7353e1ebcc425ca2fbb4\",\n            \"archived_at\": \"2024-08-16T16:07:40.476Z\",\n            \"created_at\": \"2024-08-16T16:07:40.493Z\",\n            \"updated_at\": \"2024-08-16T16:07:40.493Z\",\n            \"transactions\": [\n                {\n                    \"_id\": \"66bf794c1e772e753a587d99\",\n                    \"type\": \"create\",\n                    \"status\": \"failed\",\n                    \"created_at\": \"2024-08-16T16:07:40.493Z\",\n                    \"error_message\": \"Invalid input found, please correct the input data\",\n                    \"updated_at\": \"2024-08-16T16:07:40.493Z\",\n                    \"error_code\": \"400\",\n                    \"service_logs\": [\n                        {\n                            \"req\": {\n                                \"body\": \"{\\\"serviceContext\\\":\\\"TOKENIZATION\\\",\\\"companyPrimaryTradeName\\\":\\\"Test 739153\\\",\\\"companyPrimaryLegalName\\\":\\\"Test Greenfelder and Sons - Group\\\",\\\"primaryWebsiteURL\\\":\\\"http://felicita.com\\\",\\\"companyAddress1\\\":\\\"100 Avenue Lane Street\\\",\\\"companyAddress2\\\":\\\"APT 486, Floor 57545\\\",\\\"companyCity\\\":\\\"Sydney\\\",\\\"companyStateProvinceCode\\\":\\\"NSW\\\",\\\"companyPostalCode\\\":\\\"2000\\\",\\\"companyCountryCode\\\":\\\"AU\\\",\\\"companyPhone\\\":\\\"1234567890\\\",\\\"dunsNumber\\\":\\\"123456789\\\",\\\"primaryContactFirstName\\\":\\\"Candice\\\",\\\"primaryContactLastName\\\":\\\"D'Amore\\\",\\\"primaryContactEmail\\\":\\\"candelario.ratke36@gmail.com\\\",\\\"relationships\\\":[{\\\"externalClientId\\\":\\\"ccf419ca-a49a-456c-a930-2ce8759d6316\\\"}],\\\"businessIdentificationType\\\":\\\"ABN\\\",\\\"businessIdentificationValue\\\":\\\"56431650880\\\",\\\"tokenizationConfiguration\\\":{\\\"tokenizationProfiles\\\":[{\\\"profileName\\\":\\\"Paydock\\\",\\\"applicationId\\\":\\\"Paydock\\\"}]},\\\"trSettings\\\":{\\\"panLifecycleUpdateParticipationType\\\":\\\"optin\\\"}}\",\n                                \"format\": \"json\",\n                                \"headers\": \"{\\\"x-request-id\\\":\\\"d3d07cc1-82c0-4dd3-9470-529f29a9fb66\\\"}\"\n                            },\n                            \"response_body\": {\n                                \"body\": \"{\\\"responseStatus\\\":{\\\"code\\\":\\\"9501\\\",\\\"severity\\\":\\\"ERROR\\\",\\\"message\\\":\\\"Invalid input found, please correct the input data\\\",\\\"info\\\":\\\"\\\",\\\"status\\\":\\\"400\\\"}}\",\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            }\n                        }\n                    ]\n                }\n            ],\n            \"merchant_data\": {\n                \"company_name\": \"Test Greenfelder and Sons - Group\",\n                \"display_name\": \"Test 739153\",\n                \"url\": \"http://felicita.com\",\n                \"address_line1\": \"100 Avenue Lane Street\",\n                \"address_line2\": \"APT 486, Floor 57545\",\n                \"address_city\": \"Sydney\",\n                \"address_country\": \"AU\",\n                \"address_state\": \"NSW\",\n                \"address_postcode\": \"2000\",\n                \"merchant_category_codes\": [],\n                \"company_phone\": \"1234567890\",\n                \"business_identification_type\": \"ABN\",\n                \"business_identification_value\": \"56431650880\",\n                \"contact\": {\n                    \"email\": \"candelario.ratke36@gmail.com\",\n                    \"first_name\": \"Candice\",\n                    \"last_name\": \"D'Amore\"\n                },\n                \"duns_number\": \"123456789\"\n            },\n            \"acquirers_data\": []\n        },\n        \"type\": \"registration\"\n    },\n    \"error_summary\": {\n        \"message\": \"Registration failed\",\n        \"code\": \"400\",\n        \"details\": {\n            \"messages\": []\n        }\n    }\n}"}],"_postman_id":"b60e70f4-b67c-4693-bd75-dc357adc87a6"},{"name":"create (MastercardSCOF)","id":"3d33bec3-dcee-4a6b-9cb4-76f1d3fddb02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"<p>This is your PayDock API Secret Key</p>\n"},{"key":"Content-Type","value":"application/json","description":"<p>Content-Type will always be application/json</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"group\": \"network_token\",\n    \"mode\": \"test\",\n    \"name\": \"FTB Mastercard NT Registration 411\",\n    \"program_name\": \"Test program_name - 993\",\n    \"type\": \"MastercardSCOF\",\n    \"enable_vault_updates\": true,\n    \"merchant_data\": {\n        \"company_name\": \"Ecom Holdings Online Inc\",\n        \"display_name\": \"Test-269\",\n        \"url\": \"https://example.com/ecom-online-ltd/basket.html\",\n        \"logo_url\": \"https://example.com/ecom-online-ltd/basket.html\",\n        \"address_name\": \"Address Name\",\n        \"address_line1\": \"100 Avenue Lane Street\",\n        \"address_line2\": \"Address line 2\",\n        \"address_line3\": \"Address line 3\",\n        \"address_city\": \"Metropolis\",\n        \"address_state\": \"NY\",\n        \"address_country\": \"US\",\n        \"address_postcode\": \"41321\",\n        \"merchant_category_codes\": [\n            \"0020\",\n            \"4442\"\n        ],\n        \"debit_token_requested\": true\n    },\n    \"acquirers_data\": [\n        {\n            \"ica\": \"12345\",\n            \"bin\": \"112233\",\n            \"merchant_id\": \"MC1234567891234\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/registrations","description":"<p>Create a registration for MastercardSCOF.</p>\n<p><strong>Note:</strong> Mastercard registration in the production environment takes up to 3 hours before the onboarding is completed on the scheme side, merchants will not be able to provision or manage Network tokens until onboarding is completed.</p>\n","urlObject":{"path":["v1","registrations"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"7b49b3fe-f2ba-480e-a24a-fed5a4d36ad9","name":"create success","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"group\": \"network_token\",\n    \"mode\": \"test\",\n    \"name\": \"FTB Mastercard NT Registration 504\",\n    \"program_name\": \"Test program_name - 81\",\n    \"type\": \"MastercardSCOF\",\n    \"enable_vault_updates\": true,\n    \"merchant_data\": {\n        \"company_name\": \"Ecom Holdings Online Inc\",\n        \"display_name\": \"Test-568\",\n        \"url\": \"https://example.com/ecom-online-ltd/basket.html\",\n        \"logo_url\": \"https://example.com/ecom-online-ltd/basket.html\",\n        \"address_name\": \"Address Name\",\n        \"address_line1\": \"100 Avenue Lane Street\",\n        \"address_line2\": \"Address line 2\",\n        \"address_line3\": \"Address line 3\",\n        \"address_city\": \"Metropolis\",\n        \"address_state\": \"NY\",\n        \"address_country\": \"US\",\n        \"address_postcode\": \"41321\",\n        \"merchant_category_codes\": [\n            \"0020\",\n            \"4442\"\n        ],\n        \"debit_token_requested\": true\n    },\n    \"acquirers_data\": [\n        {\n            \"ica\": \"12345\",\n            \"bin\": \"112233\",\n            \"merchant_id\": \"MC1234567891234\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/registrations"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"registration\",\n        \"data\": {\n            \"_id\": \"66c5ce826cf2a4024dc1df8b\",\n            \"name\": \"FTB Mastercard NT Registration 982\",\n            \"group\": \"network_token\",\n            \"type\": \"MastercardSCOF\",\n            \"mode\": \"test\",\n            \"status\": \"pending\",\n            \"enable_vault_updates\": true,\n            \"company_id\": \"65cccde52cad2f1b64e7947e\",\n            \"external_id\": \"6ce01922-84bc-4948-8738-462eec925c87\",\n            \"created_at\": \"2024-08-21T11:24:50.550Z\",\n            \"updated_at\": \"2024-08-21T11:24:50.550Z\",\n            \"transactions\": [\n                {\n                    \"_id\": \"66c5ce826cf2a4024dc1df8c\",\n                    \"external_id\": \"e4bf51b9-aa5f-4f02-aa1f-fb51c9043c4b\",\n                    \"type\": \"create\",\n                    \"status\": \"pending\",\n                    \"created_at\": \"2024-08-21T11:24:50.550Z\",\n                    \"updated_at\": \"2024-08-21T11:24:50.550Z\",\n                    \"service_logs\": [\n                        {\n                            \"req\": {\n                                \"body\": \"{\\\"requestId\\\":\\\"374c906e-cbda-4df2-b6da-0914c039ff10\\\",\\\"items\\\":[{\\\"action\\\":\\\"ADD\\\",\\\"programType\\\":\\\"SECURE_COF_MERCHANT_OBO\\\",\\\"programName\\\":\\\"Test program_name - 32\\\",\\\"customerId\\\":\\\"65cccde52cad2f1b64e7947e\\\",\\\"dpas\\\":[{\\\"srcDpaId\\\":\\\"6ce01922-84bc-4948-8738-462eec925c87\\\",\\\"hasAcquirerRelationship\\\":\\\"N\\\",\\\"debitTokenRequested\\\":true,\\\"dpaData\\\":{\\\"dpaAddress\\\":{\\\"name\\\":\\\"Address Name\\\",\\\"line1\\\":\\\"100 Avenue Lane Street\\\",\\\"line2\\\":\\\"Address line 2\\\",\\\"line3\\\":\\\"Address line 3\\\",\\\"city\\\":\\\"Metropolis\\\",\\\"state\\\":\\\"NY\\\",\\\"countryCode\\\":\\\"US\\\",\\\"zip\\\":\\\"41321\\\"},\\\"dpaName\\\":\\\"Ecom Holdings Online Inc\\\",\\\"dpaLogoUri\\\":\\\"https://example.com/ecom-online-ltd/basket.html\\\",\\\"dpaUri\\\":\\\"https://example.com/ecom-online-ltd/basket.html\\\",\\\"dpaPresentationName\\\":\\\"Test-65\\\"},\\\"merchantCategoryCodes\\\":[\\\"0020\\\",\\\"4442\\\"],\\\"acquirerData\\\":[{\\\"acquirerIca\\\":\\\"12345\\\",\\\"acquirerBin\\\":\\\"112233\\\",\\\"acquirerMerchantId\\\":\\\"MC1234567891234\\\"}]}]}]}\",\n                                \"format\": \"json\",\n                                \"headers\": \"{\\\"correlation-id\\\":\\\"a4ae752e-1c9c-40cc-8170-c33c6c1cb35d\\\"}\"\n                            },\n                            \"response_body\": {\n                                \"body\": \"{\\\"batchId\\\":\\\"e4bf51b9-aa5f-4f02-aa1f-fb51c9043c4b\\\"}\",\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            }\n                        }\n                    ]\n                }\n            ],\n            \"merchant_data\": {\n                \"company_name\": \"Ecom Holdings Online Inc\",\n                \"display_name\": \"Test-65\",\n                \"url\": \"https://example.com/ecom-online-ltd/basket.html\",\n                \"address_line1\": \"100 Avenue Lane Street\",\n                \"address_line2\": \"Address line 2\",\n                \"address_line3\": \"Address line 3\",\n                \"address_city\": \"Metropolis\",\n                \"address_country\": \"US\",\n                \"address_name\": \"Address Name\",\n                \"address_state\": \"NY\",\n                \"address_postcode\": \"41321\",\n                \"merchant_category_codes\": [\n                    \"0020\",\n                    \"4442\"\n                ],\n                \"debit_token_requested\": true,\n                \"has_acquirer_relationship\": \"N\",\n                \"logo_url\": \"https://example.com/ecom-online-ltd/basket.html\"\n            },\n            \"program_name\": \"Test program_name - 32\",\n            \"acquirers_data\": [\n                {\n                    \"ica\": \"12345\",\n                    \"bin\": \"112233\",\n                    \"merchant_id\": \"MC1234567891234\"\n                }\n            ]\n        }\n    }\n}"},{"id":"7b74dd94-14e1-449b-a03d-bef901bf714f","name":"validation error","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"group\": \"network_token\",\n    \"mode\": \"\",\n    \"name\": \"FTB Mastercard NT Registration 99\",\n    \"program_name\": \"Test program_name - 849\",\n    \"type\": \"MastercardSCOF\",\n    \"merchant_data\": {\n        \"company_name\": \"Ecom Holdings Online Inc\",\n        \"display_name\": \"Test-934\",\n        \"url\": \"https://example.com/ecom-online-ltd/basket.html\",\n        \"logo_url\": \"https://example.com/ecom-online-ltd/basket.html\",\n        \"address_name\": \"Address Name\",\n        \"address_line1\": \"100 Avenue Lane Street\",\n        \"address_line2\": \"Address line 2\",\n        \"address_line3\": \"Address line 3\",\n        \"address_city\": \"Metropolis\",\n        \"address_state\": \"NY\",\n        \"address_country\": \"US\",\n        \"address_postcode\": \"41321\",\n        \"merchant_category_codes\": [\n            \"0020\",\n            \"4442\"\n        ],\n        \"debit_token_requested\": true\n    },\n    \"acquirers_data\": [\n        {\n            \"ica\": \"12345\",\n            \"bin\": \"112233\",\n            \"merchant_id\": \"MC1234567891234\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/registrations"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"body validation failed\",\n        \"code\": \"ValidationError\",\n        \"details\": {\n            \"path\": \"mode\",\n            \"messages\": [\n                \"mode must be a valid enum value\"\n            ]\n        }\n    },\n    \"resource\": {\n        \"type\": \"registration\"\n    },\n    \"error_summary\": {\n        \"message\": \"body validation failed\",\n        \"code\": \"validation_error\",\n        \"details\": {\n            \"path\": \"mode\",\n            \"messages\": [\n                \"mode must be a valid enum value\"\n            ]\n        }\n    }\n}"},{"id":"8cee6d38-2c9a-4bdc-9184-cd40b4fb7a25","name":"registration error","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"group\": \"network_token\",\n    \"mode\": \"test\",\n    \"name\": \"FTB Mastercard NT Registration 284\",\n    \"program_name\": \"Test program_name - 467\",\n    \"type\": \"MastercardSCOF\",\n    \"merchant_data\": {\n        \"company_name\": \"Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc\",\n        \"display_name\": \"Test-351\",\n        \"url\": \"https://example.com/ecom-online-ltd/basket.html\",\n        \"logo_url\": \"https://example.com/ecom-online-ltd/basket.html\",\n        \"address_name\": \"Address Name\",\n        \"address_line1\": \"100 Avenue Lane Street\",\n        \"address_line2\": \"Address line 2\",\n        \"address_line3\": \"Address line 3\",\n        \"address_city\": \"Metropolis\",\n        \"address_state\": \"NY\",\n        \"address_country\": \"US\",\n        \"address_postcode\": \"41321\",\n        \"merchant_category_codes\": [\n            \"0020\",\n            \"4442\"\n        ],\n        \"debit_token_requested\": true\n    },\n    \"acquirers_data\": [\n        {\n            \"ica\": \"12345\",\n            \"bin\": \"112233\",\n            \"merchant_id\": \"MC1234567891234\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/registrations"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Invalid Request Details\",\n        \"code\": \"invalid_request_details\",\n        \"details\": {\n            \"path\": \"\",\n            \"messages\": [\n                {\n                    \"gateway_specific_code\": \"INVALID_ARGUMENT\",\n                    \"gateway_specific_description\": \"size must be between 0 and 255 (items[0].dpas[0].dpaData.dpaName)\",\n                    \"description\": \"Invalid Request Details\",\n                    \"status_code\": \"400\",\n                    \"status_code_description\": null\n                }\n            ]\n        }\n    },\n    \"resource\": {\n        \"data\": {\n            \"_id\": \"66c368779102204ec47a937f\",\n            \"name\": \"FTB Mastercard NT Registration 988\",\n            \"group\": \"network_token\",\n            \"type\": \"MastercardSCOF\",\n            \"mode\": \"test\",\n            \"status\": \"failed\",\n            \"company_id\": \"65cccde52cad2f1b64e7947e\",\n            \"archived_at\": \"2024-08-19T15:44:55.543Z\",\n            \"created_at\": \"2024-08-19T15:44:55.546Z\",\n            \"updated_at\": \"2024-08-19T15:44:55.546Z\",\n            \"transactions\": [\n                {\n                    \"_id\": \"66c368779102204ec47a9380\",\n                    \"type\": \"create\",\n                    \"status\": \"failed\",\n                    \"created_at\": \"2024-08-19T15:44:55.546Z\",\n                    \"error_message\": \"size must be between 0 and 255 (items[0].dpas[0].dpaData.dpaName)\",\n                    \"updated_at\": \"2024-08-19T15:44:55.546Z\",\n                    \"error_code\": \"INVALID_ARGUMENT\",\n                    \"service_logs\": [\n                        {\n                            \"req\": {\n                                \"body\": \"{\\\"requestId\\\":\\\"2fedadd5-31ab-479a-bc51-076ff50c7758\\\",\\\"items\\\":[{\\\"action\\\":\\\"ADD\\\",\\\"programType\\\":\\\"SECURE_COF_MERCHANT_OBO\\\",\\\"programName\\\":\\\"Test program_name - 959\\\",\\\"customerId\\\":\\\"65cccde52cad2f1b64e7947e\\\",\\\"dpas\\\":[{\\\"srcDpaId\\\":\\\"391a6eee-3c24-4e85-bc25-1875f103ad0f\\\",\\\"hasAcquirerRelationship\\\":\\\"N\\\",\\\"debitTokenRequested\\\":true,\\\"dpaData\\\":{\\\"dpaAddress\\\":{\\\"name\\\":\\\"Address Name\\\",\\\"line1\\\":\\\"100 Avenue Lane Street\\\",\\\"line2\\\":\\\"Address line 2\\\",\\\"line3\\\":\\\"Address line 3\\\",\\\"city\\\":\\\"Metropolis\\\",\\\"state\\\":\\\"NY\\\",\\\"countryCode\\\":\\\"US\\\",\\\"zip\\\":\\\"41321\\\"},\\\"dpaName\\\":\\\"Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc\\\",\\\"dpaLogoUri\\\":\\\"https://example.com/ecom-online-ltd/basket.html\\\",\\\"dpaUri\\\":\\\"https://example.com/ecom-online-ltd/basket.html\\\",\\\"dpaPresentationName\\\":\\\"Test-134\\\"},\\\"merchantCategoryCodes\\\":[\\\"0020\\\",\\\"4442\\\"],\\\"acquirerData\\\":[{\\\"acquirerIca\\\":\\\"12345\\\",\\\"acquirerBin\\\":\\\"112233\\\",\\\"acquirerMerchantId\\\":\\\"MC1234567891234\\\"}]}]}]}\",\n                                \"format\": \"json\",\n                                \"headers\": \"{\\\"correlation-id\\\":\\\"9e09827b-2d2d-4339-b5ec-e38ba40df998\\\"}\"\n                            },\n                            \"response_body\": {\n                                \"body\": \"{\\\"status\\\":400,\\\"reason\\\":\\\"INVALID_ARGUMENT\\\",\\\"message\\\":\\\"One or more fields in the request are either missing or does not have correct value.\\\",\\\"details\\\":[{\\\"reason\\\":null,\\\"message\\\":\\\"size must be between 0 and 255\\\",\\\"sourceType\\\":\\\"BODY\\\",\\\"source\\\":\\\"items[0].dpas[0].dpaData.dpaName\\\"}],\\\"errordetail\\\":[{\\\"reason\\\":null,\\\"message\\\":\\\"size must be between 0 and 255\\\",\\\"sourceType\\\":\\\"BODY\\\",\\\"source\\\":\\\"items[0].dpas[0].dpaData.dpaName\\\"}]}\",\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            }\n                        }\n                    ]\n                }\n            ],\n            \"merchant_data\": {\n                \"company_name\": \"Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc Ecom Holdings Online Inc\",\n                \"display_name\": \"Test-134\",\n                \"url\": \"https://example.com/ecom-online-ltd/basket.html\",\n                \"address_line1\": \"100 Avenue Lane Street\",\n                \"address_line2\": \"Address line 2\",\n                \"address_line3\": \"Address line 3\",\n                \"address_city\": \"Metropolis\",\n                \"address_country\": \"US\",\n                \"address_name\": \"Address Name\",\n                \"address_state\": \"NY\",\n                \"address_postcode\": \"41321\",\n                \"merchant_category_codes\": [\n                    \"0020\",\n                    \"4442\"\n                ],\n                \"debit_token_requested\": true,\n                \"logo_url\": \"https://example.com/ecom-online-ltd/basket.html\"\n            },\n            \"program_name\": \"Test program_name - 959\",\n            \"acquirers_data\": [\n                {\n                    \"ica\": \"12345\",\n                    \"bin\": \"112233\",\n                    \"merchant_id\": \"MC1234567891234\"\n                }\n            ]\n        },\n        \"type\": \"registration\"\n    },\n    \"error_summary\": {\n        \"message\": \"Invalid Request Details\",\n        \"code\": \"invalid_request_details\",\n        \"details\": {\n            \"messages\": [\n                {\n                    \"gateway_specific_code\": \"INVALID_ARGUMENT\",\n                    \"gateway_specific_description\": \"size must be between 0 and 255 (items[0].dpas[0].dpaData.dpaName)\",\n                    \"description\": \"Invalid Request Details\",\n                    \"status_code\": \"400\",\n                    \"status_code_description\": null\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"3d33bec3-dcee-4a6b-9cb4-76f1d3fddb02"},{"name":"search","id":"826b2dad-e415-4f2a-8f34-5b8c072ded2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"<p>This is your PayDock API Secret Key</p>\n"},{"key":"Content-Type","value":"application/json","description":"<p>Content-Type will always be application/json</p>\n"}],"url":"{{url}}/v1/registrations","description":"<p>Returns all registrations for the account, limited to 100 records.</p>\n<h2 id=\"request-query-parameters\">Request query parameters</h2>\n<p><strong>Pagination</strong></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>skip</td>\n<td>-</td>\n<td>number</td>\n<td>A pagination parameter to skip first <em>No.</em> subscriptions from the list, default = 0</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>-</td>\n<td>number</td>\n<td>A pagination parameter to limit the output to <em>No.</em>, default = 100 , maximum value = 1000</td>\n</tr>\n<tr>\n<td>sortkey</td>\n<td>-</td>\n<td>string</td>\n<td>A sorting key parameter, i.e. created_at</td>\n</tr>\n<tr>\n<td>sortdirection</td>\n<td>-</td>\n<td>string</td>\n<td>A sorting order direction parameter <em>ASC</em> or <em>DESC</em> (<em>DESC</em> by default)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Other</strong></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>name</td>\n<td>-</td>\n<td>string</td>\n<td>Search by the registration name</td>\n</tr>\n<tr>\n<td>external_id</td>\n<td>-</td>\n<td>string</td>\n<td>Search by the registration external_id</td>\n</tr>\n<tr>\n<td>status</td>\n<td>-</td>\n<td>string</td>\n<td>Possible values are <code>completed</code>, <code>failed</code>, <code>revoked</code>, <code>pending</code>, and <code>archived</code></td>\n</tr>\n<tr>\n<td>group</td>\n<td>-</td>\n<td>string</td>\n<td>Search by the registration group. Possible values are: <code>network_token</code>, <code>click_to_pay</code></td>\n</tr>\n<tr>\n<td>type</td>\n<td>-</td>\n<td>string</td>\n<td>Search by the registration type. Possible values are: <code>ClickToPay</code>, <code>MastercardSCOF</code>, <code>VisaVTS</code></td>\n</tr>\n<tr>\n<td>mode</td>\n<td>-</td>\n<td>string</td>\n<td>Possible values are <code>live</code>, <code>test</code>, and <code>virtual</code></td>\n</tr>\n<tr>\n<td>archived</td>\n<td>-</td>\n<td>boolean</td>\n<td>Search archived registrations</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","registrations"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"dbee8eb5-48f9-45e5-bfb6-2ab8f8338b46","name":"search success","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"url":"{{url}}/v1/registrations"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"registration\",\n        \"data\": [\n            {\n                \"_id\": \"65e99a21586f8714510b5c02\",\n                \"name\": \"Click to Pay Registration\",\n                \"group\": \"click_to_pay\",\n                \"type\": \"ClickToPay\",\n                \"mode\": \"test\",\n                \"status\": \"completed\",\n                \"company_id\": \"6308bccfb150df6d264ff8bd\",\n                \"external_id\": \"9806cf50-ee5d-4f73-892e-20ee6abea854\",\n                \"_3ds_options\": {},\n                \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                \"transactions\": [\n                    {\n                        \"_id\": \"65e99a21586f8714510b5c03\",\n                        \"external_id\": \"f17dd683-8d36-44ad-acef-432b29c325e5\",\n                        \"type\": \"create\",\n                        \"status\": \"success\",\n                        \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"service_logs\": []\n                    }\n                ],\n                \"acquirer_data\": {},\n                \"src_options\": {\n                    \"supported_card_schemes\": [\n                        \"MASTERCARD\",\n                        \"VISA\",\n                        \"DISCOVER\",\n                        \"AMEX\"\n                    ],\n                    \"tokenization\": false,\n                    \"supported_checkouts\": []\n                },\n                \"merchant_data\": {\n                    \"origin_domains\": [],\n                    \"merchant_category_codes\": [],\n                    \"company_name\": \"CompanyName123\",\n                    \"url\": \"https://www.paydock.com\",\n                    \"country_code\": \"AU\"\n                }\n            },\n            {\n                \"_id\": \"65e9999c586f8714510b5be0\",\n                \"name\": \"Click to Pay Registration\",\n                \"group\": \"click_to_pay\",\n                \"type\": \"ClickToPay\",\n                \"mode\": \"test\",\n                \"status\": \"completed\",\n                \"company_id\": \"6308bccfb150df6d264ff8bd\",\n                \"external_id\": \"09c4affd-2368-4cee-8b99-4eb6af4c0787\",\n                \"_3ds_options\": {},\n                \"created_at\": \"2024-03-07T10:40:28.581Z\",\n                \"updated_at\": \"2024-03-07T10:40:28.581Z\",\n                \"transactions\": [\n                    {\n                        \"_id\": \"65e9999c586f8714510b5be1\",\n                        \"external_id\": \"a2e007f3-104f-457f-933f-270665239288\",\n                        \"type\": \"create\",\n                        \"status\": \"success\",\n                        \"created_at\": \"2024-03-07T10:40:28.581Z\",\n                        \"updated_at\": \"2024-03-07T10:40:28.581Z\",\n                        \"service_logs\": []\n                    }\n                ],\n                \"acquirer_data\": {},\n                \"src_options\": {\n                    \"supported_card_schemes\": [\n                        \"MASTERCARD\",\n                        \"VISA\",\n                        \"DISCOVER\",\n                        \"AMEX\"\n                    ],\n                    \"tokenization\": false,\n                    \"supported_checkouts\": []\n                },\n                \"merchant_data\": {\n                    \"origin_domains\": [],\n                    \"merchant_category_codes\": [],\n                    \"company_name\": \"CompanyName\",\n                    \"url\": \"https://www.paydock.com\",\n                    \"country_code\": \"AU\"\n                }\n            }\n        ],\n        \"skip\": 0,\n        \"limit\": 100,\n        \"sortkey\": \"created_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 2\n    }\n}"},{"id":"3432c567-41e0-4815-8a87-e018c877a9b7","name":"search with pagination","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"url":{"raw":"{{url}}/v1/registrations?skip=3&limit=1","host":["{{url}}"],"path":["v1","registrations"],"query":[{"key":"skip","value":"3"},{"key":"limit","value":"1"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"registration\",\n        \"data\": [\n            {\n                \"_id\": \"65e99a21586f8714510b5c02\",\n                \"name\": \"Click to Pay Registration\",\n                \"group\": \"click_to_pay\",\n                \"type\": \"ClickToPay\",\n                \"mode\": \"test\",\n                \"status\": \"completed\",\n                \"company_id\": \"6308bccfb150df6d264ff8bd\",\n                \"external_id\": \"9806cf50-ee5d-4f73-892e-20ee6abea854\",\n                \"_3ds_options\": {},\n                \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                \"transactions\": [\n                    {\n                        \"_id\": \"65e99a21586f8714510b5c03\",\n                        \"external_id\": \"f17dd683-8d36-44ad-acef-432b29c325e5\",\n                        \"type\": \"create\",\n                        \"status\": \"success\",\n                        \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"service_logs\": []\n                    }\n                ],\n                \"acquirer_data\": {},\n                \"src_options\": {\n                    \"supported_card_schemes\": [\n                        \"MASTERCARD\",\n                        \"VISA\",\n                        \"DISCOVER\",\n                        \"AMEX\"\n                    ],\n                    \"tokenization\": false,\n                    \"supported_checkouts\": []\n                },\n                \"merchant_data\": {\n                    \"origin_domains\": [],\n                    \"merchant_category_codes\": [],\n                    \"company_name\": \"CompanyName123\",\n                    \"url\": \"https://www.paydock.com\",\n                    \"country_code\": \"AU\"\n                }\n            }\n        ],\n        \"skip\": 3,\n        \"limit\": 1,\n        \"sortkey\": \"created_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 1\n    }\n}"},{"id":"d5887da0-9d11-4c00-9855-abc6554b183e","name":"search by name","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"url":{"raw":"{{url}}/v1/registrations?name=Click","host":["{{url}}"],"path":["v1","registrations"],"query":[{"key":"name","value":"Click"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"registration\",\n        \"data\": [\n            {\n                \"_id\": \"65e99a21586f8714510b5c02\",\n                \"name\": \"Click to Pay Registration\",\n                \"group\": \"click_to_pay\",\n                \"type\": \"ClickToPay\",\n                \"mode\": \"test\",\n                \"status\": \"completed\",\n                \"company_id\": \"6308bccfb150df6d264ff8bd\",\n                \"external_id\": \"9806cf50-ee5d-4f73-892e-20ee6abea854\",\n                \"_3ds_options\": {},\n                \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                \"transactions\": [\n                    {\n                        \"_id\": \"65e99a21586f8714510b5c03\",\n                        \"external_id\": \"f17dd683-8d36-44ad-acef-432b29c325e5\",\n                        \"type\": \"create\",\n                        \"status\": \"success\",\n                        \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"service_logs\": []\n                    }\n                ],\n                \"acquirer_data\": {},\n                \"src_options\": {\n                    \"supported_card_schemes\": [\n                        \"MASTERCARD\",\n                        \"VISA\",\n                        \"DISCOVER\",\n                        \"AMEX\"\n                    ],\n                    \"tokenization\": false,\n                    \"supported_checkouts\": []\n                },\n                \"merchant_data\": {\n                    \"origin_domains\": [],\n                    \"merchant_category_codes\": [],\n                    \"company_name\": \"CompanyName123\",\n                    \"url\": \"https://www.paydock.com\",\n                    \"country_code\": \"AU\"\n                }\n            },\n            {\n                \"_id\": \"65e99a21586f8714510b5c02\",\n                \"name\": \"Click to Pay Registration 2\",\n                \"group\": \"click_to_pay\",\n                \"type\": \"ClickToPay\",\n                \"mode\": \"test\",\n                \"status\": \"completed\",\n                \"company_id\": \"6308bccfb150df6d264ff8bd\",\n                \"external_id\": \"9806cf50-ee5d-4f73-892e-20ee6abea854\",\n                \"_3ds_options\": {},\n                \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                \"transactions\": [\n                    {\n                        \"_id\": \"65e99a21586f8714510b5c03\",\n                        \"external_id\": \"f17dd683-8d36-44ad-acef-432b29c325e5\",\n                        \"type\": \"create\",\n                        \"status\": \"success\",\n                        \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"service_logs\": []\n                    }\n                ],\n                \"acquirer_data\": {},\n                \"src_options\": {\n                    \"supported_card_schemes\": [\n                        \"MASTERCARD\",\n                        \"VISA\",\n                        \"DISCOVER\",\n                        \"AMEX\"\n                    ],\n                    \"tokenization\": false,\n                    \"supported_checkouts\": []\n                },\n                \"merchant_data\": {\n                    \"origin_domains\": [],\n                    \"merchant_category_codes\": [],\n                    \"company_name\": \"CompanyName123\",\n                    \"url\": \"https://www.paydock.com\",\n                    \"country_code\": \"AU\"\n                }\n            }\n        ],\n        \"skip\": 0,\n        \"limit\": 100,\n        \"sortkey\": \"created_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 2\n    }\n}"},{"id":"32798e59-599b-4ced-9637-3809df2af60b","name":"search by external_id","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"url":{"raw":"{{url}}/v1/registrations?external_id=9806cf50-ee5d-4f73-892e-20ee6abea854","host":["{{url}}"],"path":["v1","registrations"],"query":[{"key":"external_id","value":"9806cf50-ee5d-4f73-892e-20ee6abea854"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"registration\",\n        \"data\": [\n            {\n                \"_id\": \"65e99a21586f8714510b5c02\",\n                \"name\": \"Click to Pay Registration\",\n                \"group\": \"click_to_pay\",\n                \"type\": \"ClickToPay\",\n                \"mode\": \"test\",\n                \"status\": \"completed\",\n                \"company_id\": \"6308bccfb150df6d264ff8bd\",\n                \"external_id\": \"9806cf50-ee5d-4f73-892e-20ee6abea854\",\n                \"_3ds_options\": {},\n                \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                \"transactions\": [\n                    {\n                        \"_id\": \"65e99a21586f8714510b5c03\",\n                        \"external_id\": \"f17dd683-8d36-44ad-acef-432b29c325e5\",\n                        \"type\": \"create\",\n                        \"status\": \"success\",\n                        \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"service_logs\": []\n                    }\n                ],\n                \"acquirer_data\": {},\n                \"src_options\": {\n                    \"supported_card_schemes\": [\n                        \"MASTERCARD\",\n                        \"VISA\",\n                        \"DISCOVER\",\n                        \"AMEX\"\n                    ],\n                    \"tokenization\": false,\n                    \"supported_checkouts\": []\n                },\n                \"merchant_data\": {\n                    \"origin_domains\": [],\n                    \"merchant_category_codes\": [],\n                    \"company_name\": \"CompanyName123\",\n                    \"url\": \"https://www.paydock.com\",\n                    \"country_code\": \"AU\"\n                }\n            }\n        ],\n        \"skip\": 0,\n        \"limit\": 100,\n        \"sortkey\": \"created_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 1\n    }\n}"},{"id":"6136dd85-dc9d-461e-8ac1-693661cf9efd","name":"search by status","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"url":{"raw":"{{url}}/v1/registrations?status=completed","host":["{{url}}"],"path":["v1","registrations"],"query":[{"key":"status","value":"completed"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"registration\",\n        \"data\": [\n            {\n                \"_id\": \"65e99a21586f8714510b5c01\",\n                \"name\": \"Click to Pay Registration\",\n                \"group\": \"click_to_pay\",\n                \"type\": \"ClickToPay\",\n                \"mode\": \"test\",\n                \"status\": \"completed\",\n                \"company_id\": \"6308bccfb150df6d264ff8bd\",\n                \"external_id\": \"9806cf50-ee5d-4f73-892e-20ee6abea851\",\n                \"_3ds_options\": {},\n                \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                \"transactions\": [\n                    {\n                        \"_id\": \"65e99a21586f8714510b5c03\",\n                        \"external_id\": \"f17dd683-8d36-44ad-acef-432b29c325e5\",\n                        \"type\": \"create\",\n                        \"status\": \"success\",\n                        \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"service_logs\": []\n                    }\n                ],\n                \"acquirer_data\": {},\n                \"src_options\": {\n                    \"supported_card_schemes\": [\n                        \"MASTERCARD\",\n                        \"VISA\",\n                        \"DISCOVER\",\n                        \"AMEX\"\n                    ],\n                    \"tokenization\": false,\n                    \"supported_checkouts\": []\n                },\n                \"merchant_data\": {\n                    \"origin_domains\": [],\n                    \"merchant_category_codes\": [],\n                    \"company_name\": \"CompanyName123\",\n                    \"url\": \"https://www.paydock.com\",\n                    \"country_code\": \"AU\"\n                }\n            },\n            {\n                \"_id\": \"65e99a21586f8714510b5c02\",\n                \"name\": \"Click to Pay Registration 2\",\n                \"group\": \"click_to_pay\",\n                \"type\": \"ClickToPay\",\n                \"mode\": \"test\",\n                \"status\": \"completed\",\n                \"company_id\": \"6308bccfb150df6d264ff8bd\",\n                \"external_id\": \"9806cf50-ee5d-4f73-892e-20ee6abea852\",\n                \"_3ds_options\": {},\n                \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                \"transactions\": [\n                    {\n                        \"_id\": \"65e99a21586f8714510b5c03\",\n                        \"external_id\": \"f17dd683-8d36-44ad-acef-432b29c325e5\",\n                        \"type\": \"create\",\n                        \"status\": \"success\",\n                        \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"service_logs\": []\n                    }\n                ],\n                \"acquirer_data\": {},\n                \"src_options\": {\n                    \"supported_card_schemes\": [\n                        \"MASTERCARD\",\n                        \"VISA\",\n                        \"DISCOVER\",\n                        \"AMEX\"\n                    ],\n                    \"tokenization\": false,\n                    \"supported_checkouts\": []\n                },\n                \"merchant_data\": {\n                    \"origin_domains\": [],\n                    \"merchant_category_codes\": [],\n                    \"company_name\": \"CompanyName123\",\n                    \"url\": \"https://www.paydock.com\",\n                    \"country_code\": \"AU\"\n                }\n            },\n            {\n                \"_id\": \"65e99a21586f8714510b5c03\",\n                \"name\": \"Click to Pay Registration 3\",\n                \"group\": \"click_to_pay\",\n                \"type\": \"ClickToPay\",\n                \"mode\": \"test\",\n                \"status\": \"completed\",\n                \"company_id\": \"6308bccfb150df6d264ff8bd\",\n                \"external_id\": \"9806cf50-ee5d-4f73-892e-20ee6abea852\",\n                \"_3ds_options\": {},\n                \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                \"transactions\": [\n                    {\n                        \"_id\": \"65e99a21586f8714510b5c03\",\n                        \"external_id\": \"f17dd683-8d36-44ad-acef-432b29c325e5\",\n                        \"type\": \"create\",\n                        \"status\": \"success\",\n                        \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"service_logs\": []\n                    }\n                ],\n                \"acquirer_data\": {},\n                \"src_options\": {\n                    \"supported_card_schemes\": [\n                        \"MASTERCARD\",\n                        \"VISA\",\n                        \"DISCOVER\",\n                        \"AMEX\"\n                    ],\n                    \"tokenization\": false,\n                    \"supported_checkouts\": []\n                },\n                \"merchant_data\": {\n                    \"origin_domains\": [],\n                    \"merchant_category_codes\": [],\n                    \"company_name\": \"CompanyName123\",\n                    \"url\": \"https://www.paydock.com\",\n                    \"country_code\": \"AU\"\n                }\n            }\n        ],\n        \"skip\": 0,\n        \"limit\": 100,\n        \"sortkey\": \"created_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 3\n    }\n}"},{"id":"911c67a2-7db0-427e-8b35-4397588b5aa2","name":"search by group","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"url":{"raw":"{{url}}/v1/registrations?group=click_to_pay","host":["{{url}}"],"path":["v1","registrations"],"query":[{"key":"group","value":"click_to_pay"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"registration\",\n        \"data\": [\n            {\n                \"_id\": \"65e99a21586f8714510b5c01\",\n                \"name\": \"Click to Pay Registration\",\n                \"group\": \"click_to_pay\",\n                \"type\": \"ClickToPay\",\n                \"mode\": \"test\",\n                \"status\": \"completed\",\n                \"company_id\": \"6308bccfb150df6d264ff8bd\",\n                \"external_id\": \"9806cf50-ee5d-4f73-892e-20ee6abea851\",\n                \"_3ds_options\": {},\n                \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                \"transactions\": [\n                    {\n                        \"_id\": \"65e99a21586f8714510b5c03\",\n                        \"external_id\": \"f17dd683-8d36-44ad-acef-432b29c325e5\",\n                        \"type\": \"create\",\n                        \"status\": \"success\",\n                        \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"service_logs\": []\n                    }\n                ],\n                \"acquirer_data\": {},\n                \"src_options\": {\n                    \"supported_card_schemes\": [\n                        \"MASTERCARD\",\n                        \"VISA\",\n                        \"DISCOVER\",\n                        \"AMEX\"\n                    ],\n                    \"tokenization\": false,\n                    \"supported_checkouts\": []\n                },\n                \"merchant_data\": {\n                    \"origin_domains\": [],\n                    \"merchant_category_codes\": [],\n                    \"company_name\": \"CompanyName123\",\n                    \"url\": \"https://www.paydock.com\",\n                    \"country_code\": \"AU\"\n                }\n            },\n            {\n                \"_id\": \"65e99a21586f8714510b5c02\",\n                \"name\": \"Click to Pay Registration 2\",\n                \"group\": \"click_to_pay\",\n                \"type\": \"ClickToPay\",\n                \"mode\": \"test\",\n                \"status\": \"completed\",\n                \"company_id\": \"6308bccfb150df6d264ff8bd\",\n                \"external_id\": \"9806cf50-ee5d-4f73-892e-20ee6abea852\",\n                \"_3ds_options\": {},\n                \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                \"transactions\": [\n                    {\n                        \"_id\": \"65e99a21586f8714510b5c03\",\n                        \"external_id\": \"f17dd683-8d36-44ad-acef-432b29c325e5\",\n                        \"type\": \"create\",\n                        \"status\": \"success\",\n                        \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"service_logs\": []\n                    }\n                ],\n                \"acquirer_data\": {},\n                \"src_options\": {\n                    \"supported_card_schemes\": [\n                        \"MASTERCARD\",\n                        \"VISA\",\n                        \"DISCOVER\",\n                        \"AMEX\"\n                    ],\n                    \"tokenization\": false,\n                    \"supported_checkouts\": []\n                },\n                \"merchant_data\": {\n                    \"origin_domains\": [],\n                    \"merchant_category_codes\": [],\n                    \"company_name\": \"CompanyName123\",\n                    \"url\": \"https://www.paydock.com\",\n                    \"country_code\": \"AU\"\n                }\n            },\n            {\n                \"_id\": \"65e99a21586f8714510b5c03\",\n                \"name\": \"Click to Pay Registration 3\",\n                \"group\": \"click_to_pay\",\n                \"type\": \"ClickToPay\",\n                \"mode\": \"test\",\n                \"status\": \"completed\",\n                \"company_id\": \"6308bccfb150df6d264ff8bd\",\n                \"external_id\": \"9806cf50-ee5d-4f73-892e-20ee6abea852\",\n                \"_3ds_options\": {},\n                \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                \"transactions\": [\n                    {\n                        \"_id\": \"65e99a21586f8714510b5c03\",\n                        \"external_id\": \"f17dd683-8d36-44ad-acef-432b29c325e5\",\n                        \"type\": \"create\",\n                        \"status\": \"success\",\n                        \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"service_logs\": []\n                    }\n                ],\n                \"acquirer_data\": {},\n                \"src_options\": {\n                    \"supported_card_schemes\": [\n                        \"MASTERCARD\",\n                        \"VISA\",\n                        \"DISCOVER\",\n                        \"AMEX\"\n                    ],\n                    \"tokenization\": false,\n                    \"supported_checkouts\": []\n                },\n                \"merchant_data\": {\n                    \"origin_domains\": [],\n                    \"merchant_category_codes\": [],\n                    \"company_name\": \"CompanyName123\",\n                    \"url\": \"https://www.paydock.com\",\n                    \"country_code\": \"AU\"\n                }\n            }\n        ],\n        \"skip\": 0,\n        \"limit\": 100,\n        \"sortkey\": \"created_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 3\n    }\n}"},{"id":"9a000dd3-4eb8-41d3-89f9-e9fa9eaaf2f7","name":"search by type","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"url":{"raw":"{{url}}/v1/registrations?type=ClickToPay","host":["{{url}}"],"path":["v1","registrations"],"query":[{"key":"type","value":"ClickToPay"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"registration\",\n        \"data\": [\n            {\n                \"_id\": \"65e99a21586f8714510b5c01\",\n                \"name\": \"Click to Pay Registration\",\n                \"group\": \"click_to_pay\",\n                \"type\": \"ClickToPay\",\n                \"mode\": \"test\",\n                \"status\": \"completed\",\n                \"company_id\": \"6308bccfb150df6d264ff8bd\",\n                \"external_id\": \"9806cf50-ee5d-4f73-892e-20ee6abea851\",\n                \"_3ds_options\": {},\n                \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                \"transactions\": [\n                    {\n                        \"_id\": \"65e99a21586f8714510b5c03\",\n                        \"external_id\": \"f17dd683-8d36-44ad-acef-432b29c325e5\",\n                        \"type\": \"create\",\n                        \"status\": \"success\",\n                        \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"service_logs\": []\n                    }\n                ],\n                \"acquirer_data\": {},\n                \"src_options\": {\n                    \"supported_card_schemes\": [\n                        \"MASTERCARD\",\n                        \"VISA\",\n                        \"DISCOVER\",\n                        \"AMEX\"\n                    ],\n                    \"tokenization\": false,\n                    \"supported_checkouts\": []\n                },\n                \"merchant_data\": {\n                    \"origin_domains\": [],\n                    \"merchant_category_codes\": [],\n                    \"company_name\": \"CompanyName123\",\n                    \"url\": \"https://www.paydock.com\",\n                    \"country_code\": \"AU\"\n                }\n            },\n            {\n                \"_id\": \"65e99a21586f8714510b5c02\",\n                \"name\": \"Click to Pay Registration 2\",\n                \"group\": \"click_to_pay\",\n                \"type\": \"ClickToPay\",\n                \"mode\": \"test\",\n                \"status\": \"completed\",\n                \"company_id\": \"6308bccfb150df6d264ff8bd\",\n                \"external_id\": \"9806cf50-ee5d-4f73-892e-20ee6abea852\",\n                \"_3ds_options\": {},\n                \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                \"transactions\": [\n                    {\n                        \"_id\": \"65e99a21586f8714510b5c03\",\n                        \"external_id\": \"f17dd683-8d36-44ad-acef-432b29c325e5\",\n                        \"type\": \"create\",\n                        \"status\": \"success\",\n                        \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"service_logs\": []\n                    }\n                ],\n                \"acquirer_data\": {},\n                \"src_options\": {\n                    \"supported_card_schemes\": [\n                        \"MASTERCARD\",\n                        \"VISA\",\n                        \"DISCOVER\",\n                        \"AMEX\"\n                    ],\n                    \"tokenization\": false,\n                    \"supported_checkouts\": []\n                },\n                \"merchant_data\": {\n                    \"origin_domains\": [],\n                    \"merchant_category_codes\": [],\n                    \"company_name\": \"CompanyName123\",\n                    \"url\": \"https://www.paydock.com\",\n                    \"country_code\": \"AU\"\n                }\n            },\n            {\n                \"_id\": \"65e99a21586f8714510b5c03\",\n                \"name\": \"Click to Pay Registration 3\",\n                \"group\": \"click_to_pay\",\n                \"type\": \"ClickToPay\",\n                \"mode\": \"test\",\n                \"status\": \"completed\",\n                \"company_id\": \"6308bccfb150df6d264ff8bd\",\n                \"external_id\": \"9806cf50-ee5d-4f73-892e-20ee6abea852\",\n                \"_3ds_options\": {},\n                \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                \"transactions\": [\n                    {\n                        \"_id\": \"65e99a21586f8714510b5c03\",\n                        \"external_id\": \"f17dd683-8d36-44ad-acef-432b29c325e5\",\n                        \"type\": \"create\",\n                        \"status\": \"success\",\n                        \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"service_logs\": []\n                    }\n                ],\n                \"acquirer_data\": {},\n                \"src_options\": {\n                    \"supported_card_schemes\": [\n                        \"MASTERCARD\",\n                        \"VISA\",\n                        \"DISCOVER\",\n                        \"AMEX\"\n                    ],\n                    \"tokenization\": false,\n                    \"supported_checkouts\": []\n                },\n                \"merchant_data\": {\n                    \"origin_domains\": [],\n                    \"merchant_category_codes\": [],\n                    \"company_name\": \"CompanyName123\",\n                    \"url\": \"https://www.paydock.com\",\n                    \"country_code\": \"AU\"\n                }\n            }\n        ],\n        \"skip\": 0,\n        \"limit\": 100,\n        \"sortkey\": \"created_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 3\n    }\n}"},{"id":"0e2e7d30-d039-4804-88c5-34921ca8b217","name":"search by mode","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"url":{"raw":"{{url}}/v1/registrations?mode=test","host":["{{url}}"],"path":["v1","registrations"],"query":[{"key":"mode","value":"test"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"registration\",\n        \"data\": [\n            {\n                \"_id\": \"65e99a21586f8714510b5c01\",\n                \"name\": \"Click to Pay Registration\",\n                \"group\": \"click_to_pay\",\n                \"type\": \"ClickToPay\",\n                \"mode\": \"test\",\n                \"status\": \"completed\",\n                \"company_id\": \"6308bccfb150df6d264ff8bd\",\n                \"external_id\": \"9806cf50-ee5d-4f73-892e-20ee6abea851\",\n                \"_3ds_options\": {},\n                \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                \"transactions\": [\n                    {\n                        \"_id\": \"65e99a21586f8714510b5c03\",\n                        \"external_id\": \"f17dd683-8d36-44ad-acef-432b29c325e5\",\n                        \"type\": \"create\",\n                        \"status\": \"success\",\n                        \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"service_logs\": []\n                    }\n                ],\n                \"acquirer_data\": {},\n                \"src_options\": {\n                    \"supported_card_schemes\": [\n                        \"MASTERCARD\",\n                        \"VISA\",\n                        \"DISCOVER\",\n                        \"AMEX\"\n                    ],\n                    \"tokenization\": false,\n                    \"supported_checkouts\": []\n                },\n                \"merchant_data\": {\n                    \"origin_domains\": [],\n                    \"merchant_category_codes\": [],\n                    \"company_name\": \"CompanyName123\",\n                    \"url\": \"https://www.paydock.com\",\n                    \"country_code\": \"AU\"\n                }\n            },\n            {\n                \"_id\": \"65e99a21586f8714510b5c02\",\n                \"name\": \"Click to Pay Registration 2\",\n                \"group\": \"click_to_pay\",\n                \"type\": \"ClickToPay\",\n                \"mode\": \"test\",\n                \"status\": \"completed\",\n                \"company_id\": \"6308bccfb150df6d264ff8bd\",\n                \"external_id\": \"9806cf50-ee5d-4f73-892e-20ee6abea852\",\n                \"_3ds_options\": {},\n                \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                \"transactions\": [\n                    {\n                        \"_id\": \"65e99a21586f8714510b5c03\",\n                        \"external_id\": \"f17dd683-8d36-44ad-acef-432b29c325e5\",\n                        \"type\": \"create\",\n                        \"status\": \"success\",\n                        \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"service_logs\": []\n                    }\n                ],\n                \"acquirer_data\": {},\n                \"src_options\": {\n                    \"supported_card_schemes\": [\n                        \"MASTERCARD\",\n                        \"VISA\",\n                        \"DISCOVER\",\n                        \"AMEX\"\n                    ],\n                    \"tokenization\": false,\n                    \"supported_checkouts\": []\n                },\n                \"merchant_data\": {\n                    \"origin_domains\": [],\n                    \"merchant_category_codes\": [],\n                    \"company_name\": \"CompanyName123\",\n                    \"url\": \"https://www.paydock.com\",\n                    \"country_code\": \"AU\"\n                }\n            },\n            {\n                \"_id\": \"65e99a21586f8714510b5c03\",\n                \"name\": \"Click to Pay Registration 3\",\n                \"group\": \"click_to_pay\",\n                \"type\": \"ClickToPay\",\n                \"mode\": \"test\",\n                \"status\": \"completed\",\n                \"company_id\": \"6308bccfb150df6d264ff8bd\",\n                \"external_id\": \"9806cf50-ee5d-4f73-892e-20ee6abea852\",\n                \"_3ds_options\": {},\n                \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                \"transactions\": [\n                    {\n                        \"_id\": \"65e99a21586f8714510b5c03\",\n                        \"external_id\": \"f17dd683-8d36-44ad-acef-432b29c325e5\",\n                        \"type\": \"create\",\n                        \"status\": \"success\",\n                        \"created_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"updated_at\": \"2024-03-07T10:42:41.710Z\",\n                        \"service_logs\": []\n                    }\n                ],\n                \"acquirer_data\": {},\n                \"src_options\": {\n                    \"supported_card_schemes\": [\n                        \"MASTERCARD\",\n                        \"VISA\",\n                        \"DISCOVER\",\n                        \"AMEX\"\n                    ],\n                    \"tokenization\": false,\n                    \"supported_checkouts\": []\n                },\n                \"merchant_data\": {\n                    \"origin_domains\": [],\n                    \"merchant_category_codes\": [],\n                    \"company_name\": \"CompanyName123\",\n                    \"url\": \"https://www.paydock.com\",\n                    \"country_code\": \"AU\"\n                }\n            }\n        ],\n        \"skip\": 0,\n        \"limit\": 100,\n        \"sortkey\": \"created_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 3\n    }\n}"},{"id":"8ba82dbb-7d36-43c0-8bef-aed01432763a","name":"search by archived","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"url":{"raw":"{{url}}/v1/registrations?archived=true","host":["{{url}}"],"path":["v1","registrations"],"query":[{"key":"archived","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"registration\",\n        \"data\": [\n            {\n                \"_id\": \"66bb2affc8bd6a579bde8006\",\n                \"name\": \"FTB Visa NT Registration - 9718\",\n                \"group\": \"network_token\",\n                \"type\": \"VisaVTS\",\n                \"mode\": \"test\",\n                \"status\": \"archived\",\n                \"company_id\": \"65cccde52cad2f1b64e7947e\",\n                \"external_id\": \"6ba234cb-0b01-48a0-86be-01dae8554bdd\",\n                \"archived_at\": \"2024-08-13T09:44:49.421Z\",\n                \"created_at\": \"2024-08-13T09:44:31.806Z\",\n                \"updated_at\": \"2024-08-13T09:44:49.423Z\",\n                \"transactions\": [\n                    {\n                        \"_id\": \"66bb2affc8bd6a579bde8007\",\n                        \"external_id\": \"6ba234cb-0b01-48a0-86be-01dae8554bdd\",\n                        \"type\": \"create\",\n                        \"status\": \"success\",\n                        \"created_at\": \"2024-08-13T09:44:31.805Z\",\n                        \"updated_at\": \"2024-08-13T09:44:31.805Z\",\n                        \"service_logs\": []\n                    }\n                ],\n                \"merchant_data\": {\n                    \"company_name\": \"Test Braun and Sons - Inc\",\n                    \"display_name\": \"Test 490804\",\n                    \"url\": \"https://madisyn.name\",\n                    \"address_line1\": \"Cnr Bridge St\",\n                    \"address_line2\": \"APT 474, Floor 62381\",\n                    \"address_city\": \"Sydney\",\n                    \"address_country\": \"AU\",\n                    \"country_code\": \"AU\",\n                    \"address_name\": \"Kshlerin - Howell HQ\",\n                    \"address_state\": \"NSW\",\n                    \"address_postcode\": \"2000\",\n                    \"merchant_category_codes\": [],\n                    \"business_identification_type\": \"ABN\",\n                    \"business_identification_value\": \"56431650880\",\n                    \"contact\": {\n                        \"email\": \"mavis87@hotmail.com\",\n                        \"first_name\": \"Alford\",\n                        \"last_name\": \"Streich\"\n                    },\n                    \"token_requestor_id\": \"40000000061\"\n                },\n                \"acquirers_data\": []\n            }\n        ],\n        \"skip\": 0,\n        \"limit\": 100,\n        \"sortkey\": \"created_at\",\n        \"sortdirection\": \"DESC\",\n        \"count\": 1\n    }\n}"}],"_postman_id":"826b2dad-e415-4f2a-8f34-5b8c072ded2f"},{"name":"get","id":"3a615a91-5fcc-4da1-9d9d-42f61a17bf00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"<p>This is your PayDock API Secret Key</p>\n"},{"key":"Content-Type","value":"application/json","description":"<p>Content-Type will always be application/json</p>\n"}],"url":"{{url}}/v1/registrations/:id","description":"<p>Retrieves data on a registration with the specified ID.</p>\n<h2 id=\"request-parameters\">Request parameters</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>A registration ID received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","registrations",":id"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"65e99c87586f8714510b5c2f","key":"id"}]}},"response":[{"id":"9ddb0bb6-424b-4613-95f2-b6299afced78","name":"get success","originalRequest":{"method":"GET","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"url":"{{url}}/v1/registrations/65e99c87586f8714510b5c2f"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"registration\",\n        \"data\": {\n            \"_id\": \"65e99c87586f8714510b5c2f\",\n            \"name\": \"Click to Pay Registration\",\n            \"group\": \"click_to_pay\",\n            \"type\": \"ClickToPay\",\n            \"mode\": \"test\",\n            \"status\": \"completed\",\n            \"company_id\": \"6308bccfb150df6d264ff8bd\",\n            \"external_id\": \"2ce353cc-0de1-4393-a9d4-7327b98d2133\",\n            \"_3ds_options\": {},\n            \"created_at\": \"2024-03-07T10:52:55.425Z\",\n            \"updated_at\": \"2024-03-07T11:09:00.477Z\",\n            \"transactions\": [\n                {\n                    \"_id\": \"65e99c87586f8714510b5c30\",\n                    \"external_id\": \"7754d78c-6c7e-411c-a41b-5c2ddfcdeb90\",\n                    \"type\": \"create\",\n                    \"status\": \"success\",\n                    \"created_at\": \"2024-03-07T10:52:55.425Z\",\n                    \"updated_at\": \"2024-03-07T10:52:55.425Z\",\n                    \"service_logs\": [\n                        {\n                            \"req\": {\n                                \"body\": \"{\\\"dpas\\\":[{\\\"dpaData\\\":{\\\"dpaName\\\":\\\"CompanyName123456\\\",\\\"dpaUri\\\":\\\"https://www.paydock.com\\\",\\\"dpaAddress\\\":{}},\\\"supportedCardBrands\\\":[\\\"MASTERCARD\\\",\\\"VISA\\\",\\\"DISCOVER\\\",\\\"AMEX\\\"],\\\"debitTokenRequested\\\":false,\\\"merchantCountryCode\\\":\\\"AU\\\",\\\"threeDSDefaultdata\\\":{}}]}\",\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            },\n                            \"response_body\": {\n                                \"body\": \"{\\\"dpaResults\\\":[{\\\"srciDpaId\\\":\\\"2ce353cc-0de1-4393-a9d4-7327b98d2133\\\",\\\"status\\\":\\\"SUCCESSFUL\\\",\\\"dpaName\\\":\\\"CompanyName123456\\\",\\\"error\\\":null}]}\",\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            }\n                        }\n                    ]\n                }\n            ],\n            \"acquirer_data\": {},\n            \"src_options\": {\n                \"supported_card_schemes\": [\n                    \"MASTERCARD\",\n                    \"VISA\",\n                    \"DISCOVER\",\n                    \"AMEX\"\n                ],\n                \"tokenization\": false,\n                \"supported_checkouts\": []\n            },\n            \"merchant_data\": {\n                \"origin_domains\": [],\n                \"merchant_category_codes\": [],\n                \"company_name\": \"CompanyName123456\",\n                \"url\": \"https://www.paydock.com\",\n                \"country_code\": \"AU\"\n            }\n        }\n    }\n}"}],"_postman_id":"3a615a91-5fcc-4da1-9d9d-42f61a17bf00"},{"name":"modify (Click To Pay)","id":"a13500e1-55b6-49a4-a14c-895d28c35b9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"<p>This is your PayDock API Secret Key</p>\n"},{"key":"Content-Type","value":"application/json","description":"<p>Content-Type will always be application/json</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Click to Pay Registration\",\n    \"mode\": \"test\",\n    \"group\": \"click_to_pay\",\n    \"type\": \"ClickToPay\",\n    \"merchant_data\": {\n        \"company_name\": \"CompanyName123456\",\n        \"url\": \"https://www.paydock.com\",\n        \"country_code\": \"AU\"\n    },\n    \"src_options\": {\n        \"supported_card_schemes\": [\n            \"MASTERCARD\",\n            \"VISA\",\n            \"DISCOVER\",\n            \"AMEX\"\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/registrations/:id","description":"<p>Update a registration by ID.</p>\n<p><strong>Request parameters</strong></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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>A registration ID received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Request body</strong></p>\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>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>+</td>\n<td>string</td>\n<td>A registration name</td>\n</tr>\n<tr>\n<td>mode</td>\n<td>+</td>\n<td>string</td>\n<td>Registration mode.  <br />Possible Values:  <br />1. test - for the testing mode  <br />2. live - for the production mode  <br />3. virtual - for virtual mode</td>\n</tr>\n<tr>\n<td>program_name</td>\n<td>+3</td>\n<td>string</td>\n<td>The Cardholder facing name of the Merchant</td>\n</tr>\n<tr>\n<td>enable_vault_updates</td>\n<td>-</td>\n<td>boolean</td>\n<td>A flag for the Integrator to indicate that they would like to have their Cardholder's vault updated with the latest card information when available.</td>\n</tr>\n<tr>\n<td>merchant_data</td>\n<td>+2</td>\n<td>object</td>\n<td>Registration merchant data</td>\n</tr>\n<tr>\n<td>merchant_data.logo_url</td>\n<td>-</td>\n<td>string</td>\n<td>Merchant URL Logo Example: \"<a href=\"https://paydock.com/logo\">https://paydock.com/logo\"</a></td>\n</tr>\n<tr>\n<td>merchant_data.merchant_category_codes</td>\n<td>-</td>\n<td>string[]</td>\n<td>Merchant category codes. Example: [\"4422\",\"0000\"]</td>\n</tr>\n<tr>\n<td>_3ds_options</td>\n<td>-</td>\n<td>object</td>\n<td>Object containing 3D Secure data</td>\n</tr>\n<tr>\n<td>_3ds_options.providers</td>\n<td>-</td>\n<td>object[]</td>\n<td>Array of objects containing provider information for the merchant</td>\n</tr>\n<tr>\n<td>_3ds_options.providers.key</td>\n<td>-</td>\n<td>string</td>\n<td>3D Secure Provider key</td>\n</tr>\n<tr>\n<td>_3ds_options.providers.id</td>\n<td>-</td>\n<td>string</td>\n<td>3D Secure Provider ID</td>\n</tr>\n<tr>\n<td>_3ds_options.providers.country</td>\n<td>-</td>\n<td>string</td>\n<td>3D Secure Provider country</td>\n</tr>\n<tr>\n<td>_3ds_options.providers.bin</td>\n<td>-</td>\n<td>string</td>\n<td>3D Secure Provider BIN (Bank Identification Number)</td>\n</tr>\n<tr>\n<td>_3ds_options.providers.mcc</td>\n<td>-</td>\n<td>string</td>\n<td>3D Secure Provider MCC (Merchant Category Code)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","registrations",":id"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"65e99c87586f8714510b5c2f","key":"id"}]}},"response":[{"id":"f3cc9cc2-c813-46ce-a3da-48d51129dc0f","name":"modify success","originalRequest":{"method":"PUT","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Click to Pay Registration\",\n    \"mode\": \"test\",\n    \"group\": \"click_to_pay\",\n    \"type\": \"ClickToPay\",\n    \"merchant_data\": {\n        \"company_name\": \"CompanyName123456\",\n        \"url\": \"https://www.paydock.com\",\n        \"country_code\": \"AU\"\n    },\n    \"src_options\": {\n        \"supported_card_schemes\": [\n            \"MASTERCARD\",\n            \"VISA\",\n            \"DISCOVER\",\n            \"AMEX\"\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/registrations/:id","host":["{{url}}"],"path":["v1","registrations",":id"],"variable":[{"key":"id","value":"65e99c87586f8714510b5c2f"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"registration\",\n        \"data\": {\n            \"_id\": \"65e99c87586f8714510b5c2f\",\n            \"name\": \"Click to Pay Registration\",\n            \"group\": \"click_to_pay\",\n            \"type\": \"ClickToPay\",\n            \"mode\": \"test\",\n            \"status\": \"completed\",\n            \"company_id\": \"6308bccfb150df6d264ff8bd\",\n            \"external_id\": \"2ce353cc-0de1-4393-a9d4-7327b98d2133\",\n            \"_3ds_options\": {},\n            \"created_at\": \"2024-03-07T10:52:55.425Z\",\n            \"updated_at\": \"2024-03-07T10:59:25.727Z\",\n            \"transactions\": [\n                {\n                    \"_id\": \"65e99c87586f8714510b5c30\",\n                    \"external_id\": \"7754d78c-6c7e-411c-a41b-5c2ddfcdeb90\",\n                    \"type\": \"create\",\n                    \"status\": \"success\",\n                    \"created_at\": \"2024-03-07T10:52:55.425Z\",\n                    \"updated_at\": \"2024-03-07T10:52:55.425Z\",\n                    \"service_logs\": [\n                        {\n                            \"req\": {\n                                \"body\": \"{\\\"dpas\\\":[{\\\"dpaData\\\":{\\\"dpaName\\\":\\\"CompanyName123456\\\",\\\"dpaUri\\\":\\\"https://www.paydock.com\\\",\\\"dpaAddress\\\":{}},\\\"supportedCardBrands\\\":[\\\"MASTERCARD\\\",\\\"VISA\\\",\\\"DISCOVER\\\",\\\"AMEX\\\"],\\\"debitTokenRequested\\\":false,\\\"merchantCountryCode\\\":\\\"AU\\\",\\\"threeDSDefaultdata\\\":{}}]}\",\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            },\n                            \"response_body\": {\n                                \"body\": \"{\\\"dpaResults\\\":[{\\\"srciDpaId\\\":\\\"2ce353cc-0de1-4393-a9d4-7327b98d2133\\\",\\\"status\\\":\\\"SUCCESSFUL\\\",\\\"dpaName\\\":\\\"CompanyName123456\\\",\\\"error\\\":null}]}\",\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            }\n                        }\n                    ]\n                },\n                {\n                    \"_id\": \"65e99e0d586f8714510b5cb8\",\n                    \"external_id\": \"aafbbab3-0ea1-4c8e-97ce-aceba27836bf\",\n                    \"type\": \"update\",\n                    \"status\": \"success\",\n                    \"created_at\": \"2024-03-07T10:59:25.702Z\",\n                    \"updated_at\": \"2024-03-07T10:59:25.702Z\",\n                    \"service_logs\": [\n                        {\n                            \"req\": {\n                                \"body\": \"{\\\"dpa\\\":{\\\"dpaData\\\":{\\\"dpaName\\\":\\\"CompanyName123456\\\",\\\"dpaUri\\\":\\\"https://www.paydock.com\\\",\\\"originDomains\\\":[],\\\"dpaAddress\\\":{}},\\\"supportedCardBrands\\\":[\\\"MASTERCARD\\\",\\\"VISA\\\",\\\"DISCOVER\\\",\\\"AMEX\\\"],\\\"debitTokenRequested\\\":false,\\\"merchantCountryCode\\\":\\\"AU\\\",\\\"merchantCategoryCodes\\\":[],\\\"supportedCheckoutTypes\\\":[],\\\"threeDSDefaultdata\\\":{}}}\",\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            },\n                            \"response_body\": {\n                                \"body\": null,\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            }\n                        }\n                    ]\n                }\n            ],\n            \"acquirer_data\": {},\n            \"src_options\": {\n                \"supported_card_schemes\": [\n                    \"MASTERCARD\",\n                    \"VISA\",\n                    \"DISCOVER\",\n                    \"AMEX\"\n                ],\n                \"tokenization\": false\n            },\n            \"merchant_data\": {\n                \"company_name\": \"CompanyName123456\",\n                \"url\": \"https://www.paydock.com\",\n                \"country_code\": \"AU\"\n            }\n        }\n    }\n}"},{"id":"7f4e2e8a-0bb8-484d-9edf-2a45b6850636","name":"validation error","originalRequest":{"method":"PUT","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"\",\n    \"mode\": \"test\",\n    \"group\": \"click_to_pay\",\n    \"merchant_data\": {\n        \"company_name\": \"CompanyName123456\",\n        \"url\": \"https://www.paydock.com\",\n        \"country_code\": \"AU\"\n    },\n    \"src_options\": {\n        \"supported_card_schemes\": [\n            \"MASTERCARD\",\n            \"VISA\",\n            \"DISCOVER\",\n            \"AMEX\"\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/registrations/:id","host":["{{url}}"],"path":["v1","registrations",":id"],"variable":[{"key":"id","value":"65e99c87586f8714510b5c2f"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"body validation failed\",\n        \"code\": \"ValidationError\",\n        \"details\": {\n            \"path\": \"name\",\n            \"messages\": [\n                \"name should not be empty\"\n            ]\n        }\n    },\n    \"resource\": {\n        \"type\": \"registration\"\n    },\n    \"error_summary\": {\n        \"message\": \"body validation failed\",\n        \"code\": \"validation_error\",\n        \"details\": {\n            \"path\": \"name\",\n            \"messages\": [\n                \"name should not be empty\"\n            ]\n        }\n    }\n}"},{"id":"3d7aec57-7344-4fd4-9848-8272dafff22c","name":"registration error","originalRequest":{"method":"PUT","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"SRC Registration\",\n    \"mode\": \"test\",\n    \"group\": \"src\",\n    \"type\": \"MastercardSRC\",\n    \"merchant_data\": {\n        \"company_name\": \"CompanyName123456\",\n        \"url\": \"https://www.paydock.com\",\n        \"country_code\": \"AU\"\n    },\n    \"src_options\": {\n        \"supported_card_schemes\": [\n            \"MASTERCARD\",\n            \"VISA\",\n            \"DISCOVER\",\n            \"AMEX\"\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/registrations/:id","host":["{{url}}"],"path":["v1","registrations",":id"],"variable":[{"key":"id","value":"65e99c87586f8714510b5c2f"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Update registration failed\",\n        \"code\": \"INVALID_ARGUMENT\",\n        \"details\": {\n            \"path\": \"\",\n            \"messages\": [],\n            \"status_code\": \"INVALID_ARGUMENT\",\n            \"status_code_description\": \"SOD123: Existing DPA request is still IN-PROGRESS, new request prohibited\"\n        }\n    },\n    \"resource\": {\n        \"data\": {\n            \"_id\": \"65e99c87586f8714510b5c2f\",\n            \"name\": \"Click to Pay Registration\",\n            \"group\": \"click_to_pay\",\n            \"type\": \"ClickToPay\",\n            \"mode\": \"test\",\n            \"status\": \"completed\",\n            \"company_id\": \"6308bccfb150df6d264ff8bd\",\n            \"external_id\": \"2ce353cc-0de1-4393-a9d4-7327b98d2133\",\n            \"_3ds_options\": {},\n            \"created_at\": \"2024-03-07T10:52:55.425Z\",\n            \"updated_at\": \"2024-03-07T11:09:00.477Z\",\n            \"transactions\": [\n                {\n                    \"_id\": \"65e99c87586f8714510b5c30\",\n                    \"external_id\": \"7754d78c-6c7e-411c-a41b-5c2ddfcdeb90\",\n                    \"type\": \"create\",\n                    \"status\": \"success\",\n                    \"created_at\": \"2024-03-07T10:52:55.425Z\",\n                    \"updated_at\": \"2024-03-07T10:52:55.425Z\",\n                    \"service_logs\": [\n                        {\n                            \"req\": {\n                                \"body\": \"{\\\"dpas\\\":[{\\\"dpaData\\\":{\\\"dpaName\\\":\\\"CompanyName123456\\\",\\\"dpaUri\\\":\\\"https://www.paydock.com\\\",\\\"dpaAddress\\\":{}},\\\"supportedCardBrands\\\":[\\\"MASTERCARD\\\",\\\"VISA\\\",\\\"DISCOVER\\\",\\\"AMEX\\\"],\\\"debitTokenRequested\\\":false,\\\"merchantCountryCode\\\":\\\"AU\\\",\\\"threeDSDefaultdata\\\":{}}]}\",\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            },\n                            \"response_body\": {\n                                \"body\": \"{\\\"dpaResults\\\":[{\\\"srciDpaId\\\":\\\"2ce353cc-0de1-4393-a9d4-7327b98d2133\\\",\\\"status\\\":\\\"SUCCESSFUL\\\",\\\"dpaName\\\":\\\"CompanyName123456\\\",\\\"error\\\":null}]}\",\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            }\n                        }\n                    ]\n                },\n                {\n                    \"_id\": \"65e9a04c586f8714510b5d68\",\n                    \"external_id\": \"27cd8343-ad35-4c34-940c-3ea15fc8cddb\",\n                    \"type\": \"update\",\n                    \"status\": \"failed\",\n                    \"created_at\": \"2024-03-07T11:09:00.477Z\",\n                    \"error_message\": \"SOD123: Existing DPA request is still IN-PROGRESS, new request prohibited\",\n                    \"updated_at\": \"2024-03-07T11:09:00.477Z\",\n                    \"error_code\": \"INVALID_ARGUMENT\",\n                    \"service_logs\": [\n                        {\n                            \"req\": {\n                                \"body\": \"{\\\"dpa\\\":{\\\"dpaData\\\":{\\\"dpaName\\\":\\\"CompanyName123456\\\",\\\"dpaUri\\\":\\\"https://www.paydock.com\\\",\\\"originDomains\\\":[],\\\"dpaAddress\\\":{}},\\\"supportedCardBrands\\\":[\\\"MASTERCARD\\\",\\\"VISA\\\",\\\"DISCOVER\\\",\\\"AMEX\\\"],\\\"debitTokenRequested\\\":false,\\\"merchantCountryCode\\\":\\\"AU\\\",\\\"merchantCategoryCodes\\\":[],\\\"supportedCheckoutTypes\\\":[],\\\"threeDSDefaultdata\\\":{}}}\",\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            },\n                            \"response_body\": {\n                                \"body\": \"{\\\"status\\\":400,\\\"reason\\\":\\\"INVALID_ARGUMENT\\\",\\\"message\\\":\\\"SOD123: Existing DPA request is still IN-PROGRESS, new request prohibited\\\",\\\"details\\\":[{\\\"reason\\\":\\\"INVALID_VALUE\\\",\\\"message\\\":\\\"SOD123: Existing DPA request is still IN-PROGRESS, new request prohibited\\\",\\\"sourceType\\\":\\\"BODY\\\",\\\"source\\\":\\\"DpaDetailsValidator\\\"}],\\\"errordetail\\\":[{\\\"reason\\\":\\\"INVALID_VALUE\\\",\\\"message\\\":\\\"SOD123: Existing DPA request is still IN-PROGRESS, new request prohibited\\\",\\\"sourceType\\\":\\\"BODY\\\",\\\"source\\\":\\\"DpaDetailsValidator\\\"}]}\",\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            }\n                        }\n                    ]\n                }\n            ],\n            \"acquirer_data\": {},\n            \"src_options\": {\n                \"supported_card_schemes\": [\n                    \"MASTERCARD\",\n                    \"VISA\",\n                    \"DISCOVER\",\n                    \"AMEX\"\n                ],\n                \"tokenization\": false,\n                \"supported_checkouts\": []\n            },\n            \"merchant_data\": {\n                \"origin_domains\": [],\n                \"merchant_category_codes\": [],\n                \"company_name\": \"CompanyName123456\",\n                \"url\": \"https://www.paydock.com\",\n                \"country_code\": \"AU\"\n            }\n        },\n        \"type\": \"registration\"\n    },\n    \"error_summary\": {\n        \"message\": \"Update registration failed\",\n        \"code\": \"invalid_argument\",\n        \"details\": {\n            \"messages\": []\n        }\n    }\n}"}],"_postman_id":"a13500e1-55b6-49a4-a14c-895d28c35b9f"},{"name":"modify (MastercardSCOF)","id":"a6fe8537-4fbd-4ede-861e-fe6fdf4a21a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"<p>This is your PayDock API Secret Key</p>\n"},{"key":"Content-Type","value":"application/json","description":"<p>Content-Type will always be application/json</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"NT Registration test-243\",\n    \"mode\": \"test\",\n    \"merchant_data\": {\n        \"display_name\": \"Test-299_UPDATED\",\n        \"logo_url\": \"https://example.com/ecom-online-ltd/updated.html\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/registrations/:id","description":"<p>Update a MastercardSCOF registration by ID.</p>\n<p>A limited number of MastercardSCOF registration fields can be changed using the Modify action. These are <code>merchant_data.display_name, program_name,</code> enable_vault_updates, <code>merchant_data.logo_url, merchant_data.debit_token_requested, merchant_data.merchant_category_codes</code> and <code>acquirers_data.</code></p>\n<p><strong>Request parameters</strong></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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>A registration ID received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","registrations",":id"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"65e99c87586f8714510b5c2f","key":"id"}]}},"response":[{"id":"e232c8be-c205-4ae4-9e76-d005f887cbb2","name":"modify success","originalRequest":{"method":"PUT","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"NT Registration test-867\",\n    \"mode\": \"test\",\n    \"enable_vault_updates\": true,\n    \"merchant_data\": {\n        \"display_name\": \"Test-748_UPDATED\",\n        \"logo_url\": \"https://example.com/ecom-online-ltd/updated.html\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/registrations/:id","host":["{{url}}"],"path":["v1","registrations",":id"],"variable":[{"key":"id","value":"65e99c87586f8714510b5c2f"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"registration\",\n        \"data\": {\n            \"_id\": \"66bf0daa8828b593f106a8e9\",\n            \"name\": \"NT Registration test-881\",\n            \"group\": \"network_token\",\n            \"type\": \"MastercardSCOF\",\n            \"mode\": \"test\",\n            \"status\": \"pending\",\n            \"enable_vault_updates\": true,\n            \"company_id\": \"66bc7353e1ebcc425ca2fbb4\",\n            \"external_id\": \"df7b55eb-96b2-4fcf-8391-3d6c2d1742ed\",\n            \"created_at\": \"2024-08-16T08:28:26.014Z\",\n            \"updated_at\": \"2024-08-16T08:31:59.140Z\",\n            \"transactions\": [\n                {\n                    \"_id\": \"66bf0daa8828b593f106a8ea\",\n                    \"external_id\": \"295c64c0-4698-479a-a15d-2893edf440b9\",\n                    \"type\": \"create\",\n                    \"status\": \"pending\",\n                    \"created_at\": \"2024-08-16T08:28:26.014Z\",\n                    \"updated_at\": \"2024-08-16T08:28:26.014Z\",\n                    \"service_logs\": [\n                        {\n                            \"req\": {\n                                \"body\": \"{\\\"requestId\\\":\\\"45ffb2ad-adb0-431e-b542-1a66414880d9\\\",\\\"items\\\":[{\\\"action\\\":\\\"ADD\\\",\\\"programType\\\":\\\"SECURE_COF_MERCHANT_OBO\\\",\\\"programName\\\":\\\"Test program_name - 155\\\",\\\"customerId\\\":\\\"66bc7353e1ebcc425ca2fbb4\\\",\\\"dpas\\\":[{\\\"srcDpaId\\\":\\\"df7b55eb-96b2-4fcf-8391-3d6c2d1742ed\\\",\\\"hasAcquirerRelationship\\\":\\\"N\\\",\\\"debitTokenRequested\\\":true,\\\"dpaData\\\":{\\\"dpaAddress\\\":{}}}]}]}\",\n                                \"format\": \"json\",\n                                \"headers\": \"{\\\"correlation-id\\\":\\\"3763c8b3-11a1-4b7b-b7e2-10503e1a7f69\\\"}\"\n                            },\n                            \"response_body\": {\n                                \"body\": \"{\\\"batchId\\\":\\\"295c64c0-4698-479a-a15d-2893edf440b9\\\"}\",\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            }\n                        }\n                    ]\n                },\n                {\n                    \"_id\": \"66bf0e7f8828b593f106a913\",\n                    \"external_id\": \"c366321f-83c9-4ba8-b54f-349fd385e286\",\n                    \"type\": \"update\",\n                    \"status\": \"pending\",\n                    \"created_at\": \"2024-08-16T08:31:59.102Z\",\n                    \"updated_at\": \"2024-08-16T08:31:59.102Z\",\n                    \"service_logs\": [\n                        {\n                            \"req\": {\n                                \"body\": \"{\\\"items\\\":[{\\\"action\\\":\\\"UPDATE\\\",\\\"programType\\\":\\\"SECURE_COF_MERCHANT_OBO\\\",\\\"programName\\\":\\\"Test program_name - 155\\\",\\\"customerId\\\":\\\"66bc7353e1ebcc425ca2fbb4\\\",\\\"dpas\\\":[{\\\"srcDpaId\\\":\\\"df7b55eb-96b2-4fcf-8391-3d6c2d1742ed\\\",\\\"hasAcquirerRelationship\\\":\\\"N\\\",\\\"debitTokenRequested\\\":true,\\\"dpaData\\\":{\\\"dpaAddress\\\":{},\\\"dpaLogoUri\\\":\\\"https://example.com/ecom-online-ltd/updated.html\\\",\\\"dpaPresentationName\\\":\\\"Test-104_UPDATED\\\"},\\\"merchantCategoryCodes\\\":[]}]}]}\",\n                                \"format\": \"json\",\n                                \"headers\": \"{\\\"correlation-id\\\":\\\"5c87580d-4dcf-4cbc-a92c-a4fcc9fb4f74\\\"}\"\n                            },\n                            \"response_body\": {\n                                \"body\": \"{\\\"batchId\\\":\\\"c366321f-83c9-4ba8-b54f-349fd385e286\\\"}\",\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            }\n                        }\n                    ]\n                }\n            ],\n            \"merchant_data\": {\n                \"display_name\": \"Test-104_UPDATED\",\n                \"merchant_category_codes\": [],\n                \"logo_url\": \"https://example.com/ecom-online-ltd/updated.html\"\n            },\n            \"program_name\": \"Test program_name - 155\",\n            \"acquirers_data\": []\n        }\n    }\n}"},{"id":"2527545e-7b3c-4246-b470-a519878cfa82","name":"not found error","originalRequest":{"method":"PUT","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"NT Registration test-606\",\n    \"mode\": \"\",\n    \"merchant_data\": {\n        \"display_name\": \"Test-840_UPDATED\",\n        \"logo_url\": \"https://example.com/ecom-online-ltd/updated.html\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/registrations/:id","host":["{{url}}"],"path":["v1","registrations",":id"],"variable":[{"key":"id","value":"65e99c87586f8714510b5c2"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 404,\n    \"error\": {\n        \"message\": \"Not found\",\n        \"code\": \"NotFound\",\n        \"details\": {\n            \"path\": \"\",\n            \"messages\": []\n        }\n    },\n    \"resource\": {\n        \"type\": \"registration\"\n    },\n    \"error_summary\": {\n        \"message\": \"Not found\",\n        \"code\": \"not_found\",\n        \"details\": {\n            \"messages\": []\n        }\n    }\n}"},{"id":"2336bc2b-bf98-461a-ac97-d84e111a9a7d","name":"validation error","originalRequest":{"method":"PUT","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"NT Registration test-635\",\n    \"mode\": \"\",\n    \"merchant_data\": {\n        \"display_name\": \"Test-1000_UPDATED\",\n        \"logo_url\": \"https://example.com/ecom-online-ltd/updated.html\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/registrations/:id","host":["{{url}}"],"path":["v1","registrations",":id"],"variable":[{"key":"id","value":"65e99c87586f8714510b5c2f"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"body validation failed\",\n        \"code\": \"ValidationError\",\n        \"details\": {\n            \"path\": \"mode\",\n            \"messages\": [\n                \"mode must be a valid enum value\"\n            ]\n        }\n    },\n    \"resource\": {\n        \"type\": \"registration\"\n    },\n    \"error_summary\": {\n        \"message\": \"body validation failed\",\n        \"code\": \"validation_error\",\n        \"details\": {\n            \"path\": \"mode\",\n            \"messages\": [\n                \"mode must be a valid enum value\"\n            ]\n        }\n    }\n}"},{"id":"202dde01-a653-44fe-a0d4-972b9f303778","name":"registration error","originalRequest":{"method":"PUT","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"NT Registration test-222\",\n    \"mode\": \"test\",\n    \"merchant_data\": {\n        \"display_name\": \"Test-613_UPDATED Test-173_UPDATED Test-140_UPDATED Test-401_UPDATED Test-323_UPDATED Test-45_UPDATED Test-746_UPDATED Test-662_UPDATED Test-599_UPDATED Test-956_UPDATED Test-908_UPDATED Test-39_UPDATED Test-979_UPDATED Test-902_UPDATED Test-469_UPDATED Test-295_UPDATED Test-162_UPDATED Test-609_UPDATED Test-322_UPDATED Test-193_UPDATED Test-701_UPDATED Test-631_UPDATED Test-335_UPDATED Test-13_UPDATED Test-962_UPDATED Test-387_UPDATED\",\n        \"logo_url\": \"https://example.com/ecom-online-ltd/updated.html\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/registrations/:id","host":["{{url}}"],"path":["v1","registrations",":id"],"variable":[{"key":"id","value":"65e99c87586f8714510b5c2f"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Invalid Request Details\",\n        \"code\": \"invalid_request_details\",\n        \"details\": {\n            \"path\": \"\",\n            \"messages\": [\n                {\n                    \"gateway_specific_code\": \"INVALID_ARGUMENT\",\n                    \"gateway_specific_description\": \"size must be between 0 and 255 (items[0].dpas[0].dpaData.dpaPresentationName)\",\n                    \"description\": \"Invalid Request Details\",\n                    \"status_code\": \"400\",\n                    \"status_code_description\": null\n                }\n            ]\n        }\n    },\n    \"resource\": {\n        \"data\": {\n            \"_id\": \"66be008e7ddd840539d93003\",\n            \"name\": \"NT Registration test-618\",\n            \"group\": \"network_token\",\n            \"type\": \"MastercardSCOF\",\n            \"mode\": \"test\",\n            \"status\": \"completed\",\n            \"company_id\": \"65cccde52cad2f1b64e7947e\",\n            \"external_id\": \"ee85a54a-697a-42ee-bfd1-af414087b708\",\n            \"created_at\": \"2024-08-15T13:20:14.612Z\",\n            \"updated_at\": \"2024-08-20T16:13:34.581Z\",\n            \"transactions\": [\n                {\n                    \"_id\": \"66be008e7ddd840539d93004\",\n                    \"external_id\": \"06895835-52ef-4759-b458-91a050cdb7eb\",\n                    \"type\": \"create\",\n                    \"status\": \"success\",\n                    \"created_at\": \"2024-08-15T13:20:14.611Z\",\n                    \"updated_at\": \"2024-08-15T13:20:48.631Z\",\n                    \"service_logs\": []\n                },\n                {\n                    \"_id\": \"66be00b07ddd840539d9300e\",\n                    \"type\": \"status_update\",\n                    \"status\": \"success\",\n                    \"created_at\": \"2024-08-15T13:20:48.617Z\",\n                    \"updated_at\": \"2024-08-15T13:20:48.617Z\",\n                    \"service_logs\": []\n                },\n                {\n                    \"_id\": \"66be01487ddd840539d93021\",\n                    \"type\": \"status_update\",\n                    \"status\": \"success\",\n                    \"created_at\": \"2024-08-15T13:23:20.421Z\",\n                    \"updated_at\": \"2024-08-15T13:23:20.421Z\",\n                    \"service_logs\": []\n                },\n                {\n                    \"_id\": \"66c4bff46cf2a4024dc1ab8b\",\n                    \"external_id\": \"51fe4800-c4de-4daf-9307-bf1702fa7c3f\",\n                    \"type\": \"update\",\n                    \"status\": \"pending\",\n                    \"created_at\": \"2024-08-20T16:10:28.505Z\",\n                    \"updated_at\": \"2024-08-20T16:10:28.505Z\",\n                    \"service_logs\": []\n                },\n                {\n                    \"_id\": \"66c4c0ae6cf2a4024dc1ad14\",\n                    \"external_id\": \"3a513e8b-5bc5-44af-a7d3-fc1ab4c649d0\",\n                    \"type\": \"update\",\n                    \"status\": \"pending\",\n                    \"created_at\": \"2024-08-20T16:13:34.552Z\",\n                    \"updated_at\": \"2024-08-20T16:13:34.552Z\",\n                    \"service_logs\": []\n                }\n            ],\n            \"merchant_data\": {\n                \"display_name\": \"Test-666_UPDATED Test-73_UPDATED Test-761_UPDATED Test-91_UPDATED Test-227_UPDATED Test-310_UPDATED Test-313_UPDATED Test-980_UPDATED Test-118_UPDATED Test-286_UPDATED Test-374_UPDATED Test-593_UPDATED Test-708_UPDATED\",\n                \"merchant_category_codes\": [],\n                \"contact\": {},\n                \"debit_token_requested\": false,\n                \"has_acquirer_relationship\": \"N\",\n                \"logo_url\": \"https://example.com/ecom-online-ltd/updated.html\"\n            },\n            \"service_id\": \"SECURE_COF_MERCHANT_OBO#PAYDOCK_SCOF-DPA_56068_PROGRAM_NAME100#01\",\n            \"program_name\": \"Messy LDD TD\",\n            \"acquirers_data\": []\n        },\n        \"type\": \"registration\"\n    },\n    \"error_summary\": {\n        \"message\": \"Invalid Request Details\",\n        \"code\": \"invalid_request_details\",\n        \"details\": {\n            \"messages\": [\n                {\n                    \"gateway_specific_code\": \"INVALID_ARGUMENT\",\n                    \"gateway_specific_description\": \"size must be between 0 and 255 (items[0].dpas[0].dpaData.dpaPresentationName)\",\n                    \"description\": \"Invalid Request Details\",\n                    \"status_code\": \"400\",\n                    \"status_code_description\": null\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"a6fe8537-4fbd-4ede-861e-fe6fdf4a21a0"},{"name":"modify (VisaVTS)","id":"8601b10c-0aa3-419b-b76c-9571e8941ac1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"<p>This is your PayDock API Secret Key</p>\n"},{"key":"Content-Type","value":"application/json","description":"<p>Content-Type will always be application/json</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"NT Registration test-46\",\n    \"enable_vault_updates\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/registrations/:id","description":"<p>Update a VisaVTS registration by ID.</p>\n<p>A limited number of VisaVTS registration fields can be changed using the Modify action. These are<code>name and</code> enable_vault_updates<code>.</code></p>\n<p><strong>Request parameters</strong></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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>A registration ID received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","registrations",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"a4513776-5faa-4fc6-8e71-b37d44395cf4","type":"any","value":"65e99c87586f8714510b5c2f","key":"id"}]}},"response":[{"id":"071645eb-402d-41c0-b891-7cd3476e29ce","name":"modify success","originalRequest":{"method":"PUT","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"NT Registration test-163\",\n    \"enable_vault_updates\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/registrations/:id","host":["{{url}}"],"path":["v1","registrations",":id"],"variable":[{"key":"id","value":"65e99c87586f8714510b5c2f"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"registration\",\n        \"data\": {\n            \"_id\": \"66bf0daa8828b593f106a8e9\",\n            \"name\": \"NT Registration test-881\",\n            \"group\": \"network_token\",\n            \"type\": \"MastercardSCOF\",\n            \"mode\": \"test\",\n            \"status\": \"pending\",\n            \"enable_vault_updates\": true,\n            \"company_id\": \"66bc7353e1ebcc425ca2fbb4\",\n            \"external_id\": \"df7b55eb-96b2-4fcf-8391-3d6c2d1742ed\",\n            \"created_at\": \"2024-08-16T08:28:26.014Z\",\n            \"updated_at\": \"2024-08-16T08:31:59.140Z\",\n            \"transactions\": [\n                {\n                    \"_id\": \"66bf0daa8828b593f106a8ea\",\n                    \"external_id\": \"295c64c0-4698-479a-a15d-2893edf440b9\",\n                    \"type\": \"create\",\n                    \"status\": \"pending\",\n                    \"created_at\": \"2024-08-16T08:28:26.014Z\",\n                    \"updated_at\": \"2024-08-16T08:28:26.014Z\",\n                    \"service_logs\": [\n                        {\n                            \"req\": {\n                                \"body\": \"{\\\"requestId\\\":\\\"45ffb2ad-adb0-431e-b542-1a66414880d9\\\",\\\"items\\\":[{\\\"action\\\":\\\"ADD\\\",\\\"programType\\\":\\\"SECURE_COF_MERCHANT_OBO\\\",\\\"programName\\\":\\\"Test program_name - 155\\\",\\\"customerId\\\":\\\"66bc7353e1ebcc425ca2fbb4\\\",\\\"dpas\\\":[{\\\"srcDpaId\\\":\\\"df7b55eb-96b2-4fcf-8391-3d6c2d1742ed\\\",\\\"hasAcquirerRelationship\\\":\\\"N\\\",\\\"debitTokenRequested\\\":true,\\\"dpaData\\\":{\\\"dpaAddress\\\":{}}}]}]}\",\n                                \"format\": \"json\",\n                                \"headers\": \"{\\\"correlation-id\\\":\\\"3763c8b3-11a1-4b7b-b7e2-10503e1a7f69\\\"}\"\n                            },\n                            \"response_body\": {\n                                \"body\": \"{\\\"batchId\\\":\\\"295c64c0-4698-479a-a15d-2893edf440b9\\\"}\",\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            }\n                        }\n                    ]\n                },\n                {\n                    \"_id\": \"66bf0e7f8828b593f106a913\",\n                    \"external_id\": \"c366321f-83c9-4ba8-b54f-349fd385e286\",\n                    \"type\": \"update\",\n                    \"status\": \"pending\",\n                    \"created_at\": \"2024-08-16T08:31:59.102Z\",\n                    \"updated_at\": \"2024-08-16T08:31:59.102Z\",\n                    \"service_logs\": [\n                        {\n                            \"req\": {\n                                \"body\": \"{\\\"items\\\":[{\\\"action\\\":\\\"UPDATE\\\",\\\"programType\\\":\\\"SECURE_COF_MERCHANT_OBO\\\",\\\"programName\\\":\\\"Test program_name - 155\\\",\\\"customerId\\\":\\\"66bc7353e1ebcc425ca2fbb4\\\",\\\"dpas\\\":[{\\\"srcDpaId\\\":\\\"df7b55eb-96b2-4fcf-8391-3d6c2d1742ed\\\",\\\"hasAcquirerRelationship\\\":\\\"N\\\",\\\"debitTokenRequested\\\":true,\\\"dpaData\\\":{\\\"dpaAddress\\\":{},\\\"dpaLogoUri\\\":\\\"https://example.com/ecom-online-ltd/updated.html\\\",\\\"dpaPresentationName\\\":\\\"Test-104_UPDATED\\\"},\\\"merchantCategoryCodes\\\":[]}]}]}\",\n                                \"format\": \"json\",\n                                \"headers\": \"{\\\"correlation-id\\\":\\\"5c87580d-4dcf-4cbc-a92c-a4fcc9fb4f74\\\"}\"\n                            },\n                            \"response_body\": {\n                                \"body\": \"{\\\"batchId\\\":\\\"c366321f-83c9-4ba8-b54f-349fd385e286\\\"}\",\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            }\n                        }\n                    ]\n                }\n            ],\n            \"merchant_data\": {\n                \"display_name\": \"Test-104_UPDATED\",\n                \"merchant_category_codes\": [],\n                \"logo_url\": \"https://example.com/ecom-online-ltd/updated.html\"\n            },\n            \"program_name\": \"Test program_name - 155\",\n            \"acquirers_data\": []\n        }\n    }\n}"},{"id":"57665ef3-1f1f-471c-9ce6-f233ac0e8748","name":"not found error","originalRequest":{"method":"PUT","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"NT Registration test-881\",\n    \"enable_vault_updates\": true\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/registrations/:id","host":["{{url}}"],"path":["v1","registrations",":id"],"variable":[{"key":"id","value":"65e99c87586f8714510b5c2"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 404,\n    \"error\": {\n        \"message\": \"Not found\",\n        \"code\": \"NotFound\",\n        \"details\": {\n            \"path\": \"\",\n            \"messages\": []\n        }\n    },\n    \"resource\": {\n        \"type\": \"registration\"\n    },\n    \"error_summary\": {\n        \"message\": \"Not found\",\n        \"code\": \"not_found\",\n        \"details\": {\n            \"messages\": []\n        }\n    }\n}"},{"id":"723eb766-96dd-41f9-ac6e-fa43dec136c4","name":"validation error","originalRequest":{"method":"PUT","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"NT Registration test-749\",\n    \"enable_vault_updates\": \"on\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/registrations/:id","host":["{{url}}"],"path":["v1","registrations",":id"],"variable":[{"key":"id","value":"65e99c87586f8714510b5c2f"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"body validation failed\",\n        \"code\": \"ValidationError\",\n        \"details\": {\n            \"path\": \"enable_vault_updates\",\n            \"messages\": [\n                \"enable_vault_updates must be a boolean\"\n            ]\n        }\n    },\n    \"resource\": {\n        \"type\": \"registration\"\n    },\n    \"error_summary\": {\n        \"message\": \"body validation failed\",\n        \"code\": \"validation_error\",\n        \"details\": {\n            \"path\": \"enable_vault_updates\",\n            \"messages\": [\n                \"enable_vault_updates must be a boolean\"\n            ]\n        }\n    }\n}"}],"_postman_id":"8601b10c-0aa3-419b-b76c-9571e8941ac1"},{"name":"revoke","id":"ffcd4a5d-1e0f-40c0-bbfd-449132d2f59c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"<p>This is your PayDock API Secret Key</p>\n"},{"key":"Content-Type","value":"application/json","description":"<p>Content-Type will always be application/json</p>\n"}],"url":"{{url}}/v1/registrations/:id/revoke","description":"<p>Revoke a specific registration by ID. Once revoked, the registration will be permanently removed from both the Paydock list and from the scheme system. This action can't be undone.</p>\n<h2 id=\"request-parameters\">Request parameters</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>A registration ID received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","registrations",":id","revoke"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"65e99c87586f8714510b5c2f","key":"id"}]}},"response":[{"id":"f77e8291-c8b3-44f9-8cb0-4c60ad07565c","name":"revoke success","originalRequest":{"method":"DELETE","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"url":{"raw":"{{url}}/v1/registrations/:id/revoke","host":["{{url}}"],"path":["v1","registrations",":id","revoke"],"variable":[{"key":"id","value":"65e99c87586f8714510b5c2f"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"registration\",\n        \"data\": {\n            \"_id\": \"65e99c87586f8714510b5c2f\",\n            \"name\": \"Click to Pay Registration\",\n            \"group\": \"click_to_pay\",\n            \"type\": \"ClickToPay\",\n            \"mode\": \"test\",\n            \"status\": \"revoked\",\n            \"company_id\": \"6308bccfb150df6d264ff8bd\",\n            \"external_id\": \"2ce353cc-0de1-4393-a9d4-7327b98d2133\",\n            \"_3ds_options\": {},\n            \"archived_at\": \"2024-03-07T11:15:13.345Z\",\n            \"created_at\": \"2024-03-07T10:52:55.425Z\",\n            \"updated_at\": \"2024-03-07T11:15:13.350Z\",\n            \"transactions\": [\n                {\n                    \"_id\": \"65e99c87586f8714510b5c30\",\n                    \"external_id\": \"7754d78c-6c7e-411c-a41b-5c2ddfcdeb90\",\n                    \"type\": \"create\",\n                    \"status\": \"success\",\n                    \"created_at\": \"2024-03-07T10:52:55.425Z\",\n                    \"updated_at\": \"2024-03-07T10:52:55.425Z\",\n                    \"service_logs\": [\n                        {\n                            \"req\": {\n                                \"body\": \"{\\\"dpas\\\":[{\\\"dpaData\\\":{\\\"dpaName\\\":\\\"CompanyName123456\\\",\\\"dpaUri\\\":\\\"https://www.paydock.com\\\",\\\"dpaAddress\\\":{}},\\\"supportedCardBrands\\\":[\\\"MASTERCARD\\\",\\\"VISA\\\",\\\"DISCOVER\\\",\\\"AMEX\\\"],\\\"debitTokenRequested\\\":false,\\\"merchantCountryCode\\\":\\\"AU\\\",\\\"threeDSDefaultdata\\\":{}}]}\",\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            },\n                            \"response_body\": {\n                                \"body\": \"{\\\"dpaResults\\\":[{\\\"srciDpaId\\\":\\\"2ce353cc-0de1-4393-a9d4-7327b98d2133\\\",\\\"status\\\":\\\"SUCCESSFUL\\\",\\\"dpaName\\\":\\\"CompanyName123456\\\",\\\"error\\\":null}]}\",\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            }\n                        }\n                    ]\n                },\n                {\n                    \"_id\": \"65e9a1c1586f8714510b5d9b\",\n                    \"external_id\": \"5983985a-7a55-4cae-8d85-bc8778e2589d\",\n                    \"type\": \"delete\",\n                    \"status\": \"success\",\n                    \"created_at\": \"2024-03-07T11:15:13.327Z\",\n                    \"updated_at\": \"2024-03-07T11:15:13.327Z\",\n                    \"service_logs\": [\n                        {\n                            \"req\": {\n                                \"body\": \"{}\",\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            },\n                            \"response_body\": {\n                                \"body\": null,\n                                \"format\": \"json\",\n                                \"headers\": \"null\"\n                            }\n                        }\n                    ]\n                }\n            ],\n            \"acquirer_data\": {},\n            \"src_options\": {\n                \"supported_card_schemes\": [\n                    \"MASTERCARD\",\n                    \"VISA\",\n                    \"DISCOVER\",\n                    \"AMEX\"\n                ],\n                \"tokenization\": false,\n                \"supported_checkouts\": []\n            },\n            \"merchant_data\": {\n                \"origin_domains\": [],\n                \"merchant_category_codes\": [],\n                \"company_name\": \"CompanyName123456\",\n                \"url\": \"https://www.paydock.com\",\n                \"country_code\": \"AU\"\n            }\n        }\n    }\n}"},{"id":"45bfdf39-32ac-4713-a818-5dbd22c8ec80","name":"revoke error","originalRequest":{"method":"DELETE","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"url":{"raw":"{{url}}/v1/registrations/:id/revoke","host":["{{url}}"],"path":["v1","registrations",":id","revoke"],"variable":[{"key":"id","value":"65e99c87586f8714510b5c2f"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Revoke registration failed\",\n        \"code\": \"INVALID_ARGUMENT\",\n        \"details\": {\n            \"path\": \"\",\n            \"messages\": [],\n            \"status_code\": \"INVALID_ARGUMENT\",\n            \"status_code_description\": \"SOD123: Existing DPA request is still IN-PROGRESS, new request prohibited\"\n        }\n    },\n    \"resource\": {\n        \"data\": {\n            \"_id\": \"65e9a27b586f8714510b5dc5\",\n            \"name\": \"Click to Pay Registration\",\n            \"group\": \"click_to_pay\",\n            \"type\": \"ClickToPay\",\n            \"mode\": \"test\",\n            \"status\": \"completed\",\n            \"company_id\": \"6308bccfb150df6d264ff8bd\",\n            \"external_id\": \"0715470b-2be5-4520-b488-5e3a5d7beb05\",\n            \"_3ds_options\": {},\n            \"created_at\": \"2024-03-07T11:18:19.560Z\",\n            \"updated_at\": \"2024-03-07T11:18:19.560Z\",\n            \"transactions\": [\n                {\n                    \"_id\": \"65e9a27b586f8714510b5dc6\",\n                    \"external_id\": \"2f6204d7-23f3-4460-8841-18a3933bf158\",\n                    \"type\": \"create\",\n                    \"status\": \"success\",\n                    \"created_at\": \"2024-03-07T11:18:19.560Z\",\n                    \"updated_at\": \"2024-03-07T11:18:19.560Z\",\n                    \"service_logs\": []\n                }\n            ],\n            \"acquirer_data\": {},\n            \"src_options\": {\n                \"supported_card_schemes\": [\n                    \"MASTERCARD\",\n                    \"VISA\",\n                    \"DISCOVER\",\n                    \"AMEX\"\n                ],\n                \"tokenization\": false,\n                \"supported_checkouts\": []\n            },\n            \"merchant_data\": {\n                \"origin_domains\": [],\n                \"merchant_category_codes\": [],\n                \"company_name\": \"CompanyName123457\",\n                \"url\": \"https://www.paydock.com\",\n                \"country_code\": \"AU\"\n            }\n        },\n        \"type\": \"registration\"\n    },\n    \"error_summary\": {\n        \"message\": \"Revoke registration failed\",\n        \"code\": \"invalid_argument\",\n        \"details\": {\n            \"messages\": []\n        }\n    }\n}"}],"_postman_id":"ffcd4a5d-1e0f-40c0-bbfd-449132d2f59c"},{"name":"delete","id":"4a863802-d126-4dc4-88ed-41181c078ef1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"<p>This is your PayDock API Secret Key</p>\n"},{"key":"Content-Type","value":"application/json","description":"<p>Content-Type will always be application/json</p>\n"}],"url":"{{url}}/v1/registrations/:id","description":"<p>Delete a specific registration by ID. Registration will be deleted only from the Paydock and will remain active on the scheme side.</p>\n<h2 id=\"request-parameters\">Request parameters</h2>\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>id</td>\n<td>+</td>\n<td>string (24 hex characters)</td>\n<td>A registration ID received at the creation stage</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","registrations",":id"],"host":["{{url}}"],"query":[],"variable":[{"id":"9d7ba22f-b4b0-4588-9d6e-c6d74f947e1d","type":"any","value":"66bb2affc8bd6a579bde8006","key":"id"}]}},"response":[{"id":"56c51597-ad03-4f3d-96b3-b5f47aa3c92c","name":"delete success","originalRequest":{"method":"DELETE","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"url":{"raw":"{{url}}/v1/registrations/:id","host":["{{url}}"],"path":["v1","registrations",":id"],"variable":[{"key":"id","value":"66bb2affc8bd6a579bde8006"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"registration\",\n        \"data\": {\n            \"_id\": \"66bb2affc8bd6a579bde8006\",\n            \"name\": \"FTB Visa NT Registration - 9718\",\n            \"group\": \"network_token\",\n            \"type\": \"VisaVTS\",\n            \"mode\": \"test\",\n            \"status\": \"archived\",\n            \"company_id\": \"65cccde52cad2f1b64e7947e\",\n            \"external_id\": \"6ba234cb-0b01-48a0-86be-01dae8554bdd\",\n            \"archived_at\": \"2024-08-13T09:44:49.421Z\",\n            \"created_at\": \"2024-08-13T09:44:31.806Z\",\n            \"updated_at\": \"2024-08-13T09:44:49.423Z\",\n            \"transactions\": [\n                {\n                    \"_id\": \"66bb2affc8bd6a579bde8007\",\n                    \"external_id\": \"6ba234cb-0b01-48a0-86be-01dae8554bdd\",\n                    \"type\": \"create\",\n                    \"status\": \"success\",\n                    \"created_at\": \"2024-08-13T09:44:31.805Z\",\n                    \"updated_at\": \"2024-08-13T09:44:31.805Z\",\n                    \"service_logs\": []\n                }\n            ],\n            \"merchant_data\": {\n                \"company_name\": \"Test Braun and Sons - Inc\",\n                \"display_name\": \"Test 490804\",\n                \"url\": \"https://madisyn.name\",\n                \"address_line1\": \"Cnr Bridge St\",\n                \"address_line2\": \"APT 474, Floor 62381\",\n                \"address_city\": \"Sydney\",\n                \"address_country\": \"AU\",\n                \"country_code\": \"AU\",\n                \"address_name\": \"Kshlerin - Howell HQ\",\n                \"address_state\": \"NSW\",\n                \"address_postcode\": \"2000\",\n                \"merchant_category_codes\": [],\n                \"business_identification_type\": \"ABN\",\n                \"business_identification_value\": \"56431650880\",\n                \"contact\": {\n                    \"email\": \"mavis87@hotmail.com\",\n                    \"first_name\": \"Alford\",\n                    \"last_name\": \"Streich\"\n                },\n                \"token_requestor_id\": \"40000000061\"\n            },\n            \"acquirers_data\": []\n        }\n    }\n}"},{"id":"6fabce63-e632-4944-95a0-09ab2d28a51c","name":"delete error","originalRequest":{"method":"DELETE","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PayDock API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"url":{"raw":"{{url}}/v1/registrations/:id","host":["{{url}}"],"path":["v1","registrations",":id"],"variable":[{"key":"id","value":"66bb2affc8bd6a579bde8006"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"error\": {\n        \"message\": \"Registration not found\",\n        \"code\": \"ValidationError\",\n        \"details\": {\n            \"path\": \"\",\n            \"messages\": []\n        }\n    },\n    \"resource\": {\n        \"type\": \"registration\"\n    },\n    \"error_summary\": {\n        \"message\": \"Registration not found\",\n        \"code\": \"validation_error\",\n        \"details\": {\n            \"messages\": []\n        }\n    }\n}"}],"_postman_id":"4a863802-d126-4dc4-88ed-41181c078ef1"}],"id":"98b8845b-d5ed-4aaf-9048-3e54bea8a926","description":"<p>Manage all your registrations directly through the Paydock platform using Paydock’s Registration endpoints. This includes registration for external Payment Service Providers (PSPs), gateways and card schemes. One implementation of this API supports:</p>\n<ul>\n<li><p><strong>Click To Pay:</strong> Enables Digital Payment Application (DPA) registration with Mastercard Click To Pay</p>\n</li>\n<li><p><strong>Network Tokenisation:</strong> Enables new Token Requestor ID (TRID) onboarding for Visa and Mastercard</p>\n</li>\n</ul>\n<p><strong>Flow</strong></p>\n<p>You can create a registration for:</p>\n<ol>\n<li><p>Click To Pay</p>\n</li>\n<li><p>Network Tokenisation VisaVTS</p>\n</li>\n<li><p>Network Tokenisation MastercardSCOF</p>\n</li>\n</ol>\n<p><strong>Request Body</strong></p>\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[flow]</strong></th>\n<th><strong>type</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>+</td>\n<td>string</td>\n<td>A registration name</td>\n</tr>\n<tr>\n<td>mode</td>\n<td>+</td>\n<td>string</td>\n<td>Registration mode.  <br />Possible Values:  <br />1. test - for the testing mode  <br />2. live - for the production mode  <br />3. virtual - for virtual mode</td>\n</tr>\n<tr>\n<td>type</td>\n<td>+</td>\n<td>string</td>\n<td>Registration type.  <br />Possible Values:  <br />1. ClickToPay (applicable only for group=click_to_pay)  <br />2. MastercardSCOF (applicable only for group=network_token)  <br />3. VisaVTS (applicable only for group=network_token)</td>\n</tr>\n<tr>\n<td>group</td>\n<td>+</td>\n<td>string</td>\n<td>Registration group.  <br />Possible Values:  <br />1. click_to_pay  <br />2. network_token</td>\n</tr>\n<tr>\n<td>program_name</td>\n<td>+3</td>\n<td>string</td>\n<td>The Cardholder facing name of the Merchant</td>\n</tr>\n<tr>\n<td>merchant_data</td>\n<td>+2</td>\n<td>object</td>\n<td>Registration merchant data</td>\n</tr>\n<tr>\n<td>merchant_data.company_name</td>\n<td>+2</td>\n<td>string</td>\n<td>Merchant company name</td>\n</tr>\n<tr>\n<td>merchant_data.display_name</td>\n<td>-</td>\n<td>string</td>\n<td>Merchant company display name</td>\n</tr>\n<tr>\n<td>merchant_data.url</td>\n<td>+2</td>\n<td>string</td>\n<td>Merchant URL  <br />Example: \"<a href=\"https://paydock.com/\">https://paydock.com/</a>\"</td>\n</tr>\n<tr>\n<td>merchant_data.logo_url</td>\n<td>-</td>\n<td>string</td>\n<td>Merchant URL Logo Example: \"<a href=\"https://paydock.com/logo\">https://paydock.com/logo\"</a></td>\n</tr>\n<tr>\n<td>merchant_data.origin_domains</td>\n<td>-</td>\n<td>string[]</td>\n<td>Merchant origin domains. Example: [\"<a href=\"https://paydock.com/\">https://paydock.com/</a>\"]</td>\n</tr>\n<tr>\n<td>merchant_data.country_code</td>\n<td>-</td>\n<td>string (ISO-3166-1 alpha-2)</td>\n<td>Merchant company country code  <br />Example: \"AU\"</td>\n</tr>\n<tr>\n<td>merchant_data.address_name</td>\n<td>-</td>\n<td>string</td>\n<td>Merchant company address name. Example: \"Street John Doe. 3024\"</td>\n</tr>\n<tr>\n<td>merchant_data.address_line1</td>\n<td>-</td>\n<td>string</td>\n<td>Merchant company address line 1. Example: \"Apartment 14\"</td>\n</tr>\n<tr>\n<td>merchant_data.address_line2</td>\n<td>-</td>\n<td>string</td>\n<td>Merchant company address line 2. Example: \"Fraction 3\"</td>\n</tr>\n<tr>\n<td>merchant_data.address_line3</td>\n<td>-</td>\n<td>string</td>\n<td>Merchant company address line 3. Example: \"Fraction 3\"</td>\n</tr>\n<tr>\n<td>merchant_data.address_city</td>\n<td>+2</td>\n<td>string</td>\n<td>Merchant company address city. Example: \"Seattle\"</td>\n</tr>\n<tr>\n<td>merchant_data.address_state</td>\n<td>-</td>\n<td>string</td>\n<td>Merchant company address state. Example: \"MH\"</td>\n</tr>\n<tr>\n<td>merchant_data.address_country</td>\n<td>+2</td>\n<td>string</td>\n<td>Merchant company address country  <br />Example: \"AU\"</td>\n</tr>\n<tr>\n<td>merchant_data.address_postcode</td>\n<td>-</td>\n<td>string</td>\n<td>Merchant company address postcode: \"41321\"</td>\n</tr>\n<tr>\n<td>merchant_data.merchant_category_codes</td>\n<td>-</td>\n<td>string[]</td>\n<td>Merchant category codes. Example: [\"4422\",\"0000\"]  <br />Max Items: 200</td>\n</tr>\n<tr>\n<td>merchant_data.business_identification_type</td>\n<td>+2</td>\n<td>string</td>\n<td>The Identifier associated with the business type .  <br />Example: \"ABN\". Required unless both acquirers_data[].ica and acquirers_data[].merchant_id are  <br />provided.</td>\n</tr>\n<tr>\n<td>merchant_data.business_identification_value</td>\n<td>+2</td>\n<td>string</td>\n<td>The value associated with the business identifier type.  <br />Example: \"21676337791\". Required unless both acquirers_data[].ica and acquirers_data[].merchant_id are  <br />provided.</td>\n</tr>\n<tr>\n<td>merchant_data.contact</td>\n<td>-</td>\n<td>Object</td>\n<td>Object containing Merchant Contact</td>\n</tr>\n<tr>\n<td>merchant_data.contact.email</td>\n<td>+2</td>\n<td>string</td>\n<td>Merchant E-mail</td>\n</tr>\n<tr>\n<td>merchant_data.contact.first_name</td>\n<td>-</td>\n<td>string</td>\n<td>Responsible’s First Name</td>\n</tr>\n<tr>\n<td>merchant_data.contact.last_name</td>\n<td>-</td>\n<td>string</td>\n<td>Responsible’s Last Name</td>\n</tr>\n<tr>\n<td>merchant_data.debit_token_requested</td>\n<td>-</td>\n<td>boolean</td>\n<td>A flag for the Integrator to indicate that they would not like to have their Cardholder's debit cards tokenized. Default: false.</td>\n</tr>\n<tr>\n<td>merchant_data.company_phone</td>\n<td>-</td>\n<td>string</td>\n<td>Example: \"1234567890\".</td>\n</tr>\n<tr>\n<td>merchant_data.duns_number</td>\n<td>-</td>\n<td>string</td>\n<td>Dun and Bradstreet number</td>\n</tr>\n<tr>\n<td>src_options</td>\n<td>-</td>\n<td>object</td>\n<td>SRC options</td>\n</tr>\n<tr>\n<td>src_options.supported_card_schemes</td>\n<td>-</td>\n<td>string[]</td>\n<td>Supported card schemes (\"VISA\", \"MASTERCARD\", \"AMEX\", \"DISCOVER\")</td>\n</tr>\n<tr>\n<td>src_options.supported_checkouts</td>\n<td>-</td>\n<td>string[]</td>\n<td>Supported checkouts (\"CLICK_TO_PAY\", \"GUEST_CHECKOUT_TOKENIZATION\", \" CARD_ON_FILE_TOKENIZATION = 'CARD_ON_FILE_TOKENIZATION', \")</td>\n</tr>\n<tr>\n<td>_3ds_options</td>\n<td>-</td>\n<td>object</td>\n<td>Object containing 3D Secure data</td>\n</tr>\n<tr>\n<td>_3ds_options.providers</td>\n<td>-</td>\n<td>object[]</td>\n<td>Array of objects containing provider information for the merchant</td>\n</tr>\n<tr>\n<td>_3ds_options.providers.key</td>\n<td>-</td>\n<td>string</td>\n<td>3D Secure Provider key</td>\n</tr>\n<tr>\n<td>_3ds_options.providers.id</td>\n<td>-</td>\n<td>string</td>\n<td>3D Secure Provider ID</td>\n</tr>\n<tr>\n<td>_3ds_options.providers.country</td>\n<td>-</td>\n<td>string</td>\n<td>3D Secure Provider country</td>\n</tr>\n<tr>\n<td>_3ds_options.providers.bin</td>\n<td>-</td>\n<td>string</td>\n<td>3D Secure Provider BIN (Bank Identification Number)</td>\n</tr>\n<tr>\n<td>_3ds_options.providers.mcc</td>\n<td>-</td>\n<td>string</td>\n<td>3D Secure Provider MCC (Merchant Category Code)</td>\n</tr>\n<tr>\n<td>acquirer_data</td>\n<td>-</td>\n<td>object</td>\n<td>Object containing acquirer-specific data</td>\n</tr>\n<tr>\n<td>acquirer_data.ica</td>\n<td>-</td>\n<td>string</td>\n<td>Acquirer ICA (Interbank Card Association) number. Example: \"12345\"</td>\n</tr>\n<tr>\n<td>acquirer_data.bin</td>\n<td>-</td>\n<td>string</td>\n<td>Acquirer BIN (Bank Identification Number). Example: \"11122333\"</td>\n</tr>\n<tr>\n<td>acquirer_data.merchant_id</td>\n<td>-</td>\n<td>string</td>\n<td>Acquirer's unique identifier for the merchant. Example: \"MC1234567891234\"</td>\n</tr>\n<tr>\n<td>acquirers_data</td>\n<td>-</td>\n<td>Array</td>\n<td>Array containing multiple arquirers-specific data</td>\n</tr>\n<tr>\n<td>acquirers_data[].ica</td>\n<td>-</td>\n<td>string</td>\n<td>Acquirer ICA (Interbank Card Association) number. Example: \"12345\"</td>\n</tr>\n<tr>\n<td>acquirers_data[].bin</td>\n<td>-</td>\n<td>string</td>\n<td>Acquirer BIN (Bank Identification Number). Example: \"11122333\"</td>\n</tr>\n<tr>\n<td>acquirers_data[].merchant_id</td>\n<td>-</td>\n<td>string</td>\n<td>Acquirer's unique identifier for the merchant. Example: \"MC1234567891234\"</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Possible Registration Statuses</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>status</strong></th>\n<th><strong>flow</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>completed</td>\n<td>+</td>\n<td>A status after the successful creation of the registration</td>\n</tr>\n<tr>\n<td>revoked</td>\n<td>+3</td>\n<td>A status after the registration is manually revoked</td>\n</tr>\n<tr>\n<td>archived</td>\n<td>+</td>\n<td>A status after the registration is manually deleted</td>\n</tr>\n<tr>\n<td>failed</td>\n<td>+</td>\n<td>A status if registration creation failed</td>\n</tr>\n<tr>\n<td>pending</td>\n<td>+3</td>\n<td>A status if registration is still processing</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"98b8845b-d5ed-4aaf-9048-3e54bea8a926"},{"name":"routing","item":[{"name":"analysis","id":"370959f3-c442-42bb-ab44-447ed02299e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"<p>This is your PowerBoard API Secret Key</p>\n"},{"key":"Content-Type","value":"application/json","description":"<p>Content-Type will always be application/json</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"150\",\n    \"currency\": \"AUD\",\n    \"card_number\": \"5204731620064587\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/v1/routing/analysis?type=charge","description":"<p>This endpoint allows merchants to simulate routing decisions and retrieve gateway information for a transaction prior to processing. Based on the provided transaction details (such as: currency, amount, card scheme etc.) and pre-configured routing rules, the endpoint identifies the matching gateway for the transaction.</p>\n<h2 id=\"flow\">Flow</h2>\n<p>The `/analysis` endpoint supports the following flows:</p>\n<ol>\n<li><p>Direct with card number</p>\n</li>\n<li><p>Direct with vault token</p>\n</li>\n</ol>\n<h2 id=\"request-params\">Request Params</h2>\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>type</td>\n<td>-</td>\n<td>string</td>\n<td>Optional, for now it will only accept a type=charge value</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"body\">Body</h2>\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>amount</td>\n<td>-</td>\n<td>number</td>\n<td>Amount</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>-</td>\n<td>string</td>\n<td>Currency</td>\n</tr>\n<tr>\n<td>custom_fields</td>\n<td>-</td>\n<td>Object \\ Array</td>\n<td>Can be sent as a flat object { \"key\": \"value\" } or as a list of objects [{ \"key\": \"key_name\", \"value\": \"value\" }]</td>\n</tr>\n<tr>\n<td>vault_token</td>\n<td>+2</td>\n<td>string</td>\n<td>A reference to a securely stored payment method in Paydock’s vault, can be a session (temporary) or permanent vault token.</td>\n</tr>\n<tr>\n<td>card_number</td>\n<td>+1</td>\n<td>string</td>\n<td>The actual card number used for processing the payment.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","routing","analysis"],"host":["{{url}}"],"query":[{"key":"type","value":"charge"}],"variable":[]}},"response":[{"id":"5e411437-45bb-41f4-9b0f-1a06ae59bf73","name":"analysis with card number","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PowerBoard API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"currency\": \"AUD\",\n    \"amount\": \"100\",\n    \"card_number\": \"5204731620064587\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/routing/analysis?type=charge","host":["{{url}}"],"path":["v1","routing","analysis"],"query":[{"key":"type","value":"charge"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"gateway\",\n        \"data\": {\n            \"_id\": \"60e3dbd244b37a289efb26e7\",\n            \"name\": \"MasterCard-Ok\",\n            \"type\": \"MasterCard\",\n            \"mode\": \"test\",\n            \"created_at\": \"2021-07-06T04:28:02.841Z\",\n            \"updated_at\": \"2024-09-26T15:27:33.470Z\",\n            \"meta\": {\n                \"full_payment_source\": false,\n                \"region\": \"AU\"\n            },\n            \"archived\": false,\n            \"default\": false,\n            \"wallets\": [\n                \"apple\"\n            ]\n        }\n    }\n}"},{"id":"e8db1170-ed0c-481c-ba16-16d4751e029c","name":"analysis with vault_token","originalRequest":{"method":"POST","header":[{"key":"x-user-secret-key","value":"{{secretkey}}","description":"This is your PowerBoard API Secret Key"},{"key":"Content-Type","value":"application/json","description":"Content-Type will always be application/json"}],"body":{"mode":"raw","raw":"{\n    \"currency\": \"AUD\",\n    \"amount\": \"100\",\n    \"vault_token\": \"e5d3be2c-f292-427d-8193-88897fa6c6fc\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/v1/routing/analysis?type=charge","host":["{{url}}"],"path":["v1","routing","analysis"],"query":[{"key":"type","value":"charge"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"error\": null,\n    \"resource\": {\n        \"type\": \"gateway\",\n        \"data\": {\n            \"_id\": \"60e3dbd244b37a289efb26e7\",\n            \"name\": \"MasterCard-Ok\",\n            \"type\": \"MasterCard\",\n            \"mode\": \"test\",\n            \"created_at\": \"2021-07-06T04:28:02.841Z\",\n            \"updated_at\": \"2024-09-26T15:27:33.470Z\",\n            \"meta\": {\n                \"full_payment_source\": false,\n                \"region\": \"AU\"\n            },\n            \"archived\": false,\n            \"default\": false,\n            \"wallets\": [\n                \"apple\"\n            ]\n        }\n    }\n}"}],"_postman_id":"370959f3-c442-42bb-ab44-447ed02299e7"}],"id":"9099adc1-6570-4513-ba5d-22f4d72fa382","_postman_id":"9099adc1-6570-4513-ba5d-22f4d72fa382","description":""}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"9c710f0e-b460-4808-a23c-3fd443945b17"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"f421d984-6f64-45dd-af72-2aa68fc3cfe0"}}]}