Cancel an existing, active RateCardSubscription.
Learn more about calling API v2 endpoints.Parameters
- idstringRequired
The ID of the RateCardSubscription to cancel.
Returns
Response attributes
- idstring
The ID of the RateCardSubscription.
- objectstring, value is "v2.billing.rate_card_subscription"
String representing the object’s type. Objects of the same type share the same value of the object field.
- billing_
cadencestring The ID of the billing Cadence.
- collection_
statusnullable enum The payment status of a RateCardSubscription.
Possible enum valuesawaiting_
customer_ action The subscription payment is pending and requires customer action.
current
The subscription is in good standing. All payments have been successfully processed.
past_
due The subscription is currently overdue for payment. We are actively attempting to process the payment.
paused
Payment collection for the subscription is temporarily paused. The subscription may be resumed in the future, but no payments are being processed at this time.
unpaid
All attempts to collect payment for the subscription have been unsuccessful, and the outstanding balance is marked as uncollectible.
- collection_
status_ transitionsnullable object The collection status transitions of the RateCardSubscription.
- createdtimestamp
Timestamp of when the object was created.
- livemodeboolean
Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - metadatanullable map
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
- rate_
cardstring The ID of the RateCard.
- rate_
card_ versionstring The ID of the RateCardVersion.
- servicing_
statusnullable enum The servicing status of a RateCardSubscription.
Possible enum valuesactive
The provisionee of this subscription is receiving servicing.
canceled
Servicing for this subscription is canceled.
paused
The servicing for the provisionee of this subscription is paused.
pending
The subscription is pending a successful payment and is not being serviced yet.
- servicing_
status_ transitionsnullable object The servicing status transitions of the RateCardSubscription.
- test_
clocknullable string The ID of the Test Clock, if any.
Returned when the Cancel RateCardSubscription RPC is called with a status=canceled RateCardSubscription.
Returned when a RateCardSubscription by the provided ID cannot be found.
{ "id": "rcds_test_61Rc0Iuz3V1KJFCSG16RM8VQESSQ4t1K5KYFAmKUS7XM", "object": "v2.billing.rate_card_subscription", "billing_cadence": "bc_test_61Rc0IonJY96mpyHA16RM8VQESSQ4t1K5KYFAmKUSCie", "metadata": {}, "rate_card": "rcd_test_61Rc0EnUkb3UIaPVQ16RM8VQESSQ4t1K5KYFAmKUSUCG", "rate_card_version": "rcdv_test_61Rc0EnbIs6eHyCWW16RM8VQESSQ4t1K5KYFAmKUS2Nk", "collection_status": "current", "servicing_status": "canceled", "created": "2024-11-26T16:33:03.000Z", "livemode": true}
This is a list of all public thin events we currently send for updates to RateCardSubscription, which are continually evolving and expanding. The payload of thin events is unversioned. During processing, you must fetch the versioned event from the API or fetch the resource’s current state.
Event types
Attributes
- idstring
Unique identifier for the event.
- objectstring, value is "v2.core.event"
String representing the object’s type. Objects of the same type share the same value of the object field.
- contextnullable string
Authentication context needed to fetch the event or related object.
- createdtimestamp
Time at which the object was created.
- livemodeboolean
Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - reasonnullable object
Reason for the event.
- related_
objectnullable object Object containing the reference to API resource relevant to the event.
- typestring, value is "v2.billing.rate_card_subscription.activated"
The type of the event.
Fetched attributes
- dataobject
Additional data about the event.
{ "created": "2025-01-01T00:00:00.000Z", "id": "evt_65SKkWu5OkQpDEMaiRW16RuKJoESSQUtPVJKIgeI4D2O4u", "object": "v2.core.event", "type": "v2.billing.rate_card_subscription.activated", "livemode": true, "related_object": { "id": "rcds_61SKkWtdXF98pUnZ216RuKJoESSQUtPVJKIgeI4D2IcC", "type": "v2.billing.rate_card_subscription", "url": "/v2/billing/rate_card_subscriptions/rcds_61SKkWtdXF98pUnZ216RuKJoESSQUtPVJKIgeI4D2IcC" }}
{ "created": "2025-01-01T00:00:00.000Z", "id": "evt_65SKkWu5OkQpDEMaiRW16RuKJoESSQUtPVJKIgeI4D2O4u", "object": "v2.core.event", "type": "v2.billing.rate_card_subscription.activated", "livemode": true, "related_object": { "id": "rcds_61SKkWtdXF98pUnZ216RuKJoESSQUtPVJKIgeI4D2IcC", "type": "v2.billing.rate_card_subscription", "url": "/v2/billing/rate_card_subscriptions/rcds_61SKkWtdXF98pUnZ216RuKJoESSQUtPVJKIgeI4D2IcC" }, "data": {}}
Attributes
- idstring
Unique identifier for the event.
- objectstring, value is "v2.core.event"
String representing the object’s type. Objects of the same type share the same value of the object field.
- contextnullable string
Authentication context needed to fetch the event or related object.
- createdtimestamp
Time at which the object was created.
- livemodeboolean
Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - reasonnullable object
Reason for the event.
- related_
objectnullable object Object containing the reference to API resource relevant to the event.
- typestring, value is "v2.billing.rate_card_subscription.canceled"
The type of the event.
Fetched attributes
- dataobject
Additional data about the event.
{ "created": "2025-01-01T00:00:00.000Z", "id": "evt_65SJdUVzgT7qF1coE7Z16RuKJoESSQUtPVJKIgeI4D26vS", "object": "v2.core.event", "type": "v2.billing.rate_card_subscription.canceled", "livemode": true, "related_object": { "id": "rcds_61SJdTQAyZPxN9yjs16RuKJoESSQUtPVJKIgeI4D21IY", "type": "v2.billing.rate_card_subscription", "url": "/v2/billing/rate_card_subscriptions/rcds_61SJdTQAyZPxN9yjs16RuKJoESSQUtPVJKIgeI4D21IY" }}
{ "created": "2025-01-01T00:00:00.000Z", "id": "evt_65SJdUVzgT7qF1coE7Z16RuKJoESSQUtPVJKIgeI4D26vS", "object": "v2.core.event", "type": "v2.billing.rate_card_subscription.canceled", "livemode": true, "related_object": { "id": "rcds_61SJdTQAyZPxN9yjs16RuKJoESSQUtPVJKIgeI4D21IY", "type": "v2.billing.rate_card_subscription", "url": "/v2/billing/rate_card_subscriptions/rcds_61SJdTQAyZPxN9yjs16RuKJoESSQUtPVJKIgeI4D21IY" }, "data": {}}
Attributes
- idstring
Unique identifier for the event.
- objectstring, value is "v2.core.event"
String representing the object’s type. Objects of the same type share the same value of the object field.
- contextnullable string
Authentication context needed to fetch the event or related object.
- createdtimestamp
Time at which the object was created.
- livemodeboolean
Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - reasonnullable object
Reason for the event.
- related_
objectnullable object Object containing the reference to API resource relevant to the event.
- typestring, value is "v2.billing.rate_card_subscription.collection_awaiting_customer_action"
The type of the event.
Fetched attributes
- dataobject
Additional data about the event.
{ "created": "2025-01-01T00:00:00.000Z", "id": "evt_65SJcTUyfS6pE0bnD6Z16RuKJoESSQUtPVJKIgeI4D25uR", "object": "v2.core.event", "type": "v2.billing.rate_card_subscription.collection_awaiting_customer_action", "livemode": true, "related_object": { "id": "rcds_61SJcSPzxYOwM8xis16RuKJoESSQUtPVJKIgeI4D20HX", "type": "v2.billing.rate_card_subscription", "url": "/v2/billing/rate_card_subscriptions/rcds_61SJcSPzxYOwM8xis16RuKJoESSQUtPVJKIgeI4D20HX" }}
{ "created": "2025-01-01T00:00:00.000Z", "id": "evt_65SJcTUyfS6pE0bnD6Z16RuKJoESSQUtPVJKIgeI4D25uR", "object": "v2.core.event", "type": "v2.billing.rate_card_subscription.collection_awaiting_customer_action", "livemode": true, "related_object": { "id": "rcds_61SJcSPzxYOwM8xis16RuKJoESSQUtPVJKIgeI4D20HX", "type": "v2.billing.rate_card_subscription", "url": "/v2/billing/rate_card_subscriptions/rcds_61SJcSPzxYOwM8xis16RuKJoESSQUtPVJKIgeI4D20HX" }, "data": {}}
Attributes
- idstring
Unique identifier for the event.
- objectstring, value is "v2.core.event"
String representing the object’s type. Objects of the same type share the same value of the object field.
- contextnullable string
Authentication context needed to fetch the event or related object.
- createdtimestamp
Time at which the object was created.
- livemodeboolean
Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - reasonnullable object
Reason for the event.
- related_
objectnullable object Object containing the reference to API resource relevant to the event.
- typestring, value is "v2.billing.rate_card_subscription.collection_current"
The type of the event.
Fetched attributes
- dataobject
Additional data about the event.
{ "created": "2025-01-01T00:00:00.000Z", "id": "evt_65SJbSTxeR5oD9amC5Z16RuKJoESSQUtPVJKIgeI4D24tQ", "object": "v2.core.event", "type": "v2.billing.rate_card_subscription.collection_current", "livemode": true, "related_object": { "id": "rcds_61SJbROywXNvL7whs16RuKJoESSQUtPVJKIgeI4D29GW", "type": "v2.billing.rate_card_subscription", "url": "/v2/billing/rate_card_subscriptions/rcds_61SJbROywXNvL7whs16RuKJoESSQUtPVJKIgeI4D29GW" }}
{ "created": "2025-01-01T00:00:00.000Z", "id": "evt_65SJbSTxeR5oD9amC5Z16RuKJoESSQUtPVJKIgeI4D24tQ", "object": "v2.core.event", "type": "v2.billing.rate_card_subscription.collection_current", "livemode": true, "related_object": { "id": "rcds_61SJbROywXNvL7whs16RuKJoESSQUtPVJKIgeI4D29GW", "type": "v2.billing.rate_card_subscription", "url": "/v2/billing/rate_card_subscriptions/rcds_61SJbROywXNvL7whs16RuKJoESSQUtPVJKIgeI4D29GW" }, "data": {}}
Attributes
- idstring
Unique identifier for the event.
- objectstring, value is "v2.core.event"
String representing the object’s type. Objects of the same type share the same value of the object field.
- contextnullable string
Authentication context needed to fetch the event or related object.
- createdtimestamp
Time at which the object was created.
- livemodeboolean
Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - reasonnullable object
Reason for the event.
- related_
objectnullable object Object containing the reference to API resource relevant to the event.
- typestring, value is "v2.billing.rate_card_subscription.collection_past_due"
The type of the event.
Fetched attributes
- dataobject
Additional data about the event.
{ "created": "2025-01-01T00:00:00.000Z", "id": "evt_65SJYFLbcODkA5Zd7rZ16RuKJoESSQUtPVJKIgeI4D2BpA", "object": "v2.core.event", "type": "v2.billing.rate_card_subscription.collection_past_due", "livemode": true, "related_object": { "id": "rcds_61SJYD6xtUKrI0tfs16RuKJoESSQUtPVJKIgeI4D25CS", "type": "v2.billing.rate_card_subscription", "url": "/v2/billing/rate_card_subscriptions/rcds_61SJYD6xtUKrI0tfs16RuKJoESSQUtPVJKIgeI4D25CS" }}
{ "created": "2025-01-01T00:00:00.000Z", "id": "evt_65SJYFLbcODkA5Zd7rZ16RuKJoESSQUtPVJKIgeI4D2BpA", "object": "v2.core.event", "type": "v2.billing.rate_card_subscription.collection_past_due", "livemode": true, "related_object": { "id": "rcds_61SJYD6xtUKrI0tfs16RuKJoESSQUtPVJKIgeI4D25CS", "type": "v2.billing.rate_card_subscription", "url": "/v2/billing/rate_card_subscriptions/rcds_61SJYD6xtUKrI0tfs16RuKJoESSQUtPVJKIgeI4D25CS" }, "data": {}}
Attributes
- idstring
Unique identifier for the event.
- objectstring, value is "v2.core.event"
String representing the object’s type. Objects of the same type share the same value of the object field.
- contextnullable string
Authentication context needed to fetch the event or related object.
- createdtimestamp
Time at which the object was created.
- livemodeboolean
Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - reasonnullable object
Reason for the event.
- related_
objectnullable object Object containing the reference to API resource relevant to the event.
- typestring, value is "v2.billing.rate_card_subscription.collection_paused"
The type of the event.
Fetched attributes
- dataobject
Additional data about the event.
{ "created": "2025-01-01T00:00:00.000Z", "id": "evt_65SJaRSwdQ4nC8ZlB4Z16RuKJoESSQUtPVJKIgeI4D23sP", "object": "v2.core.event", "type": "v2.billing.rate_card_subscription.collection_paused", "livemode": true, "related_object": { "id": "rcds_61SJaQNxvWMuK6vgs16RuKJoESSQUtPVJKIgeI4D28FV", "type": "v2.billing.rate_card_subscription", "url": "/v2/billing/rate_card_subscriptions/rcds_61SJaQNxvWMuK6vgs16RuKJoESSQUtPVJKIgeI4D28FV" }}
{ "created": "2025-01-01T00:00:00.000Z", "id": "evt_65SJaRSwdQ4nC8ZlB4Z16RuKJoESSQUtPVJKIgeI4D23sP", "object": "v2.core.event", "type": "v2.billing.rate_card_subscription.collection_paused", "livemode": true, "related_object": { "id": "rcds_61SJaQNxvWMuK6vgs16RuKJoESSQUtPVJKIgeI4D28FV", "type": "v2.billing.rate_card_subscription", "url": "/v2/billing/rate_card_subscriptions/rcds_61SJaQNxvWMuK6vgs16RuKJoESSQUtPVJKIgeI4D28FV" }, "data": {}}
Attributes
- idstring
Unique identifier for the event.
- objectstring, value is "v2.core.event"
String representing the object’s type. Objects of the same type share the same value of the object field.
- contextnullable string
Authentication context needed to fetch the event or related object.
- createdtimestamp
Time at which the object was created.
- livemodeboolean
Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - reasonnullable object
Reason for the event.
- related_
objectnullable object Object containing the reference to API resource relevant to the event.
- typestring, value is "v2.billing.rate_card_subscription.collection_unpaid"
The type of the event.
Fetched attributes
- dataobject
Additional data about the event.
{ "created": "2025-01-01T00:00:00.000Z", "id": "evt_65SJZQRvdP3mB7YkA3Z16RuKJoESSQUtPVJKIgeI4D22rO", "object": "v2.core.event", "type": "v2.billing.rate_card_subscription.collection_unpaid", "livemode": true, "related_object": { "id": "rcds_61SJZPMwuVLtJ5ufs16RuKJoESSQUtPVJKIgeI4D27EU", "type": "v2.billing.rate_card_subscription", "url": "/v2/billing/rate_card_subscriptions/rcds_61SJZPMwuVLtJ5ufs16RuKJoESSQUtPVJKIgeI4D27EU" }}
{ "created": "2025-01-01T00:00:00.000Z", "id": "evt_65SJZQRvdP3mB7YkA3Z16RuKJoESSQUtPVJKIgeI4D22rO", "object": "v2.core.event", "type": "v2.billing.rate_card_subscription.collection_unpaid", "livemode": true, "related_object": { "id": "rcds_61SJZPMwuVLtJ5ufs16RuKJoESSQUtPVJKIgeI4D27EU", "type": "v2.billing.rate_card_subscription", "url": "/v2/billing/rate_card_subscriptions/rcds_61SJZPMwuVLtJ5ufs16RuKJoESSQUtPVJKIgeI4D27EU" }, "data": {}}
Attributes
- idstring
Unique identifier for the event.
- objectstring, value is "v2.core.event"
String representing the object’s type. Objects of the same type share the same value of the object field.
- contextnullable string
Authentication context needed to fetch the event or related object.
- createdtimestamp
Time at which the object was created.
- livemodeboolean
Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - reasonnullable object
Reason for the event.
- related_
objectnullable object Object containing the reference to API resource relevant to the event.
- typestring, value is "v2.billing.rate_card_subscription.servicing_activated"
The type of the event.
Fetched attributes
- dataobject
Additional data about the event.
{ "created": "2025-01-01T00:00:00.000Z", "id": "evt_65SKkTii5W2uQbFXIqZ16RuKJoESSQUtPVJKIgeI4D28xE", "object": "v2.core.event", "type": "v2.billing.rate_card_subscription.servicing_activated", "livemode": true, "related_object": { "id": "rcds_61SKkThVvJOfROyY416RuKJoESSQUtPVJKIgeI4D2UCm", "type": "v2.billing.rate_card_subscription", "url": "/v2/billing/rate_card_subscriptions/rcds_61SKkThVvJOfROyY416RuKJoESSQUtPVJKIgeI4D2UCm" }}
{ "created": "2025-01-01T00:00:00.000Z", "id": "evt_65SKkTii5W2uQbFXIqZ16RuKJoESSQUtPVJKIgeI4D28xE", "object": "v2.core.event", "type": "v2.billing.rate_card_subscription.servicing_activated", "livemode": true, "related_object": { "id": "rcds_61SKkThVvJOfROyY416RuKJoESSQUtPVJKIgeI4D2UCm", "type": "v2.billing.rate_card_subscription", "url": "/v2/billing/rate_card_subscriptions/rcds_61SKkThVvJOfROyY416RuKJoESSQUtPVJKIgeI4D2UCm" }, "data": {}}
Attributes
- idstring
Unique identifier for the event.
- objectstring, value is "v2.core.event"
String representing the object’s type. Objects of the same type share the same value of the object field.
- contextnullable string
Authentication context needed to fetch the event or related object.
- createdtimestamp
Time at which the object was created.
- livemodeboolean
Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - reasonnullable object
Reason for the event.
- related_
objectnullable object Object containing the reference to API resource relevant to the event.
- typestring, value is "v2.billing.rate_card_subscription.servicing_canceled"
The type of the event.
Fetched attributes
- dataobject
Additional data about the event.
{ "created": "2025-01-01T00:00:00.000Z", "id": "evt_65SJYGHqRm3bvDPUwrJ16RuKJoESSQUtPVJKIgeI4D21qN", "object": "v2.core.event", "type": "v2.billing.rate_card_subscription.servicing_canceled", "livemode": true, "related_object": { "id": "rcds_61SJYEFxtTKrH4tds16RuKJoESSQUtPVJKIgeI4D26DT", "type": "v2.billing.rate_card_subscription", "url": "/v2/billing/rate_card_subscriptions/rcds_61SJYEFxtTKrH4tds16RuKJoESSQUtPVJKIgeI4D26DT" }}
{ "created": "2025-01-01T00:00:00.000Z", "id": "evt_65SJYGHqRm3bvDPUwrJ16RuKJoESSQUtPVJKIgeI4D21qN", "object": "v2.core.event", "type": "v2.billing.rate_card_subscription.servicing_canceled", "livemode": true, "related_object": { "id": "rcds_61SJYEFxtTKrH4tds16RuKJoESSQUtPVJKIgeI4D26DT", "type": "v2.billing.rate_card_subscription", "url": "/v2/billing/rate_card_subscriptions/rcds_61SJYEFxtTKrH4tds16RuKJoESSQUtPVJKIgeI4D26DT" }, "data": {}}
Attributes
- idstring
Unique identifier for the event.
- objectstring, value is "v2.core.event"
String representing the object’s type. Objects of the same type share the same value of the object field.
- contextnullable string
Authentication context needed to fetch the event or related object.
- createdtimestamp
Time at which the object was created.
- livemodeboolean
Has the value
true
if the object exists in live mode or the valuefalse
if the object exists in test mode. - reasonnullable object
Reason for the event.
- related_
objectnullable object Object containing the reference to API resource relevant to the event.
- typestring, value is "v2.billing.rate_card_subscription.servicing_paused"
The type of the event.
Fetched attributes
- dataobject
Additional data about the event.
{ "created": "2025-01-01T00:00:00.000Z", "id": "evt_65SJYFLfEo2XvVPUgrZ16RuKJoESSQUtPVJKIgeI4D20pM", "object": "v2.core.event", "type": "v2.billing.rate_card_subscription.servicing_paused", "livemode": true, "related_object": { "id": "rcds_61SJYD6xtUKrI0tfs16RuKJoESSQUtPVJKIgeI4D25CS", "type": "v2.billing.rate_card_subscription", "url": "/v2/billing/rate_card_subscriptions/rcds_61SJYD6xtUKrI0tfs16RuKJoESSQUtPVJKIgeI4D25CS" }}
{ "created": "2025-01-01T00:00:00.000Z", "id": "evt_65SJYFLfEo2XvVPUgrZ16RuKJoESSQUtPVJKIgeI4D20pM", "object": "v2.core.event", "type": "v2.billing.rate_card_subscription.servicing_paused", "livemode": true, "related_object": { "id": "rcds_61SJYD6xtUKrI0tfs16RuKJoESSQUtPVJKIgeI4D25CS", "type": "v2.billing.rate_card_subscription", "url": "/v2/billing/rate_card_subscriptions/rcds_61SJYD6xtUKrI0tfs16RuKJoESSQUtPVJKIgeI4D25CS" }, "data": {}}
A PricingPlan describes a collection of pricing components that can be used to bill customers. To bill a customer using a PricingPlan, create a PricingPlanSubscription which links it to the corresponding Cadence.
- POST/
A PricingPlanSubscription links a PricingPlan to a specific billing Cadence. While the PricingPlanSubscription is active, Stripe will bill the Payer according to the PricingPlan’s components.
- POST/
A Quote is a way to model prices that you’d like to provide to a customer. Once accepted, it will automatically create an invoice, subscription or subscription schedule.