Subscriptions
Delete subscription
Delete Corrily’s record of a subscription.
DELETE
Body Params
float
required
The amount (price) of the subscription.
string
Users’s two-letter ISO3166 country code.
integer
required
A 10-digit (seconds) UNIX timestamp
indicating when the subscription was created. This timestamp should represent
when the subscription was initialized, regardless of the status of the
subscription during the initialization. It’s rare to need to update created
after initially setting it.
string
required
The payment gateway that handled the subscription. Accepted values:
stripe,
paypal, chargebeestring
required
A unique identifier for the subscription. This can be the ID that the payment
gateway assigned to the subscription.
string
required
A product ID string or a payment gateway integration object. Product IDs are
created by Corrily when you set up your Corrily account. Email
support@corrily.com if you don’t know them. See the response of the calculate
price endpoint for an example of the structure of
integration objects.
string
required
The status of the subscription. Accepted values:
pending, trialing,
active, canceledstring
required
A User ID.
integer
A 10-digit (seconds) UNIX timestamp
indicating when the subscription will be canceled. In other words, the
customer will no longer have access to your service after this time. This
parameter should only be provided when
status is set to canceled.integer
A 10-digit (seconds) unix timestamp indicating when customer expressed their
intent to cancel. This parameter should only be provided when
status is set
to canceled.integer
A 10-digit (seconds) UNIX timestamp
indicating when the trial subscription ends. This parameter should only be
provided when
status is set to trialing.integer
A 10-digit (seconds) UNIX timestamp
indicating when the trial subscription begins. This parameter should only be
provided when
status is set to trialing.