Subscription
Webhook Content
Status Values
- active
- failed
- cancelled
- in_notice
Key | Type | Description |
---|---|---|
id | integer | Internal subscription ID |
uuid | string | Public subscription ID |
status | string | For more information on the status of the subscription, please see Notifications (Webhooks) |
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 invoice documentation |
contact | Contact | See contact 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,
);
Updated 7 months ago