{"id":9779,"date":"2024-03-19T16:57:30","date_gmt":"2024-03-19T15:57:30","guid":{"rendered":"https:\/\/docs.centralpay.com\/documentation\/developpeurs\/webhook-notifications\/the-subscription-object\/"},"modified":"2025-12-08T16:08:28","modified_gmt":"2025-12-08T15:08:28","slug":"the-subscription-object","status":"publish","type":"docs","link":"https:\/\/docs.centralpay.com\/en\/documentation\/developpeurs\/webhook-notifications\/the-subscription-object\/","title":{"rendered":"The SUBSCRIPTION object"},"content":{"rendered":"\n<div class=\"wp-block-cover wp-duotone-unset-1\" style=\"min-height:55px;aspect-ratio:unset;\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>SUBSCRIPTIONMODEL_CREATED<br>When a Subscription model is created<\/summary>\n<pre class=\"wp-block-code has-black-color has-text-color has-background has-link-color wp-elements-44afe86e9232326d265e6870c8bd5e85\" style=\"background-color:#f8f8f8\"><code lang=\"json\" class=\"language-json\">{\n  \"eventId\": \"396d5bf8-f494-4ba6-91ef-29bd6be595b1\",\n  \"type\": \"SUBSCRIPTIONMODEL_CREATED\",\n  \"creationDate\": \"2024-01-08T11:56:53.360135+01:00\",\n  \"object\": {\n    \"additionalData\": {},\n    \"amount\": 10000,\n    \"creationDate\": \"2024-01-08T11:56:53.353430+01:00\",\n    \"currency\": \"EUR\",\n    \"intervalCount\": 1,\n    \"intervalUnit\": \"MONTH\",\n    \"iterationCount\": 12,\n    \"name\": \"Test Abo\",\n    \"pointOfSaleId\": \"7d99a970-cc26-4de8-aa5d-d9ebf4088247\",\n    \"subscriptionModelId\": \"50eeed1d-b908-4fc3-8863-466a733b272c\"\n  },\n  \"requestId\": \"9dd48255-2b54-40bb-bd38-dfeac5d0535b\"\n}<\/code><\/pre>\n<\/details>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-cover wp-duotone-unset-2\" style=\"min-height:55px;aspect-ratio:unset;\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>SUBSCRIPTIONMODEL_UPDATED<br>When a Subscription model is updated<\/summary>\n<pre class=\"wp-block-code has-black-color has-text-color has-background has-link-color wp-elements-6fffe557931a985fac4c6534ae759007\" style=\"background-color:#f8f8f8\"><code lang=\"json\" class=\"language-json\">{\n  \"eventId\": \"d00f3f00-b2d6-4de4-8c41-a106b88054b9\",\n  \"type\": \"SUBSCRIPTIONMODEL_UPDATED\",\n  \"creationDate\": \"2024-01-08T11:58:22.826908+01:00\",\n  \"object\": {\n    \"additionalData\": {},\n    \"amount\": 10000,\n    \"creationDate\": \"2024-01-08T11:56:53.353430+01:00\",\n    \"currency\": \"EUR\",\n    \"intervalCount\": 1,\n    \"intervalUnit\": \"MONTH\",\n    \"iterationCount\": 12,\n    \"name\": \"CPMInnn\",\n    \"pointOfSaleId\": \"7d99a970-cc26-4de8-aa5d-d9ebf4088247\",\n    \"subscriptionModelId\": \"50eeed1d-b908-4fc3-8863-466a733b272c\"\n  },\n  \"requestId\": \"4bc97650-9a0e-4032-ba46-8088c1e31b0b\",\n  \"objectBeforeUpdate\": {\n    \"additionalData\": {},\n    \"amount\": 10000,\n    \"creationDate\": \"2024-01-08T11:56:53.353430+01:00\",\n    \"currency\": \"EUR\",\n    \"intervalCount\": 1,\n    \"intervalUnit\": \"MONTH\",\n    \"iterationCount\": 12,\n    \"name\": \"Test Abo\",\n    \"pointOfSaleId\": \"7d99a970-cc26-4de8-aa5d-d9ebf4088247\",\n    \"subscriptionModelId\": \"50eeed1d-b908-4fc3-8863-466a733b272c\"\n  }\n}<\/code><\/pre>\n<\/details>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-cover wp-duotone-unset-3\" style=\"min-height:55px;aspect-ratio:unset;\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>SUBSCRIPTION_CREATED<br>When a Subscription is created<\/summary>\n<pre class=\"wp-block-code has-black-color has-text-color has-background has-link-color wp-elements-4b190e4fb3196b244963684086daba2e\" style=\"background-color:#f8f8f8\"><code lang=\"json\" class=\"language-json\">{\n  \"eventId\": \"f87999fa-ab71-4a57-bc1f-b360670ef593\",\n  \"type\": \"SUBSCRIPTION_CREATED\",\n  \"creationDate\": \"2024-01-08T12:24:12.821583+01:00\",\n  \"object\": {\n    \"additionalData\": {},\n    \"cardId\": \"8750301a-f2ae-4447-8a3a-62e37675e1ca\",\n    \"creationDate\": \"2024-01-08T12:24:12.700858+01:00\",\n    \"customerId\": \"06e3819c-9e15-42db-9194-74d5924b53e3\",\n    \"endUserIp\": \"245.100.1.15\",\n    \"expectedEndingDate\": \"2025-01-09\",\n    \"merchantSubscriptionId\": \"Gauthier refapi\",\n    \"quantity\": 1,\n    \"startingDate\": \"2024-01-10\",\n    \"status\": \"ACTIVE\",\n    \"subscriptionId\": \"c64ba2e5-a0b1-43e2-867a-27555c355331\",\n    \"subscriptionModel\": {\n      \"additionalData\": {},\n      \"amount\": 100,\n      \"creationDate\": \"2024-01-08T12:20:23.305903+01:00\",\n      \"currency\": \"EUR\",\n      \"intervalCount\": 1,\n      \"intervalUnit\": \"MONTH\",\n      \"iterationCount\": 12,\n      \"name\": \"Test refapi\",\n      \"pointOfSaleId\": \"7d99a970-cc26-4de8-aa5d-d9ebf4088247\",\n      \"subscriptionModelId\": \"e16a35bf-ca34-48b7-9726-139c15e89fa9\"\n    }\n  },\n  \"requestId\": \"c66d38ac-5f7d-4a52-840c-ebadade3bf4f\"\n}<\/code><\/pre>\n<\/details>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-cover wp-duotone-unset-4\" style=\"min-height:55px;aspect-ratio:unset;\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>SUBSCRIPTION_FAILED<br>When a Subscription failed<\/summary>\n<pre class=\"wp-block-code has-black-color has-text-color has-background has-link-color wp-elements-eac9dd0ba2a9c9f9d0b701e360a6b063\" style=\"background-color:#f8f8f8\"><code lang=\"json\" class=\"language-json\">{\n  \"eventId\": \"3c8ca51e-aa44-41ca-ad24-872a86ed35ee\",\n  \"type\": \"SUBSCRIPTION_FAILED\",\n  \"creationDate\": \"2024-01-15T11:59:56.223023+01:00\",\n  \"object\": {\n    \"additionalData\": {},\n    \"cancelAtPeriodEnd\": false,\n    \"cancellationDate\": \"2024-01-15T11:59:55.877297+01:00\",\n    \"cardId\": \"0a6b2fdc-85e4-4ffa-bffa-0ae276e11aa3\",\n    \"creationDate\": \"2024-01-15T11:59:52.983206+01:00\",\n    \"currentPeriodEnd\": \"2024-01-15\",\n    \"currentPeriodStart\": \"2024-01-15\",\n    \"customerId\": \"947a99f7-308c-46a0-b6be-aed82d39a53c\",\n    \"endUserIp\": \"245.100.1.15\",\n    \"endingDate\": \"2024-01-15\",\n    \"expectedEndingDate\": \"2025-01-14\",\n    \"lastInvoice\": {\n      \"additionalData\": {},\n      \"amount\": 10000,\n      \"attemptCount\": 1,\n      \"closed\": true,\n      \"creationDate\": \"2024-01-15T11:59:53.614864+01:00\",\n      \"currency\": \"EUR\",\n      \"customerId\": \"947a99f7-308c-46a0-b6be-aed82d39a53c\",\n      \"invoiceId\": \"e0909ca3-a337-43ce-9769-d65e927b3a47\",\n      \"invoiceItems\": [\n        {\n          \"additionalData\": {},\n          \"amount\": 10000,\n          \"creationDate\": \"2024-01-15T11:59:53.357382+01:00\",\n          \"currency\": \"EUR\",\n          \"customerId\": \"947a99f7-308c-46a0-b6be-aed82d39a53c\",\n          \"invoiceId\": \"e0909ca3-a337-43ce-9769-d65e927b3a47\",\n          \"invoiceItemId\": \"0c153918-5128-4ecb-8570-7c9f71a500ec\",\n          \"quantity\": 1,\n          \"subscriptionId\": \"55cb6ba8-3d9b-4bc9-96c9-b478b576d306\",\n          \"totalAmount\": 10000,\n          \"type\": \"SUBSCRIPTION\"\n        }\n      ],\n      \"nextTransactionAttempt\": \"2024-01-18T06:00:04+01:00\",\n      \"paid\": false,\n      \"sddTransactions\": [],\n      \"subscriptionId\": \"55cb6ba8-3d9b-4bc9-96c9-b478b576d306\",\n      \"transactions\": [\n        \"19b41977-e973-4dd9-846e-5777459196a5\"\n      ],\n      \"transfers\": [],\n      \"type\": \"SUBSCRIPTION\"\n    },\n    \"merchantSubscriptionId\": \"Test refapi gogo\",\n    \"quantity\": 1,\n    \"startingDate\": \"2024-01-15\",\n    \"status\": \"CANCELED\",\n    \"subscriptionId\": \"55cb6ba8-3d9b-4bc9-96c9-b478b576d306\",\n    \"subscriptionModel\": {\n      \"additionalData\": {},\n      \"amount\": 10000,\n      \"creationDate\": \"2024-01-11T15:02:53.061463+01:00\",\n      \"currency\": \"EUR\",\n      \"intervalCount\": 1,\n      \"intervalUnit\": \"MONTH\",\n      \"iterationCount\": 12,\n      \"name\": \"Test Abo\",\n      \"pointOfSaleId\": \"7d99a970-cc26-4de8-aa5d-d9ebf4088247\",\n      \"subscriptionModelId\": \"7cd1b504-bed3-4435-84be-2e19f2c8e2f6\"\n    }\n  },\n  \"requestId\": \"ac2cae53-8d39-4e5a-8098-bcf0ab55a7cc\"\n}<\/code><\/pre>\n<\/details>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-cover wp-duotone-unset-5\" style=\"min-height:55px;aspect-ratio:unset;\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>SUBSCRIPTION_UPDATED<br>When a Subscription is updated<\/summary>\n<pre class=\"wp-block-code has-black-color has-text-color has-background has-link-color wp-elements-b7f139b5e9e128fa46d05e265cc93114\" style=\"background-color:#f8f8f8\"><code lang=\"json\" class=\"language-json\">{\n  \"eventId\": \"3da295c6-403e-4080-9398-9cebf7efbc37\",\n  \"type\": \"SUBSCRIPTION_UPDATED\",\n  \"creationDate\": \"2024-01-08T12:25:27.579680+01:00\",\n  \"object\": {\n    \"additionalData\": {},\n    \"cardId\": \"8750301a-f2ae-4447-8a3a-62e37675e1ca\",\n    \"creationDate\": \"2024-01-08T12:24:12.700858+01:00\",\n    \"customerId\": \"06e3819c-9e15-42db-9194-74d5924b53e3\",\n    \"endUserIp\": \"245.100.1.15\",\n    \"expectedEndingDate\": \"2025-01-09\",\n    \"merchantSubscriptionId\": \"TEST001\",\n    \"quantity\": 1,\n    \"startingDate\": \"2024-01-10\",\n    \"status\": \"ACTIVE\",\n    \"subscriptionId\": \"c64ba2e5-a0b1-43e2-867a-27555c355331\",\n    \"subscriptionModel\": {\n      \"additionalData\": {},\n      \"amount\": 100,\n      \"creationDate\": \"2024-01-08T12:20:23.305903+01:00\",\n      \"currency\": \"EUR\",\n      \"intervalCount\": 1,\n      \"intervalUnit\": \"MONTH\",\n      \"iterationCount\": 12,\n      \"name\": \"Test refapi\",\n      \"pointOfSaleId\": \"7d99a970-cc26-4de8-aa5d-d9ebf4088247\",\n      \"subscriptionModelId\": \"e16a35bf-ca34-48b7-9726-139c15e89fa9\"\n    }\n  },\n  \"requestId\": \"10797b88-f4ff-48f5-bc79-c417333b92d5\",\n  \"objectBeforeUpdate\": {\n    \"additionalData\": {},\n    \"cardId\": \"8750301a-f2ae-4447-8a3a-62e37675e1ca\",\n    \"creationDate\": \"2024-01-08T12:24:12.700858+01:00\",\n    \"customerId\": \"06e3819c-9e15-42db-9194-74d5924b53e3\",\n    \"endUserIp\": \"245.100.1.15\",\n    \"expectedEndingDate\": \"2025-01-09\",\n    \"merchantSubscriptionId\": \"Gauthier refapi\",\n    \"quantity\": 1,\n    \"startingDate\": \"2024-01-10\",\n    \"status\": \"ACTIVE\",\n    \"subscriptionId\": \"c64ba2e5-a0b1-43e2-867a-27555c355331\",\n    \"subscriptionModel\": {\n      \"additionalData\": {},\n      \"amount\": 100,\n      \"creationDate\": \"2024-01-08T12:20:23.305903+01:00\",\n      \"currency\": \"EUR\",\n      \"intervalCount\": 1,\n      \"intervalUnit\": \"MONTH\",\n      \"iterationCount\": 12,\n      \"name\": \"Test refapi\",\n      \"pointOfSaleId\": \"7d99a970-cc26-4de8-aa5d-d9ebf4088247\",\n      \"subscriptionModelId\": \"e16a35bf-ca34-48b7-9726-139c15e89fa9\"\n    }\n  }\n}<\/code><\/pre>\n<\/details>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-cover wp-duotone-unset-6\" style=\"min-height:55px;aspect-ratio:unset;\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>SUBSCRIPTION_CANCELED<br>When a Subscription is cancelled<\/summary>\n<pre class=\"wp-block-code has-black-color has-text-color has-background has-link-color wp-elements-e0ff3e219b3539cf012aa602924c7466\" style=\"background-color:#f8f8f8\"><code lang=\"json\" class=\"language-json\">{\n  \"eventId\": \"298e5eae-4447-4981-932e-633adbb97e5f\",\n  \"type\": \"SUBSCRIPTION_CANCELED\",\n  \"creationDate\": \"2024-01-08T12:26:46.705238+01:00\",\n  \"object\": {\n    \"additionalData\": {},\n    \"cancelAtPeriodEnd\": false,\n    \"cancellationDate\": \"2024-01-08T12:26:46.701626+01:00\",\n    \"cardId\": \"8750301a-f2ae-4447-8a3a-62e37675e1ca\",\n    \"creationDate\": \"2024-01-08T12:24:12.700858+01:00\",\n    \"currentPeriodEnd\": \"2024-01-08\",\n    \"customerId\": \"06e3819c-9e15-42db-9194-74d5924b53e3\",\n    \"endUserIp\": \"245.100.1.15\",\n    \"endingDate\": \"2024-01-08\",\n    \"expectedEndingDate\": \"2025-01-09\",\n    \"merchantSubscriptionId\": \"TEST001\",\n    \"quantity\": 1,\n    \"startingDate\": \"2024-01-10\",\n    \"status\": \"CANCELED\",\n    \"subscriptionId\": \"c64ba2e5-a0b1-43e2-867a-27555c355331\",\n    \"subscriptionModel\": {\n      \"additionalData\": {},\n      \"amount\": 100,\n      \"creationDate\": \"2024-01-08T12:20:23.305903+01:00\",\n      \"currency\": \"EUR\",\n      \"intervalCount\": 1,\n      \"intervalUnit\": \"MONTH\",\n      \"iterationCount\": 12,\n      \"name\": \"Test refapi\",\n      \"pointOfSaleId\": \"7d99a970-cc26-4de8-aa5d-d9ebf4088247\",\n      \"subscriptionModelId\": \"e16a35bf-ca34-48b7-9726-139c15e89fa9\"\n    }\n  },\n  \"requestId\": \"bd8f1a27-bae3-4cfd-8471-7f6e878c6dc7\"\n}<\/code><\/pre>\n<\/details>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-cover wp-duotone-unset-7\" style=\"min-height:55px;aspect-ratio:unset;\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>SUBSCRIPTION_ACTIVE<br>When a Subscription is active<\/summary>\n<pre class=\"wp-block-code has-black-color has-text-color has-background has-link-color wp-elements-a750c91456a7fa8387f22c7deb75d76b\" style=\"background-color:#f8f8f8\"><code lang=\"json\" class=\"language-json\"><\/code><\/pre>\n<\/details>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-cover wp-duotone-unset-8\" style=\"min-height:55px;aspect-ratio:unset;\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>SUBSCRIPTION_FAILURE<br>When a Subscription failed to be paid<\/summary>\n<pre class=\"wp-block-code has-black-color has-text-color has-background has-link-color wp-elements-2fc6f131b10de4f24def94abab53be86\" style=\"background-color:#f8f8f8\"><code lang=\"json\" class=\"language-json\">{\n  \"eventId\": \"22c7c038-2aa4-4550-9fd0-27e5395c250d\",\n  \"type\": \"SUBSCRIPTION_FAILURE\",\n  \"creationDate\": \"2024-01-15T11:59:55.661209+01:00\",\n  \"object\": {\n    \"additionalData\": {},\n    \"cardId\": \"0a6b2fdc-85e4-4ffa-bffa-0ae276e11aa3\",\n    \"creationDate\": \"2024-01-15T11:59:52.983206+01:00\",\n    \"currentPeriodEnd\": \"2024-02-14\",\n    \"currentPeriodStart\": \"2024-01-15\",\n    \"customerId\": \"947a99f7-308c-46a0-b6be-aed82d39a53c\",\n    \"endUserIp\": \"245.100.1.15\",\n    \"expectedEndingDate\": \"2025-01-14\",\n    \"lastInvoice\": {\n      \"additionalData\": {},\n      \"amount\": 10000,\n      \"attemptCount\": 1,\n      \"closed\": false,\n      \"creationDate\": \"2024-01-15T11:59:53.614864+01:00\",\n      \"currency\": \"EUR\",\n      \"customerId\": \"947a99f7-308c-46a0-b6be-aed82d39a53c\",\n      \"invoiceId\": \"e0909ca3-a337-43ce-9769-d65e927b3a47\",\n      \"invoiceItems\": [\n        {\n          \"additionalData\": {},\n          \"amount\": 10000,\n          \"creationDate\": \"2024-01-15T11:59:53.357382+01:00\",\n          \"currency\": \"EUR\",\n          \"customerId\": \"947a99f7-308c-46a0-b6be-aed82d39a53c\",\n          \"invoiceId\": \"e0909ca3-a337-43ce-9769-d65e927b3a47\",\n          \"invoiceItemId\": \"0c153918-5128-4ecb-8570-7c9f71a500ec\",\n          \"quantity\": 1,\n          \"subscriptionId\": \"55cb6ba8-3d9b-4bc9-96c9-b478b576d306\",\n          \"totalAmount\": 10000,\n          \"type\": \"SUBSCRIPTION\"\n        }\n      ],\n      \"nextTransactionAttempt\": \"2024-01-18T06:00:04+01:00\",\n      \"paid\": false,\n      \"sddTransactions\": [],\n      \"subscriptionId\": \"55cb6ba8-3d9b-4bc9-96c9-b478b576d306\",\n      \"transactions\": [\n        \"19b41977-e973-4dd9-846e-5777459196a5\"\n      ],\n      \"transfers\": [],\n      \"type\": \"SUBSCRIPTION\"\n    },\n    \"merchantSubscriptionId\": \"Test refapi gogo\",\n    \"quantity\": 1,\n    \"startingDate\": \"2024-01-15\",\n    \"status\": \"FAILURE\",\n    \"subscriptionId\": \"55cb6ba8-3d9b-4bc9-96c9-b478b576d306\",\n    \"subscriptionModel\": {\n      \"additionalData\": {},\n      \"amount\": 10000,\n      \"creationDate\": \"2024-01-11T15:02:53.061463+01:00\",\n      \"currency\": \"EUR\",\n      \"intervalCount\": 1,\n      \"intervalUnit\": \"MONTH\",\n      \"iterationCount\": 12,\n      \"name\": \"Test Abo\",\n      \"pointOfSaleId\": \"7d99a970-cc26-4de8-aa5d-d9ebf4088247\",\n      \"subscriptionModelId\": \"7cd1b504-bed3-4435-84be-2e19f2c8e2f6\"\n    }\n  },\n  \"requestId\": \"1c35bbaf-0f37-44e1-a7e5-c3f10be0a9a4\"\n}<\/code><\/pre>\n<\/details>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-cover wp-duotone-unset-9\" style=\"min-height:55px;aspect-ratio:unset;\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>SUBSCRIPTION_UNPAID<br>When a Subscription is unpaid<\/summary>\n<pre class=\"wp-block-code has-black-color has-text-color has-background has-link-color wp-elements-a750c91456a7fa8387f22c7deb75d76b\" style=\"background-color:#f8f8f8\"><code lang=\"json\" class=\"language-json\"><\/code><\/pre>\n<\/details>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-cover wp-duotone-unset-10\" style=\"min-height:55px;aspect-ratio:unset;\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>SUBSCRIPTION_REACTIVATED<br>When a Subscription is reactivated<\/summary>\n<pre class=\"wp-block-code has-black-color has-text-color has-background has-link-color wp-elements-d81127ce74c2b789d04873e94d3af89b\" style=\"background-color:#f8f8f8\"><code lang=\"json\" class=\"language-json\">{\n  \"eventId\": \"536eb70e-cb79-44a6-be28-4384445583c2\",\n  \"type\": \"SUBSCRIPTION_REACTIVATED\",\n  \"creationDate\": \"2024-01-11T15:12:05.092897+01:00\",\n  \"object\": {\n    \"additionalData\": {},\n    \"cardId\": \"7d5f52b0-ef15-4a04-9c06-c4a9ac76f4bf\",\n    \"creationDate\": \"2024-01-11T15:11:29.487853+01:00\",\n    \"currentPeriodEnd\": \"2024-02-10\",\n    \"currentPeriodStart\": \"2024-01-11\",\n    \"customerId\": \"dc9623bd-3f3a-4d79-8ae2-0e6b3ebe367d\",\n    \"endUserIp\": \"245.100.1.15\",\n    \"lastInvoice\": {\n      \"additionalData\": {},\n      \"amount\": 10000,\n      \"attemptCount\": 1,\n      \"closed\": true,\n      \"creationDate\": \"2024-01-11T15:11:30.057522+01:00\",\n      \"currency\": \"EUR\",\n      \"customerId\": \"dc9623bd-3f3a-4d79-8ae2-0e6b3ebe367d\",\n      \"invoiceId\": \"94185799-1ac6-4206-8df2-006043d0e2a9\",\n      \"invoiceItems\": [\n        {\n          \"additionalData\": {},\n          \"amount\": 10000,\n          \"creationDate\": \"2024-01-11T15:11:29.798622+01:00\",\n          \"currency\": \"EUR\",\n          \"customerId\": \"dc9623bd-3f3a-4d79-8ae2-0e6b3ebe367d\",\n          \"invoiceId\": \"94185799-1ac6-4206-8df2-006043d0e2a9\",\n          \"invoiceItemId\": \"cd4325ca-4f61-4886-98c6-a524682ee0e2\",\n          \"quantity\": 1,\n          \"subscriptionId\": \"cb2a2422-2a4d-4818-9647-02107e69f98b\",\n          \"totalAmount\": 10000,\n          \"type\": \"SUBSCRIPTION\"\n        }\n      ],\n      \"paid\": true,\n      \"sddTransactions\": [],\n      \"subscriptionId\": \"cb2a2422-2a4d-4818-9647-02107e69f98b\",\n      \"transactions\": [\n        \"3f462466-4a71-480c-b062-e2023ee99b17\"\n      ],\n      \"transfers\": [],\n      \"type\": \"SUBSCRIPTION\"\n    },\n    \"merchantSubscriptionId\": \"Test refapi gogo\",\n    \"quantity\": 1,\n    \"startingDate\": \"2024-01-11\",\n    \"status\": \"ACTIVE\",\n    \"subscriptionId\": \"cb2a2422-2a4d-4818-9647-02107e69f98b\",\n    \"subscriptionModel\": {\n      \"additionalData\": {},\n      \"amount\": 10000,\n      \"creationDate\": \"2024-01-11T15:02:53.061463+01:00\",\n      \"currency\": \"EUR\",\n      \"intervalCount\": 1,\n      \"intervalUnit\": \"MONTH\",\n      \"iterationCount\": 12,\n      \"name\": \"Test Abo\",\n      \"pointOfSaleId\": \"7d99a970-cc26-4de8-aa5d-d9ebf4088247\",\n      \"subscriptionModelId\": \"7cd1b504-bed3-4435-84be-2e19f2c8e2f6\"\n    }\n  },\n  \"requestId\": \"69ac4f1d-059b-4065-adc2-90f0eb6a98ab\"\n}<\/code><\/pre>\n<\/details>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-cover wp-duotone-unset-11\" style=\"min-height:55px;aspect-ratio:unset;\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>INVOICEITEM_CREATED<br>When an invoice item is created<\/summary>\n<pre class=\"wp-block-code has-black-color has-text-color has-background has-link-color wp-elements-76b5d97db03b96bd5f45d39684fd0aba\" style=\"background-color:#f8f8f8\"><code lang=\"json\" class=\"language-json\">{\n  \"eventId\": \"6167d379-fb95-4425-8e9b-af74f4235bfc\",\n  \"type\": \"INVOICEITEM_CREATED\",\n  \"creationDate\": \"2024-01-08T12:30:46.157764+01:00\",\n  \"object\": {\n    \"additionalData\": {},\n    \"amount\": 10000,\n    \"creationDate\": \"2024-01-08T12:30:46.131739+01:00\",\n    \"currency\": \"EUR\",\n    \"customerId\": \"06e3819c-9e15-42db-9194-74d5924b53e3\",\n    \"invoiceItemId\": \"c911bfdd-3686-4e5b-8abf-d3c44fa369a3\",\n    \"quantity\": 3,\n    \"subscriptionId\": \"a35ba09e-58ea-4d5c-8207-1a5d11f32fd3\",\n    \"totalAmount\": 30000,\n    \"type\": \"MANUAL\"\n  },\n  \"requestId\": \"d7cd40bd-88de-4956-9c42-baf5a0549f1b\"\n}<\/code><\/pre>\n<\/details>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-cover wp-duotone-unset-12\" style=\"min-height:55px;aspect-ratio:unset;\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>INVOICEITEM_UPDATED<br>When an invoice item is updated<\/summary>\n<pre class=\"wp-block-code has-black-color has-text-color has-background has-link-color wp-elements-16c42a7bdb898fd6bf2b6c2299b1ba99\" style=\"background-color:#f8f8f8\"><code lang=\"json\" class=\"language-json\">{\n  \"eventId\": \"353dd2fd-934e-4a20-9f12-b47bf213a35c\",\n  \"type\": \"INVOICEITEM_UPDATED\",\n  \"creationDate\": \"2024-01-15T10:59:30.750004+01:00\",\n  \"object\": {\n    \"additionalData\": {},\n    \"amount\": 10000,\n    \"creationDate\": \"2024-01-08T12:44:49.815091+01:00\",\n    \"currency\": \"EUR\",\n    \"customerId\": \"33c36fb3-fec8-4930-9cb6-32e2b76d61c9\",\n    \"invoiceItemId\": \"292c516b-e320-4391-995a-b4a1205e0e47\",\n    \"quantity\": 2,\n    \"subscriptionId\": \"5b217597-213f-4bf3-b94b-6749e499cf98\",\n    \"totalAmount\": 20000,\n    \"type\": \"MANUAL\"\n  },\n  \"requestId\": \"9678a75a-aa0c-4023-8d2a-56b56dfeae87\",\n  \"objectBeforeUpdate\": {\n    \"additionalData\": {},\n    \"amount\": 10000,\n    \"creationDate\": \"2024-01-08T12:44:49.815091+01:00\",\n    \"currency\": \"EUR\",\n    \"customerId\": \"33c36fb3-fec8-4930-9cb6-32e2b76d61c9\",\n    \"invoiceItemId\": \"292c516b-e320-4391-995a-b4a1205e0e47\",\n    \"quantity\": 3,\n    \"subscriptionId\": \"5b217597-213f-4bf3-b94b-6749e499cf98\",\n    \"totalAmount\": 30000,\n    \"type\": \"MANUAL\"\n  }\n}<\/code><\/pre>\n<\/details>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-cover wp-duotone-unset-13\" style=\"min-height:55px;aspect-ratio:unset;\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>INVOICEITEM_DELETED<br>When an invoice item is deleted<\/summary>\n<pre class=\"wp-block-code has-black-color has-text-color has-background has-link-color wp-elements-93e3c508821d0879436545636b06eff2\" style=\"background-color:#f8f8f8\"><code lang=\"json\" class=\"language-json\">{\n  \"eventId\": \"ae992cbd-d82f-495a-b7b7-4627dc9806e8\",\n  \"type\": \"INVOICEITEM_DELETED\",\n  \"creationDate\": \"2024-01-15T11:00:04.748878+01:00\",\n  \"object\": {\n    \"additionalData\": {},\n    \"amount\": 10000,\n    \"creationDate\": \"2024-01-08T12:44:49.815091+01:00\",\n    \"currency\": \"EUR\",\n    \"customerId\": \"33c36fb3-fec8-4930-9cb6-32e2b76d61c9\",\n    \"invoiceItemId\": \"292c516b-e320-4391-995a-b4a1205e0e47\",\n    \"quantity\": 2,\n    \"subscriptionId\": \"5b217597-213f-4bf3-b94b-6749e499cf98\",\n    \"totalAmount\": 20000,\n    \"type\": \"MANUAL\"\n  },\n  \"requestId\": \"fe0e462f-81d9-4640-abbd-ce6c914432b6\"\n}<\/code><\/pre>\n<\/details>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-cover wp-duotone-unset-14\" style=\"min-height:55px;aspect-ratio:unset;\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>INVOICE_CREATED<br>When an invoice is created<\/summary>\n<pre class=\"wp-block-code has-black-color has-text-color has-background has-link-color wp-elements-f9834dd5438ff4bab996aac6b6db9e24\" style=\"background-color:#f8f8f8\"><code lang=\"json\" class=\"language-json\">{\n  \"eventId\": \"59df2504-3ab7-46c3-8469-0957d579b014\",\n  \"type\": \"INVOICE_CREATED\",\n  \"creationDate\": \"2024-01-08T12:31:18.271671+01:00\",\n  \"object\": {\n    \"additionalData\": {},\n    \"amount\": 30000,\n    \"attemptCount\": 0,\n    \"closed\": false,\n    \"creationDate\": \"2024-01-08T12:31:18.264645+01:00\",\n    \"currency\": \"EUR\",\n    \"customerId\": \"06e3819c-9e15-42db-9194-74d5924b53e3\",\n    \"invoiceId\": \"6c031228-131c-453a-8dbf-4623a033c01e\",\n    \"invoiceItems\": [\n      {\n        \"additionalData\": {},\n        \"amount\": 10000,\n        \"creationDate\": \"2024-01-08T12:30:46.131739+01:00\",\n        \"currency\": \"EUR\",\n        \"customerId\": \"06e3819c-9e15-42db-9194-74d5924b53e3\",\n        \"invoiceId\": \"6c031228-131c-453a-8dbf-4623a033c01e\",\n        \"invoiceItemId\": \"c911bfdd-3686-4e5b-8abf-d3c44fa369a3\",\n        \"quantity\": 3,\n        \"subscriptionId\": \"a35ba09e-58ea-4d5c-8207-1a5d11f32fd3\",\n        \"totalAmount\": 30000,\n        \"type\": \"MANUAL\"\n      }\n    ],\n    \"nextTransactionAttempt\": \"2024-01-09T06:00:04+01:00\",\n    \"paid\": false,\n    \"sddTransactions\": [],\n    \"subscriptionId\": \"a35ba09e-58ea-4d5c-8207-1a5d11f32fd3\",\n    \"transactions\": [],\n    \"transfers\": [],\n    \"type\": \"MANUAL\"\n  },\n  \"requestId\": \"1b51631e-d6d7-4632-bc8f-c67bd6f52729\"\n}<\/code><\/pre>\n<\/details>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-cover wp-duotone-unset-15\" style=\"min-height:55px;aspect-ratio:unset;\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>INVOICE_UPDATED<br>When an invoice is updated<\/summary>\n<pre class=\"wp-block-code has-black-color has-text-color has-background has-link-color wp-elements-efb3b9b485be69a1a365ddfe5a5b37d1\" style=\"background-color:#f8f8f8\"><code lang=\"json\" class=\"language-json\">{\n{\n  \"eventId\": \"3c63e5da-1bce-4c5c-9dfc-1a206fda69a7\",\n  \"type\": \"INVOICE_UPDATED\",\n  \"creationDate\": \"2024-01-08T12:31:25.469957+01:00\",\n  \"object\": {\n    \"additionalData\": {},\n    \"amount\": 30000,\n    \"attemptCount\": 0,\n    \"closed\": false,\n    \"creationDate\": \"2024-01-08T12:31:18.264645+01:00\",\n    \"currency\": \"EUR\",\n    \"customerId\": \"06e3819c-9e15-42db-9194-74d5924b53e3\",\n    \"description\": \"ma description\",\n    \"invoiceId\": \"6c031228-131c-453a-8dbf-4623a033c01e\",\n    \"invoiceItems\": [\n      {\n        \"additionalData\": {},\n        \"amount\": 10000,\n        \"creationDate\": \"2024-01-08T12:30:46.131739+01:00\",\n        \"currency\": \"EUR\",\n        \"customerId\": \"06e3819c-9e15-42db-9194-74d5924b53e3\",\n        \"invoiceId\": \"6c031228-131c-453a-8dbf-4623a033c01e\",\n        \"invoiceItemId\": \"c911bfdd-3686-4e5b-8abf-d3c44fa369a3\",\n        \"quantity\": 3,\n        \"subscriptionId\": \"a35ba09e-58ea-4d5c-8207-1a5d11f32fd3\",\n        \"totalAmount\": 30000,\n        \"type\": \"MANUAL\"\n      }\n    ],\n    \"nextTransactionAttempt\": \"2024-01-09T06:00:04+01:00\",\n    \"paid\": false,\n    \"sddTransactions\": [],\n    \"subscriptionId\": \"a35ba09e-58ea-4d5c-8207-1a5d11f32fd3\",\n    \"transactions\": [],\n    \"transfers\": [],\n    \"type\": \"MANUAL\"\n  },\n  \"requestId\": \"176cf4e9-4669-473c-a9cb-f102fd6aa2ab\",\n  \"objectBeforeUpdate\": {\n    \"additionalData\": {},\n    \"amount\": 30000,\n    \"attemptCount\": 0,\n    \"closed\": false,\n    \"creationDate\": \"2024-01-08T12:31:18.264645+01:00\",\n    \"currency\": \"EUR\",\n    \"customerId\": \"06e3819c-9e15-42db-9194-74d5924b53e3\",\n    \"invoiceId\": \"6c031228-131c-453a-8dbf-4623a033c01e\",\n    \"invoiceItems\": [\n      {\n        \"additionalData\": {},\n        \"amount\": 10000,\n        \"creationDate\": \"2024-01-08T12:30:46.131739+01:00\",\n        \"currency\": \"EUR\",\n        \"customerId\": \"06e3819c-9e15-42db-9194-74d5924b53e3\",\n        \"invoiceId\": \"6c031228-131c-453a-8dbf-4623a033c01e\",\n        \"invoiceItemId\": \"c911bfdd-3686-4e5b-8abf-d3c44fa369a3\",\n        \"quantity\": 3,\n        \"subscriptionId\": \"a35ba09e-58ea-4d5c-8207-1a5d11f32fd3\",\n        \"totalAmount\": 30000,\n        \"type\": \"MANUAL\"\n      }\n    ],\n    \"nextTransactionAttempt\": \"2024-01-09T06:00:04+01:00\",\n    \"paid\": false,\n    \"sddTransactions\": [],\n    \"subscriptionId\": \"a35ba09e-58ea-4d5c-8207-1a5d11f32fd3\",\n    \"transactions\": [],\n    \"transfers\": [],\n    \"type\": \"MANUAL\"\n  }\n}\n}<\/code><\/pre>\n<\/details>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-cover wp-duotone-unset-16\" style=\"min-height:55px;aspect-ratio:unset;\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>INVOICE_CLOSED<br>When an invoice is closed<\/summary>\n<pre class=\"wp-block-code has-black-color has-text-color has-background has-link-color wp-elements-2ae3e8f4482f46322130e26afe771deb\" style=\"background-color:#f8f8f8\"><code lang=\"json\" class=\"language-json\">{\n  \"eventId\": \"32cc898a-112f-43fd-921e-be8613d85b73\",\n  \"type\": \"INVOICE_CLOSED\",\n  \"creationDate\": \"2024-01-08T12:31:33.554755+01:00\",\n  \"object\": {\n    \"additionalData\": {},\n    \"amount\": 30000,\n    \"attemptCount\": 0,\n    \"closed\": true,\n    \"creationDate\": \"2024-01-08T12:31:18.264645+01:00\",\n    \"currency\": \"EUR\",\n    \"customerId\": \"06e3819c-9e15-42db-9194-74d5924b53e3\",\n    \"description\": \"ma description\",\n    \"invoiceId\": \"6c031228-131c-453a-8dbf-4623a033c01e\",\n    \"invoiceItems\": [\n      {\n        \"additionalData\": {},\n        \"amount\": 10000,\n        \"creationDate\": \"2024-01-08T12:30:46.131739+01:00\",\n        \"currency\": \"EUR\",\n        \"customerId\": \"06e3819c-9e15-42db-9194-74d5924b53e3\",\n        \"invoiceId\": \"6c031228-131c-453a-8dbf-4623a033c01e\",\n        \"invoiceItemId\": \"c911bfdd-3686-4e5b-8abf-d3c44fa369a3\",\n        \"quantity\": 3,\n        \"subscriptionId\": \"a35ba09e-58ea-4d5c-8207-1a5d11f32fd3\",\n        \"totalAmount\": 30000,\n        \"type\": \"MANUAL\"\n      }\n    ],\n    \"nextTransactionAttempt\": \"2024-01-09T06:00:04+01:00\",\n    \"paid\": false,\n    \"sddTransactions\": [],\n    \"subscriptionId\": \"a35ba09e-58ea-4d5c-8207-1a5d11f32fd3\",\n    \"transactions\": [],\n    \"transfers\": [],\n    \"type\": \"MANUAL\"\n  },\n  \"requestId\": \"36e1f1c0-b08b-41e1-a35b-bc0942b084f7\"\n}<\/code><\/pre>\n<\/details>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-cover wp-duotone-unset-17\" style=\"min-height:55px;aspect-ratio:unset;\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>INVOICE_REOPEN<br>When an invoice is reopen<\/summary>\n<pre class=\"wp-block-code has-black-color has-text-color has-background has-link-color wp-elements-ea06b96e256b5d2b563561f45457fd08\" style=\"background-color:#f8f8f8\"><code lang=\"json\" class=\"language-json\">{\n  \"eventId\": \"c3e22524-8677-447f-9c70-caee15bdb31a\",\n  \"type\": \"INVOICE_REOPEN\",\n  \"creationDate\": \"2024-01-08T12:31:38.069325+01:00\",\n  \"object\": {\n    \"additionalData\": {},\n    \"amount\": 30000,\n    \"attemptCount\": 0,\n    \"closed\": false,\n    \"creationDate\": \"2024-01-08T12:31:18.264645+01:00\",\n    \"currency\": \"EUR\",\n    \"customerId\": \"06e3819c-9e15-42db-9194-74d5924b53e3\",\n    \"description\": \"ma description\",\n    \"invoiceId\": \"6c031228-131c-453a-8dbf-4623a033c01e\",\n    \"invoiceItems\": [\n      {\n        \"additionalData\": {},\n        \"amount\": 10000,\n        \"creationDate\": \"2024-01-08T12:30:46.131739+01:00\",\n        \"currency\": \"EUR\",\n        \"customerId\": \"06e3819c-9e15-42db-9194-74d5924b53e3\",\n        \"invoiceId\": \"6c031228-131c-453a-8dbf-4623a033c01e\",\n        \"invoiceItemId\": \"c911bfdd-3686-4e5b-8abf-d3c44fa369a3\",\n        \"quantity\": 3,\n        \"subscriptionId\": \"a35ba09e-58ea-4d5c-8207-1a5d11f32fd3\",\n        \"totalAmount\": 30000,\n        \"type\": \"MANUAL\"\n      }\n    ],\n    \"nextTransactionAttempt\": \"2024-01-09T06:00:04+01:00\",\n    \"paid\": false,\n    \"sddTransactions\": [],\n    \"subscriptionId\": \"a35ba09e-58ea-4d5c-8207-1a5d11f32fd3\",\n    \"transactions\": [],\n    \"transfers\": [],\n    \"type\": \"MANUAL\"\n  },\n  \"requestId\": \"7ef43ab1-2249-43b2-834e-dcad31d609a5\"\n}<\/code><\/pre>\n<\/details>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-cover wp-duotone-unset-18\" style=\"min-height:55px;aspect-ratio:unset;\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>INVOICE_TRANSACTION_SUCCEEDED<br>When an invoice transaction succeeded<\/summary>\n<pre class=\"wp-block-code has-black-color has-text-color has-background has-link-color wp-elements-ef470d0cb1bcb49961884858e9dbf1f2\" style=\"background-color:#f8f8f8\"><code lang=\"json\" class=\"language-json\">{\n  \"eventId\": \"58b1922a-a959-43c3-aeea-784f6970586c\",\n  \"type\": \"INVOICE_TRANSACTION_SUCCEEDED\",\n  \"creationDate\": \"2024-01-08T12:31:48.444350+01:00\",\n  \"object\": {\n    \"additionalData\": {},\n    \"amount\": 30000,\n    \"attemptCount\": 0,\n    \"closed\": true,\n    \"creationDate\": \"2024-01-08T12:31:18.264645+01:00\",\n    \"currency\": \"EUR\",\n    \"customerId\": \"06e3819c-9e15-42db-9194-74d5924b53e3\",\n    \"description\": \"ma description\",\n    \"invoiceId\": \"6c031228-131c-453a-8dbf-4623a033c01e\",\n    \"invoiceItems\": [\n      {\n        \"additionalData\": {},\n        \"amount\": 10000,\n        \"creationDate\": \"2024-01-08T12:30:46.131739+01:00\",\n        \"currency\": \"EUR\",\n        \"customerId\": \"06e3819c-9e15-42db-9194-74d5924b53e3\",\n        \"invoiceId\": \"6c031228-131c-453a-8dbf-4623a033c01e\",\n        \"invoiceItemId\": \"c911bfdd-3686-4e5b-8abf-d3c44fa369a3\",\n        \"quantity\": 3,\n        \"subscriptionId\": \"a35ba09e-58ea-4d5c-8207-1a5d11f32fd3\",\n        \"totalAmount\": 30000,\n        \"type\": \"MANUAL\"\n      }\n    ],\n    \"paid\": true,\n    \"sddTransactions\": [],\n    \"subscriptionId\": \"a35ba09e-58ea-4d5c-8207-1a5d11f32fd3\",\n    \"transactions\": [\n      \"67cfc05b-d06c-4f2b-8aec-2033e0c61478\"\n    ],\n    \"transfers\": [],\n    \"type\": \"MANUAL\"\n  },\n  \"requestId\": \"01fb7049-bd27-4ec0-846d-605c352bd2f9\"\n}<\/code><\/pre>\n<\/details>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-cover wp-duotone-unset-19\" style=\"min-height:55px;aspect-ratio:unset;\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>INVOICE_TRANSACTION_FAILED<br>When an invoice transaction failed<\/summary>\n<pre class=\"wp-block-code has-black-color has-text-color has-background has-link-color wp-elements-67a92c942a21b9bad0cfbc9bbdebd318\" style=\"background-color:#f8f8f8\"><code lang=\"json\" class=\"language-json\">{\n  \"eventId\": \"23ef2df3-0e6d-4397-b877-aba2acea2ed1\",\n  \"type\": \"INVOICE_TRANSACTION_FAILED\",\n  \"creationDate\": \"2024-01-15T11:59:55.647989+01:00\",\n  \"object\": {\n    \"additionalData\": {},\n    \"amount\": 10000,\n    \"attemptCount\": 1,\n    \"closed\": false,\n    \"creationDate\": \"2024-01-15T11:59:53.614864+01:00\",\n    \"currency\": \"EUR\",\n    \"customerId\": \"947a99f7-308c-46a0-b6be-aed82d39a53c\",\n    \"invoiceId\": \"e0909ca3-a337-43ce-9769-d65e927b3a47\",\n    \"invoiceItems\": [\n      {\n        \"additionalData\": {},\n        \"amount\": 10000,\n        \"creationDate\": \"2024-01-15T11:59:53.357382+01:00\",\n        \"currency\": \"EUR\",\n        \"customerId\": \"947a99f7-308c-46a0-b6be-aed82d39a53c\",\n        \"invoiceId\": \"e0909ca3-a337-43ce-9769-d65e927b3a47\",\n        \"invoiceItemId\": \"0c153918-5128-4ecb-8570-7c9f71a500ec\",\n        \"quantity\": 1,\n        \"subscriptionId\": \"55cb6ba8-3d9b-4bc9-96c9-b478b576d306\",\n        \"totalAmount\": 10000,\n        \"type\": \"SUBSCRIPTION\"\n      }\n    ],\n    \"nextTransactionAttempt\": \"2024-01-18T06:00:04+01:00\",\n    \"paid\": false,\n    \"sddTransactions\": [],\n    \"subscriptionId\": \"55cb6ba8-3d9b-4bc9-96c9-b478b576d306\",\n    \"transactions\": [\n      \"19b41977-e973-4dd9-846e-5777459196a5\"\n    ],\n    \"transfers\": [],\n    \"type\": \"SUBSCRIPTION\"\n  },\n  \"requestId\": \"1c35bbaf-0f37-44e1-a7e5-c3f10be0a9a4\"\n}<\/code><\/pre>\n<\/details>\n<\/div><\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":9659,"menu_order":61,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"doc_badge":[],"class_list":["post-9779","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>The SUBSCRIPTION object - CentralPay Documentation<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/docs.centralpay.com\/en\/documentation\/developpeurs\/webhook-notifications\/the-subscription-object\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The SUBSCRIPTION object - CentralPay Documentation\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.centralpay.com\/en\/documentation\/developpeurs\/webhook-notifications\/the-subscription-object\/\" \/>\n<meta property=\"og:site_name\" content=\"CentralPay Documentation\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-08T15:08:28+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/documentation\\\/developpeurs\\\/webhook-notifications\\\/the-subscription-object\\\/\",\"url\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/documentation\\\/developpeurs\\\/webhook-notifications\\\/the-subscription-object\\\/\",\"name\":\"The SUBSCRIPTION object - CentralPay Documentation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/#website\"},\"datePublished\":\"2024-03-19T15:57:30+00:00\",\"dateModified\":\"2025-12-08T15:08:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/documentation\\\/developpeurs\\\/webhook-notifications\\\/the-subscription-object\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/documentation\\\/developpeurs\\\/webhook-notifications\\\/the-subscription-object\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/documentation\\\/developpeurs\\\/webhook-notifications\\\/the-subscription-object\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"D\u00e9veloppeurs\",\"item\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/documentation\\\/developpeurs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Webhook notifications\",\"item\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/documentation\\\/developpeurs\\\/webhook-notifications\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"The SUBSCRIPTION object\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/\",\"name\":\"CentralPay Documentation\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/#organization\",\"name\":\"CentralPay Documentation\",\"url\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/docs.centralpay.com\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo-centralpay-2023.png\",\"contentUrl\":\"https:\\\/\\\/docs.centralpay.com\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo-centralpay-2023.png\",\"width\":2382,\"height\":370,\"caption\":\"CentralPay Documentation\"},\"image\":{\"@id\":\"https:\\\/\\\/docs.centralpay.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The SUBSCRIPTION object - CentralPay Documentation","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/docs.centralpay.com\/en\/documentation\/developpeurs\/webhook-notifications\/the-subscription-object\/","og_locale":"en_US","og_type":"article","og_title":"The SUBSCRIPTION object - CentralPay Documentation","og_url":"https:\/\/docs.centralpay.com\/en\/documentation\/developpeurs\/webhook-notifications\/the-subscription-object\/","og_site_name":"CentralPay Documentation","article_modified_time":"2025-12-08T15:08:28+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.centralpay.com\/en\/documentation\/developpeurs\/webhook-notifications\/the-subscription-object\/","url":"https:\/\/docs.centralpay.com\/en\/documentation\/developpeurs\/webhook-notifications\/the-subscription-object\/","name":"The SUBSCRIPTION object - CentralPay Documentation","isPartOf":{"@id":"https:\/\/docs.centralpay.com\/en\/#website"},"datePublished":"2024-03-19T15:57:30+00:00","dateModified":"2025-12-08T15:08:28+00:00","breadcrumb":{"@id":"https:\/\/docs.centralpay.com\/en\/documentation\/developpeurs\/webhook-notifications\/the-subscription-object\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.centralpay.com\/en\/documentation\/developpeurs\/webhook-notifications\/the-subscription-object\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.centralpay.com\/en\/documentation\/developpeurs\/webhook-notifications\/the-subscription-object\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/docs.centralpay.com\/en\/"},{"@type":"ListItem","position":2,"name":"D\u00e9veloppeurs","item":"https:\/\/docs.centralpay.com\/en\/documentation\/developpeurs\/"},{"@type":"ListItem","position":3,"name":"Webhook notifications","item":"https:\/\/docs.centralpay.com\/en\/documentation\/developpeurs\/webhook-notifications\/"},{"@type":"ListItem","position":4,"name":"The SUBSCRIPTION object"}]},{"@type":"WebSite","@id":"https:\/\/docs.centralpay.com\/en\/#website","url":"https:\/\/docs.centralpay.com\/en\/","name":"CentralPay Documentation","description":"","publisher":{"@id":"https:\/\/docs.centralpay.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.centralpay.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/docs.centralpay.com\/en\/#organization","name":"CentralPay Documentation","url":"https:\/\/docs.centralpay.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.centralpay.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/docs.centralpay.com\/wp-content\/uploads\/2023\/07\/logo-centralpay-2023.png","contentUrl":"https:\/\/docs.centralpay.com\/wp-content\/uploads\/2023\/07\/logo-centralpay-2023.png","width":2382,"height":370,"caption":"CentralPay Documentation"},"image":{"@id":"https:\/\/docs.centralpay.com\/en\/#\/schema\/logo\/image\/"}}]}},"author_avatar":"https:\/\/secure.gravatar.com\/avatar\/0ab6fa93b0f18fc2235a0e635e81fc14b314e2bb1768930c4ac7606e1f34f470?s=96&d=mm&r=g","author_name":"centralpay_doc","_links":{"self":[{"href":"https:\/\/docs.centralpay.com\/en\/wp-json\/wp\/v2\/docs\/9779","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.centralpay.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/docs.centralpay.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/docs.centralpay.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.centralpay.com\/en\/wp-json\/wp\/v2\/comments?post=9779"}],"version-history":[{"count":5,"href":"https:\/\/docs.centralpay.com\/en\/wp-json\/wp\/v2\/docs\/9779\/revisions"}],"predecessor-version":[{"id":14453,"href":"https:\/\/docs.centralpay.com\/en\/wp-json\/wp\/v2\/docs\/9779\/revisions\/14453"}],"up":[{"embeddable":true,"href":"https:\/\/docs.centralpay.com\/en\/wp-json\/wp\/v2\/docs\/9659"}],"wp:attachment":[{"href":"https:\/\/docs.centralpay.com\/en\/wp-json\/wp\/v2\/media?parent=9779"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/docs.centralpay.com\/en\/wp-json\/wp\/v2\/doc_tag?post=9779"},{"taxonomy":"doc_badge","embeddable":true,"href":"https:\/\/docs.centralpay.com\/en\/wp-json\/wp\/v2\/doc_badge?post=9779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}