Subscriptions
Last updated
Last updated
The Subscriptions resource is a key component in managing recurring billing for digital services or products. It allows businesses to automate payment processes, ensuring a seamless and consistent customer experience. By defining the details of a recurring subscription order, this resource helps in tracking and maintaining customer engagement through personalized and flexible billing cycles.
Gets the Subscriptions specified in the request.
/subscriptions
The identifier of the plan associated with the subscriptions you want to retrieve.
The state associated with the subscriptions you want to retrieve.
The identifer of the subscribing customer of the subscriptions you want to retrieve.
A cursor for use in pagination. The endingBefore parameter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with xzy, your subsequent calls can include endingBefore=xzy in order to fetch the previous page of the list.
A cursor for use in pagination. The startingAfter parameter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with xzy, your subsequent calls can include startingAfter=xzy in order to fetch the next page of the list.
A limit on the number of objects returned. Limit can range between 1 and 100, and the default is 10.
Retrieves the details of a Subscription.
/subscriptions/{id}
Subscription identifier.
Updates the specified Subscription
/subscriptions/{id}
The Subscription identifier.
The Plan identifier.
string
The identifier of the client application that created the subscription.
test
A locale designator that combines the two-letter ISO 639-1 language code with a ISO 3166-1 alpha-2 country code.
de_DE
The unique identifier of the subscription's reusable payment source.
exampleSourceId
Key-value pairs used to store additional data. Value can be string, boolean or integer types.
{"coupon":"iOS"}
The state of the subscription
active
cancelled
, active
Permanently deletes a subscription. Supply the unique identifier of the Subscription.
/subscriptions/{id}
Subscription identifier
No body