Skip to main content
Anchor to SubscriptionContractLastBillingErrorType

SubscriptionContractLastBillingErrorType

enum

The possible values of the last billing error on a subscription contract.

Subscription billing attempt error due to customer error.

Subscription billing attempt error due to inventory error.

All other billing attempt errors.

Subscription billing attempt error due to payment error.


Was this section helpful?

•OBJECT

A subscription contract that defines recurring purchases for a customer. Each contract specifies what products to deliver, when to bill and ship them, and at what price.

The contract includes SubscriptionBillingPolicy and SubscriptionDeliveryPolicy that control the frequency of charges and fulfillments. SubscriptionLine items define the products, quantities, and pricing for each recurring Order. The contract tracks SubscriptionBillingAttempt records, payment status, and generated orders throughout its lifecycle. App instances manage contracts through various status transitions including active, paused, failed, cancelled, or expired states.

Learn more about building subscription contracts and updating subscription contracts.


Was this section helpful?