Webhook Content
Status Values
- active
- failed
- cancelled
- in_notice
| Key | Type | Description |
|---|---|---|
| id | integer | Internal subscription ID |
| uuid | string | Public subscription ID |
| status | string | The status of the subscription, please see Notifications (Webhooks) for more information on the status. |
| start | date | Start date of subscription |
| end | date | End date of subscription. Only set if subscription is cancelled. |
| valid_until | date | The next payment date. |
| paymentInterval | string | See PHP interval spec |
| invoice | Invoice | See documentation |
| contact | Contact | See documentation |
<?php
array(
'id' => 1,
'uuid' => '82m09f9',
'status' => 'active',
'start' => '2020-01-01',
'end' => null,
'valid_until' => '2021-01-01',
'paymentInterval' => 'P1Y',
'invoice' => Invoice,
'contact' => Contact,
);