{"collection":{"info":{"_postman_id":"3d776907-9097-4553-a9aa-068ef201e6d9","name":"Webhooks","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","createdAt":"2023-02-16T04:31:37.000Z","updatedAt":"2023-02-16T05:51:46.000Z","lastUpdatedBy":"15240180","uid":"15240180-3d776907-9097-4553-a9aa-068ef201e6d9"},"item":[{"name":"order.created","id":"1cbac8d2-ddc8-4186-bfee-e18365562de8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"signature","value":"1d0e480e14922b2e330216b2d34b3b9998267067143cf9ef7caaf3637de0307f207b7c6b1cd94ece313366baa24014c488796eef3dabbe8e60e7d1e72c73918d","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"event\": \"order.created\",\r\n  \"event_date\": \"2021-08-13T09:16:35+03:00\",\r\n  \"order_id\": 5555555,\r\n  \"order_name\": \"A0005555555\",\r\n  \"status\": \"not paid\",\r\n  \"external_id\": \"TEST12025\",\r\n  \"create_date\": \"2021-08-13T09:16:35+03:00\",\r\n  \"pay_date\": \"\",\r\n  \"currency\": \"EUR\",\r\n  \"locale\": \"en_EN\",\r\n  \"order_detail_url\": \"https://shop.com/order/status/5555555/1a97507\",\r\n  \"customer\": {\r\n    \"country\": \"FR\",\r\n    \"type\": \"physical\",\r\n    \"email\": \"customer@gmail.com\",\r\n    \"first_name\": \"Marcel\",\r\n    \"last_name\": \"Laporte\",\r\n    \"phone\": \"\",\r\n    \"vat_number\": \"\",\r\n    \"company_name\": \"\",\r\n    \"company_billing_address\": \"\",\r\n    \"company_delivery_address\": \"\"\r\n  },\r\n  \"product\": {\r\n    \"id\": \"111111\",\r\n    \"vendor_code\": \"0001\",\r\n    \"sku\": \"0001\",\r\n    \"business_segment\": \"b2c\",\r\n    \"name\": \"Demo\",    \r\n    \"price\": \"100.00\",\r\n    \"quantity\": 1,\r\n    \"discount_percent\": \"\",\r\n    \"discount_amount\": \"\",\r\n    \"vat_amount\": \"0.00\",\r\n    \"amount\": \"100.00\",\r\n    \"margin\": \"90.00\"\r\n  },\r\n  \"payment\": {\r\n    \"payment_method\": \"CreditCard\",\r\n    \"payment_system_name\": \"Bank Card\",\r\n    \"card_last_4\": null,\r\n    \"card_expiration_date\": \"\",\r\n    \"is_card_expired\": false,\r\n    \"is_installment_payment\": false\r\n  },\r\n  \"document_part\": \"1-of-1\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://your-webservice.com","protocol":"https","host":["your-webservice","com"]}},"response":[],"createdAt":"2023-02-16T04:31:56.000Z","updatedAt":"2023-02-16T05:32:21.000Z","uid":"15240180-1cbac8d2-ddc8-4186-bfee-e18365562de8"},{"name":"order.payment.succeeded","id":"30c85b68-4410-4096-a380-cf4a756062bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"signature","value":"b8cd39ce6539dc1c25da3d7ea54295d8e30d17fdac14622c24c1f395247bbabf1a8ef6173318049efda201454d4388fb594698073d7f9316ee68c1abb7a9d81f","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"event\": \"order.payment.succeeded\",\r\n  \"event_date\": \"2021-08-13T09:20:05+03:00\",\r\n  \"order_id\": 5555555,\r\n  \"order_name\": \"A0005555555\",\r\n  \"status\": \"paid\",\r\n  \"external_id\": \"TEST12025\",\r\n  \"create_date\": \"2021-08-13T09:16:35+03:00\",\r\n  \"pay_date\": \"2021-08-13T09:20:05+03:00\",\r\n  \"currency\": \"EUR\",\r\n  \"locale\": \"en_EN\",\r\n  \"order_detail_url\": \"https://shop.com/order/status/5555555/1a97507\",\r\n  \"customer\": {\r\n    \"country\": \"FR\",\r\n    \"type\": \"physical\",\r\n    \"email\": \"customer@gmail.com\",\r\n    \"first_name\": \"Marcel\",\r\n    \"last_name\": \"Laporte\",\r\n    \"phone\": \" \",\r\n    \"vat_number\": \"\",\r\n    \"company_name\": \"\",\r\n    \"company_billing_address\": \"\",\r\n    \"company_delivery_address\": \"\"\r\n  },\r\n  \"product\": {\r\n    \"id\": \"111111\",\r\n    \"vendor_code\": \"0001\",\r\n    \"sku\": \"0001\",\r\n    \"business_segment\": \"b2c\",\r\n    \"name\": \"Demo\",    \r\n    \"price\": \"100.00\",\r\n    \"quantity\": 1,\r\n    \"discount_percent\": \"\",\r\n    \"discount_amount\": \"\",\r\n    \"vat_amount\": \"0.00\",\r\n    \"amount\": \"100.00\",\r\n    \"margin\": \"90.00\"\r\n  },\r\n  \"payment\": {\r\n    \"payment_method\": \"CreditCard\",\r\n    \"payment_system_name\": \"Bank Card\",\r\n    \"card_last_4\": 1234,\r\n    \"card_expiration_date\": \"12/26\",\r\n    \"is_card_expired\": false,\r\n    \"is_installment_payment\": false\r\n  },\r\n  \"additional_data\": [{\r\n      \"name\": \"referer2\",\r\n      \"value\": \"test\"\r\n    }, {\r\n      \"name\": \"referer3\",\r\n      \"value\": \"TEST12025\"\r\n    }\r\n  ],\r\n  \"document_part\": \"1-of-1\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://your-webservice.com","protocol":"https","host":["your-webservice","com"]}},"response":[],"createdAt":"2023-02-16T05:45:13.000Z","updatedAt":"2023-02-16T05:47:34.000Z","uid":"15240180-30c85b68-4410-4096-a380-cf4a756062bc"},{"name":"order.payment.failed","id":"56500430-1189-4706-bae6-5dd8bfcb25ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"signature","value":"ee9ccac0ceb624b85042b401b3fe85b89c1d0643acd00e337155ffa6f518acb0a0dce499b7ad839de73f40f939a05d271f526fba64b22b5ffcc5690e1e6a2f83","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"event\": \"order.payment.failed\",\r\n  \"event_date\": \"2021-08-13T09:19:05+03:00\",\r\n  \"order_id\": 5555555,\r\n  \"order_name\": \"A0005555555\",\r\n  \"status\": \"not paid\",\r\n  \"external_id\": \"TEST12025\",\r\n  \"create_date\": \"2021-08-13T09:16:35+03:00\",\r\n  \"pay_date\": \"\",\r\n  \"currency\": \"EUR\",\r\n  \"locale\": \"en_EN\",\r\n  \"order_detail_url\": \"https://shop.com/order/status/5555555/1a97507\",\r\n  \"customer\": {\r\n    \"country\": \"FR\",\r\n    \"type\": \"physical\",\r\n    \"email\": \"customer@gmail.com\",\r\n    \"first_name\": \"Marcel\",\r\n    \"last_name\": \"Laporte\",\r\n    \"phone\": \"\",\r\n    \"vat_number\": \"\",\r\n    \"company_name\": \"\",\r\n    \"company_billing_address\": \"\",\r\n    \"company_delivery_address\": \"\"\r\n  },\r\n  \"product\": {\r\n    \"id\": \"111111\",\r\n    \"vendor_code\": \"0001\",\r\n    \"sku\": \"0001\",\r\n    \"business_segment\": \"b2c\",\r\n    \"name\": \"Demo\",    \r\n    \"price\": \"100.00\",\r\n    \"quantity\": 1,\r\n    \"discount_percent\": \"\",\r\n    \"discount_amount\": \"\",\r\n    \"vat_amount\": \"0.00\",\r\n    \"amount\": \"100.00\",\r\n    \"margin\": \"90.00\"\r\n  },\r\n  \"payment\": {\r\n    \"payment_method\": \"CreditCard\",\r\n    \"payment_system_name\": \"Bank Card\",\r\n    \"payment_error_code\": \"AS102\",\r\n    \"payment_error_description\": \"Отказ в авторизации. Недостаточно средств.\",\r\n    \"card_last_4\": null,\r\n    \"card_expiration_date\": \"\",\r\n    \"is_card_expired\": false,\r\n    \"is_installment_payment\": false\r\n  },\r\n  \"additional_data\": [{\r\n      \"name\": \"referer2\",\r\n      \"value\": \"test\"\r\n    }, {\r\n      \"name\": \"referer3\",\r\n      \"value\": \"TEST12025\"\r\n    }\r\n  ],\r\n  \"document_part\": \"1-of-1\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://your-webservice.com","protocol":"https","host":["your-webservice","com"]}},"response":[],"createdAt":"2023-02-16T05:47:49.000Z","updatedAt":"2023-04-21T09:52:48.000Z","uid":"15240180-56500430-1189-4706-bae6-5dd8bfcb25ab"},{"name":"product.delivered","id":"dbe1d8a3-7104-4958-bd4d-37bf6b345c6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"signature","value":"73c5ad00de87b94205bd4d79bb7f78fff726431db50b190011b38fd9844968b53971560f38fef9d8d14859763e5929bd44c360dc6210fbfbcf1dbbf5b64a7d53","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"event\": \"product.delivered\",\r\n  \"event_date\": \"2021-08-13T09:30:05+03:00\",\r\n  \"order_id\": 5555555,\r\n  \"order_name\": \"A0005555555\",\r\n  \"status\": \"paid\",\r\n  \"external_id\": \"TEST12025\",\r\n  \"create_date\": \"2021-08-13T09:16:35+03:00\",\r\n  \"pay_date\": \"2021-08-13T09:20:05+03:00\",\r\n  \"currency\": \"EUR\",\r\n  \"locale\": \"en_EN\",\r\n  \"order_detail_url\": \"https://shop.com/order/status/5555555/1a97507\",\r\n  \"customer\": {\r\n    \"country\": \"FR\",\r\n    \"type\": \"physical\",\r\n    \"email\": \"customer@gmail.com\",\r\n    \"first_name\": \"Marcel\",\r\n    \"last_name\": \"Laporte\",\r\n    \"phone\": \"\",\r\n    \"vat_number\": \"\",\r\n    \"company_name\": \"\",\r\n    \"company_billing_address\": \"\",\r\n    \"company_delivery_address\": \"\"\r\n  },\r\n  \"product\": {\r\n    \"id\": \"111111\",\r\n    \"vendor_code\": \"0001\",\r\n    \"sku\": \"0001\",\r\n    \"business_segment\": \"b2c\",\r\n    \"name\": \"Demo\",\r\n    \"price\": \"100.00\",\r\n    \"quantity\": 1,\r\n    \"discount_percent\": \"\",\r\n    \"discount_amount\": \"\",\r\n    \"vat_amount\": \"0.00\",\r\n    \"amount\": \"100.00\",\r\n    \"margin\": \"95.00\",\r\n    \"activation_codes\": [\r\n      \"XXX-XXX-YYYY\"\r\n    ]\r\n  },\r\n  \"payment\": {\r\n    \"payment_method\": \"CreditCard\",\r\n    \"payment_system_name\": \"Bank Card\",\r\n    \"card_last_4\": 1234,\r\n    \"card_expiration_date\": \"12/26\",\r\n    \"is_card_expired\": false,\r\n    \"is_installment_payment\": false\r\n  },\r\n  \"additional_data\": [{\r\n      \"name\": \"referer2\",\r\n      \"value\": \"test\"\r\n    }, {\r\n      \"name\": \"referer3\",\r\n      \"value\": \"TEST12025\"\r\n    }\r\n  ],\r\n  \"document_part\": \"1-of-1\"\r\n} ","options":{"raw":{"language":"json"}}},"url":{"raw":"https://your-webservice.com","protocol":"https","host":["your-webservice","com"]}},"response":[],"createdAt":"2023-02-16T05:48:47.000Z","updatedAt":"2023-02-16T05:49:43.000Z","uid":"15240180-dbe1d8a3-7104-4958-bd4d-37bf6b345c6a"},{"name":"product.returned","id":"b32e3925-eadd-41ff-ba39-e48ea2982b48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"signature","value":"350b79a753ec5c63e0859438265e11e7ccea3ebfee7e8b96a60191f393c48e2bbcc6252bc6776626eae1e91d8558c1ac79f9e366c63a03b1c97b643b3bf6dd89","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"event\": \"product.returned\",\r\n  \"event_date\": \"2022-08-14T09:16:35+03:00\",\r\n  \"order_id\": 6666666,\r\n  \"order_name\": \"A0006666666\",\r\n  \"status\": \"deleted\",\r\n  \"external_id\": \"TEST12025\",\r\n  \"create_date\": \"2021-08-13T09:16:35+03:00\",\r\n  \"pay_date\": \"2021-08-13T09:20:05+03:00\",\r\n  \"currency\": \"EUR\",\r\n  \"locale\": \"en_EN\",\r\n  \"order_detail_url\": \"https://shop.com/order/status/6666666/1a97507\",\r\n  \"customer\": {\r\n    \"country\": \"FR\",\r\n    \"type\": \"physical\",\r\n    \"email\": \"customer@gmail.com\",\r\n    \"first_name\": \"Marcel\",\r\n    \"last_name\": \"Laporte\",\r\n    \"phone\": \"\",\r\n    \"vat_number\": \"\",\r\n    \"company_name\": \"\",\r\n    \"company_billing_address\": \"\",\r\n    \"company_delivery_address\": \"\"\r\n  },\r\n  \"product\": {\r\n    \"product\": {\r\n    \"id\": \"111222\",\r\n    \"vendor_code\": \"002\",\r\n    \"sku\": \"002\",\r\n    \"business_segment\": \"b2c\",\r\n    \"name\": \"Demo\",\r\n    \"price\": \"100.00\",\r\n    \"quantity\": 1,\r\n    \"discount_percent\": \"\",\r\n    \"discount_amount\": \"\",\r\n    \"vat_amount\": \"0.00\",\r\n    \"amount\": \"100.00\",\r\n    \"margin\": \"95.00\",\r\n    \"activation_codes\": [\r\n      \"XXX-XXX-YYYY\"\r\n    ]\r\n  },\r\n  \"payment\": {\r\n    \"payment_method\": \"CreditCard\",\r\n    \"payment_system_name\": \"Bank Card\",\r\n    \"card_last_4\": 1234,\r\n    \"card_expiration_date\": \"12/26\",\r\n    \"is_card_expired\": false,\r\n    \"is_installment_payment\": false\r\n  },\r\n  \"subscription\": {\r\n    \"id\": \"5555555_456660\",\r\n    \"previous_order_id\": 5555555,\r\n    \"type\": \"AR\",\r\n    \"status\": \"cancelled\",\r\n    \"period\": \"P1Y\",\r\n    \"expiration_date\": \"2022-08-13T23:59:00+03:00\",\r\n    \"next_charge_date\": \"2022-07-24T23:59:00+03:00\",\r\n    \"detail_url\": \"https://shop.com/order/status/5555555/1a97507#autorenewal\"\r\n  },\r\n  \"return\": {\r\n    \"type\": \"returned\",\r\n    \"reason\": \"test order\",\r\n    \"date\": \"2022-08-14T09:16:35+03:00\"\r\n  },\r\n  \"additional_data\": [{\r\n      \"name\": \"referer2\",\r\n      \"value\": \"test\"\r\n    }, {\r\n      \"name\": \"referer3\",\r\n      \"value\": \"TEST12025\"\r\n    }\r\n  ],\r\n  \"document_part\": \"1-of-1\"\r\n} ","options":{"raw":{"language":"json"}}},"url":{"raw":"https://your-webservice.com","protocol":"https","host":["your-webservice","com"]}},"response":[],"createdAt":"2023-02-16T05:49:53.000Z","updatedAt":"2023-04-21T09:54:17.000Z","uid":"15240180-b32e3925-eadd-41ff-ba39-e48ea2982b48"},{"name":"subscription.cancelled","id":"488d56f7-425c-4b3d-b791-f52e40e5fb72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"signature","value":"e48469392479076ae3442f30b99c4de6eb68a34442c5bc4a3cbe12bebc44751eab1a16086d90458d0ac7aa7dcc5166de2aef350a07c86f58f501bf08d364a8a3","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"event\": \"subscription.cancelled\",\r\n  \"event_date\": \"2022-08-14T09:16:35+03:00\",\r\n  \"order_id\": 5555555,\r\n  \"order_name\": \"A0005555555\",\r\n  \"status\": \"paid\",\r\n  \"external_id\": \"TEST12025\",\r\n  \"create_date\": \"2021-08-13T09:16:35+03:00\",\r\n  \"pay_date\": \"2021-08-13T09:20:05+03:00\",\r\n  \"currency\": \"EUR\",\r\n  \"locale\": \"en_EN\",\r\n  \"order_detail_url\": \"https://shop.com/order/status/5555555/1a97507\",\r\n  \"customer\": {\r\n    \"country\": \"FR\",\r\n    \"type\": \"physical\",\r\n    \"email\": \"customer@gmail.com\",\r\n    \"first_name\": \"Marcel\",\r\n    \"last_name\": \"Laporte\",\r\n    \"phone\": \"\",\r\n    \"vat_number\": \"\",\r\n    \"company_name\": \"\",\r\n    \"company_billing_address\": \"\",\r\n    \"company_delivery_address\": \"\"\r\n  },\r\n  \"product\": {\r\n    \"id\": \"111111\",\r\n    \"vendor_code\": \"0001\",\r\n    \"sku\": \"0001\",\r\n    \"business_segment\": \"b2c\",\r\n    \"name\": \"Demo\",\r\n    \"price\": \"100.00\",\r\n    \"quantity\": 1,\r\n    \"discount_percent\": \"\",\r\n    \"discount_amount\": \"\",\r\n    \"vat_amount\": \"0.00\",\r\n    \"amount\": \"100.00\",\r\n    \"margin\": \"95.00\",\r\n    \"activation_codes\": [\r\n      \"XXX-XXX-YYYY\"\r\n    ]\r\n  },\r\n  \"subscription\": {\r\n    \"id\": \"5555555_456660\",\r\n    \"previous_order_id\": null,\r\n    \"type\": \"AR\",\r\n    \"is_conversion_from_trial\": false,\r\n    \"status\": \"cancelled\",\r\n    \"period\": \"P1Y\",\r\n    \"expiration_date\": \"2022-08-13T23:59:00+03:00\",\r\n    \"next_charge_date\": \"2022-07-24T23:59:00+03:00\",\r\n    \"detail_url\": \"https://shop.com/order/status/5555555/1a97507#autorenewal\"\r\n  },\r\n  \"additional_data\": [{\r\n      \"name\": \"referer2\",\r\n      \"value\": \"test\"\r\n    }, {\r\n      \"name\": \"referer3\",\r\n      \"value\": \"TEST12025\"\r\n    }\r\n  ],\r\n  \"document_part\": \"1-of-1\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://your-webservice.com","protocol":"https","host":["your-webservice","com"]}},"response":[],"createdAt":"2023-02-16T05:50:51.000Z","updatedAt":"2023-02-16T05:51:42.000Z","uid":"15240180-488d56f7-425c-4b3d-b791-f52e40e5fb72"},{"name":"subscription.restored","id":"f7605ea6-79e9-4655-8c18-fef79a6a96ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"signature","value":"9719910a708e8542121359962d66c3e0773d3bc45a92b9e07f17bf32bb4f1cc9979f04e4deda351841fb26bdcbfd89a463b60558b130268327847c0c0f1bc5a9","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"event\": \"subscription.restored\",\r\n  \"event_date\": \"2022-08-14T09:16:35+03:00\",\r\n  \"order_id\": 5555555,\r\n  \"order_name\": \"A0005555555\",\r\n  \"status\": \"paid\",\r\n  \"external_id\": \"TEST12025\",\r\n  \"create_date\": \"2021-08-13T09:16:35+03:00\",\r\n  \"pay_date\": \"2021-08-13T09:20:05+03:00\",\r\n  \"currency\": \"EUR\",\r\n  \"locale\": \"en_EN\",\r\n  \"order_detail_url\": \"https://shop.com/order/status/5555555/1a97507\",\r\n  \"customer\": {\r\n    \"country\": \"FR\",\r\n    \"type\": \"physical\",\r\n    \"email\": \"customer@gmail.com\",\r\n    \"first_name\": \"Marcel\",\r\n    \"last_name\": \"Laporte\",\r\n    \"phone\": \"\",\r\n    \"vat_number\": \"\",\r\n    \"company_name\": \"\",\r\n    \"company_billing_address\": \"\",\r\n    \"company_delivery_address\": \"\"\r\n  },\r\n  \"product\": {\r\n    \"id\": \"111111\",\r\n    \"vendor_code\": \"0001\",\r\n    \"sku\": \"0001\",\r\n    \"business_segment\": \"b2c\",\r\n    \"name\": \"Demo\",    \r\n    \"price\": \"100.00\",\r\n    \"quantity\": 1,\r\n    \"discount_percent\": \"\",\r\n    \"discount_amount\": \"\",\r\n    \"vat_amount\": \"0.00\",\r\n    \"amount\": \"100.00\",\r\n    \"margin\": \"90.00\",\r\n    \"activation_codes\": [\r\n      \"XXX-XXX-YYYY\"\r\n    ]\r\n  },\r\n  \"payment\": {\r\n    \"payment_method\": \"CreditCard\",\r\n    \"payment_system_name\": \"Bank Card\",\r\n    \"card_last_4\": 1234,\r\n    \"card_expiration_date\": \"12/26\",\r\n    \"is_card_expired\": false,\r\n    \"is_installment_payment\": false\r\n  },\r\n  \"subscription\": {\r\n    \"id\": \"5555555_456660\",\r\n    \"previous_order_id\": null,\r\n    \"type\": \"AR\",\r\n    \"is_conversion_from_trial\": false,\r\n    \"status\": \"active\",\r\n    \"period\": \"P1Y\",\r\n    \"expiration_date\": \"2022-08-13T23:59:00+03:00\",\r\n    \"next_charge_date\": \"2022-07-24T23:59:00+03:00\",\r\n    \"detail_url\": \"https://shop.com/order/status/5555555/1a97507#autorenewal\"\r\n  },\r\n  \"additional_data\": [{\r\n      \"name\": \"referer2\",\r\n      \"value\": \"test\"\r\n    }, {\r\n      \"name\": \"referer3\",\r\n      \"value\": \"TEST12025\"\r\n    }\r\n  ],\r\n  \"document_part\": \"1-of-1\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://your-webservice.com","protocol":"https","host":["your-webservice","com"]}},"response":[],"createdAt":"2023-02-16T05:51:46.000Z","updatedAt":"2023-02-16T05:52:34.000Z","uid":"15240180-f7605ea6-79e9-4655-8c18-fef79a6a96ab"}]}}