Start a new checkout session for renewing a subscription.
POST /cms/customer/subscription/{subscription_id}/checkout
Use this when the initial renewal attempt failed and you need to collect payment details again. This will create a new unpaid payment and return the checkout session details from the payment provider.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Subscription ID
Responses
Section titled “ Responses ”Renewal successful
object
Indicates if request for renewal was successful. If not, only the subscription details are returned.
Payment provider response
object
API representation of a payment
object
Payment ID
Total price
Payment status
Response message
Last update timestamp
Payment timestamp
User ID
Payment method
Cart items
object
API representation of an ecommerce product item
object
Item ID
Description
Product ID
Product name
Price
Currency
Available
Item order
Shippable
Weight
Installments
Once per user
Is upgrade
Upgrade type
Upgrade from
Upgrade exclude items
Upgrade price web
Upgrade price mobile
Settings
object
Has image
Additional label 1
Additional label 2
Additional label 3
Diameter
Length
Depth
Width
Recurrent
Recurrent price
Recurrent start
Recurrent schedule
SKU
Prices
object
Stock enabled
Stock available
Package quantity
Related items
object
Images
Files
Product details. Deprecated to avoid circular references. Use productId instead.
object
Translations
Example
{ "en": { "name": "Name", "subtitle": "Subtitle" }, "fr": { "name": "Nom", "subtitle": "Sous-titre" }}Action data to be executed when a product item is bought
object
Example
registerSubscriptionExample
365Example
subscriptionExample
[ { "function": "registerSubscription", "param": "365", "group": "subscription" }]Action data to be executed when a product item is bought as a renewal
object
Example
registerSubscriptionExample
365Example
subscriptionExample
[ { "function": "registerSubscription", "param": "365", "group": "subscription" }]Price matrix
object
Subtotal amount
Shipping amount
Tax amount
Discount amount
Total amount
Shipping status
Authorization
Address
object
Shipping address
object
Shipping price
Tax price
API representation of a customer subscription
object
Subscription ID
Activation date
Deactivation date
User ID
Status
API representation of an ecommerce product item
object
Item ID
Description
Product ID
Product name
Price
Currency
Available
Item order
Shippable
Weight
Installments
Once per user
Is upgrade
Upgrade type
Upgrade from
Upgrade exclude items
Upgrade price web
Upgrade price mobile
Settings
object
Has image
Additional label 1
Additional label 2
Additional label 3
Diameter
Length
Depth
Width
Recurrent
Recurrent price
Recurrent start
Recurrent schedule
SKU
Prices
object
Stock enabled
Stock available
Package quantity
Related items
object
Images
Files
Product details. Deprecated to avoid circular references. Use productId instead.
object
Translations
Example
{ "en": { "name": "Name", "subtitle": "Subtitle" }, "fr": { "name": "Nom", "subtitle": "Sous-titre" }}Action data to be executed when a product item is bought
object
Example
registerSubscriptionExample
365Example
subscriptionExample
[ { "function": "registerSubscription", "param": "365", "group": "subscription" }]Action data to be executed when a product item is bought as a renewal
object
Example
registerSubscriptionExample
365Example
subscriptionExample
[ { "function": "registerSubscription", "param": "365", "group": "subscription" }]Next renewal date
Last failed order ID
Attempts
Reference order ID
Group code
Group name
Payment method
Cancellation request date
Cancellation reason
Cancellation reason (custom user text)
Currency
Bad Request
Unauthorized
Subscription not found