Create a Subscription
Create a new subscription with the given parameters.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
ID of the plan associated with this subscription.
When the subscription is intended to start. Must be a date in YYYY-MM-DD format or "next possible".
ID of the previous energy supplier. Required if switching from another energy supplier.
Response
Type of object is always subscription.
Unique identifier for the subscription.
Unique number for the subscription.
ID of the plan associated with this subscription.
ID of the customer associated with this subscription.
ID of the delivery address.
ID of the meter associated with this subscription.
ID of the payment method associated with this subscription.
Status of the subscription.
pending
, active
, ended
When the subscription was created.
When the subscription became active.
When the subscription was terminated.
When the subscription ended.