{ "uuid": "8fbd13a8-35cd-4248-a4c5-1630bdd79d29", "lastMigration": 29, "name": "Square Connect API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "4cd568c7-f027-4f66-a5bf-1248ee42ec7d", "documentation": "CreateMobileAuthorizationCode", "method": "post", "endpoint": "mobile/authorization-code", "responses": [ { "uuid": "2399a6d0-c334-4bc9-979a-519ced074d2b", "body": "{\n \"authorization_code\": \"YOUR_MOBILE_AUTHORIZATION_CODE\",\n \"expires_at\": \"2019-01-10T19:42:08Z\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c9312c3a-1ecc-4f8d-b0d7-602702acd814", "documentation": "RenewToken", "method": "post", "endpoint": "oauth2/clients/:client_id/access-token/renew", "responses": [ { "uuid": "e3155b5a-318d-4043-8ad5-d76df09932a5", "body": "{\n \"access_token\": \"ACCESS_TOKEN\",\n \"expires_at\": \"2006-01-02T15:04:05Z\",\n \"merchant_id\": \"MERCHANT_ID\",\n \"token_type\": \"bearer\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "09bf7f40-bf17-4721-8590-66f7d31fa8be", "documentation": "RevokeToken", "method": "post", "endpoint": "oauth2/revoke", "responses": [ { "uuid": "48a5789d-7d13-4331-8d2a-51bdb405455f", "body": "{\n \"success\": true\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6a3c6aa8-e3ad-4ddd-9b43-8bf3b5b7420d", "documentation": "ObtainToken", "method": "post", "endpoint": "oauth2/token", "responses": [ { "uuid": "0c3332e4-7eed-4562-afe2-f978cb841f6d", "body": "{\n \"access_token\": \"ACCESS_TOKEN\",\n \"expires_at\": \"2006-01-02T15:04:05Z\",\n \"merchant_id\": \"MERCHANT_ID\",\n \"refresh_token\": \"REFRESH_TOKEN\",\n \"token_type\": \"bearer\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0eb4d48f-7cd7-4508-8bf5-320c0fc63dc6", "documentation": "ListEmployees", "method": "get", "endpoint": "v1/me/employees", "responses": [ { "uuid": "b9d5449f-aa54-4cee-b292-53db9828af14", "body": "[\n {\n \"authorized_location_ids\": [\n \"\"\n ],\n \"created_at\": \"\",\n \"email\": \"\",\n \"external_id\": \"\",\n \"first_name\": \"\",\n \"id\": \"\",\n \"last_name\": \"\",\n \"role_ids\": [\n \"\"\n ],\n \"status\": \"\",\n \"updated_at\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fb77adaa-a94b-4f81-ae06-4a98a820b0dd", "documentation": "CreateEmployee", "method": "post", "endpoint": "v1/me/employees", "responses": [ { "uuid": "8eefc56d-2bea-4652-bf4d-c2a89542a87a", "body": "{\n \"authorized_location_ids\": [\n \"\"\n ],\n \"created_at\": \"\",\n \"email\": \"\",\n \"external_id\": \"\",\n \"first_name\": \"\",\n \"id\": \"\",\n \"last_name\": \"\",\n \"role_ids\": [\n \"\"\n ],\n \"status\": \"\",\n \"updated_at\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4b17b409-ed77-4056-aef6-e69614c80581", "documentation": "RetrieveEmployee", "method": "get", "endpoint": "v1/me/employees/:employee_id", "responses": [ { "uuid": "ffca0b02-7a49-4ba8-884a-20f22890fc9a", "body": "{\n \"authorized_location_ids\": [\n \"\"\n ],\n \"created_at\": \"\",\n \"email\": \"\",\n \"external_id\": \"\",\n \"first_name\": \"\",\n \"id\": \"\",\n \"last_name\": \"\",\n \"role_ids\": [\n \"\"\n ],\n \"status\": \"\",\n \"updated_at\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "dad5ccbb-04a7-49c1-a058-5042bb77c34a", "documentation": "UpdateEmployee", "method": "put", "endpoint": "v1/me/employees/:employee_id", "responses": [ { "uuid": "8e8e2f13-30a4-406e-b5a1-d4a0692fbb04", "body": "{\n \"authorized_location_ids\": [\n \"\"\n ],\n \"created_at\": \"\",\n \"email\": \"\",\n \"external_id\": \"\",\n \"first_name\": \"\",\n \"id\": \"\",\n \"last_name\": \"\",\n \"role_ids\": [\n \"\"\n ],\n \"status\": \"\",\n \"updated_at\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f9d30276-061e-4c94-b05b-b165f762c47c", "documentation": "ListEmployeeRoles", "method": "get", "endpoint": "v1/me/roles", "responses": [ { "uuid": "886d47b5-b5f3-4369-b84e-3e9d02a0e5bc", "body": "[\n {\n \"created_at\": \"\",\n \"id\": \"\",\n \"is_owner\": {{faker 'datatype.boolean'}},\n \"name\": \"\",\n \"permissions\": [\n \"\"\n ],\n \"updated_at\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "06f0fccd-657c-4609-92c7-9232d6c89511", "documentation": "CreateEmployeeRole", "method": "post", "endpoint": "v1/me/roles", "responses": [ { "uuid": "f62fa42d-795a-47d6-b099-f8bf1a35824c", "body": "{\n \"created_at\": \"\",\n \"id\": \"\",\n \"is_owner\": {{faker 'datatype.boolean'}},\n \"name\": \"\",\n \"permissions\": [\n \"\"\n ],\n \"updated_at\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c21199cb-d9dc-427d-a16c-b2c5d0b0878a", "documentation": "RetrieveEmployeeRole", "method": "get", "endpoint": "v1/me/roles/:role_id", "responses": [ { "uuid": "5a6f56a4-3c38-4847-b28c-6b2a5973b390", "body": "{\n \"created_at\": \"\",\n \"id\": \"\",\n \"is_owner\": {{faker 'datatype.boolean'}},\n \"name\": \"\",\n \"permissions\": [\n \"\"\n ],\n \"updated_at\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e5418fb7-3504-47c7-a4b7-eb126a2ce654", "documentation": "UpdateEmployeeRole", "method": "put", "endpoint": "v1/me/roles/:role_id", "responses": [ { "uuid": "fc388cde-a060-4914-b9d7-00f727017259", "body": "{\n \"created_at\": \"\",\n \"id\": \"\",\n \"is_owner\": {{faker 'datatype.boolean'}},\n \"name\": \"\",\n \"permissions\": [\n \"\"\n ],\n \"updated_at\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d41fbc2c-b99d-4101-b29e-87857b64e496", "documentation": "ListOrders", "method": "get", "endpoint": "v1/:location_id/orders", "responses": [ { "uuid": "75430337-1b64-4483-a507-b89a42ee5d13", "body": "[\n {\n \"btc_price_satoshi\": {{faker 'number.int' max=99999}},\n \"btc_receive_address\": \"\",\n \"buyer_email\": \"\",\n \"buyer_note\": \"\",\n \"canceled_note\": \"\",\n \"completed_note\": \"\",\n \"created_at\": \"\",\n \"errors\": [\n {\n \"category\": \"\",\n \"code\": \"\",\n \"detail\": \"\",\n \"field\": \"\"\n }\n ],\n \"expires_at\": \"\",\n \"id\": \"\",\n \"order_history\": [\n {\n \"action\": \"\",\n \"created_at\": \"\"\n }\n ],\n \"payment_id\": \"\",\n \"promo_code\": \"\",\n \"recipient_name\": \"\",\n \"recipient_phone_number\": \"\",\n \"refunded_note\": \"\",\n \"shipping_address\": {\n \"address_line_1\": \"\",\n \"address_line_2\": \"\",\n \"address_line_3\": \"\",\n \"administrative_district_level_1\": \"\",\n \"administrative_district_level_2\": \"\",\n \"administrative_district_level_3\": \"\",\n \"country\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"locality\": \"\",\n \"organization\": \"\",\n \"postal_code\": \"\",\n \"sublocality\": \"\",\n \"sublocality_2\": \"\",\n \"sublocality_3\": \"\"\n },\n \"state\": \"\",\n \"subtotal_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"tender\": {\n \"card_brand\": \"\",\n \"change_back_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"employee_id\": \"\",\n \"entry_method\": \"\",\n \"id\": \"\",\n \"is_exchange\": {{faker 'datatype.boolean'}},\n \"name\": \"\",\n \"pan_suffix\": \"\",\n \"payment_note\": \"\",\n \"receipt_url\": \"\",\n \"refunded_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"settled_at\": \"\",\n \"tendered_at\": \"\",\n \"tendered_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"total_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"type\": \"\"\n },\n \"total_discount_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"total_price_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"total_shipping_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"total_tax_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"updated_at\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6eddb552-54fe-4174-a2e1-6fe72904dad9", "documentation": "RetrieveOrder", "method": "get", "endpoint": "v1/:location_id/orders/:order_id", "responses": [ { "uuid": "0627b849-54ff-4b29-91e4-5e819b68d0f2", "body": "{\n \"btc_price_satoshi\": {{faker 'number.int' max=99999}},\n \"btc_receive_address\": \"\",\n \"buyer_email\": \"\",\n \"buyer_note\": \"\",\n \"canceled_note\": \"\",\n \"completed_note\": \"\",\n \"created_at\": \"\",\n \"errors\": [\n {\n \"category\": \"\",\n \"code\": \"\",\n \"detail\": \"\",\n \"field\": \"\"\n }\n ],\n \"expires_at\": \"\",\n \"id\": \"\",\n \"order_history\": [\n {\n \"action\": \"\",\n \"created_at\": \"\"\n }\n ],\n \"payment_id\": \"\",\n \"promo_code\": \"\",\n \"recipient_name\": \"\",\n \"recipient_phone_number\": \"\",\n \"refunded_note\": \"\",\n \"shipping_address\": {\n \"address_line_1\": \"\",\n \"address_line_2\": \"\",\n \"address_line_3\": \"\",\n \"administrative_district_level_1\": \"\",\n \"administrative_district_level_2\": \"\",\n \"administrative_district_level_3\": \"\",\n \"country\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"locality\": \"\",\n \"organization\": \"\",\n \"postal_code\": \"\",\n \"sublocality\": \"\",\n \"sublocality_2\": \"\",\n \"sublocality_3\": \"\"\n },\n \"state\": \"\",\n \"subtotal_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"tender\": {\n \"card_brand\": \"\",\n \"change_back_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"employee_id\": \"\",\n \"entry_method\": \"\",\n \"id\": \"\",\n \"is_exchange\": {{faker 'datatype.boolean'}},\n \"name\": \"\",\n \"pan_suffix\": \"\",\n \"payment_note\": \"\",\n \"receipt_url\": \"\",\n \"refunded_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"settled_at\": \"\",\n \"tendered_at\": \"\",\n \"tendered_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"total_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"type\": \"\"\n },\n \"total_discount_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"total_price_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"total_shipping_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"total_tax_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"updated_at\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5a005110-539a-42f8-ab0f-0c9dceff81df", "documentation": "UpdateOrder", "method": "put", "endpoint": "v1/:location_id/orders/:order_id", "responses": [ { "uuid": "f715ebe0-398c-4669-9e03-b0f6b3852a56", "body": "{\n \"btc_price_satoshi\": {{faker 'number.int' max=99999}},\n \"btc_receive_address\": \"\",\n \"buyer_email\": \"\",\n \"buyer_note\": \"\",\n \"canceled_note\": \"\",\n \"completed_note\": \"\",\n \"created_at\": \"\",\n \"errors\": [\n {\n \"category\": \"\",\n \"code\": \"\",\n \"detail\": \"\",\n \"field\": \"\"\n }\n ],\n \"expires_at\": \"\",\n \"id\": \"\",\n \"order_history\": [\n {\n \"action\": \"\",\n \"created_at\": \"\"\n }\n ],\n \"payment_id\": \"\",\n \"promo_code\": \"\",\n \"recipient_name\": \"\",\n \"recipient_phone_number\": \"\",\n \"refunded_note\": \"\",\n \"shipping_address\": {\n \"address_line_1\": \"\",\n \"address_line_2\": \"\",\n \"address_line_3\": \"\",\n \"administrative_district_level_1\": \"\",\n \"administrative_district_level_2\": \"\",\n \"administrative_district_level_3\": \"\",\n \"country\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"locality\": \"\",\n \"organization\": \"\",\n \"postal_code\": \"\",\n \"sublocality\": \"\",\n \"sublocality_2\": \"\",\n \"sublocality_3\": \"\"\n },\n \"state\": \"\",\n \"subtotal_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"tender\": {\n \"card_brand\": \"\",\n \"change_back_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"employee_id\": \"\",\n \"entry_method\": \"\",\n \"id\": \"\",\n \"is_exchange\": {{faker 'datatype.boolean'}},\n \"name\": \"\",\n \"pan_suffix\": \"\",\n \"payment_note\": \"\",\n \"receipt_url\": \"\",\n \"refunded_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"settled_at\": \"\",\n \"tendered_at\": \"\",\n \"tendered_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"total_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"type\": \"\"\n },\n \"total_discount_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"total_price_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"total_shipping_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"total_tax_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"updated_at\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "854f87dd-6003-49ac-be76-a3765153e10c", "documentation": "ListPayments", "method": "get", "endpoint": "v1/:location_id/payments", "responses": [ { "uuid": "eeaff572-26a0-4254-b351-30f8fa13aac7", "body": "[\n {\n \"additive_tax\": [\n {\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"errors\": [\n {\n \"category\": \"\",\n \"code\": \"\",\n \"detail\": \"\",\n \"field\": \"\"\n }\n ],\n \"fee_id\": \"\",\n \"inclusion_type\": \"\",\n \"name\": \"\",\n \"rate\": \"\"\n }\n ],\n \"additive_tax_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"created_at\": \"\",\n \"creator_id\": \"\",\n \"device\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"discount_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"gross_sales_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"id\": \"\",\n \"inclusive_tax\": [\n {\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"errors\": [\n {\n \"category\": \"\",\n \"code\": \"\",\n \"detail\": \"\",\n \"field\": \"\"\n }\n ],\n \"fee_id\": \"\",\n \"inclusion_type\": \"\",\n \"name\": \"\",\n \"rate\": \"\"\n }\n ],\n \"inclusive_tax_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"is_partial\": {{faker 'datatype.boolean'}},\n \"itemizations\": [\n {\n \"discount_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"discounts\": [\n {\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"discount_id\": \"\",\n \"name\": \"\"\n }\n ],\n \"gross_sales_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"item_detail\": {\n \"category_name\": \"\",\n \"item_id\": \"\",\n \"item_variation_id\": \"\",\n \"sku\": \"\"\n },\n \"item_variation_name\": \"\",\n \"itemization_type\": \"\",\n \"modifiers\": [\n {\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"modifier_option_id\": \"\",\n \"name\": \"\"\n }\n ],\n \"name\": \"\",\n \"net_sales_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"notes\": \"\",\n \"quantity\": {{faker 'number.int' max=99999}},\n \"single_quantity_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"taxes\": [\n {\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"errors\": [\n {\n \"category\": \"\",\n \"code\": \"\",\n \"detail\": \"\",\n \"field\": \"\"\n }\n ],\n \"fee_id\": \"\",\n \"inclusion_type\": \"\",\n \"name\": \"\",\n \"rate\": \"\"\n }\n ],\n \"total_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n }\n }\n ],\n \"merchant_id\": \"\",\n \"net_sales_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"net_total_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"payment_url\": \"\",\n \"processing_fee_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"receipt_url\": \"\",\n \"refunded_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunds\": [\n {\n \"created_at\": \"\",\n \"is_exchange\": {{faker 'datatype.boolean'}},\n \"merchant_id\": \"\",\n \"payment_id\": \"\",\n \"processed_at\": \"\",\n \"reason\": \"\",\n \"refunded_additive_tax\": [\n {\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"errors\": [\n {\n \"category\": \"\",\n \"code\": \"\",\n \"detail\": \"\",\n \"field\": \"\"\n }\n ],\n \"fee_id\": \"\",\n \"inclusion_type\": \"\",\n \"name\": \"\",\n \"rate\": \"\"\n }\n ],\n \"refunded_additive_tax_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_discount_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_inclusive_tax\": [\n {\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"errors\": [\n {\n \"category\": \"\",\n \"code\": \"\",\n \"detail\": \"\",\n \"field\": \"\"\n }\n ],\n \"fee_id\": \"\",\n \"inclusion_type\": \"\",\n \"name\": \"\",\n \"rate\": \"\"\n }\n ],\n \"refunded_inclusive_tax_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_processing_fee_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_surcharge_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_surcharges\": [\n {\n \"amount_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"name\": \"\",\n \"rate\": \"\",\n \"surcharge_id\": \"\",\n \"taxable\": {{faker 'datatype.boolean'}},\n \"taxes\": [\n {\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"errors\": [\n {\n \"category\": \"\",\n \"code\": \"\",\n \"detail\": \"\",\n \"field\": \"\"\n }\n ],\n \"fee_id\": \"\",\n \"inclusion_type\": \"\",\n \"name\": \"\",\n \"rate\": \"\"\n }\n ],\n \"type\": \"\"\n }\n ],\n \"refunded_tax_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_tip_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"type\": \"\"\n }\n ],\n \"surcharge_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"surcharges\": [\n {\n \"amount_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"name\": \"\",\n \"rate\": \"\",\n \"surcharge_id\": \"\",\n \"taxable\": {{faker 'datatype.boolean'}},\n \"taxes\": [\n {\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"errors\": [\n {\n \"category\": \"\",\n \"code\": \"\",\n \"detail\": \"\",\n \"field\": \"\"\n }\n ],\n \"fee_id\": \"\",\n \"inclusion_type\": \"\",\n \"name\": \"\",\n \"rate\": \"\"\n }\n ],\n \"type\": \"\"\n }\n ],\n \"swedish_rounding_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"tax_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"tender\": [\n {\n \"card_brand\": \"\",\n \"change_back_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"employee_id\": \"\",\n \"entry_method\": \"\",\n \"id\": \"\",\n \"is_exchange\": {{faker 'datatype.boolean'}},\n \"name\": \"\",\n \"pan_suffix\": \"\",\n \"payment_note\": \"\",\n \"receipt_url\": \"\",\n \"refunded_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"settled_at\": \"\",\n \"tendered_at\": \"\",\n \"tendered_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"total_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"type\": \"\"\n }\n ],\n \"tip_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"total_collected_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n }\n }\n]", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "657a88d9-715a-46be-87e9-e10cc39152af", "documentation": "RetrievePayment", "method": "get", "endpoint": "v1/:location_id/payments/:payment_id", "responses": [ { "uuid": "c933a018-0157-4f05-bc84-5c0480f3f61a", "body": "{\n \"additive_tax\": [\n {\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"errors\": [\n {\n \"category\": \"\",\n \"code\": \"\",\n \"detail\": \"\",\n \"field\": \"\"\n }\n ],\n \"fee_id\": \"\",\n \"inclusion_type\": \"\",\n \"name\": \"\",\n \"rate\": \"\"\n }\n ],\n \"additive_tax_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"created_at\": \"\",\n \"creator_id\": \"\",\n \"device\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"discount_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"gross_sales_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"id\": \"\",\n \"inclusive_tax\": [\n {\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"errors\": [\n {\n \"category\": \"\",\n \"code\": \"\",\n \"detail\": \"\",\n \"field\": \"\"\n }\n ],\n \"fee_id\": \"\",\n \"inclusion_type\": \"\",\n \"name\": \"\",\n \"rate\": \"\"\n }\n ],\n \"inclusive_tax_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"is_partial\": {{faker 'datatype.boolean'}},\n \"itemizations\": [\n {\n \"discount_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"discounts\": [\n {\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"discount_id\": \"\",\n \"name\": \"\"\n }\n ],\n \"gross_sales_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"item_detail\": {\n \"category_name\": \"\",\n \"item_id\": \"\",\n \"item_variation_id\": \"\",\n \"sku\": \"\"\n },\n \"item_variation_name\": \"\",\n \"itemization_type\": \"\",\n \"modifiers\": [\n {\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"modifier_option_id\": \"\",\n \"name\": \"\"\n }\n ],\n \"name\": \"\",\n \"net_sales_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"notes\": \"\",\n \"quantity\": {{faker 'number.int' max=99999}},\n \"single_quantity_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"taxes\": [\n {\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"errors\": [\n {\n \"category\": \"\",\n \"code\": \"\",\n \"detail\": \"\",\n \"field\": \"\"\n }\n ],\n \"fee_id\": \"\",\n \"inclusion_type\": \"\",\n \"name\": \"\",\n \"rate\": \"\"\n }\n ],\n \"total_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n }\n }\n ],\n \"merchant_id\": \"\",\n \"net_sales_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"net_total_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"payment_url\": \"\",\n \"processing_fee_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"receipt_url\": \"\",\n \"refunded_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunds\": [\n {\n \"created_at\": \"\",\n \"is_exchange\": {{faker 'datatype.boolean'}},\n \"merchant_id\": \"\",\n \"payment_id\": \"\",\n \"processed_at\": \"\",\n \"reason\": \"\",\n \"refunded_additive_tax\": [\n {\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"errors\": [\n {\n \"category\": \"\",\n \"code\": \"\",\n \"detail\": \"\",\n \"field\": \"\"\n }\n ],\n \"fee_id\": \"\",\n \"inclusion_type\": \"\",\n \"name\": \"\",\n \"rate\": \"\"\n }\n ],\n \"refunded_additive_tax_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_discount_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_inclusive_tax\": [\n {\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"errors\": [\n {\n \"category\": \"\",\n \"code\": \"\",\n \"detail\": \"\",\n \"field\": \"\"\n }\n ],\n \"fee_id\": \"\",\n \"inclusion_type\": \"\",\n \"name\": \"\",\n \"rate\": \"\"\n }\n ],\n \"refunded_inclusive_tax_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_processing_fee_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_surcharge_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_surcharges\": [\n {\n \"amount_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"name\": \"\",\n \"rate\": \"\",\n \"surcharge_id\": \"\",\n \"taxable\": {{faker 'datatype.boolean'}},\n \"taxes\": [\n {\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"errors\": [\n {\n \"category\": \"\",\n \"code\": \"\",\n \"detail\": \"\",\n \"field\": \"\"\n }\n ],\n \"fee_id\": \"\",\n \"inclusion_type\": \"\",\n \"name\": \"\",\n \"rate\": \"\"\n }\n ],\n \"type\": \"\"\n }\n ],\n \"refunded_tax_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_tip_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"type\": \"\"\n }\n ],\n \"surcharge_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"surcharges\": [\n {\n \"amount_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"name\": \"\",\n \"rate\": \"\",\n \"surcharge_id\": \"\",\n \"taxable\": {{faker 'datatype.boolean'}},\n \"taxes\": [\n {\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"errors\": [\n {\n \"category\": \"\",\n \"code\": \"\",\n \"detail\": \"\",\n \"field\": \"\"\n }\n ],\n \"fee_id\": \"\",\n \"inclusion_type\": \"\",\n \"name\": \"\",\n \"rate\": \"\"\n }\n ],\n \"type\": \"\"\n }\n ],\n \"swedish_rounding_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"tax_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"tender\": [\n {\n \"card_brand\": \"\",\n \"change_back_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"employee_id\": \"\",\n \"entry_method\": \"\",\n \"id\": \"\",\n \"is_exchange\": {{faker 'datatype.boolean'}},\n \"name\": \"\",\n \"pan_suffix\": \"\",\n \"payment_note\": \"\",\n \"receipt_url\": \"\",\n \"refunded_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"settled_at\": \"\",\n \"tendered_at\": \"\",\n \"tendered_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"total_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"type\": \"\"\n }\n ],\n \"tip_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"total_collected_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f75fba5f-1c7b-4bd1-a5c8-884ce05c11cc", "documentation": "ListRefunds", "method": "get", "endpoint": "v1/:location_id/refunds", "responses": [ { "uuid": "92b01b5f-9678-46a6-a8b3-a4aebffdc04f", "body": "[\n {\n \"created_at\": \"\",\n \"is_exchange\": {{faker 'datatype.boolean'}},\n \"merchant_id\": \"\",\n \"payment_id\": \"\",\n \"processed_at\": \"\",\n \"reason\": \"\",\n \"refunded_additive_tax\": [\n {\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"errors\": [\n {\n \"category\": \"\",\n \"code\": \"\",\n \"detail\": \"\",\n \"field\": \"\"\n }\n ],\n \"fee_id\": \"\",\n \"inclusion_type\": \"\",\n \"name\": \"\",\n \"rate\": \"\"\n }\n ],\n \"refunded_additive_tax_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_discount_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_inclusive_tax\": [\n {\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"errors\": [\n {\n \"category\": \"\",\n \"code\": \"\",\n \"detail\": \"\",\n \"field\": \"\"\n }\n ],\n \"fee_id\": \"\",\n \"inclusion_type\": \"\",\n \"name\": \"\",\n \"rate\": \"\"\n }\n ],\n \"refunded_inclusive_tax_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_processing_fee_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_surcharge_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_surcharges\": [\n {\n \"amount_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"name\": \"\",\n \"rate\": \"\",\n \"surcharge_id\": \"\",\n \"taxable\": {{faker 'datatype.boolean'}},\n \"taxes\": [\n {\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"errors\": [\n {\n \"category\": \"\",\n \"code\": \"\",\n \"detail\": \"\",\n \"field\": \"\"\n }\n ],\n \"fee_id\": \"\",\n \"inclusion_type\": \"\",\n \"name\": \"\",\n \"rate\": \"\"\n }\n ],\n \"type\": \"\"\n }\n ],\n \"refunded_tax_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_tip_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"type\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "35173317-b6d1-4f5b-8c4c-3c2e8cb54d28", "documentation": "CreateRefund", "method": "post", "endpoint": "v1/:location_id/refunds", "responses": [ { "uuid": "ad9113f9-1043-4c45-9e18-d9c358fe248f", "body": "{\n \"created_at\": \"\",\n \"is_exchange\": {{faker 'datatype.boolean'}},\n \"merchant_id\": \"\",\n \"payment_id\": \"\",\n \"processed_at\": \"\",\n \"reason\": \"\",\n \"refunded_additive_tax\": [\n {\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"errors\": [\n {\n \"category\": \"\",\n \"code\": \"\",\n \"detail\": \"\",\n \"field\": \"\"\n }\n ],\n \"fee_id\": \"\",\n \"inclusion_type\": \"\",\n \"name\": \"\",\n \"rate\": \"\"\n }\n ],\n \"refunded_additive_tax_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_discount_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_inclusive_tax\": [\n {\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"errors\": [\n {\n \"category\": \"\",\n \"code\": \"\",\n \"detail\": \"\",\n \"field\": \"\"\n }\n ],\n \"fee_id\": \"\",\n \"inclusion_type\": \"\",\n \"name\": \"\",\n \"rate\": \"\"\n }\n ],\n \"refunded_inclusive_tax_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_processing_fee_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_surcharge_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_surcharges\": [\n {\n \"amount_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"name\": \"\",\n \"rate\": \"\",\n \"surcharge_id\": \"\",\n \"taxable\": {{faker 'datatype.boolean'}},\n \"taxes\": [\n {\n \"applied_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"errors\": [\n {\n \"category\": \"\",\n \"code\": \"\",\n \"detail\": \"\",\n \"field\": \"\"\n }\n ],\n \"fee_id\": \"\",\n \"inclusion_type\": \"\",\n \"name\": \"\",\n \"rate\": \"\"\n }\n ],\n \"type\": \"\"\n }\n ],\n \"refunded_tax_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"refunded_tip_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "204f8c0d-1f47-40d1-baac-6ef675d4fd56", "documentation": "ListSettlements", "method": "get", "endpoint": "v1/:location_id/settlements", "responses": [ { "uuid": "16273d9f-c5d7-4ac2-9aba-9db7a9c2b8a8", "body": "[\n {\n \"bank_account_id\": \"\",\n \"entries\": [\n {\n \"amount_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"fee_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"payment_id\": \"\",\n \"type\": \"\"\n }\n ],\n \"id\": \"\",\n \"initiated_at\": \"\",\n \"status\": \"\",\n \"total_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n }\n }\n]", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3d03ebef-bd72-4a96-8704-9e2ccf2924f0", "documentation": "RetrieveSettlement", "method": "get", "endpoint": "v1/:location_id/settlements/:settlement_id", "responses": [ { "uuid": "03878b69-6801-40d5-8cbb-416da5ea2cc3", "body": "{\n \"bank_account_id\": \"\",\n \"entries\": [\n {\n \"amount_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"fee_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n },\n \"payment_id\": \"\",\n \"type\": \"\"\n }\n ],\n \"id\": \"\",\n \"initiated_at\": \"\",\n \"status\": \"\",\n \"total_money\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2680e02f-8ed9-40bb-92a8-f97055133e7a", "documentation": "RegisterDomain", "method": "post", "endpoint": "v2/apple-pay/domains", "responses": [ { "uuid": "16f16b58-d755-472a-85fd-ebc44ca481f5", "body": "{\n \"status\": \"VERIFIED\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e9d32c57-608f-4a3d-a8ad-06ad94ea8c3d", "documentation": "ListBankAccounts", "method": "get", "endpoint": "v2/bank-accounts", "responses": [ { "uuid": "c76e0f0e-77e3-41d0-90b9-47775c9e64a1", "body": "{\n \"bank_accounts\": [\n {\n \"account_number_suffix\": \"971\",\n \"account_type\": \"CHECKING\",\n \"bank_name\": \"Bank Name\",\n \"country\": \"US\",\n \"creditable\": false,\n \"currency\": \"USD\",\n \"debitable\": false,\n \"holder_name\": \"Jane Doe\",\n \"id\": \"ao6iaQ9vhDiaQD7n3GB\",\n \"location_id\": \"S8GWD5example\",\n \"primary_bank_identification_number\": \"112200303\",\n \"status\": \"VERIFICATION_IN_PROGRESS\",\n \"version\": 5\n },\n {\n \"account_number_suffix\": \"972\",\n \"account_type\": \"CHECKING\",\n \"bank_name\": \"Bank Name\",\n \"country\": \"US\",\n \"creditable\": false,\n \"currency\": \"USD\",\n \"debitable\": false,\n \"holder_name\": \"Jane Doe\",\n \"id\": \"4x7WXuaxrkQkVlka3GB\",\n \"location_id\": \"S8GWD5example\",\n \"primary_bank_identification_number\": \"112200303\",\n \"status\": \"VERIFICATION_IN_PROGRESS\",\n \"version\": 5\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f73d53af-60f6-4758-8198-981f2ea10e85", "documentation": "GetBankAccountByV1Id", "method": "get", "endpoint": "v2/bank-accounts/by-v1-id/:v1_bank_account_id", "responses": [ { "uuid": "ebde2932-e971-49d6-a2d4-9d915610dde9", "body": "{\n \"bank_account\": {\n \"account_number_suffix\": \"971\",\n \"account_type\": \"CHECKING\",\n \"bank_name\": \"Bank Name\",\n \"country\": \"US\",\n \"creditable\": false,\n \"currency\": \"USD\",\n \"debitable\": false,\n \"holder_name\": \"Jane Doe\",\n \"id\": \"w3yRgCGYQnwmdl0R3GB\",\n \"location_id\": \"S8GWD5example\",\n \"primary_bank_identification_number\": \"112200303\",\n \"status\": \"VERIFICATION_IN_PROGRESS\",\n \"version\": 5\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "cb866bdb-e7a5-4c7a-8c76-a4a9a4a3e732", "documentation": "GetBankAccount", "method": "get", "endpoint": "v2/bank-accounts/:bank_account_id", "responses": [ { "uuid": "e8a39a86-db9d-47fa-8880-b7757e1221fa", "body": "{\n \"bank_account\": {\n \"account_number_suffix\": \"971\",\n \"account_type\": \"CHECKING\",\n \"bank_name\": \"Bank Name\",\n \"country\": \"US\",\n \"creditable\": false,\n \"currency\": \"USD\",\n \"debitable\": false,\n \"holder_name\": \"Jane Doe\",\n \"id\": \"w3yRgCGYQnwmdl0R3GB\",\n \"location_id\": \"S8GWD5example\",\n \"primary_bank_identification_number\": \"112200303\",\n \"status\": \"VERIFICATION_IN_PROGRESS\",\n \"version\": 5\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3b0f09cf-53e8-4954-97f6-f9ff462f0f0b", "documentation": "CreateBooking", "method": "post", "endpoint": "v2/bookings", "responses": [ { "uuid": "cbfe39e8-64a4-4fdd-8d45-a408f047eb20", "body": "{\n \"booking\": {\n \"appointment_segments\": [\n {\n \"duration_minutes\": 60,\n \"service_variation_id\": \"RU3PBTZTK7DXZDQFCJHOK2MC\",\n \"service_variation_version\": 1599775456731,\n \"team_member_id\": \"TMXUrsBWWcHTt79t\"\n }\n ],\n \"created_at\": \"2020-10-28T15:47:41Z\",\n \"customer_id\": \"EX2QSVGTZN4K1E5QE1CBFNVQ8M\",\n \"customer_note\": \"\",\n \"id\": \"zkras0xv0xwswx\",\n \"location_id\": \"LEQHH0YY8B42M\",\n \"seller_note\": \"\",\n \"start_at\": \"2020-11-26T13:00:00Z\",\n \"status\": \"ACCEPTED\",\n \"updated_at\": \"2020-10-28T15:47:41Z\",\n \"version\": 0\n },\n \"errors\": []\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c71e11e3-7ab7-413b-b8b9-b971d348d1b0", "documentation": "SearchAvailability", "method": "post", "endpoint": "v2/bookings/availability/search", "responses": [ { "uuid": "03c4b828-79b2-4fc3-ba5d-58666f55064f", "body": "{\n \"availabilities\": [\n {\n \"appointment_segments\": [\n {\n \"duration_minutes\": 60,\n \"service_variation_id\": \"RU3PBTZTK7DXZDQFCJHOK2MC\",\n \"service_variation_version\": 1599775456731,\n \"team_member_id\": \"TMXUrsBWWcHTt79t\"\n }\n ],\n \"location_id\": \"LEQHH0YY8B42M\",\n \"start_at\": \"2020-11-26T13:00:00Z\"\n },\n {\n \"appointment_segments\": [\n {\n \"duration_minutes\": 60,\n \"service_variation_id\": \"RU3PBTZTK7DXZDQFCJHOK2MC\",\n \"service_variation_version\": 1599775456731,\n \"team_member_id\": \"TMXUrsBWWcHTt79t\"\n }\n ],\n \"location_id\": \"LEQHH0YY8B42M\",\n \"start_at\": \"2020-11-26T13:30:00Z\"\n },\n {\n \"appointment_segments\": [\n {\n \"duration_minutes\": 60,\n \"service_variation_id\": \"RU3PBTZTK7DXZDQFCJHOK2MC\",\n \"service_variation_version\": 1599775456731,\n \"team_member_id\": \"TMaJcbiRqPIGZuS9\"\n }\n ],\n \"location_id\": \"LEQHH0YY8B42M\",\n \"start_at\": \"2020-11-26T14:00:00Z\"\n },\n {\n \"appointment_segments\": [\n {\n \"duration_minutes\": 60,\n \"service_variation_id\": \"RU3PBTZTK7DXZDQFCJHOK2MC\",\n \"service_variation_version\": 1599775456731,\n \"team_member_id\": \"TMaJcbiRqPIGZuS9\"\n }\n ],\n \"location_id\": \"LEQHH0YY8B42M\",\n \"start_at\": \"2020-11-26T14:30:00Z\"\n },\n {\n \"appointment_segments\": [\n {\n \"duration_minutes\": 60,\n \"service_variation_id\": \"RU3PBTZTK7DXZDQFCJHOK2MC\",\n \"service_variation_version\": 1599775456731,\n \"team_member_id\": \"TMaJcbiRqPIGZuS9\"\n }\n ],\n \"location_id\": \"LEQHH0YY8B42M\",\n \"start_at\": \"2020-11-26T15:00:00Z\"\n },\n {\n \"appointment_segments\": [\n {\n \"duration_minutes\": 60,\n \"service_variation_id\": \"RU3PBTZTK7DXZDQFCJHOK2MC\",\n \"service_variation_version\": 1599775456731,\n \"team_member_id\": \"TMaJcbiRqPIGZuS9\"\n }\n ],\n \"location_id\": \"LEQHH0YY8B42M\",\n \"start_at\": \"2020-11-26T15:30:00Z\"\n },\n {\n \"appointment_segments\": [\n {\n \"duration_minutes\": 60,\n \"service_variation_id\": \"RU3PBTZTK7DXZDQFCJHOK2MC\",\n \"service_variation_version\": 1599775456731,\n \"team_member_id\": \"TMaJcbiRqPIGZuS9\"\n }\n ],\n \"location_id\": \"LEQHH0YY8B42M\",\n \"start_at\": \"2020-11-26T16:00:00Z\"\n },\n {\n \"appointment_segments\": [\n {\n \"duration_minutes\": 60,\n \"service_variation_id\": \"RU3PBTZTK7DXZDQFCJHOK2MC\",\n \"service_variation_version\": 1599775456731,\n \"team_member_id\": \"TMXUrsBWWcHTt79t\"\n }\n ],\n \"location_id\": \"LEQHH0YY8B42M\",\n \"start_at\": \"2020-11-27T09:00:00Z\"\n },\n {\n \"appointment_segments\": [\n {\n \"duration_minutes\": 60,\n \"service_variation_id\": \"RU3PBTZTK7DXZDQFCJHOK2MC\",\n \"service_variation_version\": 1599775456731,\n \"team_member_id\": \"TMaJcbiRqPIGZuS9\"\n }\n ],\n \"location_id\": \"LEQHH0YY8B42M\",\n \"start_at\": \"2020-11-27T09:30:00Z\"\n },\n {\n \"appointment_segments\": [\n {\n \"duration_minutes\": 60,\n \"service_variation_id\": \"RU3PBTZTK7DXZDQFCJHOK2MC\",\n \"service_variation_version\": 1599775456731,\n \"team_member_id\": \"TMXUrsBWWcHTt79t\"\n }\n ],\n \"location_id\": \"LEQHH0YY8B42M\",\n \"start_at\": \"2020-11-27T10:00:00Z\"\n },\n {\n \"appointment_segments\": [\n {\n \"duration_minutes\": 60,\n \"service_variation_id\": \"RU3PBTZTK7DXZDQFCJHOK2MC\",\n \"service_variation_version\": 1599775456731,\n \"team_member_id\": \"TMXUrsBWWcHTt79t\"\n }\n ],\n \"location_id\": \"LEQHH0YY8B42M\",\n \"start_at\": \"2020-11-27T10:30:00Z\"\n },\n {\n \"appointment_segments\": [\n {\n \"duration_minutes\": 60,\n \"service_variation_id\": \"RU3PBTZTK7DXZDQFCJHOK2MC\",\n \"service_variation_version\": 1599775456731,\n \"team_member_id\": \"TMXUrsBWWcHTt79t\"\n }\n ],\n \"location_id\": \"LEQHH0YY8B42M\",\n \"start_at\": \"2020-11-27T11:00:00Z\"\n },\n {\n \"appointment_segments\": [\n {\n \"duration_minutes\": 60,\n \"service_variation_id\": \"RU3PBTZTK7DXZDQFCJHOK2MC\",\n \"service_variation_version\": 1599775456731,\n \"team_member_id\": \"TMaJcbiRqPIGZuS9\"\n }\n ],\n \"location_id\": \"LEQHH0YY8B42M\",\n \"start_at\": \"2020-11-27T11:30:00Z\"\n },\n {\n \"appointment_segments\": [\n {\n \"duration_minutes\": 60,\n \"service_variation_id\": \"RU3PBTZTK7DXZDQFCJHOK2MC\",\n \"service_variation_version\": 1599775456731,\n \"team_member_id\": \"TMaJcbiRqPIGZuS9\"\n }\n ],\n \"location_id\": \"LEQHH0YY8B42M\",\n \"start_at\": \"2020-11-27T12:00:00Z\"\n },\n {\n \"appointment_segments\": [\n {\n \"duration_minutes\": 60,\n \"service_variation_id\": \"RU3PBTZTK7DXZDQFCJHOK2MC\",\n \"service_variation_version\": 1599775456731,\n \"team_member_id\": \"TMaJcbiRqPIGZuS9\"\n }\n ],\n \"location_id\": \"LEQHH0YY8B42M\",\n \"start_at\": \"2020-11-27T12:30:00Z\"\n },\n {\n \"appointment_segments\": [\n {\n \"duration_minutes\": 60,\n \"service_variation_id\": \"RU3PBTZTK7DXZDQFCJHOK2MC\",\n \"service_variation_version\": 1599775456731,\n \"team_member_id\": \"TMXUrsBWWcHTt79t\"\n }\n ],\n \"location_id\": \"LEQHH0YY8B42M\",\n \"start_at\": \"2020-11-27T13:00:00Z\"\n },\n {\n \"appointment_segments\": [\n {\n \"duration_minutes\": 60,\n \"service_variation_id\": \"RU3PBTZTK7DXZDQFCJHOK2MC\",\n \"service_variation_version\": 1599775456731,\n \"team_member_id\": \"TMXUrsBWWcHTt79t\"\n }\n ],\n \"location_id\": \"LEQHH0YY8B42M\",\n \"start_at\": \"2020-11-27T13:30:00Z\"\n },\n {\n \"appointment_segments\": [\n {\n \"duration_minutes\": 60,\n \"service_variation_id\": \"RU3PBTZTK7DXZDQFCJHOK2MC\",\n \"service_variation_version\": 1599775456731,\n \"team_member_id\": \"TMaJcbiRqPIGZuS9\"\n }\n ],\n \"location_id\": \"LEQHH0YY8B42M\",\n \"start_at\": \"2020-11-27T14:00:00Z\"\n }\n ],\n \"errors\": []\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4d3f980b-1340-4d11-8981-b78683a24816", "documentation": "RetrieveBusinessBookingProfile", "method": "get", "endpoint": "v2/bookings/business-booking-profile", "responses": [ { "uuid": "b5543b74-d242-450b-b80e-32d17493dce3", "body": "{\n \"business_booking_profile\": {\n \"allow_user_cancel\": true,\n \"booking_enabled\": true,\n \"booking_policy\": \"ACCEPT_ALL\",\n \"business_appointment_settings\": {\n \"alignment_time\": \"HALF_HOURLY\",\n \"any_team_member_booking_enabled\": true,\n \"cancellation_fee_money\": {\n \"currency\": \"USD\"\n },\n \"cancellation_policy\": \"CUSTOM_POLICY\",\n \"location_types\": [\n \"BUSINESS_LOCATION\"\n ],\n \"max_booking_lead_time_seconds\": 31536000,\n \"min_booking_lead_time_seconds\": 0,\n \"multiple_service_booking_enabled\": true,\n \"skip_booking_flow_staff_selection\": false\n },\n \"created_at\": \"2020-09-10T21:40:38Z\",\n \"customer_timezone_choice\": \"CUSTOMER_CHOICE\",\n \"seller_id\": \"MLJQYZZRM0D3Y\"\n },\n \"errors\": []\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3aad373c-91c7-4f76-bd08-0f04fd1ee6a6", "documentation": "ListTeamMemberBookingProfiles", "method": "get", "endpoint": "v2/bookings/team-member-booking-profiles", "responses": [ { "uuid": "49cc8261-9627-4eaf-836c-d6f6bea7af27", "body": "{\n \"errors\": [],\n \"team_member_booking_profiles\": [\n {\n \"display_name\": \"Sandbox Seller\",\n \"is_bookable\": true,\n \"team_member_id\": \"TMXUrsBWWcHTt79t\"\n },\n {\n \"display_name\": \"Sandbox Staff\",\n \"is_bookable\": true,\n \"team_member_id\": \"TMaJcbiRqPIGZuS9\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3218e1e1-6821-46e3-9d8f-4caf623c8cb2", "documentation": "RetrieveTeamMemberBookingProfile", "method": "get", "endpoint": "v2/bookings/team-member-booking-profiles/:team_member_id", "responses": [ { "uuid": "2b59e690-bd8f-428c-a6d3-8fb314748e5a", "body": "{\n \"errors\": [],\n \"team_member_booking_profile\": {\n \"display_name\": \"Sandbox Staff\",\n \"is_bookable\": true,\n \"team_member_id\": \"TMaJcbiRqPIGZuS9\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "11c561ca-9e6d-4001-a9d4-afbc96149cea", "documentation": "RetrieveBooking", "method": "get", "endpoint": "v2/bookings/:booking_id", "responses": [ { "uuid": "b3c6794c-b5c0-4a5e-b3ca-1b9ad9443687", "body": "{\n \"booking\": {\n \"appointment_segments\": [\n {\n \"duration_minutes\": 60,\n \"service_variation_id\": \"RU3PBTZTK7DXZDQFCJHOK2MC\",\n \"service_variation_version\": 1599775456731,\n \"team_member_id\": \"TMXUrsBWWcHTt79t\"\n }\n ],\n \"created_at\": \"2020-10-28T15:47:41Z\",\n \"customer_id\": \"EX2QSVGTZN4K1E5QE1CBFNVQ8M\",\n \"customer_note\": \"\",\n \"id\": \"zkras0xv0xwswx\",\n \"location_id\": \"LEQHH0YY8B42M\",\n \"seller_note\": \"\",\n \"start_at\": \"2020-11-26T13:00:00Z\",\n \"status\": \"ACCEPTED\",\n \"updated_at\": \"2020-10-28T15:49:25Z\",\n \"version\": 1\n },\n \"errors\": []\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b0cde29b-b513-4733-9aef-4b98e0b244e9", "documentation": "UpdateBooking", "method": "put", "endpoint": "v2/bookings/:booking_id", "responses": [ { "uuid": "05434a75-0bca-4084-a476-e086b08263e4", "body": "{\n \"booking\": {\n \"appointment_segments\": [\n {\n \"duration_minutes\": 60,\n \"service_variation_id\": \"RU3PBTZTK7DXZDQFCJHOK2MC\",\n \"service_variation_version\": 1599775456731,\n \"team_member_id\": \"TMXUrsBWWcHTt79t\"\n }\n ],\n \"created_at\": \"2020-10-28T15:47:41Z\",\n \"customer_id\": \"EX2QSVGTZN4K1E5QE1CBFNVQ8M\",\n \"customer_note\": \"I would like to sit near the window please\",\n \"id\": \"zkras0xv0xwswx\",\n \"location_id\": \"LEQHH0YY8B42M\",\n \"seller_note\": \"\",\n \"start_at\": \"2020-11-26T13:00:00Z\",\n \"status\": \"ACCEPTED\",\n \"updated_at\": \"2020-10-28T15:49:25Z\",\n \"version\": 2\n },\n \"errors\": []\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "007ce7c7-da98-48a2-9150-eed9829d0b4f", "documentation": "CancelBooking", "method": "post", "endpoint": "v2/bookings/:booking_id/cancel", "responses": [ { "uuid": "8f0b8826-045e-4978-9aa1-d315dc6e915b", "body": "{\n \"booking\": {\n \"appointment_segments\": [\n {\n \"duration_minutes\": 60,\n \"service_variation_id\": \"RU3PBTZTK7DXZDQFCJHOK2MC\",\n \"service_variation_version\": 1599775456731,\n \"team_member_id\": \"TMXUrsBWWcHTt79t\"\n }\n ],\n \"created_at\": \"2020-10-28T15:47:41Z\",\n \"customer_id\": \"EX2QSVGTZN4K1E5QE1CBFNVQ8M\",\n \"customer_note\": \"\",\n \"id\": \"zkras0xv0xwswx\",\n \"location_id\": \"LEQHH0YY8B42M\",\n \"seller_note\": \"\",\n \"start_at\": \"2020-11-26T13:00:00Z\",\n \"status\": \"CANCELLED_BY_CUSTOMER\",\n \"updated_at\": \"2020-10-28T15:49:25Z\",\n \"version\": 1\n },\n \"errors\": []\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "08d38f91-13c7-4377-ab10-5ae50df351ab", "documentation": "ListCards", "method": "get", "endpoint": "v2/cards", "responses": [ { "uuid": "26885164-62fe-4de5-b827-88ec2ad25a4a", "body": "{\n \"cards\": [\n {\n \"card\": {\n \"billing_address\": {\n \"address_line_1\": \"500 Electric Ave\",\n \"address_line_2\": \"Suite 600\",\n \"administrative_district_level_1\": \"NY\",\n \"country\": \"US\",\n \"locality\": \"New York\",\n \"postal_code\": \"10003\"\n },\n \"bin\": \"411111\",\n \"card_brand\": \"VISA\",\n \"card_type\": \"CREDIT\",\n \"cardholder_name\": \"Amelia Earhart\",\n \"customer_id\": \"VDKXEEKPJN48QDG3BGGFAK05P8\",\n \"enabled\": true,\n \"exp_month\": 11,\n \"exp_year\": 2022,\n \"fingerprint\": \"ex-p-cs80EK9Flz7LsCMv-szbptQ_ssAGrhemzSTsPFgt9nzyE6t7okiLIQc-qw_quqKX4Q\",\n \"id\": \"ccof:uIbfJXhXETSP197M3GB\",\n \"last_4\": \"1111\",\n \"prepaid_type\": \"NOT_PREPAID\",\n \"reference_id\": \"user-id-1\",\n \"version\": 1\n }\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a82aa0f9-5522-41c8-976a-a2da075ba209", "documentation": "CreateCard", "method": "post", "endpoint": "v2/cards", "responses": [ { "uuid": "2cb0dae8-7613-4bac-9c2c-4147669fe0eb", "body": "{\n \"card\": {\n \"billing_address\": {\n \"address_line_1\": \"500 Electric Ave\",\n \"address_line_2\": \"Suite 600\",\n \"administrative_district_level_1\": \"NY\",\n \"country\": \"US\",\n \"locality\": \"New York\",\n \"postal_code\": \"10003\"\n },\n \"bin\": \"411111\",\n \"card_brand\": \"VISA\",\n \"card_type\": \"CREDIT\",\n \"cardholder_name\": \"Amelia Earhart\",\n \"customer_id\": \"VDKXEEKPJN48QDG3BGGFAK05P8\",\n \"enabled\": true,\n \"exp_month\": 11,\n \"exp_year\": 2022,\n \"fingerprint\": \"ex-p-cs80EK9Flz7LsCMv-szbptQ_ssAGrhemzSTsPFgt9nzyE6t7okiLIQc-qw_quqKX4Q\",\n \"id\": \"ccof:uIbfJXhXETSP197M3GB\",\n \"last_4\": \"1111\",\n \"prepaid_type\": \"NOT_PREPAID\",\n \"reference_id\": \"user-id-1\",\n \"version\": 1\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fa5d1a4e-c3b9-4770-91d8-3ca5d83e2cfd", "documentation": "RetrieveCard", "method": "get", "endpoint": "v2/cards/:card_id", "responses": [ { "uuid": "0724d76f-072b-4d6c-ba31-d094475f8ce3", "body": "{\n \"card\": {\n \"billing_address\": {\n \"address_line_1\": \"500 Electric Ave\",\n \"address_line_2\": \"Suite 600\",\n \"administrative_district_level_1\": \"NY\",\n \"country\": \"US\",\n \"locality\": \"New York\",\n \"postal_code\": \"10003\"\n },\n \"bin\": \"411111\",\n \"card_brand\": \"VISA\",\n \"card_type\": \"CREDIT\",\n \"cardholder_name\": \"Amelia Earhart\",\n \"customer_id\": \"VDKXEEKPJN48QDG3BGGFAK05P8\",\n \"enabled\": true,\n \"exp_month\": 11,\n \"exp_year\": 2022,\n \"fingerprint\": \"ex-p-cs80EK9Flz7LsCMv-szbptQ_ssAGrhemzSTsPFgt9nzyE6t7okiLIQc-qw_quqKX4Q\",\n \"id\": \"ccof:uIbfJXhXETSP197M3GB\",\n \"last_4\": \"1111\",\n \"prepaid_type\": \"NOT_PREPAID\",\n \"reference_id\": \"user-id-1\",\n \"version\": 1\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d018e19f-712b-4792-b326-aeb15bf24629", "documentation": "DisableCard", "method": "post", "endpoint": "v2/cards/:card_id/disable", "responses": [ { "uuid": "d102664d-120d-48c0-9534-f1fc0fb29b26", "body": "{\n \"card\": {\n \"billing_address\": {\n \"address_line_1\": \"500 Electric Ave\",\n \"address_line_2\": \"Suite 600\",\n \"administrative_district_level_1\": \"NY\",\n \"country\": \"US\",\n \"locality\": \"New York\",\n \"postal_code\": \"10003\"\n },\n \"bin\": \"411111\",\n \"card_brand\": \"VISA\",\n \"card_type\": \"CREDIT\",\n \"cardholder_name\": \"Amelia Earhart\",\n \"customer_id\": \"VDKXEEKPJN48QDG3BGGFAK05P8\",\n \"enabled\": false,\n \"exp_month\": 11,\n \"exp_year\": 2022,\n \"fingerprint\": \"ex-p-cs80EK9Flz7LsCMv-szbptQ_ssAGrhemzSTsPFgt9nzyE6t7okiLIQc-qw_quqKX4Q\",\n \"id\": \"ccof:uIbfJXhXETSP197M3GB\",\n \"last_4\": \"1111\",\n \"prepaid_type\": \"NOT_PREPAID\",\n \"reference_id\": \"user-id-1\",\n \"version\": 2\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "dadc9921-4713-482b-87bd-60a576dab024", "documentation": "ListCashDrawerShifts", "method": "get", "endpoint": "v2/cash-drawers/shifts", "responses": [ { "uuid": "e50163b1-ae22-4c82-aee0-a64455cd8de1", "body": "{\n \"items\": [\n {\n \"closed_at\": \"2019-11-22T00:44:49.000Z\",\n \"closed_cash_money\": {\n \"amount\": 9970,\n \"currency\": \"USD\"\n },\n \"description\": \"Misplaced some change\",\n \"ended_at\": \"2019-11-22T00:44:49.000Z\",\n \"expected_cash_money\": {\n \"amount\": 10000,\n \"currency\": \"USD\"\n },\n \"id\": \"DCC99978-09A6-4926-849F-300BE9C5793A\",\n \"opened_at\": \"2019-11-22T00:42:54.000Z\",\n \"opened_cash_money\": {\n \"amount\": 10000,\n \"currency\": \"USD\"\n },\n \"state\": \"CLOSED\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "60d478a4-cbc4-458d-994e-728cde5ae10c", "documentation": "RetrieveCashDrawerShift", "method": "get", "endpoint": "v2/cash-drawers/shifts/:shift_id", "responses": [ { "uuid": "50652ae4-5445-4042-9a15-0282b34de844", "body": "{\n \"cash_drawer_shift\": {\n \"cash_paid_in_money\": {\n \"amount\": 10000,\n \"currency\": \"USD\"\n },\n \"cash_paid_out_money\": {\n \"amount\": -10000,\n \"currency\": \"USD\"\n },\n \"cash_payment_money\": {\n \"amount\": 100,\n \"currency\": \"USD\"\n },\n \"cash_refunds_money\": {\n \"amount\": -100,\n \"currency\": \"USD\"\n },\n \"closed_at\": \"2019-11-22T00:44:49.000Z\",\n \"closed_cash_money\": {\n \"amount\": 9970,\n \"currency\": \"USD\"\n },\n \"closing_employee_id\": \"\",\n \"description\": \"Misplaced some change\",\n \"device\": {\n \"name\": \"My iPad\"\n },\n \"ended_at\": \"2019-11-22T00:44:49.000Z\",\n \"ending_employee_id\": \"\",\n \"expected_cash_money\": {\n \"amount\": 10000,\n \"currency\": \"USD\"\n },\n \"id\": \"DCC99978-09A6-4926-849F-300BE9C5793A\",\n \"opened_at\": \"2019-11-22T00:42:54.000Z\",\n \"opened_cash_money\": {\n \"amount\": 10000,\n \"currency\": \"USD\"\n },\n \"opening_employee_id\": \"\",\n \"state\": \"CLOSED\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a2199ffb-4d6e-4dff-84fb-ec4bb8f1034d", "documentation": "ListCashDrawerShiftEvents", "method": "get", "endpoint": "v2/cash-drawers/shifts/:shift_id/events", "responses": [ { "uuid": "f9fee95a-a0e4-4c6e-9b31-d2900715ff74", "body": "{\n \"events\": [\n {\n \"created_at\": \"2019-11-22T00:43:02.000Z\",\n \"description\": \"\",\n \"event_money\": {\n \"amount\": 100,\n \"currency\": \"USD\"\n },\n \"event_type\": \"CASH_TENDER_PAYMENT\",\n \"id\": \"9F07DB01-D85A-4B77-88C3-D5C64CEB5155\"\n },\n {\n \"created_at\": \"2019-11-22T00:43:12.000Z\",\n \"description\": \"\",\n \"event_money\": {\n \"amount\": 250,\n \"currency\": \"USD\"\n },\n \"event_type\": \"CASH_TENDER_PAYMENT\",\n \"id\": \"B2854CEA-A781-49B3-8F31-C64558231F48\"\n },\n {\n \"created_at\": \"2019-11-22T00:43:23.000Z\",\n \"description\": \"\",\n \"event_money\": {\n \"amount\": 250,\n \"currency\": \"USD\"\n },\n \"event_type\": \"CASH_TENDER_CANCELLED_PAYMENT\",\n \"id\": \"B5FB7F72-95CD-44A3-974D-26C41064D042\"\n },\n {\n \"created_at\": \"2019-11-22T00:43:46.000Z\",\n \"description\": \"\",\n \"event_money\": {\n \"amount\": 100,\n \"currency\": \"USD\"\n },\n \"event_type\": \"CASH_TENDER_REFUND\",\n \"id\": \"0B425480-8504-40B4-A867-37B23543931B\"\n },\n {\n \"created_at\": \"2019-11-22T00:44:18.000Z\",\n \"description\": \"Transfer from another drawer\",\n \"event_money\": {\n \"amount\": 10000,\n \"currency\": \"USD\"\n },\n \"event_type\": \"PAID_IN\",\n \"id\": \"8C66E60E-FDCF-4EEF-A98D-3B14B7ED5CBE\"\n },\n {\n \"created_at\": \"2019-11-22T00:44:29.000Z\",\n \"description\": \"Transfer out to another drawer\",\n \"event_money\": {\n \"amount\": 10000,\n \"currency\": \"USD\"\n },\n \"event_type\": \"PAID_OUT\",\n \"id\": \"D5ACA7FE-C64D-4ADA-8BC8-82118A2DAE4F\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e7a55a43-70b1-4c56-87a6-8237989e7e7c", "documentation": "BatchDeleteCatalogObjects", "method": "post", "endpoint": "v2/catalog/batch-delete", "responses": [ { "uuid": "fa12b883-0b37-4da3-866d-8cbd5a90f599", "body": "{\n \"deleted_at\": \"2016-11-16T22:25:24.878Z\",\n \"deleted_object_ids\": [\n \"W62UWFY35CWMYGVWK6TWJDNI\",\n \"AA27W3M2GGTF3H6AVPNB77CK\"\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "79b858e7-512b-4ddc-a472-17e9890f04a4", "documentation": "BatchRetrieveCatalogObjects", "method": "post", "endpoint": "v2/catalog/batch-retrieve", "responses": [ { "uuid": "ad5756bc-e1ea-4968-95bf-6bc973b04009", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a8ff9abb-31f0-4392-8ea0-956208feb1aa", "documentation": "BatchUpsertCatalogObjects", "method": "post", "endpoint": "v2/catalog/batch-upsert", "responses": [ { "uuid": "535209fd-c90a-4ef7-9871-e3d1d6bb0bb8", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "88126ca7-0af5-4a2a-b6b4-c0d059890652", "documentation": "CatalogInfo", "method": "get", "endpoint": "v2/catalog/info", "responses": [ { "uuid": "8ad567f8-27b3-4ab5-b05d-e4c5792bacfa", "body": "{\n \"limits\": {\n \"batch_delete_max_object_ids\": 200,\n \"batch_retrieve_max_object_ids\": 1000,\n \"batch_upsert_max_objects_per_batch\": 1000,\n \"batch_upsert_max_total_objects\": 10000,\n \"search_max_page_limit\": 1000,\n \"update_item_modifier_lists_max_item_ids\": 1000,\n \"update_item_modifier_lists_max_modifier_lists_to_disable\": 1000,\n \"update_item_modifier_lists_max_modifier_lists_to_enable\": 1000,\n \"update_item_taxes_max_item_ids\": 1000,\n \"update_item_taxes_max_taxes_to_disable\": 1000,\n \"update_item_taxes_max_taxes_to_enable\": 1000\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0837dbc2-0fa4-4064-8f7a-bccc029167c9", "documentation": "ListCatalog", "method": "get", "endpoint": "v2/catalog/list", "responses": [ { "uuid": "e6b545c4-ef02-470c-adae-8838b718b1c8", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6d507510-7450-48fb-a5dc-61327b013fd5", "documentation": "UpsertCatalogObject", "method": "post", "endpoint": "v2/catalog/object", "responses": [ { "uuid": "a271633e-e4bf-48a5-91ca-8291a527be4a", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5b28ead0-9afa-4797-b1ea-57fe416adf31", "documentation": "DeleteCatalogObject", "method": "delete", "endpoint": "v2/catalog/object/:object_id", "responses": [ { "uuid": "863f7fb8-3136-4c1b-adc6-986650816e74", "body": "{\n \"deleted_at\": \"2016-11-16T22:25:24.878Z\",\n \"deleted_object_ids\": [\n \"7SB3ZQYJ5GDMVFL7JK46JCHT\",\n \"KQLFFHA6K6J3YQAQAWDQAL57\"\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d37fb0c0-d870-4a80-9cd1-94d9d619abc0", "documentation": "RetrieveCatalogObject", "method": "get", "endpoint": "v2/catalog/object/:object_id", "responses": [ { "uuid": "2f73cec5-d84e-40d6-91fd-07712188e8cb", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a8f7cb5f-241e-4f76-a37d-9d33a538f725", "documentation": "SearchCatalogObjects", "method": "post", "endpoint": "v2/catalog/search", "responses": [ { "uuid": "4089e689-4c40-472b-bf81-c1f7ebdad1ea", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b64ab5c0-ce7f-4c15-b39c-7225fe5c6df9", "documentation": "SearchCatalogItems", "method": "post", "endpoint": "v2/catalog/search-catalog-items", "responses": [ { "uuid": "d353270c-36fc-49d1-8325-e0db4e04d455", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c5595129-a860-45cf-8cc2-2fc249c633b9", "documentation": "UpdateItemModifierLists", "method": "post", "endpoint": "v2/catalog/update-item-modifier-lists", "responses": [ { "uuid": "2b0a5885-5ef9-4c9b-8126-7afb73335338", "body": "{\n \"updated_at\": \"2016-11-16T22:25:24.878Z\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ce43d025-825d-43a8-bbff-d70ffea7f70c", "documentation": "UpdateItemTaxes", "method": "post", "endpoint": "v2/catalog/update-item-taxes", "responses": [ { "uuid": "aba1ba58-9713-4b50-b2e9-1a704e338edc", "body": "{\n \"updated_at\": \"2016-11-16T22:25:24.878Z\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7595e01a-a9ee-4989-838d-62b648aeea9c", "documentation": "ListCustomers", "method": "get", "endpoint": "v2/customers", "responses": [ { "uuid": "b590f36f-7755-403c-87ff-68c70b0c0366", "body": "{\n \"customers\": [\n {\n \"address\": {\n \"address_line_1\": \"500 Electric Ave\",\n \"address_line_2\": \"Suite 600\",\n \"administrative_district_level_1\": \"NY\",\n \"country\": \"US\",\n \"locality\": \"New York\",\n \"postal_code\": \"10003\"\n },\n \"created_at\": \"2016-03-23T20:21:54.859Z\",\n \"creation_source\": \"THIRD_PARTY\",\n \"email_address\": \"Amelia.Earhart@example.com\",\n \"family_name\": \"Earhart\",\n \"given_name\": \"Amelia\",\n \"group_ids\": [\n \"545AXB44B4XXWMVQ4W8SBT3HHF\"\n ],\n \"id\": \"JDKYHBWT1D4F8MFH63DBMEN8Y4\",\n \"note\": \"a customer\",\n \"phone_number\": \"1-212-555-4240\",\n \"preferences\": {\n \"email_unsubscribed\": false\n },\n \"reference_id\": \"YOUR_REFERENCE_ID\",\n \"segment_ids\": [\n \"1KB9JE5EGJXCW.REACHABLE\"\n ],\n \"updated_at\": \"2016-03-23T20:21:55Z\",\n \"version\": 1\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c436e491-f2fb-416f-a39b-561280e69894", "documentation": "CreateCustomer", "method": "post", "endpoint": "v2/customers", "responses": [ { "uuid": "25bfc0a6-4934-494d-80a9-48ae951432c9", "body": "{\n \"customer\": {\n \"address\": {\n \"address_line_1\": \"500 Electric Ave\",\n \"address_line_2\": \"Suite 600\",\n \"administrative_district_level_1\": \"NY\",\n \"country\": \"US\",\n \"locality\": \"New York\",\n \"postal_code\": \"10003\"\n },\n \"created_at\": \"2016-03-23T20:21:54.859Z\",\n \"creation_source\": \"THIRD_PARTY\",\n \"email_address\": \"Amelia.Earhart@example.com\",\n \"family_name\": \"Earhart\",\n \"given_name\": \"Amelia\",\n \"id\": \"JDKYHBWT1D4F8MFH63DBMEN8Y4\",\n \"note\": \"a customer\",\n \"phone_number\": \"1-212-555-4240\",\n \"preferences\": {\n \"email_unsubscribed\": false\n },\n \"reference_id\": \"YOUR_REFERENCE_ID\",\n \"updated_at\": \"2016-03-23T20:21:54.859Z\",\n \"version\": 0\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "890c3c97-9a0d-42b6-bc74-ba110022c4c0", "documentation": "ListCustomerGroups", "method": "get", "endpoint": "v2/customers/groups", "responses": [ { "uuid": "faadf4c3-cc59-4dbe-a4cb-2509e4a8aa85", "body": "{\n \"groups\": [\n {\n \"created_at\": \"2020-04-13T21:54:57.863Z\",\n \"id\": \"2TAT3CMH4Q0A9M87XJZED0WMR3\",\n \"name\": \"Loyal Customers\",\n \"updated_at\": \"2020-04-13T21:54:58Z\"\n },\n {\n \"created_at\": \"2020-04-13T21:55:18.795Z\",\n \"id\": \"4XMEHESXJBNE9S9JAKZD2FGB14\",\n \"name\": \"Super Loyal Customers\",\n \"updated_at\": \"2020-04-13T21:55:19Z\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5d6ad00b-58c6-40d0-a6dc-47bc5ac6e3f0", "documentation": "CreateCustomerGroup", "method": "post", "endpoint": "v2/customers/groups", "responses": [ { "uuid": "8c47d8ae-25e9-4a8e-8574-02ad344b3a1a", "body": "{\n \"group\": {\n \"created_at\": \"2020-04-13T21:54:57.863Z\",\n \"id\": \"2TAT3CMH4Q0A9M87XJZED0WMR3\",\n \"name\": \"Loyal Customers\",\n \"updated_at\": \"2020-04-13T21:54:58Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fd01b6ef-5bf2-4107-b6c8-453062f9ad28", "documentation": "DeleteCustomerGroup", "method": "delete", "endpoint": "v2/customers/groups/:group_id", "responses": [ { "uuid": "0425d9f3-0e64-44a6-8478-8c302e1ea493", "body": "{}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e85f676f-f034-4017-8366-74363f5e355c", "documentation": "RetrieveCustomerGroup", "method": "get", "endpoint": "v2/customers/groups/:group_id", "responses": [ { "uuid": "8a52367d-0c6c-47d7-a0d5-59dd04c4719e", "body": "{\n \"group\": {\n \"created_at\": \"2020-04-13T21:54:57.863Z\",\n \"id\": \"2TAT3CMH4Q0A9M87XJZED0WMR3\",\n \"name\": \"Loyal Customers\",\n \"updated_at\": \"2020-04-13T21:54:58Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6758c658-3805-4367-bbc5-d259a2eb5b35", "documentation": "UpdateCustomerGroup", "method": "put", "endpoint": "v2/customers/groups/:group_id", "responses": [ { "uuid": "77314f51-464a-41e8-af59-6a66695ca6f8", "body": "{\n \"group\": {\n \"created_at\": \"2020-04-13T21:54:57.863Z\",\n \"id\": \"2TAT3CMH4Q0A9M87XJZED0WMR3\",\n \"name\": \"Loyal Customers\",\n \"updated_at\": \"2020-04-13T21:54:58Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bc153da4-2ee9-40a3-982e-df24df507f82", "documentation": "SearchCustomers", "method": "post", "endpoint": "v2/customers/search", "responses": [ { "uuid": "9bd46f81-1e41-4c01-8ef1-f91a46f4000d", "body": "{\n \"cursor\": \"9dpS093Uy12AzeE\",\n \"customers\": [\n {\n \"address\": {\n \"address_line_1\": \"505 Electric Ave\",\n \"address_line_2\": \"Suite 600\",\n \"administrative_district_level_1\": \"NY\",\n \"country\": \"US\",\n \"locality\": \"New York\",\n \"postal_code\": \"10003\"\n },\n \"created_at\": \"2018-01-23T20:21:54.859Z\",\n \"creation_source\": \"DIRECTORY\",\n \"email_address\": \"james.bond@example.com\",\n \"family_name\": \"Bond\",\n \"given_name\": \"James\",\n \"group_ids\": [\n \"545AXB44B4XXWMVQ4W8SBT3HHF\"\n ],\n \"id\": \"JDKYHBWT1D4F8MFH63DBMEN8Y4\",\n \"phone_number\": \"1-212-555-4250\",\n \"preferences\": {\n \"email_unsubscribed\": false\n },\n \"reference_id\": \"YOUR_REFERENCE_ID_2\",\n \"segment_ids\": [\n \"1KB9JE5EGJXCW.REACHABLE\"\n ],\n \"updated_at\": \"2020-04-20T10:02:43.083Z\",\n \"version\": 7\n },\n {\n \"address\": {\n \"address_line_1\": \"500 Electric Ave\",\n \"address_line_2\": \"Suite 600\",\n \"administrative_district_level_1\": \"NY\",\n \"country\": \"US\",\n \"locality\": \"New York\",\n \"postal_code\": \"10003\"\n },\n \"created_at\": \"2018-01-30T14:10:54.859Z\",\n \"creation_source\": \"THIRD_PARTY\",\n \"email_address\": \"amelia.earhart@example.com\",\n \"family_name\": \"Earhart\",\n \"given_name\": \"Amelia\",\n \"group_ids\": [\n \"545AXB44B4XXWMVQ4W8SBT3HHF\"\n ],\n \"id\": \"JDKYHBWT1D4F8MFH63DBMEN8Y4\",\n \"note\": \"a customer\",\n \"phone_number\": \"1-212-555-4240\",\n \"preferences\": {\n \"email_unsubscribed\": false\n },\n \"reference_id\": \"YOUR_REFERENCE_ID_1\",\n \"segment_ids\": [\n \"1KB9JE5EGJXCW.REACHABLE\"\n ],\n \"updated_at\": \"2018-03-08T18:25:21.342Z\",\n \"version\": 1\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "001a3e51-07f7-4680-8b11-f066d960ef77", "documentation": "ListCustomerSegments", "method": "get", "endpoint": "v2/customers/segments", "responses": [ { "uuid": "b953b373-4014-478e-a8a3-e4ac11485a24", "body": "{\n \"segments\": [\n {\n \"created_at\": \"2020-01-09T19:33:24.469Z\",\n \"id\": \"GMNXRZVEXNQDF.CHURN_RISK\",\n \"name\": \"Lapsed\",\n \"updated_at\": \"2020-04-13T21:47:04Z\"\n },\n {\n \"created_at\": \"2020-01-09T19:33:24.486Z\",\n \"id\": \"GMNXRZVEXNQDF.LOYAL\",\n \"name\": \"Regulars\",\n \"updated_at\": \"2020-04-13T21:47:04Z\"\n },\n {\n \"created_at\": \"2020-01-09T19:33:21.813Z\",\n \"id\": \"GMNXRZVEXNQDF.REACHABLE\",\n \"name\": \"Reachable\",\n \"updated_at\": \"2020-04-13T21:47:04Z\"\n },\n {\n \"created_at\": \"2020-01-09T19:33:25Z\",\n \"id\": \"gv2:KF92J19VXN5FK30GX2E8HSGQ20\",\n \"name\": \"Instant Profile\",\n \"updated_at\": \"2020-04-13T23:01:03Z\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a7e6ce0b-c0b9-4cde-9932-a463dea251ed", "documentation": "RetrieveCustomerSegment", "method": "get", "endpoint": "v2/customers/segments/:segment_id", "responses": [ { "uuid": "fa288454-322a-4b24-909a-f48648881269", "body": "{\n \"segment\": {\n \"created_at\": \"2020-01-09T19:33:24.469Z\",\n \"id\": \"GMNXRZVEXNQDF.CHURN_RISK\",\n \"name\": \"Lapsed\",\n \"updated_at\": \"2020-04-13T23:01:13Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "cc600d08-ee1b-49f1-844c-3227b187fadf", "documentation": "DeleteCustomer", "method": "delete", "endpoint": "v2/customers/:customer_id", "responses": [ { "uuid": "7b8ae902-96db-494d-8c8f-e3b14ce2c856", "body": "{}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "32e313d7-960b-4e5e-a2c6-bd3e5707fbb1", "documentation": "RetrieveCustomer", "method": "get", "endpoint": "v2/customers/:customer_id", "responses": [ { "uuid": "7a78320c-8c24-49f2-bc7c-531d822dd094", "body": "{\n \"customer\": {\n \"address\": {\n \"address_line_1\": \"500 Electric Ave\",\n \"address_line_2\": \"Suite 600\",\n \"administrative_district_level_1\": \"NY\",\n \"country\": \"US\",\n \"locality\": \"New York\",\n \"postal_code\": \"10003\"\n },\n \"created_at\": \"2016-03-23T20:21:54.859Z\",\n \"creation_source\": \"THIRD_PARTY\",\n \"email_address\": \"Amelia.Earhart@example.com\",\n \"family_name\": \"Earhart\",\n \"given_name\": \"Amelia\",\n \"group_ids\": [\n \"545AXB44B4XXWMVQ4W8SBT3HHF\"\n ],\n \"id\": \"JDKYHBWT1D4F8MFH63DBMEN8Y4\",\n \"note\": \"a customer\",\n \"phone_number\": \"1-212-555-4240\",\n \"preferences\": {\n \"email_unsubscribed\": false\n },\n \"reference_id\": \"YOUR_REFERENCE_ID\",\n \"segment_ids\": [\n \"1KB9JE5EGJXCW.REACHABLE\"\n ],\n \"updated_at\": \"2016-03-23T20:21:54.859Z\",\n \"version\": 1\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "63797eae-396a-4b4d-b961-92773d62cf94", "documentation": "UpdateCustomer", "method": "put", "endpoint": "v2/customers/:customer_id", "responses": [ { "uuid": "62a48a05-24fa-4518-b851-0d51ebe8813e", "body": "{\n \"customer\": {\n \"address\": {\n \"address_line_1\": \"500 Electric Ave\",\n \"address_line_2\": \"Suite 600\",\n \"administrative_district_level_1\": \"NY\",\n \"country\": \"US\",\n \"locality\": \"New York\",\n \"postal_code\": \"10003\"\n },\n \"created_at\": \"2016-03-23T20:21:54.859Z\",\n \"creation_source\": \"THIRD_PARTY\",\n \"email_address\": \"New.Amelia.Earhart@example.com\",\n \"family_name\": \"Earhart\",\n \"given_name\": \"Amelia\",\n \"id\": \"JDKYHBWT1D4F8MFH63DBMEN8Y4\",\n \"note\": \"updated customer note\",\n \"preferences\": {\n \"email_unsubscribed\": false\n },\n \"reference_id\": \"YOUR_REFERENCE_ID\",\n \"updated_at\": \"2016-05-15T20:21:55Z\",\n \"version\": 3\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b90bfa15-9b94-461d-be88-8a8f2670f8d3", "documentation": "CreateCustomerCard", "method": "post", "endpoint": "v2/customers/:customer_id/cards", "responses": [ { "uuid": "75550cf5-9da2-48e9-b8e1-5c5ff753b1fc", "body": "{\n \"card\": {\n \"billing_address\": {\n \"address_line_1\": \"500 Electric Ave\",\n \"address_line_2\": \"Suite 600\",\n \"administrative_district_level_1\": \"NY\",\n \"country\": \"US\",\n \"locality\": \"New York\",\n \"postal_code\": \"10003\"\n },\n \"card_brand\": \"VISA\",\n \"cardholder_name\": \"Amelia Earhart\",\n \"exp_month\": 11,\n \"exp_year\": 2018,\n \"id\": \"icard-card_id\",\n \"last_4\": \"1111\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3eb90aaf-e81d-43c0-a372-acc17f3aed17", "documentation": "DeleteCustomerCard", "method": "delete", "endpoint": "v2/customers/:customer_id/cards/:card_id", "responses": [ { "uuid": "501da22a-c6d4-49cc-ab11-2ae351abbdcc", "body": "{}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "dcca8ec4-7b34-425a-abab-28ccba2d9875", "documentation": "RemoveGroupFromCustomer", "method": "delete", "endpoint": "v2/customers/:customer_id/groups/:group_id", "responses": [ { "uuid": "90626b0c-efa7-429e-97fc-a37392aa4b74", "body": "{}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0ddae0ae-252f-43b2-b7bd-a4efefb8b695", "documentation": "AddGroupToCustomer", "method": "put", "endpoint": "v2/customers/:customer_id/groups/:group_id", "responses": [ { "uuid": "f5059aaa-e25c-4cde-a4a2-7cb7bff87800", "body": "{}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "94fb486c-e450-4fb5-9f7b-326f1d988ae3", "documentation": "ListDeviceCodes", "method": "get", "endpoint": "v2/devices/codes", "responses": [ { "uuid": "c02cbc78-881e-46f3-a150-ba4a788cad8f", "body": "{\n \"device_codes\": [\n {\n \"code\": \"EBCARJ\",\n \"created_at\": \"2020-02-06T18:44:33.000Z\",\n \"device_id\": \"907CS13101300122\",\n \"id\": \"B3Z6NAMYQSMTM\",\n \"location_id\": \"B5E4484SHHNYH\",\n \"name\": \"Counter 1\",\n \"pair_by\": \"2020-02-06T18:49:33.000Z\",\n \"product_type\": \"TERMINAL_API\",\n \"status\": \"PAIRED\",\n \"status_changed_at\": \"2020-02-06T18:47:28.000Z\"\n },\n {\n \"code\": \"GVXNYN\",\n \"created_at\": \"2020-02-07T19:55:04.000Z\",\n \"id\": \"YKGMJMYK8H4PQ\",\n \"location_id\": \"A6SYFRSV4WAFW\",\n \"name\": \"Unused device code\",\n \"pair_by\": \"2020-02-07T20:00:04.000Z\",\n \"product_type\": \"TERMINAL_API\",\n \"status\": \"UNPAIRED\",\n \"status_changed_at\": \"2020-02-07T19:55:04.000Z\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1f65c18e-7156-4f64-b080-bd301033986d", "documentation": "CreateDeviceCode", "method": "post", "endpoint": "v2/devices/codes", "responses": [ { "uuid": "ad72c5fc-039f-4e37-bad9-961b0c48fb18", "body": "{\n \"device_code\": {\n \"code\": \"EBCARJ\",\n \"created_at\": \"2020-02-06T18:44:33.000Z\",\n \"id\": \"B3Z6NAMYQSMTM\",\n \"location_id\": \"B5E4484SHHNYH\",\n \"name\": \"Counter 1\",\n \"pair_by\": \"2020-02-06T18:49:33.000Z\",\n \"product_type\": \"TERMINAL_API\",\n \"status\": \"UNPAIRED\",\n \"status_changed_at\": \"2020-02-06T18:44:33.000Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "91398644-c9f1-44f2-a528-9bceb1353b00", "documentation": "GetDeviceCode", "method": "get", "endpoint": "v2/devices/codes/:id", "responses": [ { "uuid": "efb16429-99c0-4545-8027-9f1307912e1f", "body": "{\n \"device_code\": {\n \"code\": \"EBCARJ\",\n \"created_at\": \"2020-02-06T18:44:33.000Z\",\n \"device_id\": \"907CS13101300122\",\n \"id\": \"B3Z6NAMYQSMTM\",\n \"location_id\": \"B5E4484SHHNYH\",\n \"name\": \"Counter 1\",\n \"pair_by\": \"2020-02-06T18:49:33.000Z\",\n \"product_type\": \"TERMINAL_API\",\n \"status\": \"PAIRED\",\n \"status_changed_at\": \"2020-02-06T18:47:28.000Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b6b1ef8e-6cd3-4870-971f-1dfd9639b825", "documentation": "ListDisputes", "method": "get", "endpoint": "v2/disputes", "responses": [ { "uuid": "0464055b-c1d3-4e78-934b-b338b86fdc26", "body": "{\n \"cursor\": \"G1aSTRm48CLjJsg6Sg3hQN1b1OMaoVuG\",\n \"disputes\": [\n {\n \"amount_money\": {\n \"amount\": 1000,\n \"currency\": \"USD\"\n },\n \"brand_dispute_id\": \"100000809947\",\n \"card_brand\": \"VISA\",\n \"created_at\": \"2018-10-12T02:20:25.577Z\",\n \"disputed_payments\": [\n {\n \"payment_id\": \"APgIq6RX2jM6DKDhMHiC6QEkuaB\"\n }\n ],\n \"due_at\": \"2018-10-11T00:00:00.000Z\",\n \"id\": \"OnY1AZwhSi775rbNIK4gv\",\n \"reason\": \"NO_KNOWLEDGE\",\n \"state\": \"EVIDENCE_REQUIRED\",\n \"updated_at\": \"2018-10-12T02:20:25.577Z\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "64a74dac-6dd5-4314-bc20-86c79a23c9c8", "documentation": "RetrieveDispute", "method": "get", "endpoint": "v2/disputes/:dispute_id", "responses": [ { "uuid": "48ae5b7a-fa2e-4611-93c9-35bb0524180a", "body": "{\n \"dispute\": {\n \"amount_money\": {\n \"amount\": 2000,\n \"currency\": \"USD\"\n },\n \"brand_dispute_id\": \"100000282394\",\n \"card_brand\": \"VISA\",\n \"created_at\": \"2018-10-18T15:59:13.613Z\",\n \"disputed_payments\": [\n {\n \"payment_id\": \"6Ee10wvqhfipStz297mtUhBXvaB\"\n }\n ],\n \"due_at\": \"2018-11-01T00:00:00.000Z\",\n \"id\": \"XDgyFu7yo1E2S5lQGGpYn\",\n \"reason\": \"NO_KNOWLEDGE\",\n \"state\": \"LOST\",\n \"updated_at\": \"2018-10-18T15:59:13.613Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2546c5c4-3098-4577-b055-1788b2b62737", "documentation": "AcceptDispute", "method": "post", "endpoint": "v2/disputes/:dispute_id/accept", "responses": [ { "uuid": "0aed3632-9504-495f-bdd0-1a794b04ea07", "body": "{\n \"dispute\": {\n \"amount_money\": {\n \"amount\": 2000,\n \"currency\": \"USD\"\n },\n \"brand_dispute_id\": \"100000282394\",\n \"card_brand\": \"VISA\",\n \"created_at\": \"2018-10-18T15:59:13.613Z\",\n \"disputed_payments\": [\n {\n \"payment_id\": \"6Ee10wvqhfipStz297mtUhBXvaB\"\n }\n ],\n \"due_at\": \"2018-11-01T00:00:00.000Z\",\n \"id\": \"XDgyFu7yo1E2S5lQGGpYn\",\n \"reason\": \"NO_KNOWLEDGE\",\n \"state\": \"LOST\",\n \"updated_at\": \"2018-10-18T15:59:13.613Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "aa750bcf-a5ec-456b-bc88-3df26c6f7784", "documentation": "ListDisputeEvidence", "method": "get", "endpoint": "v2/disputes/:dispute_id/evidence", "responses": [ { "uuid": "3d3cef44-c5b6-4758-8e49-6b1cc64b54d0", "body": "{\n \"cursor\": \"G1aSTRm48CLjJsg6Sg3hQN1b1OMaoVuG\",\n \"evidence\": [\n {\n \"dispute_id\": \"bVTprrwk0gygTLZ96VX1oB\",\n \"evidence_text\": \"1Z8888888888888888\",\n \"evidence_type\": \"TRACKING_NUMBER\",\n \"id\": \"TOomLInj6iWmP3N8qfCXrB\",\n \"uploaded_at\": \"2018-10-18T16:01:10.000Z\"\n },\n {\n \"dispute_id\": \"bVTprrwk0gygTLZ96VX1oB\",\n \"evidence_file\": {\n \"filename\": \"evidence.tiff\",\n \"filetype\": \"image/tiff\"\n },\n \"evidence_id\": \"TOomLInj6iWmP3N8qfCXrB\",\n \"evidence_type\": \"GENERIC_EVIDENCE\",\n \"uploaded_at\": \"2018-10-18T16:01:10.000Z\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8d411b72-e05f-4277-80fc-1ecde1430c20", "documentation": "CreateDisputeEvidenceText", "method": "post", "endpoint": "v2/disputes/:dispute_id/evidence-text", "responses": [ { "uuid": "87f7dd69-0567-4d2b-82c3-94f67dffd471", "body": "{\n \"evidence\": {\n \"dispute_id\": \"bVTprrwk0gygTLZ96VX1oB\",\n \"evidence_text\": \"1Z8888888888888888\",\n \"evidence_type\": \"TRACKING_NUMBER\",\n \"id\": \"TOomLInj6iWmP3N8qfCXrB\",\n \"uploaded_at\": \"2018-10-18T16:01:10.000Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "27bd5d11-cf01-4a40-9691-cd94757ec007", "documentation": "DeleteDisputeEvidence", "method": "delete", "endpoint": "v2/disputes/:dispute_id/evidence/:evidence_id", "responses": [ { "uuid": "0be8ba83-a6ae-4239-9645-6053b7dbb8b3", "body": "{}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3553d7c5-d4e8-48c7-8ec1-b80cd5233cb2", "documentation": "RetrieveDisputeEvidence", "method": "get", "endpoint": "v2/disputes/:dispute_id/evidence/:evidence_id", "responses": [ { "uuid": "b6eae333-7214-457e-8ef1-19739bb25509", "body": "{\n \"evidence\": {\n \"dispute_id\": \"bVTprrwk0gygTLZ96VX1oB\",\n \"evidence_file\": {\n \"filename\": \"evidence.tiff\",\n \"filetype\": \"image/tiff\"\n },\n \"evidence_type\": \"GENERIC_EVIDENCE\",\n \"id\": \"TOomLInj6iWmP3N8qfCXrB\",\n \"uploaded_at\": \"2018-10-18T16:01:10.000Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fa6db411-30ec-4d4e-8c45-fe543979f0e4", "documentation": "SubmitEvidence", "method": "post", "endpoint": "v2/disputes/:dispute_id/submit-evidence", "responses": [ { "uuid": "b9c6b70b-babe-4936-ace4-28f4b72eb171", "body": "{\n \"dispute\": {\n \"amount_money\": {\n \"amount\": 2000,\n \"currency\": \"USD\"\n },\n \"brand_dispute_id\": \"100000399240\",\n \"card_brand\": \"VISA\",\n \"created_at\": \"2018-10-18T16:02:15.313Z\",\n \"disputed_payments\": [\n {\n \"payment_id\": \"2yeBUWJzllJTpmnSqtMRAL19taB\"\n }\n ],\n \"due_at\": \"2018-11-01T00:00:00.000Z\",\n \"id\": \"EAZoK70gX3fyvibecLwIGB\",\n \"reason\": \"NO_KNOWLEDGE\",\n \"state\": \"PROCESSING\",\n \"updated_at\": \"2018-10-18T16:02:15.313Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2db6ad5e-e209-4d54-ab42-146500818ad3", "documentation": "ListEmployees", "method": "get", "endpoint": "v2/employees", "responses": [ { "uuid": "28567ff0-c705-4314-9c44-3fa4f147467e", "body": "{\n \"cursor\": \"\",\n \"employees\": [\n {\n \"created_at\": \"\",\n \"email\": \"\",\n \"first_name\": \"\",\n \"id\": \"\",\n \"is_owner\": {{faker 'datatype.boolean'}},\n \"last_name\": \"\",\n \"location_ids\": [\n \"\"\n ],\n \"phone_number\": \"\",\n \"status\": \"\",\n \"updated_at\": \"\"\n }\n ],\n \"errors\": [\n {\n \"category\": \"\",\n \"code\": \"\",\n \"detail\": \"\",\n \"field\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6b2195f3-a868-433c-afa8-adcc5327ce79", "documentation": "RetrieveEmployee", "method": "get", "endpoint": "v2/employees/:id", "responses": [ { "uuid": "308ab8b3-ceb3-476b-8fb1-ee8a6fea3f18", "body": "{\n \"employee\": {\n \"created_at\": \"\",\n \"email\": \"\",\n \"first_name\": \"\",\n \"id\": \"\",\n \"is_owner\": {{faker 'datatype.boolean'}},\n \"last_name\": \"\",\n \"location_ids\": [\n \"\"\n ],\n \"phone_number\": \"\",\n \"status\": \"\",\n \"updated_at\": \"\"\n },\n \"errors\": [\n {\n \"category\": \"\",\n \"code\": \"\",\n \"detail\": \"\",\n \"field\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6d88b8bb-e216-4642-bff7-4e765e1ee2ed", "documentation": "ListGiftCards", "method": "get", "endpoint": "v2/gift-cards", "responses": [ { "uuid": "b9130884-83d6-49fa-8a88-c8bc5aff0b05", "body": "{\n \"cursor\": \"JbFmyvUpaNKsfC1hoLSA4WlqkgkZXTWeKuStajR5BkP7OE0ETAbeWSi6U6u7sH\",\n \"gift_cards\": [\n {\n \"balance_money\": {\n \"amount\": 3900,\n \"currency\": \"USD\"\n },\n \"created_at\": \"2021-06-09T22:26:54.000Z\",\n \"gan\": \"7783320008524605\",\n \"gan_source\": \"SQUARE\",\n \"id\": \"gftc:00113070ba5745f0b2377c1b9570cb03\",\n \"state\": \"ACTIVE\",\n \"type\": \"DIGITAL\"\n },\n {\n \"balance_money\": {\n \"amount\": 2000,\n \"currency\": \"USD\"\n },\n \"created_at\": \"2021-05-20T22:26:54.000Z\",\n \"gan\": \"7783320002692465\",\n \"gan_source\": \"SQUARE\",\n \"id\": \"gftc:00128a12725b41e58e0de1d20497a9dd\",\n \"state\": \"ACTIVE\",\n \"type\": \"DIGITAL\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a2cb0d80-9a28-4a07-bbc8-e49f25b509de", "documentation": "CreateGiftCard", "method": "post", "endpoint": "v2/gift-cards", "responses": [ { "uuid": "24b480e6-9353-4793-aec0-f109c8cf23ce", "body": "{\n \"gift_card\": {\n \"balance_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"created_at\": \"2021-05-20T22:26:54.000Z\",\n \"gan\": \"7783320006753271\",\n \"gan_source\": \"SQUARE\",\n \"id\": \"gftc:6cbacbb64cf54e2ca9f573d619038059\",\n \"state\": \"PENDING\",\n \"type\": \"DIGITAL\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3d1f4a06-6ef7-4cf3-bb65-23995ad3d2e6", "documentation": "ListGiftCardActivities", "method": "get", "endpoint": "v2/gift-cards/activities", "responses": [ { "uuid": "c20ec223-11ba-488a-be7d-a9991cf6dfce", "body": "{\n \"gift_card_activities\": [\n {\n \"created_at\": \"2021-06-02T22:26:38.000Z\",\n \"gift_card_balance_money\": {\n \"amount\": 700,\n \"currency\": \"USD\"\n },\n \"gift_card_gan\": \"7783320002929081\",\n \"gift_card_id\": \"gftc:6d55a72470d940c6ba09c0ab8ad08d20\",\n \"id\": \"gcact_897698f894b44b3db46c6147e26a0e19\",\n \"location_id\": \"81FN9BNFZTKS4\",\n \"redeem_activity_details\": {\n \"amount_money\": {\n \"amount\": 300,\n \"currency\": \"USD\"\n }\n },\n \"type\": \"REDEEM\"\n },\n {\n \"activate_activity_details\": {\n \"amount_money\": {\n \"amount\": 1000,\n \"currency\": \"USD\"\n },\n \"line_item_uid\": \"eIWl7X0nMuO9Ewbh0ChIx\",\n \"order_id\": \"jJNGHm4gLI6XkFbwtiSLqK72KkAZY\"\n },\n \"created_at\": \"2021-05-20T22:26:54.000Z\",\n \"gift_card_balance_money\": {\n \"amount\": 1000,\n \"currency\": \"USD\"\n },\n \"gift_card_gan\": \"7783320002929081\",\n \"gift_card_id\": \"gftc:6d55a72470d940c6ba09c0ab8ad08d20\",\n \"id\": \"gcact_b968ebfc7d46437b945be7b9e09123b4\",\n \"location_id\": \"81FN9BNFZTKS4\",\n \"type\": \"ACTIVATE\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6603c756-1458-4d7e-80f2-005c5465a053", "documentation": "CreateGiftCardActivity", "method": "post", "endpoint": "v2/gift-cards/activities", "responses": [ { "uuid": "4cf5ac22-d444-450f-a19a-faa6c9622ef7", "body": "{\n \"gift_card_activity\": {\n \"activate_activity_details\": {\n \"amount_money\": {\n \"amount\": 1000,\n \"currency\": \"USD\"\n },\n \"line_item_uid\": \"eIWl7X0nMuO9Ewbh0ChIx\",\n \"order_id\": \"jJNGHm4gLI6XkFbwtiSLqK72KkAZY\"\n },\n \"created_at\": \"2021-05-20T22:26:54.000Z\",\n \"gift_card_balance_money\": {\n \"amount\": 1000,\n \"currency\": \"USD\"\n },\n \"gift_card_gan\": \"7783320002929081\",\n \"gift_card_id\": \"gftc:6d55a72470d940c6ba09c0ab8ad08d20\",\n \"id\": \"gcact_c8f8cbf1f24b448d8ecf39ed03f97864\",\n \"location_id\": \"81FN9BNFZTKS4\",\n \"type\": \"ACTIVATE\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "007ee444-4f1a-4b39-93d2-0c20cef1f55c", "documentation": "RetrieveGiftCardFromGAN", "method": "post", "endpoint": "v2/gift-cards/from-gan", "responses": [ { "uuid": "89d628d5-194d-4b98-827f-17e96c309cd4", "body": "{\n \"gift_card\": {\n \"balance_money\": {\n \"amount\": 5000,\n \"currency\": \"USD\"\n },\n \"created_at\": \"2021-05-20T22:26:54.000Z\",\n \"gan\": \"7783320001001635\",\n \"gan_source\": \"SQUARE\",\n \"id\": \"gftc:6944163553804e439d89adb47caf806a\",\n \"state\": \"ACTIVE\",\n \"type\": \"DIGITAL\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "147316e2-000b-44d7-a81e-e2962a54c893", "documentation": "RetrieveGiftCardFromNonce", "method": "post", "endpoint": "v2/gift-cards/from-nonce", "responses": [ { "uuid": "6e878d14-3742-48f2-9c57-214a3eb41eb9", "body": "{\n \"gift_card\": {\n \"balance_money\": {\n \"amount\": 5000,\n \"currency\": \"USD\"\n },\n \"created_at\": \"2021-05-20T22:26:54.000Z\",\n \"gan\": \"7783320001001635\",\n \"gan_source\": \"SQUARE\",\n \"id\": \"gftc:6944163553804e439d89adb47caf806a\",\n \"state\": \"ACTIVE\",\n \"type\": \"DIGITAL\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5ed3a045-fbe2-4afb-95ac-fc953cbdd9bc", "documentation": "LinkCustomerToGiftCard", "method": "post", "endpoint": "v2/gift-cards/:gift_card_id/link-customer", "responses": [ { "uuid": "a2e139b9-29e9-45a8-bc8d-a0012293b096", "body": "{\n \"gift_card\": {\n \"balance_money\": {\n \"amount\": 2500,\n \"currency\": \"USD\"\n },\n \"created_at\": \"2021-03-25T05:13:01Z\",\n \"customer_ids\": [\n \"GKY0FZ3V717AH8Q2D821PNT2ZW\"\n ],\n \"gan\": \"7783320005440920\",\n \"gan_source\": \"SQUARE\",\n \"id\": \"gftc:71ea002277a34f8a945e284b04822edb\",\n \"state\": \"ACTIVE\",\n \"type\": \"DIGITAL\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5a526281-4fa9-4c28-8af9-4abcdaa78a2d", "documentation": "UnlinkCustomerFromGiftCard", "method": "post", "endpoint": "v2/gift-cards/:gift_card_id/unlink-customer", "responses": [ { "uuid": "324ab066-62ae-4bff-b757-81da7c4064de", "body": "{\n \"gift_card\": {\n \"balance_money\": {\n \"amount\": 2500,\n \"currency\": \"USD\"\n },\n \"created_at\": \"2021-03-25T05:13:01Z\",\n \"gan\": \"7783320005440920\",\n \"gan_source\": \"SQUARE\",\n \"id\": \"gftc:71ea002277a34f8a945e284b04822edb\",\n \"state\": \"ACTIVE\",\n \"type\": \"DIGITAL\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b6c3cf4b-cfd5-4bf7-9cbc-6325b8db3cbe", "documentation": "RetrieveGiftCard", "method": "get", "endpoint": "v2/gift-cards/:id", "responses": [ { "uuid": "10b8b1d0-e337-40da-a047-5c9b8834147e", "body": "{\n \"gift_card\": {\n \"balance_money\": {\n \"amount\": 1000,\n \"currency\": \"USD\"\n },\n \"created_at\": \"2021-05-20T22:26:54.000Z\",\n \"gan\": \"7783320001001635\",\n \"gan_source\": \"SQUARE\",\n \"id\": \"gftc:00113070ba5745f0b2377c1b9570cb03\",\n \"state\": \"ACTIVE\",\n \"type\": \"DIGITAL\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d6f2a20c-4a99-4fb7-a645-84693e074ae4", "documentation": "DeprecatedRetrieveInventoryAdjustment", "method": "get", "endpoint": "v2/inventory/adjustment/:adjustment_id", "responses": [ { "uuid": "52e22356-91aa-4c42-80ae-955bad77e044", "body": "{\n \"adjustment\": {\n \"catalog_object_id\": \"W62UWFY35CWMYGVWK6TWJDNI\",\n \"catalog_object_type\": \"ITEM_VARIATION\",\n \"created_at\": \"2016-11-17T13:02:15.142Z\",\n \"employee_id\": \"LRK57NSQ5X7PUD05\",\n \"from_state\": \"IN_STOCK\",\n \"id\": \"UDMOEO78BG6GYWA2XDRYX3KB\",\n \"location_id\": \"C6W5YS5QM06F5\",\n \"occurred_at\": \"2016-11-16T25:44:22.837Z\",\n \"quantity\": \"7\",\n \"reference_id\": \"4a366069-4096-47a2-99a5-0084ac879509\",\n \"source\": {\n \"application_id\": \"416ff29c-86c4-4feb-b58c-9705f21f3ea0\",\n \"name\": \"Square Point of Sale 4.37\",\n \"product\": \"SQUARE_POS\"\n },\n \"to_state\": \"SOLD\",\n \"total_price_money\": {\n \"amount\": 4550,\n \"currency\": \"USD\"\n }\n },\n \"errors\": []\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2345abf2-9db4-43d1-a72b-79f55d09a4ff", "documentation": "RetrieveInventoryAdjustment", "method": "get", "endpoint": "v2/inventory/adjustments/:adjustment_id", "responses": [ { "uuid": "403fde68-cdd6-4948-9e65-1f563f2a8f00", "body": "{\n \"adjustment\": {\n \"catalog_object_id\": \"W62UWFY35CWMYGVWK6TWJDNI\",\n \"catalog_object_type\": \"ITEM_VARIATION\",\n \"created_at\": \"2016-11-17T13:02:15.142Z\",\n \"employee_id\": \"LRK57NSQ5X7PUD05\",\n \"from_state\": \"IN_STOCK\",\n \"id\": \"UDMOEO78BG6GYWA2XDRYX3KB\",\n \"location_id\": \"C6W5YS5QM06F5\",\n \"occurred_at\": \"2016-11-16T25:44:22.837Z\",\n \"quantity\": \"7\",\n \"reference_id\": \"4a366069-4096-47a2-99a5-0084ac879509\",\n \"source\": {\n \"application_id\": \"416ff29c-86c4-4feb-b58c-9705f21f3ea0\",\n \"name\": \"Square Point of Sale 4.37\",\n \"product\": \"SQUARE_POS\"\n },\n \"to_state\": \"SOLD\",\n \"total_price_money\": {\n \"amount\": 4550,\n \"currency\": \"USD\"\n }\n },\n \"errors\": []\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "721c7bab-9b40-41fe-a15b-ec9247685ea7", "documentation": "DeprecatedBatchChangeInventory", "method": "post", "endpoint": "v2/inventory/batch-change", "responses": [ { "uuid": "78cc5693-77f9-4c8a-b0e7-85a9ae631fbb", "body": "{\n \"counts\": [\n {\n \"calculated_at\": \"2016-11-16T22:28:01.223Z\",\n \"catalog_object_id\": \"W62UWFY35CWMYGVWK6TWJDNI\",\n \"catalog_object_type\": \"ITEM_VARIATION\",\n \"location_id\": \"C6W5YS5QM06F5\",\n \"quantity\": \"53\",\n \"state\": \"IN_STOCK\"\n }\n ],\n \"errors\": []\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b6a82653-206c-4e76-a6f6-1a2c8844127a", "documentation": "DeprecatedBatchRetrieveInventoryChanges", "method": "post", "endpoint": "v2/inventory/batch-retrieve-changes", "responses": [ { "uuid": "7ff9dd5f-295a-4bed-953f-1d339278d1f1", "body": "{\n \"changes\": [\n {\n \"physical_count\": {\n \"catalog_object_id\": \"W62UWFY35CWMYGVWK6TWJDNI\",\n \"catalog_object_type\": \"ITEM_VARIATION\",\n \"created_at\": \"2016-11-16T22:25:24.878Z\",\n \"employee_id\": \"LRK57NSQ5X7PUD05\",\n \"id\": \"46YDTW253DWGGK9HMAE6XCAO\",\n \"location_id\": \"C6W5YS5QM06F5\",\n \"occurred_at\": \"2016-11-16T22:24:49.028Z\",\n \"quantity\": \"86\",\n \"reference_id\": \"22c07cf4-5626-4224-89f9-691112019399\",\n \"source\": {\n \"application_id\": \"416ff29c-86c4-4feb-b58c-9705f21f3ea0\",\n \"name\": \"Square Point of Sale 4.37\",\n \"product\": \"SQUARE_POS\"\n },\n \"state\": \"IN_STOCK\"\n },\n \"type\": \"PHYSICAL_COUNT\"\n }\n ],\n \"errors\": []\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4d85c280-4aef-43a6-9c15-21fc43ecdffb", "documentation": "DeprecatedBatchRetrieveInventoryCounts", "method": "post", "endpoint": "v2/inventory/batch-retrieve-counts", "responses": [ { "uuid": "0e28a6dc-deef-4fe7-b80b-f13d6bf7491a", "body": "{\n \"counts\": [\n {\n \"calculated_at\": \"2016-11-16T22:28:01.223Z\",\n \"catalog_object_id\": \"W62UWFY35CWMYGVWK6TWJDNI\",\n \"catalog_object_type\": \"ITEM_VARIATION\",\n \"location_id\": \"59TNP9SA8VGDA\",\n \"quantity\": \"79\",\n \"state\": \"IN_STOCK\"\n }\n ],\n \"errors\": []\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a2091ae0-1bae-4829-8af2-eb4345c1f699", "documentation": "BatchChangeInventory", "method": "post", "endpoint": "v2/inventory/changes/batch-create", "responses": [ { "uuid": "735f2bdc-6ee2-4caf-a2ce-7a9a4f9b6a95", "body": "{\n \"counts\": [\n {\n \"calculated_at\": \"2016-11-16T22:28:01.223Z\",\n \"catalog_object_id\": \"W62UWFY35CWMYGVWK6TWJDNI\",\n \"catalog_object_type\": \"ITEM_VARIATION\",\n \"location_id\": \"C6W5YS5QM06F5\",\n \"quantity\": \"53\",\n \"state\": \"IN_STOCK\"\n }\n ],\n \"errors\": []\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "74a8077a-85ae-4e72-9e24-edf15160097a", "documentation": "BatchRetrieveInventoryChanges", "method": "post", "endpoint": "v2/inventory/changes/batch-retrieve", "responses": [ { "uuid": "939fc8ce-67c5-4a4c-8b10-83e1757c7046", "body": "{\n \"changes\": [\n {\n \"physical_count\": {\n \"catalog_object_id\": \"W62UWFY35CWMYGVWK6TWJDNI\",\n \"catalog_object_type\": \"ITEM_VARIATION\",\n \"created_at\": \"2016-11-16T22:25:24.878Z\",\n \"employee_id\": \"LRK57NSQ5X7PUD05\",\n \"id\": \"46YDTW253DWGGK9HMAE6XCAO\",\n \"location_id\": \"C6W5YS5QM06F5\",\n \"occurred_at\": \"2016-11-16T22:24:49.028Z\",\n \"quantity\": \"86\",\n \"reference_id\": \"22c07cf4-5626-4224-89f9-691112019399\",\n \"source\": {\n \"application_id\": \"416ff29c-86c4-4feb-b58c-9705f21f3ea0\",\n \"name\": \"Square Point of Sale 4.37\",\n \"product\": \"SQUARE_POS\"\n },\n \"state\": \"IN_STOCK\"\n },\n \"type\": \"PHYSICAL_COUNT\"\n }\n ],\n \"errors\": []\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ccce2f17-4e58-4ae7-9fb5-93440e82a5fe", "documentation": "BatchRetrieveInventoryCounts", "method": "post", "endpoint": "v2/inventory/counts/batch-retrieve", "responses": [ { "uuid": "6c6cf3fd-9dea-4785-af51-d0b5f1cf0fc7", "body": "{\n \"counts\": [\n {\n \"calculated_at\": \"2016-11-16T22:28:01.223Z\",\n \"catalog_object_id\": \"W62UWFY35CWMYGVWK6TWJDNI\",\n \"catalog_object_type\": \"ITEM_VARIATION\",\n \"location_id\": \"59TNP9SA8VGDA\",\n \"quantity\": \"79\",\n \"state\": \"IN_STOCK\"\n }\n ],\n \"errors\": []\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "665aeee7-9b3c-4ba6-bc13-fae451519c13", "documentation": "DeprecatedRetrieveInventoryPhysicalCount", "method": "get", "endpoint": "v2/inventory/physical-count/:physical_count_id", "responses": [ { "uuid": "bff52816-8634-4993-bd17-f9eb8d0ea70d", "body": "{\n \"count\": {\n \"catalog_object_id\": \"W62UWFY35CWMYGVWK6TWJDNI\",\n \"catalog_object_type\": \"ITEM_VARIATION\",\n \"created_at\": \"2016-11-16T22:25:24.878Z\",\n \"employee_id\": \"LRK57NSQ5X7PUD05\",\n \"id\": \"ANZADNPLKADOJKJIUANKLMLQ\",\n \"location_id\": \"C6W5YS5QM06F5\",\n \"occurred_at\": \"2016-11-16T22:25:24.878Z\",\n \"quantity\": \"15\",\n \"reference_id\": \"f857ec37-f9a0-4458-8e23-5b5e0bea4e53\",\n \"source\": {\n \"application_id\": \"416ff29c-86c4-4feb-b58c-9705f21f3ea0\",\n \"name\": \"Square Point of Sale 4.37\",\n \"product\": \"SQUARE_POS\"\n },\n \"state\": \"IN_STOCK\"\n },\n \"errors\": []\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c98c87e5-645d-4bc4-8ee7-60ee018915d4", "documentation": "RetrieveInventoryPhysicalCount", "method": "get", "endpoint": "v2/inventory/physical-counts/:physical_count_id", "responses": [ { "uuid": "91b19b47-5d44-41cb-9ee2-0b096a98244c", "body": "{\n \"count\": {\n \"catalog_object_id\": \"W62UWFY35CWMYGVWK6TWJDNI\",\n \"catalog_object_type\": \"ITEM_VARIATION\",\n \"created_at\": \"2016-11-16T22:25:24.878Z\",\n \"employee_id\": \"LRK57NSQ5X7PUD05\",\n \"id\": \"ANZADNPLKADOJKJIUANKLMLQ\",\n \"location_id\": \"C6W5YS5QM06F5\",\n \"occurred_at\": \"2016-11-16T22:25:24.878Z\",\n \"quantity\": \"15\",\n \"reference_id\": \"f857ec37-f9a0-4458-8e23-5b5e0bea4e53\",\n \"source\": {\n \"application_id\": \"416ff29c-86c4-4feb-b58c-9705f21f3ea0\",\n \"name\": \"Square Point of Sale 4.37\",\n \"product\": \"SQUARE_POS\"\n },\n \"state\": \"IN_STOCK\"\n },\n \"errors\": []\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "04f80ea9-0e63-4453-957a-3f8c4852b12b", "documentation": "RetrieveInventoryTransfer", "method": "get", "endpoint": "v2/inventory/transfers/:transfer_id", "responses": [ { "uuid": "1deee54d-d47f-4711-be5f-6f5a7aea7926", "body": "{\n \"errors\": [],\n \"transfer\": {\n \"catalog_object_id\": \"W62UWFY35CWMYGVWK6TWJDNI\",\n \"catalog_object_type\": \"ITEM_VARIATION\",\n \"created_at\": \"2016-11-17T13:02:15.142Z\",\n \"employee_id\": \"LRK57NSQ5X7PUD05\",\n \"from_location_id\": \"C6W5YS5QM06F5\",\n \"id\": \"UDMOEO78BG6GYWA2XDRYX3KB\",\n \"occurred_at\": \"2016-11-16T25:44:22.837Z\",\n \"quantity\": \"7\",\n \"reference_id\": \"4a366069-4096-47a2-99a5-0084ac879509\",\n \"source\": {\n \"application_id\": \"416ff29c-86c4-4feb-b58c-9705f21f3ea0\",\n \"name\": \"Square Point of Sale 4.37\",\n \"product\": \"SQUARE_POS\"\n },\n \"state\": \"IN_STOCK\",\n \"to_location_id\": \"59TNP9SA8VGDA\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e60b89ab-cdf6-4663-9ac2-a08f617589c0", "documentation": "RetrieveInventoryCount", "method": "get", "endpoint": "v2/inventory/:catalog_object_id", "responses": [ { "uuid": "dde38a83-d4c6-40eb-90a3-e4542bc8d3c8", "body": "{\n \"counts\": [\n {\n \"calculated_at\": \"2016-11-16T22:28:01.223Z\",\n \"catalog_object_id\": \"W62UWFY35CWMYGVWK6TWJDNI\",\n \"catalog_object_type\": \"ITEM_VARIATION\",\n \"location_id\": \"C6W5YS5QM06F5\",\n \"quantity\": \"22\",\n \"state\": \"IN_STOCK\"\n }\n ],\n \"errors\": []\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e0846004-4bf3-41c8-9392-3f7e45f0e5aa", "documentation": "RetrieveInventoryChanges", "method": "get", "endpoint": "v2/inventory/:catalog_object_id/changes", "responses": [ { "uuid": "2b5d1f9b-da69-4922-8259-f08d581c92c0", "body": "{\n \"changes\": [\n {\n \"adjustment\": {\n \"catalog_object_id\": \"W62UWFY35CWMYGVWK6TWJDNI\",\n \"catalog_object_type\": \"ITEM_VARIATION\",\n \"created_at\": \"2016-11-16T22:25:24.878Z\",\n \"employee_id\": \"AV7YRCGI2H1J5NQ8E1XIZCNA\",\n \"from_state\": \"IN_STOCK\",\n \"id\": \"OJKJIUANKLMLQANZADNPLKAD\",\n \"location_id\": \"C6W5YS5QM06F5\",\n \"occurred_at\": \"2016-11-16T22:25:24.878Z\",\n \"quantity\": \"3\",\n \"reference_id\": \"d8207693-168f-4b44-a2fd-a7ff533ddd26\",\n \"source\": {\n \"application_id\": \"416ff29c-86c4-4feb-b58c-9705f21f3ea0\",\n \"name\": \"Square Point of Sale 4.37\",\n \"product\": \"SQUARE_POS\"\n },\n \"to_state\": \"SOLD\",\n \"total_price_money\": {\n \"amount\": 5000,\n \"currency\": \"USD\"\n },\n \"transaction_id\": \"5APV6JYK1SNCZD11AND2RX1Z\"\n },\n \"type\": \"ADJUSTMENT\"\n }\n ],\n \"errors\": []\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3a3f5723-2d65-4272-9e8f-75e1c2eb91d2", "documentation": "ListInvoices", "method": "get", "endpoint": "v2/invoices", "responses": [ { "uuid": "4b6df2d8-2354-4707-ba38-fbe6ab637923", "body": "{\n \"cursor\": \"ChoIDhIWVm54ZVRhLXhySFBOejBBM2xJb2daUQoFCI4IGAE\",\n \"invoices\": [\n {\n \"accepted_payment_methods\": {\n \"bank_account\": false,\n \"card\": true,\n \"square_gift_card\": false\n },\n \"created_at\": \"2020-06-18T17:45:13Z\",\n \"custom_fields\": [\n {\n \"label\": \"Event Reference Number\",\n \"placement\": \"ABOVE_LINE_ITEMS\",\n \"value\": \"Ref. #1234\"\n },\n {\n \"label\": \"Terms of Service\",\n \"placement\": \"BELOW_LINE_ITEMS\",\n \"value\": \"The terms of service are...\"\n }\n ],\n \"delivery_method\": \"EMAIL\",\n \"description\": \"We appreciate your business!\",\n \"id\": \"inv:0-ChCHu2mZEabLeeHahQnXDjZQECY\",\n \"invoice_number\": \"inv-100\",\n \"location_id\": \"ES0RJRZYEC39A\",\n \"order_id\": \"CAISENgvlJ6jLWAzERDzjyHVybY\",\n \"payment_requests\": [\n {\n \"automatic_payment_source\": \"NONE\",\n \"computed_amount_money\": {\n \"amount\": 10000,\n \"currency\": \"USD\"\n },\n \"due_date\": \"2030-01-24\",\n \"reminders\": [\n {\n \"message\": \"Your invoice is due tomorrow\",\n \"relative_scheduled_days\": -1,\n \"status\": \"PENDING\",\n \"uid\": \"beebd363-e47f-4075-8785-c235aaa7df11\"\n }\n ],\n \"request_type\": \"BALANCE\",\n \"tipping_enabled\": true,\n \"total_completed_amount_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"uid\": \"2da7964f-f3d2-4f43-81e8-5aa220bf3355\"\n }\n ],\n \"primary_recipient\": {\n \"customer_id\": \"JDKYHBWT1D4F8MFH63DBMEN8Y4\",\n \"email_address\": \"Amelia.Earhart@example.com\",\n \"family_name\": \"Earhart\",\n \"given_name\": \"Amelia\",\n \"phone_number\": \"1-212-555-4240\"\n },\n \"scheduled_at\": \"2030-01-13T10:00:00Z\",\n \"status\": \"DRAFT\",\n \"timezone\": \"America/Los_Angeles\",\n \"title\": \"Event Planning Services\",\n \"updated_at\": \"2020-06-18T17:45:13Z\",\n \"version\": 0\n },\n {\n \"accepted_payment_methods\": {\n \"bank_account\": false,\n \"card\": true,\n \"square_gift_card\": true\n },\n \"created_at\": \"2021-01-23T15:29:12Z\",\n \"delivery_method\": \"EMAIL\",\n \"id\": \"inv:0-ChC366qAfskpGrBI_1bozs9mEA3\",\n \"invoice_number\": \"inv-455\",\n \"location_id\": \"ES0RJRZYEC39A\",\n \"next_payment_amount_money\": {\n \"amount\": 3000,\n \"currency\": \"USD\"\n },\n \"order_id\": \"a65jnS8NXbfprvGJzY9F4fQTuaB\",\n \"payment_requests\": [\n {\n \"automatic_payment_source\": \"CARD_ON_FILE\",\n \"card_id\": \"ccof:IkWfpLj4tNHMyFii3GB\",\n \"computed_amount_money\": {\n \"amount\": 1000,\n \"currency\": \"USD\"\n },\n \"due_date\": \"2021-01-23\",\n \"percentage_requested\": \"25\",\n \"request_type\": \"DEPOSIT\",\n \"tipping_enabled\": false,\n \"total_completed_amount_money\": {\n \"amount\": 1000,\n \"currency\": \"USD\"\n },\n \"uid\": \"66c3bdfd-5090-4ff9-a8a0-c1e1a2ffa176\"\n },\n {\n \"automatic_payment_source\": \"CARD_ON_FILE\",\n \"card_id\": \"ccof:IkWfpLj4tNHMyFii3GB\",\n \"computed_amount_money\": {\n \"amount\": 3000,\n \"currency\": \"USD\"\n },\n \"due_date\": \"2021-06-15\",\n \"request_type\": \"BALANCE\",\n \"tipping_enabled\": false,\n \"total_completed_amount_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"uid\": \"120c5e18-4f80-4f6b-b159-774cb9bf8f99\"\n }\n ],\n \"primary_recipient\": {\n \"customer_id\": \"JDKYHBWT1D4F8MFH63DBMEN8Y4\",\n \"email_address\": \"Amelia.Earhart@example.com\",\n \"family_name\": \"Earhart\",\n \"given_name\": \"Amelia\",\n \"phone_number\": \"1-212-555-4240\"\n },\n \"public_url\": \"https://squareup.com/pay-invoice/h9sfsfTGTSnYEhISUDBhEQ\",\n \"status\": \"PARTIALLY_PAID\",\n \"timezone\": \"America/Los_Angeles\",\n \"updated_at\": \"2021-01-23T15:29:56Z\",\n \"version\": 3\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "21e86d8d-c660-4f15-be67-75d2287074be", "documentation": "CreateInvoice", "method": "post", "endpoint": "v2/invoices", "responses": [ { "uuid": "6f999775-2ab8-44ac-ad78-2ec2dea30a70", "body": "{\n \"invoice\": {\n \"accepted_payment_methods\": {\n \"bank_account\": false,\n \"card\": true,\n \"square_gift_card\": false\n },\n \"created_at\": \"2020-06-18T17:45:13Z\",\n \"custom_fields\": [\n {\n \"label\": \"Event Reference Number\",\n \"placement\": \"ABOVE_LINE_ITEMS\",\n \"value\": \"Ref. #1234\"\n },\n {\n \"label\": \"Terms of Service\",\n \"placement\": \"BELOW_LINE_ITEMS\",\n \"value\": \"The terms of service are...\"\n }\n ],\n \"delivery_method\": \"EMAIL\",\n \"description\": \"We appreciate your business!\",\n \"id\": \"inv:0-ChCHu2mZEabLeeHahQnXDjZQECY\",\n \"invoice_number\": \"inv-100\",\n \"location_id\": \"ES0RJRZYEC39A\",\n \"order_id\": \"CAISENgvlJ6jLWAzERDzjyHVybY\",\n \"payment_requests\": [\n {\n \"automatic_payment_source\": \"NONE\",\n \"computed_amount_money\": {\n \"amount\": 10000,\n \"currency\": \"USD\"\n },\n \"due_date\": \"2030-01-24\",\n \"reminders\": [\n {\n \"message\": \"Your invoice is due tomorrow\",\n \"relative_scheduled_days\": -1,\n \"status\": \"PENDING\",\n \"uid\": \"beebd363-e47f-4075-8785-c235aaa7df11\"\n }\n ],\n \"request_type\": \"BALANCE\",\n \"tipping_enabled\": true,\n \"total_completed_amount_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"uid\": \"2da7964f-f3d2-4f43-81e8-5aa220bf3355\"\n }\n ],\n \"primary_recipient\": {\n \"customer_id\": \"JDKYHBWT1D4F8MFH63DBMEN8Y4\",\n \"email_address\": \"Amelia.Earhart@example.com\",\n \"family_name\": \"Earhart\",\n \"given_name\": \"Amelia\",\n \"phone_number\": \"1-212-555-4240\"\n },\n \"scheduled_at\": \"2030-01-13T10:00:00Z\",\n \"status\": \"DRAFT\",\n \"timezone\": \"America/Los_Angeles\",\n \"title\": \"Event Planning Services\",\n \"updated_at\": \"2020-06-18T17:45:13Z\",\n \"version\": 0\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0b0a874f-7322-4284-bdf2-bf08a6f18c9b", "documentation": "SearchInvoices", "method": "post", "endpoint": "v2/invoices/search", "responses": [ { "uuid": "73f1fe16-083e-47d5-b8a8-f42fee74bf18", "body": "{\n \"cursor\": \"ChoIDhIWVm54ZVRhLXhySFBOejBBM2xJb2daUQoFCI4IGAE\",\n \"invoices\": [\n {\n \"accepted_payment_methods\": {\n \"bank_account\": false,\n \"card\": true,\n \"square_gift_card\": false\n },\n \"created_at\": \"2020-06-18T17:45:13Z\",\n \"custom_fields\": [\n {\n \"label\": \"Event Reference Number\",\n \"placement\": \"ABOVE_LINE_ITEMS\",\n \"value\": \"Ref. #1234\"\n },\n {\n \"label\": \"Terms of Service\",\n \"placement\": \"BELOW_LINE_ITEMS\",\n \"value\": \"The terms of service are...\"\n }\n ],\n \"delivery_method\": \"EMAIL\",\n \"description\": \"We appreciate your business!\",\n \"id\": \"inv:0-ChCHu2mZEabLeeHahQnXDjZQECY\",\n \"invoice_number\": \"inv-100\",\n \"location_id\": \"ES0RJRZYEC39A\",\n \"order_id\": \"CAISENgvlJ6jLWAzERDzjyHVybY\",\n \"payment_requests\": [\n {\n \"automatic_payment_source\": \"NONE\",\n \"computed_amount_money\": {\n \"amount\": 10000,\n \"currency\": \"USD\"\n },\n \"due_date\": \"2030-01-24\",\n \"reminders\": [\n {\n \"message\": \"Your invoice is due tomorrow\",\n \"relative_scheduled_days\": -1,\n \"status\": \"PENDING\",\n \"uid\": \"beebd363-e47f-4075-8785-c235aaa7df11\"\n }\n ],\n \"request_type\": \"BALANCE\",\n \"tipping_enabled\": true,\n \"total_completed_amount_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"uid\": \"2da7964f-f3d2-4f43-81e8-5aa220bf3355\"\n }\n ],\n \"primary_recipient\": {\n \"customer_id\": \"JDKYHBWT1D4F8MFH63DBMEN8Y4\",\n \"email_address\": \"Amelia.Earhart@example.com\",\n \"family_name\": \"Earhart\",\n \"given_name\": \"Amelia\",\n \"phone_number\": \"1-212-555-4240\"\n },\n \"scheduled_at\": \"2030-01-13T10:00:00Z\",\n \"status\": \"DRAFT\",\n \"timezone\": \"America/Los_Angeles\",\n \"title\": \"Event Planning Services\",\n \"updated_at\": \"2020-06-18T17:45:13Z\",\n \"version\": 0\n },\n {\n \"accepted_payment_methods\": {\n \"bank_account\": false,\n \"card\": true,\n \"square_gift_card\": true\n },\n \"created_at\": \"2021-01-23T15:29:12Z\",\n \"delivery_method\": \"EMAIL\",\n \"id\": \"inv:0-ChC366qAfskpGrBI_1bozs9mEA3\",\n \"invoice_number\": \"inv-455\",\n \"location_id\": \"ES0RJRZYEC39A\",\n \"next_payment_amount_money\": {\n \"amount\": 3000,\n \"currency\": \"USD\"\n },\n \"order_id\": \"a65jnS8NXbfprvGJzY9F4fQTuaB\",\n \"payment_requests\": [\n {\n \"automatic_payment_source\": \"CARD_ON_FILE\",\n \"card_id\": \"ccof:IkWfpLj4tNHMyFii3GB\",\n \"computed_amount_money\": {\n \"amount\": 1000,\n \"currency\": \"USD\"\n },\n \"due_date\": \"2021-01-23\",\n \"percentage_requested\": \"25\",\n \"request_type\": \"DEPOSIT\",\n \"tipping_enabled\": false,\n \"total_completed_amount_money\": {\n \"amount\": 1000,\n \"currency\": \"USD\"\n },\n \"uid\": \"66c3bdfd-5090-4ff9-a8a0-c1e1a2ffa176\"\n },\n {\n \"automatic_payment_source\": \"CARD_ON_FILE\",\n \"card_id\": \"ccof:IkWfpLj4tNHMyFii3GB\",\n \"computed_amount_money\": {\n \"amount\": 3000,\n \"currency\": \"USD\"\n },\n \"due_date\": \"2021-06-15\",\n \"request_type\": \"BALANCE\",\n \"tipping_enabled\": false,\n \"total_completed_amount_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"uid\": \"120c5e18-4f80-4f6b-b159-774cb9bf8f99\"\n }\n ],\n \"primary_recipient\": {\n \"customer_id\": \"JDKYHBWT1D4F8MFH63DBMEN8Y4\",\n \"email_address\": \"Amelia.Earhart@example.com\",\n \"family_name\": \"Earhart\",\n \"given_name\": \"Amelia\",\n \"phone_number\": \"1-212-555-4240\"\n },\n \"public_url\": \"https://squareup.com/pay-invoice/h9sfsfTGTSnYEhISUDBhEQ\",\n \"status\": \"PARTIALLY_PAID\",\n \"timezone\": \"America/Los_Angeles\",\n \"updated_at\": \"2021-01-23T15:29:56Z\",\n \"version\": 3\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a0c0aec4-9d1c-456c-9354-eb389a076088", "documentation": "DeleteInvoice", "method": "delete", "endpoint": "v2/invoices/:invoice_id", "responses": [ { "uuid": "62d9a6ce-e530-45f1-a0da-05b7c652416c", "body": "{}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7df7976d-ae90-4499-95cf-74e20489f0fe", "documentation": "GetInvoice", "method": "get", "endpoint": "v2/invoices/:invoice_id", "responses": [ { "uuid": "221de2fc-8017-436c-8ab5-219bf3ca32ef", "body": "{\n \"invoice\": {\n \"accepted_payment_methods\": {\n \"bank_account\": false,\n \"card\": true,\n \"square_gift_card\": false\n },\n \"created_at\": \"2020-06-18T17:45:13Z\",\n \"custom_fields\": [\n {\n \"label\": \"Event Reference Number\",\n \"placement\": \"ABOVE_LINE_ITEMS\",\n \"value\": \"Ref. #1234\"\n },\n {\n \"label\": \"Terms of Service\",\n \"placement\": \"BELOW_LINE_ITEMS\",\n \"value\": \"The terms of service are...\"\n }\n ],\n \"delivery_method\": \"EMAIL\",\n \"description\": \"We appreciate your business!\",\n \"id\": \"inv:0-ChCHu2mZEabLeeHahQnXDjZQECY\",\n \"invoice_number\": \"inv-100\",\n \"location_id\": \"ES0RJRZYEC39A\",\n \"order_id\": \"CAISENgvlJ6jLWAzERDzjyHVybY\",\n \"payment_requests\": [\n {\n \"automatic_payment_source\": \"NONE\",\n \"computed_amount_money\": {\n \"amount\": 10000,\n \"currency\": \"USD\"\n },\n \"due_date\": \"2030-01-24\",\n \"reminders\": [\n {\n \"message\": \"Your invoice is due tomorrow\",\n \"relative_scheduled_days\": -1,\n \"status\": \"PENDING\",\n \"uid\": \"beebd363-e47f-4075-8785-c235aaa7df11\"\n }\n ],\n \"request_type\": \"BALANCE\",\n \"tipping_enabled\": true,\n \"total_completed_amount_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"uid\": \"2da7964f-f3d2-4f43-81e8-5aa220bf3355\"\n }\n ],\n \"primary_recipient\": {\n \"customer_id\": \"JDKYHBWT1D4F8MFH63DBMEN8Y4\",\n \"email_address\": \"Amelia.Earhart@example.com\",\n \"family_name\": \"Earhart\",\n \"given_name\": \"Amelia\",\n \"phone_number\": \"1-212-555-4240\"\n },\n \"scheduled_at\": \"2030-01-13T10:00:00Z\",\n \"status\": \"DRAFT\",\n \"timezone\": \"America/Los_Angeles\",\n \"title\": \"Event Planning Services\",\n \"updated_at\": \"2020-06-18T17:45:13Z\",\n \"version\": 0\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "835b214b-5202-434e-8927-e06c842ce1ee", "documentation": "UpdateInvoice", "method": "put", "endpoint": "v2/invoices/:invoice_id", "responses": [ { "uuid": "9a8117ab-a8d2-46ab-b875-eba4bb782bc0", "body": "{\n \"invoice\": {\n \"accepted_payment_methods\": {\n \"bank_account\": false,\n \"card\": true,\n \"square_gift_card\": false\n },\n \"created_at\": \"2020-06-18T17:45:13Z\",\n \"custom_fields\": [\n {\n \"label\": \"Event Reference Number\",\n \"placement\": \"ABOVE_LINE_ITEMS\",\n \"value\": \"Ref. #1234\"\n },\n {\n \"label\": \"Terms of Service\",\n \"placement\": \"BELOW_LINE_ITEMS\",\n \"value\": \"The terms of service are...\"\n }\n ],\n \"delivery_method\": \"EMAIL\",\n \"description\": \"We appreciate your business!\",\n \"id\": \"inv:0-ChCHu2mZEabLeeHahQnXDjZQECY\",\n \"invoice_number\": \"inv-100\",\n \"location_id\": \"ES0RJRZYEC39A\",\n \"next_payment_amount_money\": {\n \"amount\": 10000,\n \"currency\": \"USD\"\n },\n \"order_id\": \"CAISENgvlJ6jLWAzERDzjyHVybY\",\n \"payment_requests\": [\n {\n \"automatic_payment_source\": \"NONE\",\n \"computed_amount_money\": {\n \"amount\": 10000,\n \"currency\": \"USD\"\n },\n \"due_date\": \"2030-01-24\",\n \"request_type\": \"BALANCE\",\n \"tipping_enabled\": false,\n \"total_completed_amount_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"uid\": \"2da7964f-f3d2-4f43-81e8-5aa220bf3355\"\n }\n ],\n \"primary_recipient\": {\n \"customer_id\": \"JDKYHBWT1D4F8MFH63DBMEN8Y4\",\n \"email_address\": \"Amelia.Earhart@example.com\",\n \"family_name\": \"Earhart\",\n \"given_name\": \"Amelia\",\n \"phone_number\": \"1-212-555-4240\"\n },\n \"scheduled_at\": \"2030-01-13T10:00:00Z\",\n \"status\": \"UNPAID\",\n \"timezone\": \"America/Los_Angeles\",\n \"title\": \"Event Planning Services\",\n \"updated_at\": \"2020-06-18T18:23:11Z\",\n \"version\": 2\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "619c73c3-4f6a-4e35-b4d6-5b3069e36a62", "documentation": "CancelInvoice", "method": "post", "endpoint": "v2/invoices/:invoice_id/cancel", "responses": [ { "uuid": "75fbf703-6e25-4516-ad5b-00bd8b310fdc", "body": "{\n \"invoice\": {\n \"accepted_payment_methods\": {\n \"bank_account\": false,\n \"card\": true,\n \"square_gift_card\": false\n },\n \"created_at\": \"2020-06-18T17:45:13Z\",\n \"custom_fields\": [\n {\n \"label\": \"Event Reference Number\",\n \"placement\": \"ABOVE_LINE_ITEMS\",\n \"value\": \"Ref. #1234\"\n },\n {\n \"label\": \"Terms of Service\",\n \"placement\": \"BELOW_LINE_ITEMS\",\n \"value\": \"The terms of service are...\"\n }\n ],\n \"delivery_method\": \"EMAIL\",\n \"description\": \"We appreciate your business!\",\n \"id\": \"inv:0-ChCHu2mZEabLeeHahQnXDjZQECY\",\n \"invoice_number\": \"inv-100\",\n \"location_id\": \"ES0RJRZYEC39A\",\n \"order_id\": \"CAISENgvlJ6jLWAzERDzjyHVybY\",\n \"payment_requests\": [\n {\n \"automatic_payment_source\": \"NONE\",\n \"computed_amount_money\": {\n \"amount\": 10000,\n \"currency\": \"USD\"\n },\n \"due_date\": \"2030-01-24\",\n \"reminders\": [\n {\n \"message\": \"Your invoice is due tomorrow\",\n \"relative_scheduled_days\": -1,\n \"status\": \"PENDING\",\n \"uid\": \"beebd363-e47f-4075-8785-c235aaa7df11\"\n }\n ],\n \"request_type\": \"BALANCE\",\n \"tipping_enabled\": true,\n \"total_completed_amount_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"uid\": \"2da7964f-f3d2-4f43-81e8-5aa220bf3355\"\n }\n ],\n \"primary_recipient\": {\n \"customer_id\": \"JDKYHBWT1D4F8MFH63DBMEN8Y4\",\n \"email_address\": \"Amelia.Earhart@example.com\",\n \"family_name\": \"Earhart\",\n \"given_name\": \"Amelia\",\n \"phone_number\": \"1-212-555-4240\"\n },\n \"scheduled_at\": \"2030-01-13T10:00:00Z\",\n \"status\": \"CANCELED\",\n \"timezone\": \"America/Los_Angeles\",\n \"title\": \"Event Planning Services\",\n \"updated_at\": \"2020-06-18T18:23:11Z\",\n \"version\": 1\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a0f6fd1a-5c40-47e4-b7c7-92db9641de5a", "documentation": "PublishInvoice", "method": "post", "endpoint": "v2/invoices/:invoice_id/publish", "responses": [ { "uuid": "ab222f0c-dc26-4be6-92e4-27e6f3e60011", "body": "{\n \"invoice\": {\n \"accepted_payment_methods\": {\n \"bank_account\": false,\n \"card\": true,\n \"square_gift_card\": false\n },\n \"created_at\": \"2020-06-18T17:45:13Z\",\n \"custom_fields\": [\n {\n \"label\": \"Event Reference Number\",\n \"placement\": \"ABOVE_LINE_ITEMS\",\n \"value\": \"Ref. #1234\"\n },\n {\n \"label\": \"Terms of Service\",\n \"placement\": \"BELOW_LINE_ITEMS\",\n \"value\": \"The terms of service are...\"\n }\n ],\n \"delivery_method\": \"EMAIL\",\n \"description\": \"We appreciate your business!\",\n \"id\": \"inv:0-ChCHu2mZEabLeeHahQnXDjZQECY\",\n \"invoice_number\": \"inv-100\",\n \"location_id\": \"ES0RJRZYEC39A\",\n \"order_id\": \"CAISENgvlJ6jLWAzERDzjyHVybY\",\n \"payment_requests\": [\n {\n \"automatic_payment_source\": \"NONE\",\n \"computed_amount_money\": {\n \"amount\": 10000,\n \"currency\": \"USD\"\n },\n \"due_date\": \"2030-01-24\",\n \"reminders\": [\n {\n \"message\": \"Your invoice is due tomorrow\",\n \"relative_scheduled_days\": -1,\n \"status\": \"PENDING\",\n \"uid\": \"beebd363-e47f-4075-8785-c235aaa7df11\"\n }\n ],\n \"request_type\": \"BALANCE\",\n \"tipping_enabled\": true,\n \"total_completed_amount_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"uid\": \"2da7964f-f3d2-4f43-81e8-5aa220bf3355\"\n }\n ],\n \"primary_recipient\": {\n \"customer_id\": \"JDKYHBWT1D4F8MFH63DBMEN8Y4\",\n \"email_address\": \"Amelia.Earhart@example.com\",\n \"family_name\": \"Earhart\",\n \"given_name\": \"Amelia\",\n \"phone_number\": \"1-212-555-4240\"\n },\n \"public_url\": \"https://squareup.com/pay-invoice/inv:0-ChCHu2mZEabLeeHahQnXDjZQECY\",\n \"scheduled_at\": \"2030-01-13T10:00:00Z\",\n \"status\": \"SCHEDULED\",\n \"timezone\": \"America/Los_Angeles\",\n \"title\": \"Event Planning Services\",\n \"updated_at\": \"2020-06-18T18:23:11Z\",\n \"version\": 1\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "df3d97e0-a06b-465d-b676-b88a4f86a6cc", "documentation": "ListBreakTypes", "method": "get", "endpoint": "v2/labor/break-types", "responses": [ { "uuid": "2fc822f5-df6e-4c13-89ed-25d6ee262368", "body": "{\n \"break_types\": [\n {\n \"break_name\": \"Coffee Break\",\n \"created_at\": \"2019-01-22T20:47:37Z\",\n \"expected_duration\": \"PT5M\",\n \"id\": \"REGS1EQR1TPZ5\",\n \"is_paid\": false,\n \"location_id\": \"PAA1RJZZKXBFG\",\n \"updated_at\": \"2019-01-22T20:47:37Z\",\n \"version\": 1\n },\n {\n \"break_name\": \"Lunch Break\",\n \"created_at\": \"2019-01-25T19:26:30Z\",\n \"expected_duration\": \"PT1H\",\n \"id\": \"92EPDRQKJ5088\",\n \"is_paid\": true,\n \"location_id\": \"PAA1RJZZKXBFG\",\n \"updated_at\": \"2019-01-25T19:26:30Z\",\n \"version\": 3\n }\n ],\n \"cursor\": \"2fofTniCgT0yIPAq26kmk0YyFQJZfbWkh73OOnlTHmTAx13NgED\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3940f35c-0bcb-4859-9513-bd88536655b0", "documentation": "CreateBreakType", "method": "post", "endpoint": "v2/labor/break-types", "responses": [ { "uuid": "e7e174a1-b291-4031-a87b-2f5b1e1a5720", "body": "{\n \"break_type\": {\n \"break_name\": \"Lunch Break\",\n \"created_at\": \"2019-02-26T22:42:54Z\",\n \"expected_duration\": \"PT30M\",\n \"id\": \"49SSVDJG76WF3\",\n \"is_paid\": true,\n \"location_id\": \"CGJN03P1D08GF\",\n \"updated_at\": \"2019-02-26T22:42:54Z\",\n \"version\": 1\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1f2fc545-7d65-4ee2-bf0d-426ed79b97bb", "documentation": "DeleteBreakType", "method": "delete", "endpoint": "v2/labor/break-types/:id", "responses": [ { "uuid": "8efcb153-e72b-4824-8f3f-bc69eefd3dc7", "body": "{}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0ade277e-61bb-4003-beb1-33ac15ac0025", "documentation": "GetBreakType", "method": "get", "endpoint": "v2/labor/break-types/:id", "responses": [ { "uuid": "88f9efdd-3967-486b-a9f7-ee76f547caeb", "body": "{\n \"break_type\": {\n \"break_name\": \"Lunch Break\",\n \"created_at\": \"2019-02-21T17:50:00Z\",\n \"expected_duration\": \"PT30M\",\n \"id\": \"lA0mj_RSOprNPwMUXdYp\",\n \"is_paid\": true,\n \"location_id\": \"059SB0E0WCNWS\",\n \"updated_at\": \"2019-02-21T17:50:00Z\",\n \"version\": 1\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d15b5867-67f1-40bc-8e2b-432e1308b59e", "documentation": "UpdateBreakType", "method": "put", "endpoint": "v2/labor/break-types/:id", "responses": [ { "uuid": "dbef57a5-0c70-4414-91a4-d921f4a12af8", "body": "{\n \"break_type\": {\n \"break_name\": \"Lunch\",\n \"created_at\": \"2018-06-12T20:19:12Z\",\n \"expected_duration\": \"PT50M\",\n \"id\": \"Q6JSJS6D4DBCH\",\n \"is_paid\": true,\n \"location_id\": \"26M7H24AZ9N6R\",\n \"updated_at\": \"2019-02-26T23:12:59Z\",\n \"version\": 2\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "114454cc-433f-41eb-9d10-bdb3f40617f3", "documentation": "ListEmployeeWages", "method": "get", "endpoint": "v2/labor/employee-wages", "responses": [ { "uuid": "a967a4ce-d89e-4f32-a991-fcb7948adb24", "body": "{\n \"cursor\": \"2fofTniCgT0yIPAq26kmk0YyFQJZfbWkh73OOnlTHmTAx13NgED\",\n \"employee_wages\": [\n {\n \"employee_id\": \"33fJchumvVdJwxV0H6L9\",\n \"hourly_rate\": {\n \"amount\": 3250,\n \"currency\": \"USD\"\n },\n \"id\": \"pXS3qCv7BERPnEGedM4S8mhm\",\n \"title\": \"Manager\"\n },\n {\n \"employee_id\": \"33fJchumvVdJwxV0H6L9\",\n \"hourly_rate\": {\n \"amount\": 2600,\n \"currency\": \"USD\"\n },\n \"id\": \"rZduCkzYDUVL3ovh1sQgbue6\",\n \"title\": \"Cook\"\n },\n {\n \"employee_id\": \"33fJchumvVdJwxV0H6L9\",\n \"hourly_rate\": {\n \"amount\": 1600,\n \"currency\": \"USD\"\n },\n \"id\": \"FxLbs5KpPUHa8wyt5ctjubDX\",\n \"title\": \"Barista\"\n },\n {\n \"employee_id\": \"33fJchumvVdJwxV0H6L9\",\n \"hourly_rate\": {\n \"amount\": 1700,\n \"currency\": \"USD\"\n },\n \"id\": \"vD1wCgijMDR3cX5TPnu7VXto\",\n \"title\": \"Cashier\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b7acc25c-c5d4-45f5-aeb5-3eb2d94d32c6", "documentation": "GetEmployeeWage", "method": "get", "endpoint": "v2/labor/employee-wages/:id", "responses": [ { "uuid": "88dfdc99-d12f-4464-a80a-abea93185690", "body": "{\n \"employee_wage\": {\n \"employee_id\": \"33fJchumvVdJwxV0H6L9\",\n \"hourly_rate\": {\n \"amount\": 2000,\n \"currency\": \"USD\"\n },\n \"id\": \"pXS3qCv7BERPnEGedM4S8mhm\",\n \"title\": \"Manager\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0c9b9c3a-9728-425e-b2fe-e39b20952c5a", "documentation": "CreateShift", "method": "post", "endpoint": "v2/labor/shifts", "responses": [ { "uuid": "0ba02fa8-9c68-42ce-bf0c-4f1721c40775", "body": "{\n \"shift\": {\n \"breaks\": [\n {\n \"break_type_id\": \"REGS1EQR1TPZ5\",\n \"end_at\": \"2019-01-25T06:16:00-05:00\",\n \"expected_duration\": \"PT5M\",\n \"id\": \"X7GAQYVVRRG6P\",\n \"is_paid\": true,\n \"name\": \"Tea Break\",\n \"start_at\": \"2019-01-25T06:11:00-05:00\"\n }\n ],\n \"created_at\": \"2019-02-28T00:39:02Z\",\n \"employee_id\": \"ormj0jJJZ5OZIzxrZYJI\",\n \"end_at\": \"2019-01-25T13:11:00-05:00\",\n \"id\": \"K0YH4CV5462JB\",\n \"location_id\": \"PAA1RJZZKXBFG\",\n \"start_at\": \"2019-01-25T03:11:00-05:00\",\n \"status\": \"CLOSED\",\n \"team_member_id\": \"ormj0jJJZ5OZIzxrZYJI\",\n \"timezone\": \"America/New_York\",\n \"updated_at\": \"2019-02-28T00:39:02Z\",\n \"version\": 1,\n \"wage\": {\n \"hourly_rate\": {\n \"amount\": 1100,\n \"currency\": \"USD\"\n },\n \"title\": \"Barista\"\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3aaebcbc-f571-4c49-bf19-ec3735540be8", "documentation": "SearchShifts", "method": "post", "endpoint": "v2/labor/shifts/search", "responses": [ { "uuid": "f1821ccd-6115-49f3-b90c-3edd78b5396a", "body": "{\n \"shifts\": [\n {\n \"breaks\": [\n {\n \"break_type_id\": \"REGS1EQR1TPZ5\",\n \"end_at\": \"2019-01-21T06:11:00-05:00\",\n \"expected_duration\": \"PT10M\",\n \"id\": \"SJW7X6AKEJQ65\",\n \"is_paid\": true,\n \"name\": \"Tea Break\",\n \"start_at\": \"2019-01-21T06:11:00-05:00\"\n }\n ],\n \"created_at\": \"2019-01-24T01:12:03Z\",\n \"employee_id\": \"ormj0jJJZ5OZIzxrZYJI\",\n \"end_at\": \"2019-01-21T13:11:00-05:00\",\n \"id\": \"X714F3HA6D1PT\",\n \"location_id\": \"PAA1RJZZKXBFG\",\n \"start_at\": \"2019-01-21T03:11:00-05:00\",\n \"status\": \"CLOSED\",\n \"team_member_id\": \"ormj0jJJZ5OZIzxrZYJI\",\n \"timezone\": \"America/New_York\",\n \"updated_at\": \"2019-02-07T22:21:08Z\",\n \"version\": 6,\n \"wage\": {\n \"hourly_rate\": {\n \"amount\": 1100,\n \"currency\": \"USD\"\n },\n \"title\": \"Barista\"\n }\n },\n {\n \"breaks\": [\n {\n \"break_type_id\": \"WQX00VR99F53J\",\n \"end_at\": \"2019-01-23T14:40:00-05:00\",\n \"expected_duration\": \"PT10M\",\n \"id\": \"BKS6VR7WR748A\",\n \"is_paid\": true,\n \"name\": \"Tea Break\",\n \"start_at\": \"2019-01-23T14:30:00-05:00\"\n },\n {\n \"break_type_id\": \"P6Q468ZFRN1AC\",\n \"end_at\": \"2019-01-22T12:44:00-05:00\",\n \"expected_duration\": \"PT15M\",\n \"id\": \"BQFEZSHFZSC51\",\n \"is_paid\": false,\n \"name\": \"Coffee Break\",\n \"start_at\": \"2019-01-22T12:30:00-05:00\"\n }\n ],\n \"created_at\": \"2019-01-23T23:32:45Z\",\n \"employee_id\": \"33fJchumvVdJwxV0H6L9\",\n \"end_at\": \"2019-01-22T13:02:00-05:00\",\n \"id\": \"GDHYBZYWK0P2V\",\n \"location_id\": \"PAA1RJZZKXBFG\",\n \"start_at\": \"2019-01-22T12:02:00-05:00\",\n \"status\": \"CLOSED\",\n \"team_member_id\": \"33fJchumvVdJwxV0H6L9\",\n \"timezone\": \"America/New_York\",\n \"updated_at\": \"2019-01-24T00:56:25Z\",\n \"version\": 16,\n \"wage\": {\n \"hourly_rate\": {\n \"amount\": 1600,\n \"currency\": \"USD\"\n },\n \"title\": \"Cook\"\n }\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2e08ffa7-4f46-480f-b1af-84f1bc48f085", "documentation": "DeleteShift", "method": "delete", "endpoint": "v2/labor/shifts/:id", "responses": [ { "uuid": "977d0dc6-e07a-45f3-844a-d90abd626bc4", "body": "{}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "88ecb946-e56f-4756-a6b6-d81219ad292f", "documentation": "GetShift", "method": "get", "endpoint": "v2/labor/shifts/:id", "responses": [ { "uuid": "03349ce9-f428-4b6f-9e25-45e785c44e6c", "body": "{\n \"shift\": {\n \"breaks\": [\n {\n \"break_type_id\": \"92EPDRQKJ5088\",\n \"end_at\": \"2019-02-23T20:00:00-05:00\",\n \"expected_duration\": \"PT1H\",\n \"id\": \"M9BBKEPQAQD2T\",\n \"is_paid\": true,\n \"name\": \"Lunch Break\",\n \"start_at\": \"2019-02-23T19:00:00-05:00\"\n }\n ],\n \"created_at\": \"2019-02-27T00:12:12Z\",\n \"employee_id\": \"D71KRMQof6cXGUW0aAv7\",\n \"end_at\": \"2019-02-23T21:00:00-05:00\",\n \"id\": \"T35HMQSN89SV4\",\n \"location_id\": \"PAA1RJZZKXBFG\",\n \"start_at\": \"2019-02-23T18:00:00-05:00\",\n \"status\": \"CLOSED\",\n \"team_member_id\": \"D71KRMQof6cXGUW0aAv7\",\n \"timezone\": \"America/New_York\",\n \"updated_at\": \"2019-02-27T00:12:12Z\",\n \"version\": 1,\n \"wage\": {\n \"hourly_rate\": {\n \"amount\": 1457,\n \"currency\": \"USD\"\n },\n \"title\": \"Cashier\"\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1bcc6157-b85b-4b77-9c25-66b04800e1ce", "documentation": "UpdateShift", "method": "put", "endpoint": "v2/labor/shifts/:id", "responses": [ { "uuid": "ced2b472-e14b-448a-8e9c-9b2858e3fa30", "body": "{\n \"shift\": {\n \"breaks\": [\n {\n \"break_type_id\": \"REGS1EQR1TPZ5\",\n \"end_at\": \"2019-01-25T06:16:00-05:00\",\n \"expected_duration\": \"PT5M\",\n \"id\": \"X7GAQYVVRRG6P\",\n \"is_paid\": true,\n \"name\": \"Tea Break\",\n \"start_at\": \"2019-01-25T06:11:00-05:00\"\n }\n ],\n \"created_at\": \"2019-02-28T00:39:02Z\",\n \"employee_id\": \"ormj0jJJZ5OZIzxrZYJI\",\n \"end_at\": \"2019-01-25T13:11:00-05:00\",\n \"id\": \"K0YH4CV5462JB\",\n \"location_id\": \"PAA1RJZZKXBFG\",\n \"start_at\": \"2019-01-25T03:11:00-05:00\",\n \"status\": \"CLOSED\",\n \"team_member_id\": \"ormj0jJJZ5OZIzxrZYJI\",\n \"timezone\": \"America/New_York\",\n \"updated_at\": \"2019-02-28T00:42:41Z\",\n \"version\": 2,\n \"wage\": {\n \"hourly_rate\": {\n \"amount\": 1500,\n \"currency\": \"USD\"\n },\n \"title\": \"Bartender\"\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "66777ea5-ffc9-4f98-bb9b-bc2f2442117d", "documentation": "ListTeamMemberWages", "method": "get", "endpoint": "v2/labor/team-member-wages", "responses": [ { "uuid": "d1646559-80eb-49f3-bc14-e07c371e12f3", "body": "{\n \"cursor\": \"2fofTniCgT0yIPAq26kmk0YyFQJZfbWkh73OOnlTHmTAx13NgED\",\n \"team_member_wages\": [\n {\n \"hourly_rate\": {\n \"amount\": 3250,\n \"currency\": \"USD\"\n },\n \"id\": \"pXS3qCv7BERPnEGedM4S8mhm\",\n \"team_member_id\": \"33fJchumvVdJwxV0H6L9\",\n \"title\": \"Manager\"\n },\n {\n \"hourly_rate\": {\n \"amount\": 2600,\n \"currency\": \"USD\"\n },\n \"id\": \"rZduCkzYDUVL3ovh1sQgbue6\",\n \"team_member_id\": \"33fJchumvVdJwxV0H6L9\",\n \"title\": \"Cook\"\n },\n {\n \"hourly_rate\": {\n \"amount\": 1600,\n \"currency\": \"USD\"\n },\n \"id\": \"FxLbs5KpPUHa8wyt5ctjubDX\",\n \"team_member_id\": \"33fJchumvVdJwxV0H6L9\",\n \"title\": \"Barista\"\n },\n {\n \"hourly_rate\": {\n \"amount\": 1700,\n \"currency\": \"USD\"\n },\n \"id\": \"vD1wCgijMDR3cX5TPnu7VXto\",\n \"team_member_id\": \"33fJchumvVdJwxV0H6L9\",\n \"title\": \"Cashier\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "69f9c627-be04-4a80-b645-4a3d23c9ceab", "documentation": "GetTeamMemberWage", "method": "get", "endpoint": "v2/labor/team-member-wages/:id", "responses": [ { "uuid": "fa5004b7-e783-4edd-8460-a5c5224f1de2", "body": "{\n \"team_member_wage\": {\n \"hourly_rate\": {\n \"amount\": 2000,\n \"currency\": \"USD\"\n },\n \"id\": \"pXS3qCv7BERPnEGedM4S8mhm\",\n \"team_member_id\": \"33fJchumvVdJwxV0H6L9\",\n \"title\": \"Manager\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f2553d6a-3c08-4e5f-a06b-7de6da21174b", "documentation": "ListWorkweekConfigs", "method": "get", "endpoint": "v2/labor/workweek-configs", "responses": [ { "uuid": "7455b7ac-c4d5-4b21-a6ea-039dd173cd26", "body": "{\n \"cursor\": \"2fofTniCgT0yIPAq26kmk0YyFQJZfbWkh73OOnlTHmTAx13NgED\",\n \"workweek_configs\": [\n {\n \"created_at\": \"2016-02-04T00:58:24Z\",\n \"id\": \"FY4VCAQN700GM\",\n \"start_of_day_local_time\": \"10:00\",\n \"start_of_week\": \"MON\",\n \"updated_at\": \"2019-02-28T01:04:35Z\",\n \"version\": 11\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f0d927cf-efe7-4623-b30d-314d81a2a008", "documentation": "UpdateWorkweekConfig", "method": "put", "endpoint": "v2/labor/workweek-configs/:id", "responses": [ { "uuid": "a009757d-cf48-4e1a-ae08-32b4e70594a5", "body": "{\n \"workweek_config\": {\n \"created_at\": \"2016-02-04T00:58:24Z\",\n \"id\": \"FY4VCAQN700GM\",\n \"start_of_day_local_time\": \"10:00\",\n \"start_of_week\": \"MON\",\n \"updated_at\": \"2019-02-28T01:04:35Z\",\n \"version\": 11\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "478d8148-cf10-47fc-b790-e95937d2c6f8", "documentation": "ListLocations", "method": "get", "endpoint": "v2/locations", "responses": [ { "uuid": "4188f200-72e4-4925-84d8-5908c19f7f16", "body": "{\n \"locations\": [\n {\n \"address\": {\n \"address_line_1\": \"123 Main St\",\n \"administrative_district_level_1\": \"CA\",\n \"country\": \"US\",\n \"locality\": \"San Francisco\",\n \"postal_code\": \"94114\"\n },\n \"business_name\": \"Pumbaa's business name\",\n \"capabilities\": [\n \"CREDIT_CARD_PROCESSING\"\n ],\n \"country\": \"US\",\n \"created_at\": \"2016-09-19T17:33:12Z\",\n \"currency\": \"USD\",\n \"id\": \"18YC4JDH91E1H\",\n \"language_code\": \"en-US\",\n \"merchant_id\": \"3MYCJG5GVYQ8Q\",\n \"name\": \"your location name\",\n \"phone_number\": \"+1 650-354-7217\",\n \"status\": \"ACTIVE\",\n \"timezone\": \"America/Los_Angeles\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0231ec33-10f6-497d-9822-b8fa70b804c6", "documentation": "CreateLocation", "method": "post", "endpoint": "v2/locations", "responses": [ { "uuid": "a1a39b43-7cd5-4e2c-9093-16bb58ee10be", "body": "{\n \"location\": {\n \"address\": {\n \"address_line_1\": \"1234 Peachtree St. NE\",\n \"administrative_district_level_1\": \"GA\",\n \"locality\": \"Atlanta\",\n \"postal_code\": \"30309\"\n },\n \"capabilities\": [\n \"CREDIT_CARD_PROCESSING\"\n ],\n \"coordinates\": {\n \"latitude\": 33.788567,\n \"longitude\": -84.466947\n },\n \"country\": \"US\",\n \"created_at\": \"2019-07-19T17:58:25Z\",\n \"currency\": \"USD\",\n \"description\": \"My new location.\",\n \"id\": \"LOCATION_ID\",\n \"instagram_username\": \"instagram\",\n \"language_code\": \"en-US\",\n \"mcc\": \"1234\",\n \"merchant_id\": \"MERCHANT_ID\",\n \"name\": \"New location name\",\n \"status\": \"ACTIVE\",\n \"twitter_username\": \"twitter\",\n \"type\": \"PHYSICAL\",\n \"website_url\": \"examplewebsite.com\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f0ac8660-394d-4175-ac9a-38a2d6a13bbf", "documentation": "RetrieveLocation", "method": "get", "endpoint": "v2/locations/:location_id", "responses": [ { "uuid": "6cb3d500-d532-4382-ba0f-641f97451ed6", "body": "{\n \"location\": {\n \"address\": {\n \"address_line_1\": \"123 Main St\",\n \"administrative_district_level_1\": \"CA\",\n \"country\": \"US\",\n \"locality\": \"San Francisco\",\n \"postal_code\": \"94114\"\n },\n \"business_name\": \"Jet Fuel Coffee\",\n \"capabilities\": [\n \"CREDIT_CARD_PROCESSING\"\n ],\n \"country\": \"US\",\n \"created_at\": \"2016-09-19T17:33:12Z\",\n \"currency\": \"USD\",\n \"id\": \"18YC4JDH91E1H\",\n \"language_code\": \"en-US\",\n \"merchant_id\": \"3MYCJG5GVYQ8Q\",\n \"name\": \"Jet Fuel Coffee - Grant Park\",\n \"phone_number\": \"+1 650-354-7217\",\n \"status\": \"ACTIVE\",\n \"timezone\": \"America/Los_Angeles\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b0dec611-328d-47b9-aa2b-274462aa360d", "documentation": "UpdateLocation", "method": "put", "endpoint": "v2/locations/:location_id", "responses": [ { "uuid": "36cc3ba4-20b3-4a30-8ce2-cf6caed3b219", "body": "{\n \"location\": {\n \"address\": {\n \"address_line_1\": \"1234 Peachtree St. NE\",\n \"administrative_district_level_1\": \"GA\",\n \"locality\": \"Atlanta\",\n \"postal_code\": \"30309\"\n },\n \"business_email\": \"example@squareup.com\",\n \"business_hours\": {\n \"periods\": [\n {\n \"day_of_week\": \"MON\",\n \"end_local_time\": \"17:00\",\n \"start_local_time\": \"09:00\"\n }\n ]\n },\n \"business_name\": \"Business Name\",\n \"capabilities\": [\n \"CREDIT_CARD_PROCESSING\"\n ],\n \"coordinates\": {\n \"latitude\": 33.788567,\n \"longitude\": -84.466947\n },\n \"country\": \"US\",\n \"created_at\": \"2019-07-19T17:58:25Z\",\n \"currency\": \"USD\",\n \"description\": \"Updated description\",\n \"id\": \"LOCATION_ID\",\n \"instagram_username\": \"instagram\",\n \"language_code\": \"en-US\",\n \"mcc\": \"1234\",\n \"merchant_id\": \"MERCHANT_ID\",\n \"name\": \"Updated nickname\",\n \"phone_number\": \"5559211234\",\n \"status\": \"ACTIVE\",\n \"timezone\": \"America/New_York\",\n \"twitter_username\": \"twitter\",\n \"type\": \"MOBILE\",\n \"website_url\": \"examplewebsite.com\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9cb2943b-7e3b-4cea-adda-70317fc319e9", "documentation": "CreateCheckout", "method": "post", "endpoint": "v2/locations/:location_id/checkouts", "responses": [ { "uuid": "9876d914-5814-4e67-83df-977b7fe31a0f", "body": "{\n \"checkout\": {\n \"additional_recipients\": [\n {\n \"amount_money\": {\n \"amount\": 60,\n \"currency\": \"USD\"\n },\n \"description\": \"Application fees\",\n \"location_id\": \"057P5VYJ4A5X1\"\n }\n ],\n \"ask_for_shipping_address\": true,\n \"checkout_page_url\": \"https://connect.squareup.com/v2/checkout?c=CAISEHGimXh-C3RIT4og1a6u1qw&l=CYTKRM7R7JMV8\",\n \"created_at\": \"2017-06-16T22:25:35Z\",\n \"id\": \"CAISEHGimXh-C3RIT4og1a6u1qw\",\n \"merchant_support_email\": \"merchant+support@website.com\",\n \"order\": {\n \"customer_id\": \"customer_id\",\n \"discounts\": [\n {\n \"amount_money\": {\n \"amount\": 100,\n \"currency\": \"USD\"\n },\n \"applied_money\": {\n \"amount\": 100,\n \"currency\": \"USD\"\n },\n \"scope\": \"LINE_ITEM\",\n \"type\": \"FIXED_AMOUNT\",\n \"uid\": \"56ae1696-z1e3-9328-af6d-f1e04d947gd4\"\n }\n ],\n \"line_items\": [\n {\n \"applied_discounts\": [\n {\n \"applied_money\": {\n \"amount\": 100,\n \"currency\": \"USD\"\n },\n \"discount_uid\": \"56ae1696-z1e3-9328-af6d-f1e04d947gd4\"\n }\n ],\n \"applied_taxes\": [\n {\n \"applied_money\": {\n \"amount\": 103,\n \"currency\": \"USD\"\n },\n \"tax_uid\": \"38ze1696-z1e3-5628-af6d-f1e04d947fg3\"\n }\n ],\n \"base_price_money\": {\n \"amount\": 1500,\n \"currency\": \"USD\"\n },\n \"name\": \"Printed T Shirt\",\n \"quantity\": \"2\",\n \"total_discount_money\": {\n \"amount\": 100,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 1503,\n \"currency\": \"USD\"\n },\n \"total_tax_money\": {\n \"amount\": 103,\n \"currency\": \"USD\"\n }\n },\n {\n \"base_price_money\": {\n \"amount\": 2500,\n \"currency\": \"USD\"\n },\n \"name\": \"Slim Jeans\",\n \"quantity\": \"1\",\n \"total_money\": {\n \"amount\": 2500,\n \"currency\": \"USD\"\n }\n },\n {\n \"base_price_money\": {\n \"amount\": 3500,\n \"currency\": \"USD\"\n },\n \"name\": \"Woven Sweater\",\n \"quantity\": \"3\",\n \"total_money\": {\n \"amount\": 10500,\n \"currency\": \"USD\"\n }\n }\n ],\n \"location_id\": \"location_id\",\n \"reference_id\": \"reference_id\",\n \"taxes\": [\n {\n \"percentage\": \"7.75\",\n \"scope\": \"LINE_ITEM\",\n \"type\": \"INCLUSIVE\",\n \"uid\": \"38ze1696-z1e3-5628-af6d-f1e04d947fg3\"\n }\n ],\n \"total_discount_money\": {\n \"amount\": 100,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 14503,\n \"currency\": \"USD\"\n },\n \"total_tax_money\": {\n \"amount\": 103,\n \"currency\": \"USD\"\n }\n },\n \"pre_populate_buyer_email\": \"example@email.com\",\n \"pre_populate_shipping_address\": {\n \"address_line_1\": \"1455 Market St.\",\n \"address_line_2\": \"Suite 600\",\n \"administrative_district_level_1\": \"CA\",\n \"country\": \"US\",\n \"first_name\": \"Jane\",\n \"last_name\": \"Doe\",\n \"locality\": \"San Francisco\",\n \"postal_code\": \"94103\"\n },\n \"redirect_url\": \"https://merchant.website.com/order-confirm\",\n \"version\": 1\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5efc0c65-9c21-42f6-a75f-99f10e357f87", "documentation": "ListRefunds", "method": "get", "endpoint": "v2/locations/:location_id/refunds", "responses": [ { "uuid": "d8aff556-ca96-4b42-9bcf-d31159330f90", "body": "{\n \"refunds\": [\n {\n \"additional_recipients\": [\n {\n \"amount_money\": {\n \"amount\": 10,\n \"currency\": \"USD\"\n },\n \"description\": \"Application fees\",\n \"location_id\": \"057P5VYJ4A5X1\"\n }\n ],\n \"amount_money\": {\n \"amount\": 100,\n \"currency\": \"USD\"\n },\n \"created_at\": \"2016-01-20T00:28:18Z\",\n \"id\": \"b27436d1-7f8e-5610-45c6-417ef71434b4-SW\",\n \"location_id\": \"18YC4JDH91E1H\",\n \"reason\": \"some reason\",\n \"status\": \"APPROVED\",\n \"tender_id\": \"MtZRYYdDrYNQbOvV7nbuBvMF\",\n \"transaction_id\": \"KnL67ZIwXCPtzOrqj0HrkxMF\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2d5a611a-b540-4926-a053-107eb42fbadd", "documentation": "ListTransactions", "method": "get", "endpoint": "v2/locations/:location_id/transactions", "responses": [ { "uuid": "e43271f3-0aff-450f-a1df-4b4d80524b7d", "body": "{\n \"transactions\": [\n {\n \"created_at\": \"2016-01-20T22:57:56Z\",\n \"id\": \"KnL67ZIwXCPtzOrqj0HrkxMF\",\n \"location_id\": \"18YC4JDH91E1H\",\n \"product\": \"EXTERNAL_API\",\n \"reference_id\": \"some optional reference id\",\n \"refunds\": [\n {\n \"additional_recipients\": [\n {\n \"amount_money\": {\n \"amount\": 100,\n \"currency\": \"USD\"\n },\n \"description\": \"Application fees\",\n \"location_id\": \"057P5VYJ4A5X1\"\n }\n ],\n \"amount_money\": {\n \"amount\": 5000,\n \"currency\": \"USD\"\n },\n \"created_at\": \"2016-01-20T22:59:20Z\",\n \"id\": \"7a5RcVI0CxbOcJ2wMOkE\",\n \"location_id\": \"18YC4JDH91E1H\",\n \"processing_fee_money\": {\n \"amount\": 138,\n \"currency\": \"USD\"\n },\n \"reason\": \"some reason why\",\n \"status\": \"APPROVED\",\n \"tender_id\": \"MtZRYYdDrYNQbOvV7nbuBvMF\",\n \"transaction_id\": \"KnL67ZIwXCPtzOrqj0HrkxMF\"\n }\n ],\n \"tenders\": [\n {\n \"additional_recipients\": [\n {\n \"amount_money\": {\n \"amount\": 20,\n \"currency\": \"USD\"\n },\n \"description\": \"Application fees\",\n \"location_id\": \"057P5VYJ4A5X1\"\n }\n ],\n \"amount_money\": {\n \"amount\": 5000,\n \"currency\": \"USD\"\n },\n \"card_details\": {\n \"card\": {\n \"card_brand\": \"VISA\",\n \"last_4\": \"1111\"\n },\n \"entry_method\": \"KEYED\",\n \"status\": \"CAPTURED\"\n },\n \"created_at\": \"2016-01-20T22:57:56Z\",\n \"id\": \"MtZRYYdDrYNQbOvV7nbuBvMF\",\n \"location_id\": \"18YC4JDH91E1H\",\n \"note\": \"some optional note\",\n \"processing_fee_money\": {\n \"amount\": 138,\n \"currency\": \"USD\"\n },\n \"transaction_id\": \"KnL67ZIwXCPtzOrqj0HrkxMF\",\n \"type\": \"CARD\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a687644a-1b79-4f47-b3a9-95adea7fad45", "documentation": "Charge", "method": "post", "endpoint": "v2/locations/:location_id/transactions", "responses": [ { "uuid": "4ebccb8a-b6ce-4317-bb40-dbfec0da7132", "body": "{\n \"transaction\": {\n \"created_at\": \"2016-03-10T22:57:56Z\",\n \"id\": \"KnL67ZIwXCPtzOrqj0HrkxMF\",\n \"location_id\": \"18YC4JDH91E1H\",\n \"product\": \"EXTERNAL_API\",\n \"reference_id\": \"some optional reference id\",\n \"tenders\": [\n {\n \"additional_recipients\": [\n {\n \"amount_money\": {\n \"amount\": 20,\n \"currency\": \"USD\"\n },\n \"description\": \"Application fees\",\n \"location_id\": \"057P5VYJ4A5X1\",\n \"receivable_id\": \"ISu5xwxJ5v0CMJTQq7RvqyMF\"\n }\n ],\n \"amount_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"card_details\": {\n \"card\": {\n \"card_brand\": \"VISA\",\n \"last_4\": \"1111\"\n },\n \"entry_method\": \"KEYED\",\n \"status\": \"CAPTURED\"\n },\n \"created_at\": \"2016-03-10T22:57:56Z\",\n \"id\": \"MtZRYYdDrYNQbOvV7nbuBvMF\",\n \"location_id\": \"18YC4JDH91E1H\",\n \"note\": \"some optional note\",\n \"transaction_id\": \"KnL67ZIwXCPtzOrqj0HrkxMF\",\n \"type\": \"CARD\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c7ad514d-1025-4b5f-83ba-7c28eed53143", "documentation": "RetrieveTransaction", "method": "get", "endpoint": "v2/locations/:location_id/transactions/:transaction_id", "responses": [ { "uuid": "ee20dd4b-92c9-4067-baeb-fada61ad7f10", "body": "{\n \"transaction\": {\n \"created_at\": \"2016-03-10T22:57:56Z\",\n \"id\": \"KnL67ZIwXCPtzOrqj0HrkxMF\",\n \"location_id\": \"18YC4JDH91E1H\",\n \"product\": \"EXTERNAL_API\",\n \"reference_id\": \"some optional reference id\",\n \"tenders\": [\n {\n \"additional_recipients\": [\n {\n \"amount_money\": {\n \"amount\": 20,\n \"currency\": \"USD\"\n },\n \"description\": \"Application fees\",\n \"location_id\": \"057P5VYJ4A5X1\"\n }\n ],\n \"amount_money\": {\n \"amount\": 5000,\n \"currency\": \"USD\"\n },\n \"card_details\": {\n \"card\": {\n \"card_brand\": \"VISA\",\n \"last_4\": \"1111\"\n },\n \"entry_method\": \"KEYED\",\n \"status\": \"CAPTURED\"\n },\n \"created_at\": \"2016-03-10T22:57:56Z\",\n \"id\": \"MtZRYYdDrYNQbOvV7nbuBvMF\",\n \"location_id\": \"18YC4JDH91E1H\",\n \"note\": \"some optional note\",\n \"processing_fee_money\": {\n \"amount\": 138,\n \"currency\": \"USD\"\n },\n \"transaction_id\": \"KnL67ZIwXCPtzOrqj0HrkxMF\",\n \"type\": \"CARD\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d5a82043-cf5e-430f-b896-b247e7e56bf3", "documentation": "CaptureTransaction", "method": "post", "endpoint": "v2/locations/:location_id/transactions/:transaction_id/capture", "responses": [ { "uuid": "b290c8e4-64ef-4382-87bb-6f4de240915a", "body": "{}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "25173de9-bfec-4ac8-90f1-43b8209aadbe", "documentation": "CreateRefund", "method": "post", "endpoint": "v2/locations/:location_id/transactions/:transaction_id/refund", "responses": [ { "uuid": "f10fdae3-4d64-4bb3-9e3c-77a20c23f723", "body": "{\n \"refund\": {\n \"additional_recipients\": [\n {\n \"amount_money\": {\n \"amount\": 10,\n \"currency\": \"USD\"\n },\n \"description\": \"Application fees\",\n \"location_id\": \"057P5VYJ4A5X1\",\n \"receivable_id\": \"ISu5xwxJ5v0CMJTQq7RvqyMF\"\n }\n ],\n \"amount_money\": {\n \"amount\": 100,\n \"currency\": \"USD\"\n },\n \"created_at\": \"2016-02-12T00:28:18Z\",\n \"id\": \"b27436d1-7f8e-5610-45c6-417ef71434b4-SW\",\n \"location_id\": \"18YC4JDH91E1H\",\n \"reason\": \"some reason\",\n \"status\": \"PENDING\",\n \"tender_id\": \"MtZRYYdDrYNQbOvV7nbuBvMF\",\n \"transaction_id\": \"KnL67ZIwXCPtzOrqj0HrkxMF\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f02f6443-a531-489b-8f6a-b3f334e6728c", "documentation": "VoidTransaction", "method": "post", "endpoint": "v2/locations/:location_id/transactions/:transaction_id/void", "responses": [ { "uuid": "631fe930-60e4-402c-984c-72258e2232bd", "body": "{}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3cbea737-c642-400f-bd60-df78bab7d819", "documentation": "CreateLoyaltyAccount", "method": "post", "endpoint": "v2/loyalty/accounts", "responses": [ { "uuid": "27bca1f6-6fe8-458a-a3b2-e1479ee0433e", "body": "{\n \"loyalty_account\": {\n \"balance\": 0,\n \"created_at\": \"2020-05-08T21:44:32Z\",\n \"id\": \"79b807d2-d786-46a9-933b-918028d7a8c5\",\n \"lifetime_points\": 0,\n \"mapping\": {\n \"created_at\": \"2020-05-08T21:44:32Z\",\n \"id\": \"66aaab3f-da99-49ed-8b19-b87f851c844f\",\n \"phone_number\": \"+14155551234\"\n },\n \"program_id\": \"d619f755-2d17-41f3-990d-c04ecedd64dd\",\n \"updated_at\": \"2020-05-08T21:44:32Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c071328b-effe-48bd-9953-238542200e8d", "documentation": "SearchLoyaltyAccounts", "method": "post", "endpoint": "v2/loyalty/accounts/search", "responses": [ { "uuid": "0a851191-1a96-45f5-bbee-5337389e7256", "body": "{\n \"loyalty_accounts\": [\n {\n \"balance\": 10,\n \"created_at\": \"2020-05-08T21:44:32Z\",\n \"customer_id\": \"Q8002FAM9V1EZ0ADB2T5609X6NET1H0\",\n \"id\": \"79b807d2-d786-46a9-933b-918028d7a8c5\",\n \"lifetime_points\": 20,\n \"mapping\": {\n \"created_at\": \"2020-05-08T21:44:32Z\",\n \"id\": \"66aaab3f-da99-49ed-8b19-b87f851c844f\",\n \"phone_number\": \"+14155551234\"\n },\n \"program_id\": \"d619f755-2d17-41f3-990d-c04ecedd64dd\",\n \"updated_at\": \"2020-05-08T21:44:32Z\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b4a29db1-54ec-4ab9-aa9a-9934eb40f3fe", "documentation": "RetrieveLoyaltyAccount", "method": "get", "endpoint": "v2/loyalty/accounts/:account_id", "responses": [ { "uuid": "43e717f6-0499-4a6a-9bb7-9f2cfed3a116", "body": "{\n \"loyalty_account\": {\n \"balance\": 10,\n \"created_at\": \"2020-05-08T21:44:32Z\",\n \"customer_id\": \"Q8002FAM9V1EZ0ADB2T5609X6NET1H0\",\n \"id\": \"79b807d2-d786-46a9-933b-918028d7a8c5\",\n \"lifetime_points\": 20,\n \"mapping\": {\n \"created_at\": \"2020-05-08T21:44:32Z\",\n \"id\": \"66aaab3f-da99-49ed-8b19-b87f851c844f\",\n \"phone_number\": \"+14155551234\"\n },\n \"program_id\": \"d619f755-2d17-41f3-990d-c04ecedd64dd\",\n \"updated_at\": \"2020-05-08T21:44:32Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0a237b56-41f7-42ec-95a7-b3438e03ba05", "documentation": "AccumulateLoyaltyPoints", "method": "post", "endpoint": "v2/loyalty/accounts/:account_id/accumulate", "responses": [ { "uuid": "4fd934dc-8e25-4ce3-a0ec-866b2af67a9d", "body": "{\n \"event\": {\n \"accumulate_points\": {\n \"loyalty_program_id\": \"d619f755-2d17-41f3-990d-c04ecedd64dd\",\n \"order_id\": \"RFZfrdtm3mhO1oGzf5Cx7fEMsmGZY\",\n \"points\": 6\n },\n \"created_at\": \"2020-05-08T21:41:12Z\",\n \"id\": \"ee46aafd-1af6-3695-a385-276e2ef0be26\",\n \"location_id\": \"P034NEENMD09F\",\n \"loyalty_account_id\": \"5adcb100-07f1-4ee7-b8c6-6bb9ebc474bd\",\n \"source\": \"LOYALTY_API\",\n \"type\": \"ACCUMULATE_POINTS\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "84985d10-74ba-472d-9845-4bf7d1c84141", "documentation": "AdjustLoyaltyPoints", "method": "post", "endpoint": "v2/loyalty/accounts/:account_id/adjust", "responses": [ { "uuid": "4ccad63d-4c39-4d82-9f90-b53c11d31090", "body": "{\n \"event\": {\n \"adjust_points\": {\n \"loyalty_program_id\": \"d619f755-2d17-41f3-990d-c04ecedd64dd\",\n \"points\": 10,\n \"reason\": \"Complimentary points\"\n },\n \"created_at\": \"2020-05-08T21:42:32Z\",\n \"id\": \"613a6fca-8d67-39d0-bad2-3b4bc45c8637\",\n \"loyalty_account_id\": \"5adcb100-07f1-4ee7-b8c6-6bb9ebc474bd\",\n \"source\": \"LOYALTY_API\",\n \"type\": \"ADJUST_POINTS\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5d421ce7-8381-43ce-81a4-e46082e25490", "documentation": "SearchLoyaltyEvents", "method": "post", "endpoint": "v2/loyalty/events/search", "responses": [ { "uuid": "20e89e0e-fa34-4839-94f9-52cc3dd175c9", "body": "{\n \"events\": [\n {\n \"accumulate_points\": {\n \"loyalty_program_id\": \"d619f755-2d17-41f3-990d-c04ecedd64dd\",\n \"order_id\": \"PyATxhYLfsMqpVkcKJITPydgEYfZY\",\n \"points\": 5\n },\n \"created_at\": \"2020-05-08T22:01:30Z\",\n \"id\": \"c27c8465-806e-36f2-b4b3-71f5887b5ba8\",\n \"location_id\": \"P034NEENMD09F\",\n \"loyalty_account_id\": \"5adcb100-07f1-4ee7-b8c6-6bb9ebc474bd\",\n \"source\": \"LOYALTY_API\",\n \"type\": \"ACCUMULATE_POINTS\"\n },\n {\n \"created_at\": \"2020-05-08T22:01:15Z\",\n \"id\": \"e4a5cbc3-a4d0-3779-98e9-e578885d9430\",\n \"location_id\": \"P034NEENMD09F\",\n \"loyalty_account_id\": \"5adcb100-07f1-4ee7-b8c6-6bb9ebc474bd\",\n \"redeem_reward\": {\n \"loyalty_program_id\": \"d619f755-2d17-41f3-990d-c04ecedd64dd\",\n \"order_id\": \"PyATxhYLfsMqpVkcKJITPydgEYfZY\",\n \"reward_id\": \"d03f79f4-815f-3500-b851-cc1e68a457f9\"\n },\n \"source\": \"LOYALTY_API\",\n \"type\": \"REDEEM_REWARD\"\n },\n {\n \"create_reward\": {\n \"loyalty_program_id\": \"d619f755-2d17-41f3-990d-c04ecedd64dd\",\n \"points\": -10,\n \"reward_id\": \"d03f79f4-815f-3500-b851-cc1e68a457f9\"\n },\n \"created_at\": \"2020-05-08T22:00:44Z\",\n \"id\": \"5e127479-0b03-3671-ab1e-15faea8b7188\",\n \"loyalty_account_id\": \"5adcb100-07f1-4ee7-b8c6-6bb9ebc474bd\",\n \"source\": \"LOYALTY_API\",\n \"type\": \"CREATE_REWARD\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "eecedb19-8544-485b-9bb6-2546f484b2e6", "documentation": "ListLoyaltyPrograms", "method": "get", "endpoint": "v2/loyalty/programs", "responses": [ { "uuid": "26dee9a1-c6d9-4bfd-9918-f81a995a6ed7", "body": "{\n \"programs\": [\n {\n \"accrual_rules\": [\n {\n \"accrual_type\": \"SPEND\",\n \"excluded_category_ids\": [\n \"7ZERJKO5PVYXCVUHV2JCZ2UG\",\n \"FQKAOJE5C4FIMF5A2URMLW6V\"\n ],\n \"excluded_item_variation_ids\": [\n \"CBZXBUVVTYUBZGQO44RHMR6B\",\n \"EDILT24Z2NISEXDKGY6HP7XV\"\n ],\n \"points\": 1,\n \"spend_amount_money\": {\n \"amount\": 100\n }\n }\n ],\n \"created_at\": \"2020-04-20T16:55:11Z\",\n \"id\": \"d619f755-2d17-41f3-990d-c04ecedd64dd\",\n \"location_ids\": [\n \"P034NEENMD09F\"\n ],\n \"reward_tiers\": [\n {\n \"created_at\": \"2020-04-20T16:55:11Z\",\n \"definition\": {\n \"discount_type\": \"FIXED_PERCENTAGE\",\n \"percentage_discount\": \"10\",\n \"scope\": \"ORDER\"\n },\n \"id\": \"e1b39225-9da5-43d1-a5db-782cdd8ad94f\",\n \"name\": \"10% off entire sale\",\n \"points\": 10,\n \"pricing_rule_reference\": {\n \"catalog_version\": \"1605486402527\",\n \"object_id\": \"74C4JSHESNLTB2A7ITO5HO6F\"\n }\n }\n ],\n \"status\": \"ACTIVE\",\n \"terminology\": {\n \"one\": \"Point\",\n \"other\": \"Points\"\n },\n \"updated_at\": \"2020-05-01T02:00:02Z\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c2e9be53-9c25-498d-a43b-a26a8b596bce", "documentation": "RetrieveLoyaltyProgram", "method": "get", "endpoint": "v2/loyalty/programs/:program_id", "responses": [ { "uuid": "750199c9-e837-4178-81d1-b7687cdec076", "body": "{\n \"program\": {\n \"accrual_rules\": [\n {\n \"accrual_type\": \"SPEND\",\n \"excluded_category_ids\": [\n \"7ZERJKO5PVYXCVUHV2JCZ2UG\",\n \"FQKAOJE5C4FIMF5A2URMLW6V\"\n ],\n \"excluded_item_variation_ids\": [\n \"CBZXBUVVTYUBZGQO44RHMR6B\",\n \"EDILT24Z2NISEXDKGY6HP7XV\"\n ],\n \"points\": 1,\n \"spend_amount_money\": {\n \"amount\": 100\n }\n }\n ],\n \"created_at\": \"2020-04-20T16:55:11Z\",\n \"id\": \"d619f755-2d17-41f3-990d-c04ecedd64dd\",\n \"location_ids\": [\n \"P034NEENMD09F\"\n ],\n \"reward_tiers\": [\n {\n \"created_at\": \"2020-04-20T16:55:11Z\",\n \"definition\": {\n \"discount_type\": \"FIXED_PERCENTAGE\",\n \"percentage_discount\": \"10\",\n \"scope\": \"ORDER\"\n },\n \"id\": \"e1b39225-9da5-43d1-a5db-782cdd8ad94f\",\n \"name\": \"10% off entire sale\",\n \"points\": 10,\n \"pricing_rule_reference\": {\n \"catalog_version\": \"1605486402527\",\n \"object_id\": \"74C4JSHESNLTB2A7ITO5HO6F\"\n }\n }\n ],\n \"status\": \"ACTIVE\",\n \"terminology\": {\n \"one\": \"Point\",\n \"other\": \"Points\"\n },\n \"updated_at\": \"2020-05-01T02:00:02Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "dd752003-6085-4d3c-ad29-124f093fbc95", "documentation": "CalculateLoyaltyPoints", "method": "post", "endpoint": "v2/loyalty/programs/:program_id/calculate", "responses": [ { "uuid": "637e4084-0736-4ed0-8ab7-5306867846d1", "body": "{\n \"points\": 6\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e41e0bfa-318a-43d5-85d9-fa2d8d023f79", "documentation": "CreateLoyaltyReward", "method": "post", "endpoint": "v2/loyalty/rewards", "responses": [ { "uuid": "15c62e3c-4343-4787-87c4-a925abaf8a3f", "body": "{\n \"reward\": {\n \"created_at\": \"2020-05-01T21:49:54Z\",\n \"id\": \"a8f43ebe-2ad6-3001-bdd5-7d7c2da08943\",\n \"loyalty_account_id\": \"5adcb100-07f1-4ee7-b8c6-6bb9ebc474bd\",\n \"order_id\": \"RFZfrdtm3mhO1oGzf5Cx7fEMsmGZY\",\n \"points\": 10,\n \"reward_tier_id\": \"e1b39225-9da5-43d1-a5db-782cdd8ad94f\",\n \"status\": \"ISSUED\",\n \"updated_at\": \"2020-05-01T21:49:54Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c19900e7-86c3-43fc-89f1-178756ed3e70", "documentation": "SearchLoyaltyRewards", "method": "post", "endpoint": "v2/loyalty/rewards/search", "responses": [ { "uuid": "a5191681-5773-45ce-9d97-2d68f39fc472", "body": "{\n \"rewards\": [\n {\n \"created_at\": \"2020-05-08T22:00:44Z\",\n \"id\": \"d03f79f4-815f-3500-b851-cc1e68a457f9\",\n \"loyalty_account_id\": \"5adcb100-07f1-4ee7-b8c6-6bb9ebc474bd\",\n \"order_id\": \"PyATxhYLfsMqpVkcKJITPydgEYfZY\",\n \"points\": 10,\n \"redeemed_at\": \"2020-05-08T22:01:17Z\",\n \"reward_tier_id\": \"e1b39225-9da5-43d1-a5db-782cdd8ad94f\",\n \"status\": \"REDEEMED\",\n \"updated_at\": \"2020-05-08T22:01:17Z\"\n },\n {\n \"created_at\": \"2020-05-08T21:55:42Z\",\n \"id\": \"9f18ac21-233a-31c3-be77-b45840f5a810\",\n \"loyalty_account_id\": \"5adcb100-07f1-4ee7-b8c6-6bb9ebc474bd\",\n \"points\": 10,\n \"redeemed_at\": \"2020-05-08T21:56:00Z\",\n \"reward_tier_id\": \"e1b39225-9da5-43d1-a5db-782cdd8ad94f\",\n \"status\": \"REDEEMED\",\n \"updated_at\": \"2020-05-08T21:56:00Z\"\n },\n {\n \"created_at\": \"2020-05-01T21:49:54Z\",\n \"id\": \"a8f43ebe-2ad6-3001-bdd5-7d7c2da08943\",\n \"loyalty_account_id\": \"5adcb100-07f1-4ee7-b8c6-6bb9ebc474bd\",\n \"order_id\": \"5NB69ZNh3FbsOs1ox43bh1xrli6YY\",\n \"points\": 10,\n \"reward_tier_id\": \"e1b39225-9da5-43d1-a5db-782cdd8ad94f\",\n \"status\": \"DELETED\",\n \"updated_at\": \"2020-05-08T21:55:10Z\"\n },\n {\n \"created_at\": \"2020-05-01T20:20:37Z\",\n \"id\": \"a051254c-f840-3b45-8cf1-50bcd38ff92a\",\n \"loyalty_account_id\": \"5adcb100-07f1-4ee7-b8c6-6bb9ebc474bd\",\n \"order_id\": \"LQQ16znvi2VIUKPVhUfJefzr1eEZY\",\n \"points\": 10,\n \"reward_tier_id\": \"e1b39225-9da5-43d1-a5db-782cdd8ad94f\",\n \"status\": \"ISSUED\",\n \"updated_at\": \"2020-05-01T20:20:40Z\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fa428b87-431b-4f64-b981-b5c2acd729a1", "documentation": "DeleteLoyaltyReward", "method": "delete", "endpoint": "v2/loyalty/rewards/:reward_id", "responses": [ { "uuid": "135dc82a-df64-4199-960c-55ff5563304d", "body": "{}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3828113d-f968-4aaf-b200-5c49cd61eed7", "documentation": "RetrieveLoyaltyReward", "method": "get", "endpoint": "v2/loyalty/rewards/:reward_id", "responses": [ { "uuid": "925ddd91-0063-45c0-98b2-d13eef1bcb8f", "body": "{\n \"reward\": {\n \"created_at\": \"2020-05-08T21:55:42Z\",\n \"id\": \"9f18ac21-233a-31c3-be77-b45840f5a810\",\n \"loyalty_account_id\": \"5adcb100-07f1-4ee7-b8c6-6bb9ebc474bd\",\n \"points\": 10,\n \"redeemed_at\": \"2020-05-08T21:56:00Z\",\n \"reward_tier_id\": \"e1b39225-9da5-43d1-a5db-782cdd8ad94f\",\n \"status\": \"REDEEMED\",\n \"updated_at\": \"2020-05-08T21:56:00Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "df82a329-847a-43ef-9bc3-d0083456302f", "documentation": "RedeemLoyaltyReward", "method": "post", "endpoint": "v2/loyalty/rewards/:reward_id/redeem", "responses": [ { "uuid": "dd223aa7-bfea-4a05-a36c-4bb703a7bb96", "body": "{\n \"event\": {\n \"created_at\": \"2020-05-08T21:56:00Z\",\n \"id\": \"67377a6e-dbdc-369d-aa16-2e7ed422e71f\",\n \"location_id\": \"P034NEENMD09F\",\n \"loyalty_account_id\": \"5adcb100-07f1-4ee7-b8c6-6bb9ebc474bd\",\n \"redeem_reward\": {\n \"loyalty_program_id\": \"d619f755-2d17-41f3-990d-c04ecedd64dd\",\n \"reward_id\": \"9f18ac21-233a-31c3-be77-b45840f5a810\"\n },\n \"source\": \"LOYALTY_API\",\n \"type\": \"REDEEM_REWARD\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fc1e048e-0382-4e62-aa42-7db34ca09b09", "documentation": "ListMerchants", "method": "get", "endpoint": "v2/merchants", "responses": [ { "uuid": "cd75651b-8bbf-4a6a-86bf-3d5a41b68491", "body": "{\n \"merchant\": [\n {\n \"business_name\": \"Apple A Day\",\n \"country\": \"US\",\n \"currency\": \"USD\",\n \"id\": \"DM7VKY8Q63GNP\",\n \"language_code\": \"en-US\",\n \"main_location_id\": \"9A65CGC72ZQG1\",\n \"status\": \"ACTIVE\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f249b974-6123-43db-b8c0-411b4d97678b", "documentation": "RetrieveMerchant", "method": "get", "endpoint": "v2/merchants/:merchant_id", "responses": [ { "uuid": "73b5b57f-669d-413c-b776-86f68c9b485e", "body": "{\n \"merchant\": {\n \"business_name\": \"Apple A Day\",\n \"country\": \"US\",\n \"currency\": \"USD\",\n \"id\": \"DM7VKY8Q63GNP\",\n \"language_code\": \"en-US\",\n \"main_location_id\": \"9A65CGC72ZQG1\",\n \"status\": \"ACTIVE\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e9e92008-038e-4c5d-9694-18fc79670ab5", "documentation": "CreateOrder", "method": "post", "endpoint": "v2/orders", "responses": [ { "uuid": "3a05785b-78a1-4d9e-a0ff-36ddee116e0f", "body": "{\n \"order\": {\n \"created_at\": \"2020-01-17T20:47:53.293Z\",\n \"discounts\": [\n {\n \"applied_money\": {\n \"amount\": 30,\n \"currency\": \"USD\"\n },\n \"catalog_object_id\": \"DB7L55ZH2BGWI4H23ULIWOQ7\",\n \"name\": \"Membership Discount\",\n \"percentage\": \"0.5\",\n \"scope\": \"ORDER\",\n \"type\": \"FIXED_PERCENTAGE\",\n \"uid\": \"membership-discount\"\n },\n {\n \"applied_money\": {\n \"amount\": 303,\n \"currency\": \"USD\"\n },\n \"name\": \"Labor Day Sale\",\n \"percentage\": \"5\",\n \"scope\": \"ORDER\",\n \"type\": \"FIXED_PERCENTAGE\",\n \"uid\": \"labor-day-sale\"\n },\n {\n \"amount_money\": {\n \"amount\": 100,\n \"currency\": \"USD\"\n },\n \"applied_money\": {\n \"amount\": 100,\n \"currency\": \"USD\"\n },\n \"name\": \"Sale - $1.00 off\",\n \"scope\": \"LINE_ITEM\",\n \"type\": \"FIXED_AMOUNT\",\n \"uid\": \"one-dollar-off\"\n }\n ],\n \"id\": \"CAISENgvlJ6jLWAzERDzjyHVybY\",\n \"line_items\": [\n {\n \"applied_discounts\": [\n {\n \"applied_money\": {\n \"amount\": 8,\n \"currency\": \"USD\"\n },\n \"discount_uid\": \"membership-discount\",\n \"uid\": \"jWdgP1TpHPFBuVrz81mXVC\"\n },\n {\n \"applied_money\": {\n \"amount\": 79,\n \"currency\": \"USD\"\n },\n \"discount_uid\": \"labor-day-sale\",\n \"uid\": \"jnZOjjVY57eRcQAVgEwFuC\"\n }\n ],\n \"applied_taxes\": [\n {\n \"applied_money\": {\n \"amount\": 136,\n \"currency\": \"USD\"\n },\n \"tax_uid\": \"state-sales-tax\",\n \"uid\": \"aKG87ArnDpvMLSZJHxWUl\"\n }\n ],\n \"base_price_money\": {\n \"amount\": 1599,\n \"currency\": \"USD\"\n },\n \"gross_sales_money\": {\n \"amount\": 1599,\n \"currency\": \"USD\"\n },\n \"name\": \"New York Strip Steak\",\n \"quantity\": \"1\",\n \"total_discount_money\": {\n \"amount\": 87,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 1648,\n \"currency\": \"USD\"\n },\n \"total_tax_money\": {\n \"amount\": 136,\n \"currency\": \"USD\"\n },\n \"uid\": \"8uSwfzvUImn3IRrvciqlXC\",\n \"variation_total_price_money\": {\n \"amount\": 1599,\n \"currency\": \"USD\"\n }\n },\n {\n \"applied_discounts\": [\n {\n \"applied_money\": {\n \"amount\": 22,\n \"currency\": \"USD\"\n },\n \"discount_uid\": \"membership-discount\",\n \"uid\": \"nUXvdsIItfKko0dbYtY58C\"\n },\n {\n \"applied_money\": {\n \"amount\": 224,\n \"currency\": \"USD\"\n },\n \"discount_uid\": \"labor-day-sale\",\n \"uid\": \"qSdkOOOernlVQqsJ94SPjB\"\n },\n {\n \"applied_money\": {\n \"amount\": 100,\n \"currency\": \"USD\"\n },\n \"discount_uid\": \"one-dollar-off\",\n \"uid\": \"y7bVl4njrWAnfDwmz19izB\"\n }\n ],\n \"applied_taxes\": [\n {\n \"applied_money\": {\n \"amount\": 374,\n \"currency\": \"USD\"\n },\n \"tax_uid\": \"state-sales-tax\",\n \"uid\": \"v1dAgrfUVUPTnVTf9sRPz\"\n }\n ],\n \"base_price_money\": {\n \"amount\": 2200,\n \"currency\": \"USD\"\n },\n \"catalog_object_id\": \"BEMYCSMIJL46OCDV4KYIKXIB\",\n \"gross_sales_money\": {\n \"amount\": 4500,\n \"currency\": \"USD\"\n },\n \"modifiers\": [\n {\n \"base_price_money\": {\n \"amount\": 50,\n \"currency\": \"USD\"\n },\n \"catalog_object_id\": \"CHQX7Y4KY6N5KINJKZCFURPZ\",\n \"name\": \"Well\",\n \"total_price_money\": {\n \"amount\": 100,\n \"currency\": \"USD\"\n },\n \"uid\": \"Lo3qMMckDluu9Qsb58d4CC\"\n }\n ],\n \"name\": \"New York Steak\",\n \"quantity\": \"2\",\n \"total_discount_money\": {\n \"amount\": 346,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 4528,\n \"currency\": \"USD\"\n },\n \"total_tax_money\": {\n \"amount\": 374,\n \"currency\": \"USD\"\n },\n \"uid\": \"v8ZuEXpOJpb0bazLuvrLDB\",\n \"variation_name\": \"Larger\",\n \"variation_total_price_money\": {\n \"amount\": 4400,\n \"currency\": \"USD\"\n }\n }\n ],\n \"location_id\": \"057P5VYJ4A5X1\",\n \"net_amounts\": {\n \"discount_money\": {\n \"amount\": 433,\n \"currency\": \"USD\"\n },\n \"service_charge_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"tax_money\": {\n \"amount\": 510,\n \"currency\": \"USD\"\n },\n \"tip_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 6176,\n \"currency\": \"USD\"\n }\n },\n \"reference_id\": \"my-order-001\",\n \"source\": {\n \"name\": \"My App\"\n },\n \"state\": \"OPEN\",\n \"taxes\": [\n {\n \"applied_money\": {\n \"amount\": 510,\n \"currency\": \"USD\"\n },\n \"name\": \"State Sales Tax\",\n \"percentage\": \"9\",\n \"scope\": \"ORDER\",\n \"type\": \"ADDITIVE\",\n \"uid\": \"state-sales-tax\"\n }\n ],\n \"total_discount_money\": {\n \"amount\": 433,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 6176,\n \"currency\": \"USD\"\n },\n \"total_service_charge_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"total_tax_money\": {\n \"amount\": 510,\n \"currency\": \"USD\"\n },\n \"total_tip_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"updated_at\": \"2020-01-17T20:47:53.293Z\",\n \"version\": 1\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5b2bb862-d3e2-4787-8b30-8d6f9f36d201", "documentation": "BatchRetrieveOrders", "method": "post", "endpoint": "v2/orders/batch-retrieve", "responses": [ { "uuid": "fae622ee-5898-42d7-863b-6e79439c047f", "body": "{\n \"orders\": [\n {\n \"id\": \"CAISEM82RcpmcFBM0TfOyiHV3es\",\n \"line_items\": [\n {\n \"base_price_money\": {\n \"amount\": 1599,\n \"currency\": \"USD\"\n },\n \"name\": \"Awesome product\",\n \"quantity\": \"1\",\n \"total_money\": {\n \"amount\": 1599,\n \"currency\": \"USD\"\n },\n \"uid\": \"945986d1-9586-11e6-ad5a-28cfe92138cf\"\n },\n {\n \"base_price_money\": {\n \"amount\": 2000,\n \"currency\": \"USD\"\n },\n \"name\": \"Another awesome product\",\n \"quantity\": \"3\",\n \"total_money\": {\n \"amount\": 6000,\n \"currency\": \"USD\"\n },\n \"uid\": \"a8f4168c-9586-11e6-bdf0-28cfe92138cf\"\n }\n ],\n \"location_id\": \"057P5VYJ4A5X1\",\n \"reference_id\": \"my-order-001\",\n \"total_money\": {\n \"amount\": 7599,\n \"currency\": \"USD\"\n }\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4f072fa2-b2cb-4d6b-9643-ccbff3a7cc77", "documentation": "CalculateOrder", "method": "post", "endpoint": "v2/orders/calculate", "responses": [ { "uuid": "6d7e2514-c5f2-423e-9621-81f8541fedcb", "body": "{\n \"order\": {\n \"created_at\": \"2020-05-18T16:30:49.614Z\",\n \"discounts\": [\n {\n \"applied_money\": {\n \"amount\": 550,\n \"currency\": \"USD\"\n },\n \"name\": \"50% Off\",\n \"percentage\": \"50\",\n \"scope\": \"ORDER\",\n \"type\": \"FIXED_PERCENTAGE\",\n \"uid\": \"zGsRZP69aqSSR9lq9euSPB\"\n }\n ],\n \"line_items\": [\n {\n \"applied_discounts\": [\n {\n \"applied_money\": {\n \"amount\": 250,\n \"currency\": \"USD\"\n },\n \"discount_uid\": \"zGsRZP69aqSSR9lq9euSPB\",\n \"uid\": \"9zr9S4dxvPAixvn0lpa1VC\"\n }\n ],\n \"base_price_money\": {\n \"amount\": 500,\n \"currency\": \"USD\"\n },\n \"gross_sales_money\": {\n \"amount\": 500,\n \"currency\": \"USD\"\n },\n \"name\": \"Item 1\",\n \"quantity\": \"1\",\n \"total_discount_money\": {\n \"amount\": 250,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 250,\n \"currency\": \"USD\"\n },\n \"total_tax_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"uid\": \"ULkg0tQTRK2bkU9fNv3IJD\",\n \"variation_total_price_money\": {\n \"amount\": 500,\n \"currency\": \"USD\"\n }\n },\n {\n \"applied_discounts\": [\n {\n \"applied_money\": {\n \"amount\": 300,\n \"currency\": \"USD\"\n },\n \"discount_uid\": \"zGsRZP69aqSSR9lq9euSPB\",\n \"uid\": \"qa8LwwZK82FgSEkQc2HYVC\"\n }\n ],\n \"base_price_money\": {\n \"amount\": 300,\n \"currency\": \"USD\"\n },\n \"gross_sales_money\": {\n \"amount\": 600,\n \"currency\": \"USD\"\n },\n \"name\": \"Item 2\",\n \"quantity\": \"2\",\n \"total_discount_money\": {\n \"amount\": 300,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 300,\n \"currency\": \"USD\"\n },\n \"total_tax_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"uid\": \"mumY8Nun4BC5aKe2yyx5a\",\n \"variation_total_price_money\": {\n \"amount\": 600,\n \"currency\": \"USD\"\n }\n }\n ],\n \"location_id\": \"D7AVYMEAPJ3A3\",\n \"net_amounts\": {\n \"discount_money\": {\n \"amount\": 550,\n \"currency\": \"USD\"\n },\n \"service_charge_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"tax_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"tip_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 550,\n \"currency\": \"USD\"\n }\n },\n \"state\": \"OPEN\",\n \"total_discount_money\": {\n \"amount\": 550,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 550,\n \"currency\": \"USD\"\n },\n \"total_service_charge_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"total_tax_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"total_tip_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"updated_at\": \"2020-05-18T16:30:49.614Z\",\n \"version\": 1\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "dfe7af3b-26e4-4d7c-8e83-ec9b7bef4123", "documentation": "SearchOrders", "method": "post", "endpoint": "v2/orders/search", "responses": [ { "uuid": "5953b93f-0ec3-498d-9f3d-f21192b7d702", "body": "{\n \"cursor\": \"123\",\n \"order_entries\": [\n {\n \"location_id\": \"057P5VYJ4A5X1\",\n \"order_id\": \"CAISEM82RcpmcFBM0TfOyiHV3es\",\n \"version\": 1\n },\n {\n \"location_id\": \"18YC4JDH91E1H\",\n \"order_id\": \"CAISENgvlJ6jLWAzERDzjyHVybY\"\n },\n {\n \"location_id\": \"057P5VYJ4A5X1\",\n \"order_id\": \"CAISEM52YcpmcWAzERDOyiWS3ty\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c5d375f7-788a-4cf8-8d62-20a40667f65a", "documentation": "RetrieveOrder", "method": "get", "endpoint": "v2/orders/:order_id", "responses": [ { "uuid": "02bd19f8-a7ff-4607-887b-74b742dbd5be", "body": "{\n \"order\": {\n \"created_at\": \"2020-05-18T16:30:49.614Z\",\n \"discounts\": [\n {\n \"applied_money\": {\n \"amount\": 550,\n \"currency\": \"USD\"\n },\n \"name\": \"50% Off\",\n \"percentage\": \"50\",\n \"scope\": \"ORDER\",\n \"type\": \"FIXED_PERCENTAGE\",\n \"uid\": \"zGsRZP69aqSSR9lq9euSPB\"\n }\n ],\n \"id\": \"CAISENgvlJ6jLWAzERDzjyHVybY\",\n \"line_items\": [\n {\n \"applied_discounts\": [\n {\n \"applied_money\": {\n \"amount\": 250,\n \"currency\": \"USD\"\n },\n \"discount_uid\": \"zGsRZP69aqSSR9lq9euSPB\",\n \"uid\": \"9zr9S4dxvPAixvn0lpa1VC\"\n }\n ],\n \"base_price_money\": {\n \"amount\": 500,\n \"currency\": \"USD\"\n },\n \"gross_sales_money\": {\n \"amount\": 500,\n \"currency\": \"USD\"\n },\n \"name\": \"Item 1\",\n \"quantity\": \"1\",\n \"total_discount_money\": {\n \"amount\": 250,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 250,\n \"currency\": \"USD\"\n },\n \"total_tax_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"uid\": \"ULkg0tQTRK2bkU9fNv3IJD\",\n \"variation_total_price_money\": {\n \"amount\": 500,\n \"currency\": \"USD\"\n }\n },\n {\n \"applied_discounts\": [\n {\n \"applied_money\": {\n \"amount\": 300,\n \"currency\": \"USD\"\n },\n \"discount_uid\": \"zGsRZP69aqSSR9lq9euSPB\",\n \"uid\": \"qa8LwwZK82FgSEkQc2HYVC\"\n }\n ],\n \"base_price_money\": {\n \"amount\": 300,\n \"currency\": \"USD\"\n },\n \"gross_sales_money\": {\n \"amount\": 600,\n \"currency\": \"USD\"\n },\n \"name\": \"Item 2\",\n \"quantity\": \"2\",\n \"total_discount_money\": {\n \"amount\": 300,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 300,\n \"currency\": \"USD\"\n },\n \"total_tax_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"uid\": \"mumY8Nun4BC5aKe2yyx5a\",\n \"variation_total_price_money\": {\n \"amount\": 600,\n \"currency\": \"USD\"\n }\n }\n ],\n \"location_id\": \"D7AVYMEAPJ3A3\",\n \"net_amounts\": {\n \"discount_money\": {\n \"amount\": 550,\n \"currency\": \"USD\"\n },\n \"service_charge_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"tax_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"tip_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 550,\n \"currency\": \"USD\"\n }\n },\n \"state\": \"OPEN\",\n \"total_discount_money\": {\n \"amount\": 550,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 550,\n \"currency\": \"USD\"\n },\n \"total_service_charge_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"total_tax_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"total_tip_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"updated_at\": \"2020-05-18T16:30:49.614Z\",\n \"version\": 1\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "58effb30-3856-43b3-83da-ed7035c2c544", "documentation": "UpdateOrder", "method": "put", "endpoint": "v2/orders/:order_id", "responses": [ { "uuid": "83b67217-9cca-4a4f-b67f-9275e7801b1e", "body": "{\n \"order\": {\n \"created_at\": \"2019-08-23T18:26:18.243Z\",\n \"id\": \"DREk7wJcyXNHqULq8JJ2iPAsluJZY\",\n \"line_items\": [\n {\n \"base_price_money\": {\n \"amount\": 500,\n \"currency\": \"USD\"\n },\n \"gross_sales_money\": {\n \"amount\": 500,\n \"currency\": \"USD\"\n },\n \"name\": \"Small Coffee\",\n \"quantity\": \"1\",\n \"total_discount_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 500,\n \"currency\": \"USD\"\n },\n \"total_tax_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"uid\": \"EuYkakhmu3ksHIds5Hiot\",\n \"variation_total_price_money\": {\n \"amount\": 500,\n \"currency\": \"USD\"\n }\n },\n {\n \"base_price_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"gross_sales_money\": {\n \"amount\": 400,\n \"currency\": \"USD\"\n },\n \"name\": \"COOKIE\",\n \"quantity\": \"2\",\n \"total_discount_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 400,\n \"currency\": \"USD\"\n },\n \"total_tax_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"uid\": \"cookie_uid\",\n \"variation_total_price_money\": {\n \"amount\": 400,\n \"currency\": \"USD\"\n }\n }\n ],\n \"location_id\": \"MXVQSVNDGN3C8\",\n \"net_amounts\": {\n \"discount_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"service_charge_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"tax_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 900,\n \"currency\": \"USD\"\n }\n },\n \"source\": {\n \"name\": \"Cookies\"\n },\n \"state\": \"OPEN\",\n \"total_discount_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 900,\n \"currency\": \"USD\"\n },\n \"total_service_charge_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"total_tax_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"updated_at\": \"2019-08-23T18:33:47.523Z\",\n \"version\": 2\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "07e10eac-663e-4e74-a163-01b3d4cb7d59", "documentation": "PayOrder", "method": "post", "endpoint": "v2/orders/:order_id/pay", "responses": [ { "uuid": "c244cdaf-8d54-4c30-9447-ba23b7df130e", "body": "{\n \"order\": {\n \"closed_at\": \"2019-08-06T02:47:37.140Z\",\n \"created_at\": \"2019-08-06T02:47:35.693Z\",\n \"id\": \"lgwOlEityYPJtcuvKTVKT1pA986YY\",\n \"line_items\": [\n {\n \"base_price_money\": {\n \"amount\": 500,\n \"currency\": \"USD\"\n },\n \"gross_sales_money\": {\n \"amount\": 500,\n \"currency\": \"USD\"\n },\n \"name\": \"Item 1\",\n \"quantity\": \"1\",\n \"total_discount_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 500,\n \"currency\": \"USD\"\n },\n \"total_tax_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"uid\": \"QW6kofLHJK7JEKMjlSVP5C\"\n },\n {\n \"base_price_money\": {\n \"amount\": 750,\n \"currency\": \"USD\"\n },\n \"gross_sales_money\": {\n \"amount\": 1500,\n \"currency\": \"USD\"\n },\n \"name\": \"Item 2\",\n \"quantity\": \"2\",\n \"total_discount_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 1500,\n \"currency\": \"USD\"\n },\n \"total_tax_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"uid\": \"zhw8MNfRGdFQMI2WE1UBJD\"\n }\n ],\n \"location_id\": \"P3CCK6HSNDAS7\",\n \"net_amounts\": {\n \"discount_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"service_charge_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"tax_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"tip_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 2000,\n \"currency\": \"USD\"\n }\n },\n \"source\": {\n \"name\": \"Source Name\"\n },\n \"state\": \"COMPLETED\",\n \"tenders\": [\n {\n \"amount_money\": {\n \"amount\": 1000,\n \"currency\": \"USD\"\n },\n \"card_details\": {\n \"card\": {\n \"card_brand\": \"VISA\",\n \"exp_month\": 2,\n \"exp_year\": 2022,\n \"fingerprint\": \"sq-1-n_BL15KP87ClDa4-h2nXOI0fp5VnxNH6hfhzqhptTfAgxgLuGFcg6jIPngDz4IkkTQ\",\n \"last_4\": \"1111\"\n },\n \"entry_method\": \"KEYED\",\n \"status\": \"CAPTURED\"\n },\n \"created_at\": \"2019-08-06T02:47:36.293Z\",\n \"id\": \"EnZdNAlWCmfh6Mt5FMNST1o7taB\",\n \"location_id\": \"P3CCK6HSNDAS7\",\n \"payment_id\": \"EnZdNAlWCmfh6Mt5FMNST1o7taB\",\n \"transaction_id\": \"lgwOlEityYPJtcuvKTVKT1pA986YY\",\n \"type\": \"CARD\"\n },\n {\n \"amount_money\": {\n \"amount\": 1000,\n \"currency\": \"USD\"\n },\n \"card_details\": {\n \"card\": {\n \"card_brand\": \"VISA\",\n \"exp_month\": 2,\n \"exp_year\": 2022,\n \"fingerprint\": \"sq-1-n_BL15KP87ClDa4-h2nXOI0fp5VnxNH6hfhzqhptTfAgxgLuGFcg6jIPngDz4IkkTQ\",\n \"last_4\": \"1111\"\n },\n \"entry_method\": \"KEYED\",\n \"status\": \"CAPTURED\"\n },\n \"created_at\": \"2019-08-06T02:47:36.809Z\",\n \"id\": \"0LRiVlbXVwe8ozu4KbZxd12mvaB\",\n \"location_id\": \"P3CCK6HSNDAS7\",\n \"payment_id\": \"0LRiVlbXVwe8ozu4KbZxd12mvaB\",\n \"transaction_id\": \"lgwOlEityYPJtcuvKTVKT1pA986YY\",\n \"type\": \"CARD\"\n }\n ],\n \"total_discount_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 2000,\n \"currency\": \"USD\"\n },\n \"total_service_charge_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"total_tax_money\": {\n \"amount\": 0,\n \"currency\": \"USD\"\n },\n \"updated_at\": \"2019-08-06T02:47:37.140Z\",\n \"version\": 4\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c9767035-b90e-4128-a1c1-0d44fd910983", "documentation": "ListPayments", "method": "get", "endpoint": "v2/payments", "responses": [ { "uuid": "d4db3bb1-8ef0-4536-8c83-03e3365c4aa1", "body": "{\n \"cursor\": \"2TTnuq0yRYDdBRSFF2XuFkgO1Bclt4ZHNI7YrFNeyZ6rL1WZXkdnLn10H8fBIwFKdKW1Af6ifRa\",\n \"payments\": [\n {\n \"amount_money\": {\n \"amount\": 1000,\n \"currency\": \"USD\"\n },\n \"approved_money\": {\n \"amount\": 1000,\n \"currency\": \"USD\"\n },\n \"capabilities\": [\n \"EDIT_AMOUNT_UP\",\n \"EDIT_AMOUNT_DOWN\",\n \"EDIT_TIP_AMOUNT_UP\",\n \"EDIT_TIP_AMOUNT_DOWN\"\n ],\n \"card_details\": {\n \"auth_result_code\": \"NQbV3A\",\n \"avs_status\": \"AVS_ACCEPTED\",\n \"card\": {\n \"card_brand\": \"VISA\",\n \"exp_month\": 2,\n \"exp_year\": 2022,\n \"fingerprint\": \"sq-1-lHpUJIUyqOPQmH89b6GuQEljmc-mZmu4kSTaMlkLDkJI7NVjAl4Zirn2sk3OeyVKVA\",\n \"last_4\": \"1111\"\n },\n \"card_payment_timeline\": {\n \"authorized_at\": \"2019-07-09T14:36:13.798Z\"\n },\n \"cvv_status\": \"CVV_ACCEPTED\",\n \"entry_method\": \"KEYED\",\n \"status\": \"AUTHORIZED\"\n },\n \"created_at\": \"2019-07-09T14:36:13.745Z\",\n \"id\": \"ifrBnAil7rRfDtd27cdf9g9WO8paB\",\n \"location_id\": \"QLIJX16Q3UZ0A\",\n \"order_id\": \"MvfIilKnIYKBium4rauH67wFzRxv\",\n \"source_type\": \"CARD\",\n \"status\": \"APPROVED\",\n \"total_money\": {\n \"amount\": 1000,\n \"currency\": \"USD\"\n },\n \"updated_at\": \"2019-07-09T14:36:13.883Z\",\n \"version_token\": \"v6orqdHcW2TwuzCQRdF6a4ktbG8T8nbDcBx8eyrkoZl6o\"\n },\n {\n \"amount_money\": {\n \"amount\": 1000,\n \"currency\": \"USD\"\n },\n \"approved_money\": {\n \"amount\": 1000,\n \"currency\": \"USD\"\n },\n \"card_details\": {\n \"auth_result_code\": \"vPIr0K\",\n \"avs_status\": \"AVS_ACCEPTED\",\n \"card\": {\n \"card_brand\": \"VISA\",\n \"exp_month\": 7,\n \"exp_year\": 2026,\n \"fingerprint\": \"sq-1-TpmjbNBMFdibiIjpQI5LiRgNUBC7u1689i0TgHjnlyHEWYB7tnn-K4QbW4ttvtaqXw\",\n \"last_4\": \"2796\"\n },\n \"card_payment_timeline\": {\n \"authorized_at\": \"2019-07-08T01:00:51.617Z\",\n \"captured_at\": \"2019-07-08T01:13:58.508Z\"\n },\n \"cvv_status\": \"CVV_ACCEPTED\",\n \"entry_method\": \"ON_FILE\",\n \"status\": \"CAPTURED\"\n },\n \"created_at\": \"2019-07-08T01:00:51.607Z\",\n \"customer_id\": \"RDX9Z4XTIZR7MRZJUXNY9HUK6I\",\n \"id\": \"GQTFp1ZlXdpoW4o6eGiZhbjosiDFf\",\n \"location_id\": \"XTI0H92143A39\",\n \"order_id\": \"m2Hr8Hk8A3CTyQQ1k4ynExg92tO3\",\n \"processing_fee\": [\n {\n \"amount_money\": {\n \"amount\": 59,\n \"currency\": \"USD\"\n },\n \"effective_at\": \"2019-07-08T03:00:53.000Z\",\n \"type\": \"INITIAL\"\n }\n ],\n \"source_type\": \"CARD\",\n \"status\": \"COMPLETED\",\n \"total_money\": {\n \"amount\": 1000,\n \"currency\": \"USD\"\n },\n \"updated_at\": \"2019-07-08T01:13:58.508Z\",\n \"version_token\": \"pE0wanQBErcnO4ubL49pHCV1yAs4BUScWXb8fVvkRqa6o\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "27052142-68ee-4f92-9aa0-0e4deb48dcce", "documentation": "CreatePayment", "method": "post", "endpoint": "v2/payments", "responses": [ { "uuid": "1cbdd0b1-a4c0-4029-a1bf-b1e385b1a550", "body": "{\n \"payment\": {\n \"amount_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"app_fee_money\": {\n \"amount\": 10,\n \"currency\": \"USD\"\n },\n \"approved_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"card_details\": {\n \"auth_result_code\": \"nsAyY2\",\n \"avs_status\": \"AVS_ACCEPTED\",\n \"card\": {\n \"bin\": \"411111\",\n \"card_brand\": \"VISA\",\n \"card_type\": \"DEBIT\",\n \"exp_month\": 7,\n \"exp_year\": 2026,\n \"fingerprint\": \"sq-1-TpmjbNBMFdibiIjpQI5LiRgNUBC7u1689i0TgHjnlyHEWYB7tnn-K4QbW4ttvtaqXw\",\n \"last_4\": \"1111\",\n \"prepaid_type\": \"PREPAID\"\n },\n \"card_payment_timeline\": {\n \"authorized_at\": \"2019-07-10T13:23:49.234Z\",\n \"captured_at\": \"2019-07-10T13:23:49.446Z\"\n },\n \"cvv_status\": \"CVV_ACCEPTED\",\n \"entry_method\": \"ON_FILE\",\n \"statement_description\": \"SQ *MY MERCHANT\",\n \"status\": \"CAPTURED\"\n },\n \"created_at\": \"2019-07-10T13:23:49.154Z\",\n \"customer_id\": \"RDX9Z4XTIZR7MRZJUXNY9HUK6I\",\n \"id\": \"GQTFp1ZlXdpoW4o6eGiZhbjosiDFf\",\n \"location_id\": \"XTI0H92143A39\",\n \"note\": \"Brief description\",\n \"order_id\": \"m2Hr8Hk8A3CTyQQ1k4ynExg92tO3\",\n \"receipt_number\": \"GQTF\",\n \"receipt_url\": \"https://squareup.com/receipt/preview/GQTFp1ZlXdpoW4o6eGiZhbjosiDFf\",\n \"reference_id\": \"123456\",\n \"source_type\": \"CARD\",\n \"status\": \"COMPLETED\",\n \"total_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"updated_at\": \"2019-07-10T13:23:49.446Z\",\n \"version_token\": \"H8Vnk5Z11SKcueuRti79jGpszSEsSVdhKRrSKCOzILG6o\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1a4c9716-13fb-4e59-be8b-744a8f393481", "documentation": "CancelPaymentByIdempotencyKey", "method": "post", "endpoint": "v2/payments/cancel", "responses": [ { "uuid": "3d74f5a3-da51-42ff-9bf1-c7e81bf9551f", "body": "{}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e9055cd0-aaf0-40ad-b6b7-3da978b80cb7", "documentation": "GetPayment", "method": "get", "endpoint": "v2/payments/:payment_id", "responses": [ { "uuid": "3fdad563-35af-40ba-8f48-fb2048c7017e", "body": "{\n \"payment\": {\n \"amount_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"app_fee_money\": {\n \"amount\": 10,\n \"currency\": \"USD\"\n },\n \"approved_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"card_details\": {\n \"auth_result_code\": \"nsAyY2\",\n \"avs_status\": \"AVS_ACCEPTED\",\n \"card\": {\n \"bin\": \"411111\",\n \"card_brand\": \"VISA\",\n \"card_type\": \"DEBIT\",\n \"exp_month\": 7,\n \"exp_year\": 2026,\n \"fingerprint\": \"sq-1-TpmjbNBMFdibiIjpQI5LiRgNUBC7u1689i0TgHjnlyHEWYB7tnn-K4QbW4ttvtaqXw\",\n \"last_4\": \"1111\",\n \"prepaid_type\": \"PREPAID\"\n },\n \"card_payment_timeline\": {\n \"authorized_at\": \"2019-07-10T13:23:49.234Z\",\n \"captured_at\": \"2019-07-10T13:23:49.446Z\"\n },\n \"cvv_status\": \"CVV_ACCEPTED\",\n \"entry_method\": \"ON_FILE\",\n \"statement_description\": \"SQ *MY MERCHANT\",\n \"status\": \"CAPTURED\"\n },\n \"created_at\": \"2019-07-10T13:23:49.154Z\",\n \"customer_id\": \"RDX9Z4XTIZR7MRZJUXNY9HUK6I\",\n \"id\": \"GQTFp1ZlXdpoW4o6eGiZhbjosiDFf\",\n \"location_id\": \"XTI0H92143A39\",\n \"note\": \"Brief description\",\n \"order_id\": \"m2Hr8Hk8A3CTyQQ1k4ynExg92tO3\",\n \"processing_fee\": [\n {\n \"amount_money\": {\n \"amount\": 36,\n \"currency\": \"USD\"\n },\n \"effective_at\": \"2019-07-10T15:23:49.000Z\",\n \"type\": \"INITIAL\"\n }\n ],\n \"receipt_number\": \"GQTF\",\n \"receipt_url\": \"https://squareup.com/receipt/preview/GQTFp1ZlXdpoW4o6eGiZhbjosiDFf\",\n \"reference_id\": \"123456\",\n \"source_type\": \"CARD\",\n \"status\": \"COMPLETED\",\n \"total_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"updated_at\": \"2019-07-10T13:23:49.446Z\",\n \"version_token\": \"hj8JqHWu9R1Kkfu63UuIUmYc7zm6YFOt92g8d2fb9fz6o\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3ad721cf-f98b-4097-ab4a-fdf120d55279", "documentation": "UpdatePayment", "method": "put", "endpoint": "v2/payments/:payment_id", "responses": [ { "uuid": "9c4b43c1-66b0-4075-86d4-ae7b5f0b7c77", "body": "{\n \"payment\": {\n \"amount_money\": {\n \"amount\": 1000,\n \"currency\": \"USD\"\n },\n \"approved_money\": {\n \"amount\": 1000,\n \"currency\": \"USD\"\n },\n \"capabilities\": [\n \"EDIT_AMOUNT_UP\",\n \"EDIT_AMOUNT_DOWN\",\n \"EDIT_TIP_AMOUNT_UP\",\n \"EDIT_TIP_AMOUNT_DOWN\"\n ],\n \"card_details\": {\n \"auth_result_code\": \"ajM2ZF\",\n \"avs_status\": \"AVS_ACCEPTED\",\n \"card\": {\n \"bin\": \"411111\",\n \"card_brand\": \"VISA\",\n \"card_type\": \"CREDIT\",\n \"exp_month\": 2,\n \"exp_year\": 2022,\n \"fingerprint\": \"sq-1-n_BL15KP87ClDa4-h2nXOI0fp5VnxNH6hfhzqhptTfAgxgLuGFcg6jIPngDz4IkkTQ\",\n \"last_4\": \"1111\"\n },\n \"card_payment_timeline\": {\n \"authorized_at\": \"2021-02-24T03:33:43.681Z\"\n },\n \"cvv_status\": \"CVV_ACCEPTED\",\n \"entry_method\": \"KEYED\",\n \"statement_description\": \"SQ *MY BUSINESS GOSQ.COM\",\n \"status\": \"AUTHORIZED\"\n },\n \"created_at\": \"2021-03-02T19:53:31.055Z\",\n \"delay_action\": \"CANCEL\",\n \"delay_duration\": \"PT168H\",\n \"delayed_until\": \"2021-03-09T19:53:31.055Z\",\n \"id\": \"XllelosAAfmkf9mOa0YB4PqSZACZY\",\n \"location_id\": \"XTI0H92143A39\",\n \"order_id\": \"B6qiKWus1d3TBoN2Qn5kfDiWZlfZY\",\n \"receipt_number\": \"Xlle\",\n \"source_type\": \"CARD\",\n \"status\": \"APPROVED\",\n \"tip_money\": {\n \"amount\": 300,\n \"currency\": \"USD\"\n },\n \"total_money\": {\n \"amount\": 1300,\n \"currency\": \"USD\"\n },\n \"updated_at\": \"2021-03-02T19:53:31.164Z\",\n \"version_token\": \"9TKsTawsWZvdZZD5uhAZFWfd3chxFXB49cgFpD2Kujf6o\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f63f4747-4151-4503-89e8-7507f265aac2", "documentation": "CancelPayment", "method": "post", "endpoint": "v2/payments/:payment_id/cancel", "responses": [ { "uuid": "19ac84f9-29b7-43bb-acb9-ee8bfb47e2ee", "body": "{\n \"payment\": {\n \"amount_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"app_fee_money\": {\n \"amount\": 10,\n \"currency\": \"USD\"\n },\n \"approved_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"card_details\": {\n \"auth_result_code\": \"eWZBDh\",\n \"avs_status\": \"AVS_ACCEPTED\",\n \"card\": {\n \"bin\": \"411111\",\n \"card_brand\": \"VISA\",\n \"card_type\": \"DEBIT\",\n \"exp_month\": 2,\n \"exp_year\": 2024,\n \"fingerprint\": \"sq-1-9PP0tWfcM6vIsYmfsesdjfhduHSDFNdJFNDfDNFjdfjpseirDErsaP\",\n \"last_4\": \"1234\",\n \"prepaid_type\": \"PREPAID\"\n },\n \"card_payment_timeline\": {\n \"authorized_at\": \"2018-10-17T20:38:46.753Z\",\n \"voided_at\": \"2018-10-17T20:38:57.793Z\"\n },\n \"cvv_status\": \"CVV_ACCEPTED\",\n \"entry_method\": \"KEYED\",\n \"statement_description\": \"SQ *MY MERCHANT\",\n \"status\": \"VOIDED\"\n },\n \"created_at\": \"2018-10-17T20:38:46.743Z\",\n \"customer_id\": \"RDX9Z4XTIZR7MRZJUXNY9HUK6I\",\n \"id\": \"GQTFp1ZlXdpoW4o6eGiZhbjosiDFf\",\n \"location_id\": \"XTI0H92143A39\",\n \"note\": \"Brief description\",\n \"order_id\": \"m2Hr8Hk8A3CTyQQ1k4ynExg92tO3\",\n \"reference_id\": \"123456\",\n \"source_type\": \"CARD\",\n \"status\": \"CANCELED\",\n \"total_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"updated_at\": \"2018-10-17T20:38:57.693Z\",\n \"version_token\": \"lAITJ6l8I8tFu62mCf2W4sxJQxN9FOaH5zwfsdPf7Dm6o\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b423de16-d0bb-45ad-b901-d68a691a5e9f", "documentation": "CompletePayment", "method": "post", "endpoint": "v2/payments/:payment_id/complete", "responses": [ { "uuid": "3895e006-ad9a-4d81-80b0-2f5a26928df2", "body": "{\n \"payment\": {\n \"amount_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"app_fee_money\": {\n \"amount\": 10,\n \"currency\": \"USD\"\n },\n \"approved_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"card_details\": {\n \"auth_result_code\": \"MhIjEN\",\n \"avs_status\": \"AVS_ACCEPTED\",\n \"card\": {\n \"bin\": \"411111\",\n \"card_brand\": \"VISA\",\n \"card_type\": \"DEBIT\",\n \"exp_month\": 7,\n \"exp_year\": 2026,\n \"fingerprint\": \"sq-1-TpmjbNBMFdibiIjpQI5LiRgNUBC7u1689i0TgHjnlyHEWYB7tnn-K4QbW4ttvtaqXw\",\n \"last_4\": \"2796\",\n \"prepaid_type\": \"PREPAID\"\n },\n \"card_payment_timeline\": {\n \"authorized_at\": \"2019-07-10T13:23:49.234Z\",\n \"captured_at\": \"2019-07-10T13:23:49.446Z\"\n },\n \"cvv_status\": \"CVV_ACCEPTED\",\n \"entry_method\": \"ON_FILE\",\n \"statement_description\": \"SQ *MY MERCHANT\",\n \"status\": \"CAPTURED\"\n },\n \"created_at\": \"2019-07-10T13:39:55.317Z\",\n \"customer_id\": \"RDX9Z4XTIZR7MRZJUXNY9HUK6I\",\n \"id\": \"GQTFp1ZlXdpoW4o6eGiZhbjosiDFf\",\n \"location_id\": \"XTI0H92143A39\",\n \"note\": \"Brief description\",\n \"order_id\": \"m2Hr8Hk8A3CTyQQ1k4ynExg92tO3\",\n \"receipt_number\": \"GQTF\",\n \"receipt_url\": \"https://squareup.com/receipt/preview/GQTFp1ZlXdpoW4o6eGiZhbjosiDFf\",\n \"reference_id\": \"123456\",\n \"source_type\": \"CARD\",\n \"status\": \"COMPLETED\",\n \"total_money\": {\n \"amount\": 200,\n \"currency\": \"USD\"\n },\n \"updated_at\": \"2019-07-10T13:40:05.982Z\",\n \"version_token\": \"7knzZI16u3QBh2xXD7FH4GFwESqgam7Z9w2Ya0aSD9i6o\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9fcf2b9c-727e-4c48-8a4f-d7c866c90472", "documentation": "ListPaymentRefunds", "method": "get", "endpoint": "v2/refunds", "responses": [ { "uuid": "bd4f45a8-ac85-470a-bc87-fec5cce0b523", "body": "{\n \"cursor\": \"5evquW1YswHoT4EoyUhzMmTsCnsSXBU9U0WJ4FU4623nrMQcocH0RGU6Up1YkwfiMcF59ood58EBTEGgzMTGHQJpocic7ExOL0NtrTXCeWcv0UJIJNk8eXb\",\n \"refunds\": [\n {\n \"amount_money\": {\n \"amount\": 1000,\n \"currency\": \"USD\"\n },\n \"created_at\": \"2019-07-06T18:01:22.335Z\",\n \"id\": \"O2QAAhTYs7rUfzlxT38GMO7LvaB_q7JwCHtxmgXrh8fAhV468WQ44VxDtL7CU4yVRlsbXmI\",\n \"location_id\": \"XK3DBG77NJBFX\",\n \"order_id\": \"2duiyoqbfeXY0DBi15GEyk5Epa4F\",\n \"payment_id\": \"O2QAAhTYs7rUfzlxT38GMO7LvaB\",\n \"processing_fee\": [\n {\n \"amount_money\": {\n \"amount\": -59,\n \"currency\": \"USD\"\n },\n \"effective_at\": \"2019-07-06T20:01:12.000Z\",\n \"type\": \"INITIAL\"\n }\n ],\n \"status\": \"COMPLETED\",\n \"updated_at\": \"2019-07-06T18:06:04.653Z\"\n },\n {\n \"amount_money\": {\n \"amount\": 1000,\n \"currency\": \"USD\"\n },\n \"created_at\": \"2019-07-06T17:01:54.232Z\",\n \"id\": \"8TDIQvFw8PeDIxhSfd5yyX7GuaB_13px5Vrz01qzzuoGzmjsZIxDjfHhbkm2XppBUX1dW7I\",\n \"location_id\": \"XK3DBG77NJBFX\",\n \"order_id\": \"w6EXfEwS03oTQsnZTCqfE6f67e4F\",\n \"payment_id\": \"8TDIQvFw8PeDIxhSfd5yyX7GuaB\",\n \"processing_fee\": [\n {\n \"amount_money\": {\n \"amount\": -59,\n \"currency\": \"USD\"\n },\n \"effective_at\": \"2019-07-06T19:01:45.000Z\",\n \"type\": \"INITIAL\"\n }\n ],\n \"status\": \"COMPLETED\",\n \"updated_at\": \"2019-07-06T17:21:04.684Z\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "70bdfddd-6e87-42d9-add7-6bd7b617f8ce", "documentation": "RefundPayment", "method": "post", "endpoint": "v2/refunds", "responses": [ { "uuid": "33aef3ac-a177-4c83-ae6b-7358ba65b12c", "body": "{\n \"refund\": {\n \"amount_money\": {\n \"amount\": 100,\n \"currency\": \"USD\"\n },\n \"created_at\": \"2018-10-17T20:41:55.520Z\",\n \"id\": \"UNOE3kv2BZwqHlJ830RCt5YCuaB_xVteEWVFkXDvKN1ddidfJWipt8p9whmElKT5mZtJ7wZ\",\n \"payment_id\": \"UNOE3kv2BZwqHlJ830RCt5YCuaB\",\n \"status\": \"PENDING\",\n \"updated_at\": \"2018-10-17T20:41:55.520Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "70adbce7-3a4f-45c5-8643-1bc4c32e5f95", "documentation": "GetPaymentRefund", "method": "get", "endpoint": "v2/refunds/:refund_id", "responses": [ { "uuid": "5106bbee-07a3-41ef-8eaa-21667e95bc7f", "body": "{\n \"refund\": {\n \"amount_money\": {\n \"amount\": 1000,\n \"currency\": \"USD\"\n },\n \"created_at\": \"2019-07-06T18:01:22.123Z\",\n \"id\": \"O2QAAhTYs7rUfzlxT38GMO7LvaB_q7JwCHtxmgXrh8fAhV468WQ44VxDtL7CU4yVRlsbXmI\",\n \"location_id\": \"XK3DBG77NJBFX\",\n \"order_id\": \"2duiyoqbfeXY0DBi15GEyk5Epa4F\",\n \"payment_id\": \"O2QAAhTYs7rUfzlxT38GMO7LvaB\",\n \"processing_fee\": [\n {\n \"amount_money\": {\n \"amount\": -59,\n \"currency\": \"USD\"\n },\n \"effective_at\": \"2019-07-06T20:01:12.000Z\",\n \"type\": \"INITIAL\"\n }\n ],\n \"status\": \"COMPLETED\",\n \"updated_at\": \"2019-07-06T18:06:03.874Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "39bbf2ef-7bf3-4f11-8332-f791606a31e0", "documentation": "ListSites", "method": "get", "endpoint": "v2/sites", "responses": [ { "uuid": "5962c3b6-8c3a-4ec2-9f02-4eaa27b2e88d", "body": "{\n \"sites\": [\n {\n \"created_at\": \"2020-02-28T13:22:51Z\",\n \"domain\": \"mysite1.square.site\",\n \"id\": \"site_278075276488921835\",\n \"is_published\": true,\n \"site_title\": \"My First Site\",\n \"updated_at\": \"2021-01-13T09:58:32Z\"\n },\n {\n \"created_at\": \"2020-06-18T17:45:13Z\",\n \"domain\": \"mysite2.square.site\",\n \"id\": \"site_102725345836253849\",\n \"is_published\": true,\n \"site_title\": \"My Second Site\",\n \"updated_at\": \"2020-11-23T02:19:10Z\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6e127f03-b8a9-4b2b-a0d4-b2beb270e292", "documentation": "DeleteSnippet", "method": "delete", "endpoint": "v2/sites/:site_id/snippet", "responses": [ { "uuid": "cf2fbe93-26ee-41f9-9f9a-46f9b176d0fb", "body": "{}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "854b8945-b8b6-4c59-a099-10e106cdc0af", "documentation": "RetrieveSnippet", "method": "get", "endpoint": "v2/sites/:site_id/snippet", "responses": [ { "uuid": "370ee2c9-bd6b-4100-b18b-46a1044bdb87", "body": "{\n \"snippet\": {\n \"content\": \"\",\n \"created_at\": \"2021-03-11T25:40:09Z\",\n \"id\": \"snippet_5d178150-a6c0-11eb-a9f1-437e6a2881e7\",\n \"site_id\": \"site_278075276488921835\",\n \"updated_at\": \"2021-03-11T25:40:09Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d5ff75c5-79b4-4774-ac7f-f2a3365e05a0", "documentation": "UpsertSnippet", "method": "post", "endpoint": "v2/sites/:site_id/snippet", "responses": [ { "uuid": "73d40d1c-a851-4da9-bd3f-a19ea2c58b1e", "body": "{\n \"snippet\": {\n \"content\": \"\",\n \"created_at\": \"2021-03-11T25:40:09Z\",\n \"id\": \"snippet_5d178150-a6c0-11eb-a9f1-437e6a2881e7\",\n \"site_id\": \"site_278075276488921835\",\n \"updated_at\": \"2021-03-11T25:40:09Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "28811ea2-e4c9-45f1-88ab-926558e0fc27", "documentation": "CreateSubscription", "method": "post", "endpoint": "v2/subscriptions", "responses": [ { "uuid": "2af07703-d615-4c7d-abe5-1baeac2ca679", "body": "{\n \"subscription\": {\n \"card_id\": \"ccof:qy5x8hHGYsgLrp4Q4GB\",\n \"created_at\": \"2020-08-03T21:53:10Z\",\n \"customer_id\": \"CHFGVKYY8RSV93M5KCYTG4PN0G\",\n \"id\": \"56214fb2-cc85-47a1-93bc-44f3766bb56f\",\n \"location_id\": \"S8GWD5R9QB376\",\n \"plan_id\": \"6JHXF3B2CW3YKHDV4XEM674H\",\n \"price_override_money\": {\n \"amount\": 100,\n \"currency\": \"USD\"\n },\n \"start_date\": \"2020-08-01\",\n \"status\": \"PENDING\",\n \"tax_percentage\": \"5\",\n \"timezone\": \"America/Los_Angeles\",\n \"version\": 1594155459464\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ddc31f92-dc4b-4b0b-9944-be2ed5f783d4", "documentation": "SearchSubscriptions", "method": "post", "endpoint": "v2/subscriptions/search", "responses": [ { "uuid": "8f705645-7fae-47ae-8597-5272afe96fb6", "body": "{\n \"subscriptions\": [\n {\n \"canceled_date\": \"2020-04-14\",\n \"card_id\": \"ccof:mueUsvgajChmjEbp4GB\",\n \"charged_through_date\": \"2020-05-14\",\n \"created_at\": \"2020-08-03T21:53:10Z\",\n \"customer_id\": \"CHFGVKYY8RSV93M5KCYTG4PN0G\",\n \"id\": \"de86fc96-8664-474b-af1a-abbe59cacf0e\",\n \"location_id\": \"S8GWD5R9QB376\",\n \"paid_until_date\": \"2020-05-14\",\n \"plan_id\": \"L3TJVDHVBEQEGQDEZL2JJM7R\",\n \"start_date\": \"2020-04-14\",\n \"status\": \"CANCELED\",\n \"timezone\": \"UTC\"\n },\n {\n \"created_at\": \"2020-08-03T21:53:10Z\",\n \"customer_id\": \"CHFGVKYY8RSV93M5KCYTG4PN0G\",\n \"id\": \"56214fb2-cc85-47a1-93bc-44f3766bb56f\",\n \"location_id\": \"S8GWD5R9QB376\",\n \"plan_id\": \"6JHXF3B2CW3YKHDV4XEM674H\",\n \"price_override_money\": {\n \"amount\": 100,\n \"currency\": \"USD\"\n },\n \"start_date\": \"2020-08-01\",\n \"status\": \"PENDING\",\n \"tax_percentage\": \"5\",\n \"timezone\": \"America/Los_Angeles\",\n \"version\": 1594155459464\n },\n {\n \"charged_through_date\": \"2020-06-11\",\n \"created_at\": \"2020-08-03T21:53:10Z\",\n \"customer_id\": \"CHFGVKYY8RSV93M5KCYTG4PN0G\",\n \"id\": \"8151fc89-da15-4eb9-a685-1a70883cebfc\",\n \"invoice_ids\": [\n \"grebK0Q_l8H4fqoMMVvt-Q\",\n \"rcX_i3sNmHTGKhI4W2mceA\"\n ],\n \"location_id\": \"S8GWD5R9QB376\",\n \"paid_until_date\": \"2020-06-11\",\n \"plan_id\": \"6JHXF3B2CW3YKHDV4XEM674H\",\n \"price_override_money\": {\n \"amount\": 1000,\n \"currency\": \"USD\"\n },\n \"start_date\": \"2020-05-11\",\n \"status\": \"ACTIVE\",\n \"timezone\": \"America/Los_Angeles\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f2b9e5ea-113c-4321-82ea-9a822e40aa97", "documentation": "RetrieveSubscription", "method": "get", "endpoint": "v2/subscriptions/:subscription_id", "responses": [ { "uuid": "104632e6-4dcc-4694-a7eb-e6f5c594fa1c", "body": "{\n \"subscription\": {\n \"charged_through_date\": \"2020-06-11\",\n \"created_at\": \"2020-08-03T21:53:10Z\",\n \"customer_id\": \"CHFGVKYY8RSV93M5KCYTG4PN0G\",\n \"id\": \"8151fc89-da15-4eb9-a685-1a70883cebfc\",\n \"invoice_ids\": [\n \"grebK0Q_l8H4fqoMMVvt-Q\",\n \"rcX_i3sNmHTGKhI4W2mceA\"\n ],\n \"location_id\": \"S8GWD5R9QB376\",\n \"paid_until_date\": \"2020-06-11\",\n \"plan_id\": \"6JHXF3B2CW3YKHDV4XEM674H\",\n \"price_override_money\": {\n \"amount\": 1000,\n \"currency\": \"USD\"\n },\n \"start_date\": \"2020-05-11\",\n \"status\": \"ACTIVE\",\n \"timezone\": \"America/Los_Angeles\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "01d51057-bc4f-446f-8224-87aa88c42679", "documentation": "UpdateSubscription", "method": "put", "endpoint": "v2/subscriptions/:subscription_id", "responses": [ { "uuid": "af8312e0-f3db-4d2a-b96b-26950557a603", "body": "{\n \"subscription\": {\n \"created_at\": \"2020-08-03T21:53:10Z\",\n \"customer_id\": \"CHFGVKYY8RSV93M5KCYTG4PN0G\",\n \"id\": \"9ba40961-995a-4a3d-8c53-048c40cafc13\",\n \"location_id\": \"S8GWD5R9QB376\",\n \"plan_id\": \"6JHXF3B2CW3YKHDV4XEM674H\",\n \"price_override_money\": {\n \"amount\": 2000,\n \"currency\": \"USD\"\n },\n \"status\": \"ACTIVE\",\n \"timezone\": \"America/Los_Angeles\",\n \"version\": 1594311617331\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d57b608e-77a5-4b47-a710-cf4a3150a31b", "documentation": "CancelSubscription", "method": "post", "endpoint": "v2/subscriptions/:subscription_id/cancel", "responses": [ { "uuid": "6003c283-0ba4-41da-9b9c-37c182a2eb45", "body": "{\n \"subscription\": {\n \"canceled_date\": \"2020-05-01\",\n \"card_id\": \"ccof:qy5x8hHGYsgLrp4Q4GB\",\n \"created_at\": \"2020-08-03T21:53:10Z\",\n \"customer_id\": \"CHFGVKYY8RSV93M5KCYTG4PN0G\",\n \"id\": \"910afd30-464a-4e00-a8d8-2296eEXAMPLE\",\n \"location_id\": \"S8GWD5R9QB376\",\n \"paid_until_date\": \"2020-05-01\",\n \"plan_id\": \"6JHXF3B2CW3YKHDV4XEM674H\",\n \"start_date\": \"2020-04-24\",\n \"status\": \"ACTIVE\",\n \"timezone\": \"America/Los_Angeles\",\n \"version\": 1594311617331\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c876d9e2-c18d-42b8-bab9-5af6e6010cd0", "documentation": "ListSubscriptionEvents", "method": "get", "endpoint": "v2/subscriptions/:subscription_id/events", "responses": [ { "uuid": "4e7a2dcf-e045-4e40-bc97-3d13f1c14d94", "body": "{\n \"subscription_events\": [\n {\n \"effective_date\": \"2020-04-24\",\n \"id\": \"06809161-3867-4598-8269-8aea5be4f9de\",\n \"plan_id\": \"6JHXF3B2CW3YKHDV4XEM674H\",\n \"subscription_event_type\": \"START_SUBSCRIPTION\"\n },\n {\n \"effective_date\": \"2020-05-06\",\n \"id\": \"a0c08083-5db0-4800-85c7-d398de4fbb6e\",\n \"plan_id\": \"6JHXF3B2CW3YKHDV4XEM674H\",\n \"subscription_event_type\": \"STOP_SUBSCRIPTION\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7a15c0e9-b677-41a3-a527-78e71a59713f", "documentation": "ResumeSubscription", "method": "post", "endpoint": "v2/subscriptions/:subscription_id/resume", "responses": [ { "uuid": "92a54e7b-285e-4c76-960b-2d82c9ed927d", "body": "{\n \"subscription\": {\n \"created_at\": \"2020-08-03T21:53:10Z\",\n \"customer_id\": \"CHFGVKYY8RSV93M5KCYTG4PN0G\",\n \"id\": \"9ba40961-995a-4a3d-8c53-048c40cafc13\",\n \"location_id\": \"S8GWD5R9QB376\",\n \"plan_id\": \"6JHXF3B2CW3YKHDV4XEM674H\",\n \"price_override_money\": {\n \"amount\": 2000,\n \"currency\": \"USD\"\n },\n \"status\": \"ACTIVE\",\n \"timezone\": \"America/Los_Angeles\",\n \"version\": 1594311617331\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "200f2aaa-88b8-41c9-a977-640b2a2e4c24", "documentation": "CreateTeamMember", "method": "post", "endpoint": "v2/team-members", "responses": [ { "uuid": "9d7076ca-1fab-4279-9ec9-a57c5169c51e", "body": "{\n \"team_member\": {\n \"assigned_locations\": {\n \"assignment_type\": \"EXPLICIT_LOCATIONS\",\n \"location_ids\": [\n \"GA2Y9HSJ8KRYT\",\n \"YSGH2WBKG94QZ\"\n ]\n },\n \"email_address\": \"joe_doe@gmail.com\",\n \"family_name\": \"Doe\",\n \"given_name\": \"Joe\",\n \"id\": \"1yJlHapkseYnNPETIU1B\",\n \"is_owner\": false,\n \"phone_number\": \"+14159283333\",\n \"reference_id\": \"reference_id_1\",\n \"status\": \"ACTIVE\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "68fbbe28-33e9-4ec0-b91e-13e13902d72f", "documentation": "BulkCreateTeamMembers", "method": "post", "endpoint": "v2/team-members/bulk-create", "responses": [ { "uuid": "edd2d92c-5862-4189-bf8a-4ca1e3179fd6", "body": "{\n \"team_members\": {\n \"idempotency-key-1\": {\n \"team_member\": {\n \"assigned_locations\": {\n \"assignment_type\": \"EXPLICIT_LOCATIONS\",\n \"location_ids\": [\n \"GA2Y9HSJ8KRYT\",\n \"YSGH2WBKG94QZ\"\n ]\n },\n \"email_address\": \"joe_doe@gmail.com\",\n \"family_name\": \"Doe\",\n \"given_name\": \"Joe\",\n \"id\": \"ywhG1qfIOoqsHfVRubFV\",\n \"is_owner\": false,\n \"phone_number\": \"+14159283333\",\n \"reference_id\": \"reference_id_1\",\n \"status\": \"ACTIVE\"\n }\n },\n \"idempotency-key-2\": {\n \"team_member\": {\n \"assigned_locations\": {\n \"assignment_type\": \"ALL_CURRENT_AND_FUTURE_LOCATIONS\"\n },\n \"email_address\": \"jane_smith@gmail.com\",\n \"family_name\": \"Smith\",\n \"given_name\": \"Jane\",\n \"id\": \"IF_Ncrg7fHhCqxVI9T6R\",\n \"is_owner\": false,\n \"phone_number\": \"+14159223334\",\n \"reference_id\": \"reference_id_2\",\n \"status\": \"ACTIVE\"\n }\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "98957d41-4a40-423c-86d8-27263035491f", "documentation": "BulkUpdateTeamMembers", "method": "post", "endpoint": "v2/team-members/bulk-update", "responses": [ { "uuid": "f9a41014-be84-4a99-be8a-ab67bbe64d63", "body": "{\n \"team_members\": {\n \"AFMwA08kR-MIF-3Vs0OE\": {\n \"team_member\": {\n \"assigned_locations\": {\n \"assignment_type\": \"ALL_CURRENT_AND_FUTURE_LOCATIONS\"\n },\n \"created_at\": \"2020-06-11T22:46:57.001Z\",\n \"email_address\": \"jane_smith@gmail.com\",\n \"family_name\": \"Smith\",\n \"given_name\": \"Jane\",\n \"id\": \"AFMwA08kR-MIF-3Vs0OE\",\n \"is_owner\": false,\n \"phone_number\": \"+14159223334\",\n \"reference_id\": \"reference_id_2\",\n \"status\": \"ACTIVE\"\n }\n },\n \"fpgteZNMaf0qOK-a4t6P\": {\n \"team_member\": {\n \"assigned_locations\": {\n \"assignment_type\": \"EXPLICIT_LOCATIONS\",\n \"location_ids\": [\n \"GA2Y9HSJ8KRYT\",\n \"YSGH2WBKG94QZ\"\n ]\n },\n \"created_at\": \"2020-06-11T22:46:57.095Z\",\n \"email_address\": \"joe_doe@gmail.com\",\n \"family_name\": \"Doe\",\n \"given_name\": \"Joe\",\n \"id\": \"fpgteZNMaf0qOK-a4t6P\",\n \"is_owner\": false,\n \"phone_number\": \"+14159283333\",\n \"reference_id\": \"reference_id_1\",\n \"status\": \"ACTIVE\"\n }\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9cb96f1e-a095-4222-8817-59e8a26078a0", "documentation": "SearchTeamMembers", "method": "post", "endpoint": "v2/team-members/search", "responses": [ { "uuid": "0ec061c6-96e7-4ce4-95d7-c9022147bffa", "body": "{\n \"cursor\": \"N:9UglUjOXQ13-hMFypCft\",\n \"team_members\": [\n {\n \"assigned_locations\": {\n \"assignment_type\": \"ALL_CURRENT_AND_FUTURE_LOCATIONS\"\n },\n \"created_at\": \"2019-07-10T17:26:48Z\",\n \"email_address\": \"johnny_cash@squareup.com\",\n \"family_name\": \"Cash\",\n \"given_name\": \"Johnny\",\n \"id\": \"-3oZQKPKVk6gUXU_V5Qa\",\n \"is_owner\": false,\n \"reference_id\": \"12345678\",\n \"status\": \"ACTIVE\",\n \"updated_at\": \"2020-04-28T21:49:28.957Z\"\n },\n {\n \"assigned_locations\": {\n \"assignment_type\": \"ALL_CURRENT_AND_FUTURE_LOCATIONS\"\n },\n \"created_at\": \"2020-03-24T18:14:01.127Z\",\n \"family_name\": \"Smith\",\n \"given_name\": \"Lombard\",\n \"id\": \"1AVJj0DjkzbmbJw5r4KK\",\n \"is_owner\": false,\n \"phone_number\": \"+14155552671\",\n \"reference_id\": \"abcded\",\n \"status\": \"ACTIVE\",\n \"updated_at\": \"2020-06-09T17:38:05.423Z\"\n },\n {\n \"assigned_locations\": {\n \"assignment_type\": \"ALL_CURRENT_AND_FUTURE_LOCATIONS\"\n },\n \"created_at\": \"2020-03-24T01:09:25.010Z\",\n \"family_name\": \"Sway\",\n \"given_name\": \"Monica\",\n \"id\": \"2JCmiJol_KKFs9z2Evim\",\n \"is_owner\": false,\n \"status\": \"ACTIVE\",\n \"updated_at\": \"2020-03-24T01:09:25.010Z\"\n },\n {\n \"assigned_locations\": {\n \"assignment_type\": \"ALL_CURRENT_AND_FUTURE_LOCATIONS\"\n },\n \"created_at\": \"2020-03-24T01:09:23.464Z\",\n \"family_name\": \"Ipsum\",\n \"given_name\": \"Elton\",\n \"id\": \"4uXcJQSLtbk3F0UQHFNQ\",\n \"is_owner\": false,\n \"status\": \"ACTIVE\",\n \"updated_at\": \"2020-03-24T01:09:23.464Z\"\n },\n {\n \"assigned_locations\": {\n \"assignment_type\": \"ALL_CURRENT_AND_FUTURE_LOCATIONS\"\n },\n \"created_at\": \"2020-03-24T01:09:23.074Z\",\n \"family_name\": \"Lo\",\n \"given_name\": \"Steven\",\n \"id\": \"5CoUpyrw1YwGWcRd-eDL\",\n \"is_owner\": false,\n \"status\": \"ACTIVE\",\n \"updated_at\": \"2020-03-24T01:09:23.074Z\"\n },\n {\n \"assigned_locations\": {\n \"assignment_type\": \"ALL_CURRENT_AND_FUTURE_LOCATIONS\"\n },\n \"created_at\": \"2020-03-24T18:14:03.865Z\",\n \"email_address\": \"patrick_steward@gmail.com\",\n \"family_name\": \"Steward\",\n \"given_name\": \"Patrick\",\n \"id\": \"5MRPTTp8MMBLVSmzrGha\",\n \"is_owner\": false,\n \"phone_number\": \"+14155552671\",\n \"status\": \"ACTIVE\",\n \"updated_at\": \"2020-03-24T18:14:03.865Z\"\n },\n {\n \"assigned_locations\": {\n \"assignment_type\": \"ALL_CURRENT_AND_FUTURE_LOCATIONS\"\n },\n \"created_at\": \"2020-03-24T01:09:25.180Z\",\n \"family_name\": \"Manny\",\n \"given_name\": \"Ivy\",\n \"id\": \"7F5ZxsfRnkexhu1PTbfh\",\n \"is_owner\": false,\n \"status\": \"ACTIVE\",\n \"updated_at\": \"2020-03-24T01:09:25.180Z\"\n },\n {\n \"assigned_locations\": {\n \"assignment_type\": \"ALL_CURRENT_AND_FUTURE_LOCATIONS\"\n },\n \"created_at\": \"2020-03-24T18:14:02.797Z\",\n \"email_address\": \"john_smith@gmail.com\",\n \"family_name\": \"Smith\",\n \"given_name\": \"John\",\n \"id\": \"808X9HR72yKvVaigQXf4\",\n \"is_owner\": false,\n \"phone_number\": \"+14155552671\",\n \"status\": \"ACTIVE\",\n \"updated_at\": \"2020-03-24T18:14:02.797Z\"\n },\n {\n \"assigned_locations\": {\n \"assignment_type\": \"ALL_CURRENT_AND_FUTURE_LOCATIONS\"\n },\n \"created_at\": \"2020-03-24T18:14:00.399Z\",\n \"email_address\": \"r_wen@gmail.com\",\n \"family_name\": \"Wen\",\n \"given_name\": \"Robert\",\n \"id\": \"9MVDVoY4hazkWKGo_OuZ\",\n \"is_owner\": false,\n \"phone_number\": \"+14155552671\",\n \"status\": \"ACTIVE\",\n \"updated_at\": \"2020-03-24T18:14:00.399Z\"\n },\n {\n \"assigned_locations\": {\n \"assignment_type\": \"ALL_CURRENT_AND_FUTURE_LOCATIONS\"\n },\n \"created_at\": \"2020-03-24T18:14:00.445Z\",\n \"email_address\": \"asimpson@gmail.com\",\n \"family_name\": \"Simpson\",\n \"given_name\": \"Ashley\",\n \"id\": \"9UglUjOXQ13-hMFypCft\",\n \"is_owner\": false,\n \"phone_number\": \"+14155552671\",\n \"status\": \"ACTIVE\",\n \"updated_at\": \"2020-03-24T18:14:00.445Z\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f812b84e-253b-49a5-a99b-a79d7f6b59e9", "documentation": "RetrieveTeamMember", "method": "get", "endpoint": "v2/team-members/:team_member_id", "responses": [ { "uuid": "7d57a808-d7cd-4d65-bcfd-cad05b476060", "body": "{\n \"team_member\": {\n \"assigned_locations\": {\n \"assignment_type\": \"EXPLICIT_LOCATIONS\",\n \"location_ids\": [\n \"GA2Y9HSJ8KRYT\",\n \"YSGH2WBKG94QZ\"\n ]\n },\n \"created_at\": \"2020-06-11T22:55:45.867Z\",\n \"email_address\": \"joe_doe@gmail.com\",\n \"family_name\": \"Doe\",\n \"given_name\": \"Joe\",\n \"id\": \"1yJlHapkseYnNPETIU1B\",\n \"is_owner\": false,\n \"phone_number\": \"+14159283333\",\n \"reference_id\": \"reference_id_1\",\n \"status\": \"ACTIVE\",\n \"updated_at\": \"2020-06-11T22:55:45.867Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "432bd9b5-2219-4b52-bcf3-3099c8fd2a5e", "documentation": "UpdateTeamMember", "method": "put", "endpoint": "v2/team-members/:team_member_id", "responses": [ { "uuid": "ffdef921-f383-4ef2-ba8d-e9ec366e5d87", "body": "{\n \"team_member\": {\n \"assigned_locations\": {\n \"assignment_type\": \"EXPLICIT_LOCATIONS\",\n \"location_ids\": [\n \"GA2Y9HSJ8KRYT\",\n \"YSGH2WBKG94QZ\"\n ]\n },\n \"created_at\": \"2020-06-11T22:55:45.867Z\",\n \"email_address\": \"joe_doe@gmail.com\",\n \"family_name\": \"Doe\",\n \"given_name\": \"Joe\",\n \"id\": \"1yJlHapkseYnNPETIU1B\",\n \"is_owner\": false,\n \"phone_number\": \"+14159283333\",\n \"reference_id\": \"reference_id_1\",\n \"status\": \"ACTIVE\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f8ccbb26-6056-4302-be15-5c012e2cc974", "documentation": "RetrieveWageSetting", "method": "get", "endpoint": "v2/team-members/:team_member_id/wage-setting", "responses": [ { "uuid": "3725756b-0a1b-4d8a-9d33-4791cc835e1f", "body": "{\n \"wage_setting\": {\n \"created_at\": \"2020-06-11T23:01:21+00:00\",\n \"is_overtime_exempt\": false,\n \"job_assignments\": [\n {\n \"annual_rate\": {\n \"amount\": 4500000,\n \"currency\": \"USD\"\n },\n \"hourly_rate\": {\n \"amount\": 2164,\n \"currency\": \"USD\"\n },\n \"job_title\": \"Manager\",\n \"pay_type\": \"SALARY\",\n \"weekly_hours\": 40\n }\n ],\n \"team_member_id\": \"1yJlHapkseYnNPETIU1B\",\n \"updated_at\": \"2020-06-11T23:01:21+00:00\",\n \"version\": 1\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f318e0ed-e4c4-42b2-b612-a77289e12bcb", "documentation": "UpdateWageSetting", "method": "put", "endpoint": "v2/team-members/:team_member_id/wage-setting", "responses": [ { "uuid": "eac70e90-bc6c-4570-9791-b300e7a9941c", "body": "{\n \"wage_setting\": {\n \"created_at\": \"2019-07-10T17:26:48+00:00\",\n \"is_overtime_exempt\": true,\n \"job_assignments\": [\n {\n \"annual_rate\": {\n \"amount\": 3000000,\n \"currency\": \"USD\"\n },\n \"hourly_rate\": {\n \"amount\": 1443,\n \"currency\": \"USD\"\n },\n \"job_title\": \"Manager\",\n \"pay_type\": \"SALARY\",\n \"weekly_hours\": 40\n },\n {\n \"hourly_rate\": {\n \"amount\": 1200,\n \"currency\": \"USD\"\n },\n \"job_title\": \"Cashier\",\n \"pay_type\": \"HOURLY\"\n }\n ],\n \"team_member_id\": \"-3oZQKPKVk6gUXU_V5Qa\",\n \"updated_at\": \"2020-06-11T23:12:04+00:00\",\n \"version\": 1\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "61077a42-7b9a-4c24-9360-f67af99ca87f", "documentation": "CreateTerminalCheckout", "method": "post", "endpoint": "v2/terminals/checkouts", "responses": [ { "uuid": "18aaed52-0c00-46e0-89c3-f01ab802172d", "body": "{\n \"checkout\": {\n \"amount_money\": {\n \"amount\": 2610,\n \"currency\": \"USD\"\n },\n \"app_id\": \"APP_ID\",\n \"created_at\": \"2020-04-06T16:39:32.545Z\",\n \"deadline_duration\": \"PT10M\",\n \"device_options\": {\n \"device_id\": \"dbb5d83a-7838-11ea-bc55-0242ac130003\",\n \"skip_receipt_screen\": false,\n \"tip_settings\": {\n \"allow_tipping\": false\n }\n },\n \"id\": \"08YceKh7B3ZqO\",\n \"note\": \"A brief note\",\n \"payment_type\": \"CARD_PRESENT\",\n \"reference_id\": \"id11572\",\n \"status\": \"PENDING\",\n \"updated_at\": \"2020-04-06T16:39:32.545Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2e453d45-f88e-44bd-883f-00ad8a460db4", "documentation": "SearchTerminalCheckouts", "method": "post", "endpoint": "v2/terminals/checkouts/search", "responses": [ { "uuid": "a96a87f9-9ca7-4915-bc3f-f78b9b6f9363", "body": "{\n \"checkouts\": [\n {\n \"amount_money\": {\n \"amount\": 2610,\n \"currency\": \"USD\"\n },\n \"app_id\": \"APP_ID\",\n \"created_at\": \"2020-03-31T18:13:15.921Z\",\n \"deadline_duration\": \"PT10M\",\n \"device_options\": {\n \"device_id\": \"dbb5d83a-7838-11ea-bc55-0242ac130003\",\n \"skip_receipt_screen\": false,\n \"tip_settings\": {\n \"allow_tipping\": false\n }\n },\n \"id\": \"tsQPvzwBpMqqO\",\n \"note\": \"A brief note\",\n \"payment_ids\": [\n \"rXnhZzywrEk4vR6pw76fPZfgvaB\"\n ],\n \"reference_id\": \"id14467\",\n \"status\": \"COMPLETED\",\n \"updated_at\": \"2020-03-31T18:13:52.725Z\"\n },\n {\n \"amount_money\": {\n \"amount\": 2610,\n \"currency\": \"USD\"\n },\n \"app_id\": \"APP_ID\",\n \"created_at\": \"2020-03-31T18:08:31.882Z\",\n \"deadline_duration\": \"PT10M\",\n \"device_options\": {\n \"device_id\": \"dbb5d83a-7838-11ea-bc55-0242ac130003\",\n \"skip_receipt_screen\": true,\n \"tip_settings\": {\n \"allow_tipping\": false\n }\n },\n \"id\": \"XlOPTgcEhrbqO\",\n \"note\": \"A brief note\",\n \"payment_ids\": [\n \"VYBF861PaoKPP7Pih0TlbZiNvaB\"\n ],\n \"reference_id\": \"id41623\",\n \"status\": \"COMPLETED\",\n \"updated_at\": \"2020-03-31T18:08:41.635Z\"\n }\n ],\n \"cursor\": \"RiTJqBoTuXlbLmmrPvEkX9iG7XnQ4W4RjGnH\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a7dad847-3b3b-4c8d-8bdd-4844cd466f5e", "documentation": "GetTerminalCheckout", "method": "get", "endpoint": "v2/terminals/checkouts/:checkout_id", "responses": [ { "uuid": "13b97532-3a6c-4230-9ee4-433ac4d33c86", "body": "{\n \"checkout\": {\n \"amount_money\": {\n \"amount\": 2610,\n \"currency\": \"USD\"\n },\n \"app_id\": \"APP_ID\",\n \"created_at\": \"2020-04-06T16:39:32.545Z\",\n \"deadline_duration\": \"PT10M\",\n \"device_options\": {\n \"device_id\": \"dbb5d83a-7838-11ea-bc55-0242ac130003\",\n \"skip_receipt_screen\": false,\n \"tip_settings\": {\n \"allow_tipping\": false\n }\n },\n \"id\": \"08YceKh7B3ZqO\",\n \"note\": \"A brief note\",\n \"reference_id\": \"id11572\",\n \"status\": \"IN_PROGRESS\",\n \"updated_at\": \"2020-04-06T16:39:323.001Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8a44d3ba-d2ad-416f-bc9e-7ee69ca2278c", "documentation": "CancelTerminalCheckout", "method": "post", "endpoint": "v2/terminals/checkouts/:checkout_id/cancel", "responses": [ { "uuid": "089fc324-2223-4418-9994-b95fb9b21f4e", "body": "{\n \"checkout\": {\n \"amount_money\": {\n \"amount\": 123,\n \"currency\": \"USD\"\n },\n \"app_id\": \"APP_ID\",\n \"cancel_reason\": \"SELLER_CANCELED\",\n \"created_at\": \"2020-03-16T15:31:19.934Z\",\n \"deadline_duration\": \"PT10M\",\n \"device_options\": {\n \"device_id\": \"dbb5d83a-7838-11ea-bc55-0242ac130003\",\n \"skip_receipt_screen\": true,\n \"tip_settings\": {\n \"allow_tipping\": true\n }\n },\n \"id\": \"S1yDlPQx7slqO\",\n \"reference_id\": \"id36815\",\n \"status\": \"CANCELED\",\n \"updated_at\": \"2020-03-16T15:31:45.787Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9bf2a1ba-f8ab-46d9-b1e2-23b575c1f665", "documentation": "CreateTerminalRefund", "method": "post", "endpoint": "v2/terminals/refunds", "responses": [ { "uuid": "a58f8da7-e3c2-4b85-95f6-9288bcce83e1", "body": "{\n \"refund\": {\n \"amount_money\": {\n \"amount\": 111,\n \"currency\": \"CAD\"\n },\n \"app_id\": \"sandbox-sq0idb-c2OuYt13YaCAeJq_2cd8OQ\",\n \"card\": {\n \"bin\": \"411111\",\n \"card_brand\": \"INTERAC\",\n \"card_type\": \"CREDIT\",\n \"exp_month\": 1,\n \"exp_year\": 2022,\n \"fingerprint\": \"sq-1-B1fP9MNNmZgVVaPKRND6oDKYbz25S2cTvg9Mzwg3RMTK1zT1PiGRT-AE3nTA8vSmmw\",\n \"last_4\": \"1111\"\n },\n \"created_at\": \"2020-09-29T15:21:46.771Z\",\n \"deadline_duration\": \"PT5M\",\n \"device_id\": \"f72dfb8e-4d65-4e56-aade-ec3fb8d33291\",\n \"id\": \"009DP5HD-5O5OvgkcNUhl7JBuINflcjKqUzXZY\",\n \"location_id\": \"76C9W6K8CNNQ5\",\n \"order_id\": \"kcuKDKreRaI4gF4TjmEgZjHk8Z7YY\",\n \"payment_id\": \"5O5OvgkcNUhl7JBuINflcjKqUzXZY\",\n \"reason\": \"Returning items\",\n \"status\": \"PENDING\",\n \"updated_at\": \"2020-09-29T15:21:46.771Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5a3e65e6-60e4-4df5-b2bc-11de54140c67", "documentation": "SearchTerminalRefunds", "method": "post", "endpoint": "v2/terminals/refunds/search", "responses": [ { "uuid": "858f3905-2f05-4f23-957e-80d456c47aa6", "body": "{\n \"refunds\": [\n {\n \"amount_money\": {\n \"amount\": 111,\n \"currency\": \"CAD\"\n },\n \"app_id\": \"sandbox-sq0idb-c2OuYt13YaCAeJq_2cd8OQ\",\n \"card\": {\n \"bin\": \"411111\",\n \"card_brand\": \"INTERAC\",\n \"card_type\": \"CREDIT\",\n \"exp_month\": 1,\n \"exp_year\": 2022,\n \"fingerprint\": \"sq-1-B1fP9MNNmZgVVaPKRND6oDKYbz25S2cTvg9Mzwg3RMTK1zT1PiGRT-AE3nTA8vSmmw\",\n \"last_4\": \"1111\"\n },\n \"created_at\": \"2020-09-29T15:21:46.771Z\",\n \"deadline_duration\": \"PT5M\",\n \"device_id\": \"f72dfb8e-4d65-4e56-aade-ec3fb8d33291\",\n \"id\": \"009DP5HD-5O5OvgkcNUhl7JBuINflcjKqUzXZY\",\n \"location_id\": \"76C9W6K8CNNQ5\",\n \"order_id\": \"kcuKDKreRaI4gF4TjmEgZjHk8Z7YY\",\n \"payment_id\": \"5O5OvgkcNUhl7JBuINflcjKqUzXZY\",\n \"reason\": \"Returning item\",\n \"refund_id\": \"5O5OvgkcNUhl7JBuINflcjKqUzXZY_43Q4iGp7sNeATiWrUruA1EYeMRUXaddXXlDDJ1EQLvb\",\n \"status\": \"COMPLETED\",\n \"updated_at\": \"2020-09-29T15:21:48.675Z\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "543d3531-1f7f-444c-9cfb-0a47feec089f", "documentation": "GetTerminalRefund", "method": "get", "endpoint": "v2/terminals/refunds/:terminal_refund_id", "responses": [ { "uuid": "6d57328d-91d8-4dd5-82fd-5ccd313fe4a8", "body": "{\n \"refund\": {\n \"amount_money\": {\n \"amount\": 111,\n \"currency\": \"CAD\"\n },\n \"app_id\": \"sandbox-sq0idb-c2OuYt13YaCAeJq_2cd8OQ\",\n \"card\": {\n \"bin\": \"411111\",\n \"card_brand\": \"INTERAC\",\n \"card_type\": \"CREDIT\",\n \"exp_month\": 1,\n \"exp_year\": 2022,\n \"fingerprint\": \"sq-1-B1fP9MNNmZgVVaPKRND6oDKYbz25S2cTvg9Mzwg3RMTK1zT1PiGRT-AE3nTA8vSmmw\",\n \"last_4\": \"1111\"\n },\n \"created_at\": \"2020-09-29T15:21:46.771Z\",\n \"deadline_duration\": \"PT5M\",\n \"device_id\": \"f72dfb8e-4d65-4e56-aade-ec3fb8d33291\",\n \"id\": \"009DP5HD-5O5OvgkcNUhl7JBuINflcjKqUzXZY\",\n \"location_id\": \"76C9W6K8CNNQ5\",\n \"order_id\": \"kcuKDKreRaI4gF4TjmEgZjHk8Z7YY\",\n \"payment_id\": \"5O5OvgkcNUhl7JBuINflcjKqUzXZY\",\n \"reason\": \"Returning item\",\n \"refund_id\": \"5O5OvgkcNUhl7JBuINflcjKqUzXZY_43Q4iGp7sNeATiWrUruA1EYeMRUXaddXXlDDJ1EQLvb\",\n \"status\": \"COMPLETED\",\n \"updated_at\": \"2020-09-29T15:21:48.675Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "04a8a33a-f5c7-4b09-8a99-77b2512f0c41", "documentation": "CancelTerminalRefund", "method": "post", "endpoint": "v2/terminals/refunds/:terminal_refund_id/cancel", "responses": [ { "uuid": "12feac4c-7159-4c82-aa42-fac4a716d8c9", "body": "{\n \"refund\": {\n \"amount_money\": {\n \"amount\": 100,\n \"currency\": \"CAD\"\n },\n \"app_id\": \"sandbox-sq0idb-c2OuYt13YaCAeJq_2cd8OQ\",\n \"cancel_reason\": \"SELLER_CANCELED\",\n \"card\": {\n \"bin\": \"411111\",\n \"card_brand\": \"INTERAC\",\n \"card_type\": \"CREDIT\",\n \"exp_month\": 1,\n \"exp_year\": 2022,\n \"fingerprint\": \"sq-1-B1fP9MNNmZgVVaPKRND6oDKYbz25S2cTvg9Mzwg3RMTK1zT1PiGRT-AE3nTA8vSmmw\",\n \"last_4\": \"1111\"\n },\n \"created_at\": \"2020-10-21T22:47:23.241Z\",\n \"deadline_duration\": \"PT5M\",\n \"device_id\": \"42690809-faa2-4701-a24b-19d3d34c9aaa\",\n \"id\": \"g6ycb6HD-5O5OvgkcNUhl7JBuINflcjKqUzXZY\",\n \"location_id\": \"76C9W6K8CNNQ5\",\n \"order_id\": \"kcuKDKreRaI4gF4TjmEgZjHk8Z7YY\",\n \"payment_id\": \"5O5OvgkcNUhl7JBuINflcjKqUzXZY\",\n \"reason\": \"reason\",\n \"status\": \"CANCELED\",\n \"updated_at\": \"2020-10-21T22:47:30.096Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "4cd568c7-f027-4f66-a5bf-1248ee42ec7d" }, { "type": "route", "uuid": "c9312c3a-1ecc-4f8d-b0d7-602702acd814" }, { "type": "route", "uuid": "09bf7f40-bf17-4721-8590-66f7d31fa8be" }, { "type": "route", "uuid": "6a3c6aa8-e3ad-4ddd-9b43-8bf3b5b7420d" }, { "type": "route", "uuid": "0eb4d48f-7cd7-4508-8bf5-320c0fc63dc6" }, { "type": "route", "uuid": "fb77adaa-a94b-4f81-ae06-4a98a820b0dd" }, { "type": "route", "uuid": "4b17b409-ed77-4056-aef6-e69614c80581" }, { "type": "route", "uuid": "dad5ccbb-04a7-49c1-a058-5042bb77c34a" }, { "type": "route", "uuid": "f9d30276-061e-4c94-b05b-b165f762c47c" }, { "type": "route", "uuid": "06f0fccd-657c-4609-92c7-9232d6c89511" }, { "type": "route", "uuid": "c21199cb-d9dc-427d-a16c-b2c5d0b0878a" }, { "type": "route", "uuid": "e5418fb7-3504-47c7-a4b7-eb126a2ce654" }, { "type": "route", "uuid": "d41fbc2c-b99d-4101-b29e-87857b64e496" }, { "type": "route", "uuid": "6eddb552-54fe-4174-a2e1-6fe72904dad9" }, { "type": "route", "uuid": "5a005110-539a-42f8-ab0f-0c9dceff81df" }, { "type": "route", "uuid": "854f87dd-6003-49ac-be76-a3765153e10c" }, { "type": "route", "uuid": "657a88d9-715a-46be-87e9-e10cc39152af" }, { "type": "route", "uuid": "f75fba5f-1c7b-4bd1-a5c8-884ce05c11cc" }, { "type": "route", "uuid": "35173317-b6d1-4f5b-8c4c-3c2e8cb54d28" }, { "type": "route", "uuid": "204f8c0d-1f47-40d1-baac-6ef675d4fd56" }, { "type": "route", "uuid": "3d03ebef-bd72-4a96-8704-9e2ccf2924f0" }, { "type": "route", "uuid": "2680e02f-8ed9-40bb-92a8-f97055133e7a" }, { "type": "route", "uuid": "e9d32c57-608f-4a3d-a8ad-06ad94ea8c3d" }, { "type": "route", "uuid": "f73d53af-60f6-4758-8198-981f2ea10e85" }, { "type": "route", "uuid": "cb866bdb-e7a5-4c7a-8c76-a4a9a4a3e732" }, { "type": "route", "uuid": "3b0f09cf-53e8-4954-97f6-f9ff462f0f0b" }, { "type": "route", "uuid": "c71e11e3-7ab7-413b-b8b9-b971d348d1b0" }, { "type": "route", "uuid": "4d3f980b-1340-4d11-8981-b78683a24816" }, { "type": "route", "uuid": "3aad373c-91c7-4f76-bd08-0f04fd1ee6a6" }, { "type": "route", "uuid": "3218e1e1-6821-46e3-9d8f-4caf623c8cb2" }, { "type": "route", "uuid": "11c561ca-9e6d-4001-a9d4-afbc96149cea" }, { "type": "route", "uuid": "b0cde29b-b513-4733-9aef-4b98e0b244e9" }, { "type": "route", "uuid": "007ce7c7-da98-48a2-9150-eed9829d0b4f" }, { "type": "route", "uuid": "08d38f91-13c7-4377-ab10-5ae50df351ab" }, { "type": "route", "uuid": "a82aa0f9-5522-41c8-976a-a2da075ba209" }, { "type": "route", "uuid": "fa5d1a4e-c3b9-4770-91d8-3ca5d83e2cfd" }, { "type": "route", "uuid": "d018e19f-712b-4792-b326-aeb15bf24629" }, { "type": "route", "uuid": "dadc9921-4713-482b-87bd-60a576dab024" }, { "type": "route", "uuid": "60d478a4-cbc4-458d-994e-728cde5ae10c" }, { "type": "route", "uuid": "a2199ffb-4d6e-4dff-84fb-ec4bb8f1034d" }, { "type": "route", "uuid": "e7a55a43-70b1-4c56-87a6-8237989e7e7c" }, { "type": "route", "uuid": "79b858e7-512b-4ddc-a472-17e9890f04a4" }, { "type": "route", "uuid": "a8ff9abb-31f0-4392-8ea0-956208feb1aa" }, { "type": "route", "uuid": "88126ca7-0af5-4a2a-b6b4-c0d059890652" }, { "type": "route", "uuid": "0837dbc2-0fa4-4064-8f7a-bccc029167c9" }, { "type": "route", "uuid": "6d507510-7450-48fb-a5dc-61327b013fd5" }, { "type": "route", "uuid": "5b28ead0-9afa-4797-b1ea-57fe416adf31" }, { "type": "route", "uuid": "d37fb0c0-d870-4a80-9cd1-94d9d619abc0" }, { "type": "route", "uuid": "a8f7cb5f-241e-4f76-a37d-9d33a538f725" }, { "type": "route", "uuid": "b64ab5c0-ce7f-4c15-b39c-7225fe5c6df9" }, { "type": "route", "uuid": "c5595129-a860-45cf-8cc2-2fc249c633b9" }, { "type": "route", "uuid": "ce43d025-825d-43a8-bbff-d70ffea7f70c" }, { "type": "route", "uuid": "7595e01a-a9ee-4989-838d-62b648aeea9c" }, { "type": "route", "uuid": "c436e491-f2fb-416f-a39b-561280e69894" }, { "type": "route", "uuid": "890c3c97-9a0d-42b6-bc74-ba110022c4c0" }, { "type": "route", "uuid": "5d6ad00b-58c6-40d0-a6dc-47bc5ac6e3f0" }, { "type": "route", "uuid": "fd01b6ef-5bf2-4107-b6c8-453062f9ad28" }, { "type": "route", "uuid": "e85f676f-f034-4017-8366-74363f5e355c" }, { "type": "route", "uuid": "6758c658-3805-4367-bbc5-d259a2eb5b35" }, { "type": "route", "uuid": "bc153da4-2ee9-40a3-982e-df24df507f82" }, { "type": "route", "uuid": "001a3e51-07f7-4680-8b11-f066d960ef77" }, { "type": "route", "uuid": "a7e6ce0b-c0b9-4cde-9932-a463dea251ed" }, { "type": "route", "uuid": "cc600d08-ee1b-49f1-844c-3227b187fadf" }, { "type": "route", "uuid": "32e313d7-960b-4e5e-a2c6-bd3e5707fbb1" }, { "type": "route", "uuid": "63797eae-396a-4b4d-b961-92773d62cf94" }, { "type": "route", "uuid": "b90bfa15-9b94-461d-be88-8a8f2670f8d3" }, { "type": "route", "uuid": "3eb90aaf-e81d-43c0-a372-acc17f3aed17" }, { "type": "route", "uuid": "dcca8ec4-7b34-425a-abab-28ccba2d9875" }, { "type": "route", "uuid": "0ddae0ae-252f-43b2-b7bd-a4efefb8b695" }, { "type": "route", "uuid": "94fb486c-e450-4fb5-9f7b-326f1d988ae3" }, { "type": "route", "uuid": "1f65c18e-7156-4f64-b080-bd301033986d" }, { "type": "route", "uuid": "91398644-c9f1-44f2-a528-9bceb1353b00" }, { "type": "route", "uuid": "b6b1ef8e-6cd3-4870-971f-1dfd9639b825" }, { "type": "route", "uuid": "64a74dac-6dd5-4314-bc20-86c79a23c9c8" }, { "type": "route", "uuid": "2546c5c4-3098-4577-b055-1788b2b62737" }, { "type": "route", "uuid": "aa750bcf-a5ec-456b-bc88-3df26c6f7784" }, { "type": "route", "uuid": "8d411b72-e05f-4277-80fc-1ecde1430c20" }, { "type": "route", "uuid": "27bd5d11-cf01-4a40-9691-cd94757ec007" }, { "type": "route", "uuid": "3553d7c5-d4e8-48c7-8ec1-b80cd5233cb2" }, { "type": "route", "uuid": "fa6db411-30ec-4d4e-8c45-fe543979f0e4" }, { "type": "route", "uuid": "2db6ad5e-e209-4d54-ab42-146500818ad3" }, { "type": "route", "uuid": "6b2195f3-a868-433c-afa8-adcc5327ce79" }, { "type": "route", "uuid": "6d88b8bb-e216-4642-bff7-4e765e1ee2ed" }, { "type": "route", "uuid": "a2cb0d80-9a28-4a07-bbc8-e49f25b509de" }, { "type": "route", "uuid": "3d1f4a06-6ef7-4cf3-bb65-23995ad3d2e6" }, { "type": "route", "uuid": "6603c756-1458-4d7e-80f2-005c5465a053" }, { "type": "route", "uuid": "007ee444-4f1a-4b39-93d2-0c20cef1f55c" }, { "type": "route", "uuid": "147316e2-000b-44d7-a81e-e2962a54c893" }, { "type": "route", "uuid": "5ed3a045-fbe2-4afb-95ac-fc953cbdd9bc" }, { "type": "route", "uuid": "5a526281-4fa9-4c28-8af9-4abcdaa78a2d" }, { "type": "route", "uuid": "b6c3cf4b-cfd5-4bf7-9cbc-6325b8db3cbe" }, { "type": "route", "uuid": "d6f2a20c-4a99-4fb7-a645-84693e074ae4" }, { "type": "route", "uuid": "2345abf2-9db4-43d1-a72b-79f55d09a4ff" }, { "type": "route", "uuid": "721c7bab-9b40-41fe-a15b-ec9247685ea7" }, { "type": "route", "uuid": "b6a82653-206c-4e76-a6f6-1a2c8844127a" }, { "type": "route", "uuid": "4d85c280-4aef-43a6-9c15-21fc43ecdffb" }, { "type": "route", "uuid": "a2091ae0-1bae-4829-8af2-eb4345c1f699" }, { "type": "route", "uuid": "74a8077a-85ae-4e72-9e24-edf15160097a" }, { "type": "route", "uuid": "ccce2f17-4e58-4ae7-9fb5-93440e82a5fe" }, { "type": "route", "uuid": "665aeee7-9b3c-4ba6-bc13-fae451519c13" }, { "type": "route", "uuid": "c98c87e5-645d-4bc4-8ee7-60ee018915d4" }, { "type": "route", "uuid": "04f80ea9-0e63-4453-957a-3f8c4852b12b" }, { "type": "route", "uuid": "e60b89ab-cdf6-4663-9ac2-a08f617589c0" }, { "type": "route", "uuid": "e0846004-4bf3-41c8-9392-3f7e45f0e5aa" }, { "type": "route", "uuid": "3a3f5723-2d65-4272-9e8f-75e1c2eb91d2" }, { "type": "route", "uuid": "21e86d8d-c660-4f15-be67-75d2287074be" }, { "type": "route", "uuid": "0b0a874f-7322-4284-bdf2-bf08a6f18c9b" }, { "type": "route", "uuid": "a0c0aec4-9d1c-456c-9354-eb389a076088" }, { "type": "route", "uuid": "7df7976d-ae90-4499-95cf-74e20489f0fe" }, { "type": "route", "uuid": "835b214b-5202-434e-8927-e06c842ce1ee" }, { "type": "route", "uuid": "619c73c3-4f6a-4e35-b4d6-5b3069e36a62" }, { "type": "route", "uuid": "a0f6fd1a-5c40-47e4-b7c7-92db9641de5a" }, { "type": "route", "uuid": "df3d97e0-a06b-465d-b676-b88a4f86a6cc" }, { "type": "route", "uuid": "3940f35c-0bcb-4859-9513-bd88536655b0" }, { "type": "route", "uuid": "1f2fc545-7d65-4ee2-bf0d-426ed79b97bb" }, { "type": "route", "uuid": "0ade277e-61bb-4003-beb1-33ac15ac0025" }, { "type": "route", "uuid": "d15b5867-67f1-40bc-8e2b-432e1308b59e" }, { "type": "route", "uuid": "114454cc-433f-41eb-9d10-bdb3f40617f3" }, { "type": "route", "uuid": "b7acc25c-c5d4-45f5-aeb5-3eb2d94d32c6" }, { "type": "route", "uuid": "0c9b9c3a-9728-425e-b2fe-e39b20952c5a" }, { "type": "route", "uuid": "3aaebcbc-f571-4c49-bf19-ec3735540be8" }, { "type": "route", "uuid": "2e08ffa7-4f46-480f-b1af-84f1bc48f085" }, { "type": "route", "uuid": "88ecb946-e56f-4756-a6b6-d81219ad292f" }, { "type": "route", "uuid": "1bcc6157-b85b-4b77-9c25-66b04800e1ce" }, { "type": "route", "uuid": "66777ea5-ffc9-4f98-bb9b-bc2f2442117d" }, { "type": "route", "uuid": "69f9c627-be04-4a80-b645-4a3d23c9ceab" }, { "type": "route", "uuid": "f2553d6a-3c08-4e5f-a06b-7de6da21174b" }, { "type": "route", "uuid": "f0d927cf-efe7-4623-b30d-314d81a2a008" }, { "type": "route", "uuid": "478d8148-cf10-47fc-b790-e95937d2c6f8" }, { "type": "route", "uuid": "0231ec33-10f6-497d-9822-b8fa70b804c6" }, { "type": "route", "uuid": "f0ac8660-394d-4175-ac9a-38a2d6a13bbf" }, { "type": "route", "uuid": "b0dec611-328d-47b9-aa2b-274462aa360d" }, { "type": "route", "uuid": "9cb2943b-7e3b-4cea-adda-70317fc319e9" }, { "type": "route", "uuid": "5efc0c65-9c21-42f6-a75f-99f10e357f87" }, { "type": "route", "uuid": "2d5a611a-b540-4926-a053-107eb42fbadd" }, { "type": "route", "uuid": "a687644a-1b79-4f47-b3a9-95adea7fad45" }, { "type": "route", "uuid": "c7ad514d-1025-4b5f-83ba-7c28eed53143" }, { "type": "route", "uuid": "d5a82043-cf5e-430f-b896-b247e7e56bf3" }, { "type": "route", "uuid": "25173de9-bfec-4ac8-90f1-43b8209aadbe" }, { "type": "route", "uuid": "f02f6443-a531-489b-8f6a-b3f334e6728c" }, { "type": "route", "uuid": "3cbea737-c642-400f-bd60-df78bab7d819" }, { "type": "route", "uuid": "c071328b-effe-48bd-9953-238542200e8d" }, { "type": "route", "uuid": "b4a29db1-54ec-4ab9-aa9a-9934eb40f3fe" }, { "type": "route", "uuid": "0a237b56-41f7-42ec-95a7-b3438e03ba05" }, { "type": "route", "uuid": "84985d10-74ba-472d-9845-4bf7d1c84141" }, { "type": "route", "uuid": "5d421ce7-8381-43ce-81a4-e46082e25490" }, { "type": "route", "uuid": "eecedb19-8544-485b-9bb6-2546f484b2e6" }, { "type": "route", "uuid": "c2e9be53-9c25-498d-a43b-a26a8b596bce" }, { "type": "route", "uuid": "dd752003-6085-4d3c-ad29-124f093fbc95" }, { "type": "route", "uuid": "e41e0bfa-318a-43d5-85d9-fa2d8d023f79" }, { "type": "route", "uuid": "c19900e7-86c3-43fc-89f1-178756ed3e70" }, { "type": "route", "uuid": "fa428b87-431b-4f64-b981-b5c2acd729a1" }, { "type": "route", "uuid": "3828113d-f968-4aaf-b200-5c49cd61eed7" }, { "type": "route", "uuid": "df82a329-847a-43ef-9bc3-d0083456302f" }, { "type": "route", "uuid": "fc1e048e-0382-4e62-aa42-7db34ca09b09" }, { "type": "route", "uuid": "f249b974-6123-43db-b8c0-411b4d97678b" }, { "type": "route", "uuid": "e9e92008-038e-4c5d-9694-18fc79670ab5" }, { "type": "route", "uuid": "5b2bb862-d3e2-4787-8b30-8d6f9f36d201" }, { "type": "route", "uuid": "4f072fa2-b2cb-4d6b-9643-ccbff3a7cc77" }, { "type": "route", "uuid": "dfe7af3b-26e4-4d7c-8e83-ec9b7bef4123" }, { "type": "route", "uuid": "c5d375f7-788a-4cf8-8d62-20a40667f65a" }, { "type": "route", "uuid": "58effb30-3856-43b3-83da-ed7035c2c544" }, { "type": "route", "uuid": "07e10eac-663e-4e74-a163-01b3d4cb7d59" }, { "type": "route", "uuid": "c9767035-b90e-4128-a1c1-0d44fd910983" }, { "type": "route", "uuid": "27052142-68ee-4f92-9aa0-0e4deb48dcce" }, { "type": "route", "uuid": "1a4c9716-13fb-4e59-be8b-744a8f393481" }, { "type": "route", "uuid": "e9055cd0-aaf0-40ad-b6b7-3da978b80cb7" }, { "type": "route", "uuid": "3ad721cf-f98b-4097-ab4a-fdf120d55279" }, { "type": "route", "uuid": "f63f4747-4151-4503-89e8-7507f265aac2" }, { "type": "route", "uuid": "b423de16-d0bb-45ad-b901-d68a691a5e9f" }, { "type": "route", "uuid": "9fcf2b9c-727e-4c48-8a4f-d7c866c90472" }, { "type": "route", "uuid": "70bdfddd-6e87-42d9-add7-6bd7b617f8ce" }, { "type": "route", "uuid": "70adbce7-3a4f-45c5-8643-1bc4c32e5f95" }, { "type": "route", "uuid": "39bbf2ef-7bf3-4f11-8332-f791606a31e0" }, { "type": "route", "uuid": "6e127f03-b8a9-4b2b-a0d4-b2beb270e292" }, { "type": "route", "uuid": "854b8945-b8b6-4c59-a099-10e106cdc0af" }, { "type": "route", "uuid": "d5ff75c5-79b4-4774-ac7f-f2a3365e05a0" }, { "type": "route", "uuid": "28811ea2-e4c9-45f1-88ab-926558e0fc27" }, { "type": "route", "uuid": "ddc31f92-dc4b-4b0b-9944-be2ed5f783d4" }, { "type": "route", "uuid": "f2b9e5ea-113c-4321-82ea-9a822e40aa97" }, { "type": "route", "uuid": "01d51057-bc4f-446f-8224-87aa88c42679" }, { "type": "route", "uuid": "d57b608e-77a5-4b47-a710-cf4a3150a31b" }, { "type": "route", "uuid": "c876d9e2-c18d-42b8-bab9-5af6e6010cd0" }, { "type": "route", "uuid": "7a15c0e9-b677-41a3-a527-78e71a59713f" }, { "type": "route", "uuid": "200f2aaa-88b8-41c9-a977-640b2a2e4c24" }, { "type": "route", "uuid": "68fbbe28-33e9-4ec0-b91e-13e13902d72f" }, { "type": "route", "uuid": "98957d41-4a40-423c-86d8-27263035491f" }, { "type": "route", "uuid": "9cb96f1e-a095-4222-8817-59e8a26078a0" }, { "type": "route", "uuid": "f812b84e-253b-49a5-a99b-a79d7f6b59e9" }, { "type": "route", "uuid": "432bd9b5-2219-4b52-bcf3-3099c8fd2a5e" }, { "type": "route", "uuid": "f8ccbb26-6056-4302-be15-5c012e2cc974" }, { "type": "route", "uuid": "f318e0ed-e4c4-42b2-b612-a77289e12bcb" }, { "type": "route", "uuid": "61077a42-7b9a-4c24-9360-f67af99ca87f" }, { "type": "route", "uuid": "2e453d45-f88e-44bd-883f-00ad8a460db4" }, { "type": "route", "uuid": "a7dad847-3b3b-4c8d-8bdd-4844cd466f5e" }, { "type": "route", "uuid": "8a44d3ba-d2ad-416f-bc9e-7ee69ca2278c" }, { "type": "route", "uuid": "9bf2a1ba-f8ab-46d9-b1e2-23b575c1f665" }, { "type": "route", "uuid": "5a3e65e6-60e4-4df5-b2bc-11de54140c67" }, { "type": "route", "uuid": "543d3531-1f7f-444c-9cfb-0a47feec089f" }, { "type": "route", "uuid": "04a8a33a-f5c7-4b09-8a99-77b2512f0c41" } ] }