Creates a new subscription.
Configure which environment the request will handle. If the provided credentials do not allow access to this specified environment, a 403 Forbidden response is returned.
Three-letter ISO currency code, in lowercase. Must be a supported currency (https://go.plude.io/h11101).
Id of the customer to subscribe.
Start of the current term of the subscription.
A description, meant to be displayable to the customer.
End of the current term of the subscription. If null the subscription is evergreen. At the end of term the subscription will automatically renew if 'autoRenewal' is set to true.
If true, the subscription will automatically renew at the end of the term. 'End' must be set.
A list of up to 20 subscription items, each with an attached price and product.
Set of key-value pairs that you can freely use to store additional information about your subscription.
OK
Id of subscription.
A unique handle of the subscription.
Currency of the subscription.
"USD"
For termed subscription, auto renewal is optional and will automatically renew the subscription.
Items of the subscription.