Skip to main content
Anchor to SubscriptionBillingAttemptState

SubscriptionBillingAttemptState

union

Requires read_own_subscription_contracts access scope.

The state of a subscription billing attempt with state-specific data.

•OBJECT

The billing attempt state that requires an action to resolve. Must complete the action required for the billing attempt to continue being processed.

•SubscriptionBillingAttemptAction!
non-null

The action required to resolve the billing attempt.

•OBJECT

The billing attempt failed due to an error.

•SubscriptionBillingAttemptError!
non-null

The error that caused the billing attempt to fail.

•OBJECT

The billing attempt is currently being processed.

•Boolean!
non-null

Always true when the billing attempt is pending.

•OBJECT

The billing attempt completed successfully and created an order.

•Order

The order created by the successful billing attempt. May be null if the order was deleted.


Was this section helpful?

Anchor to Fields with this unionFields with this union

•OBJECT

A record of an execution of the subscription billing process. Billing attempts use idempotency keys to avoid duplicate order creation.

When a billing attempt completes successfully, it creates an Order. The attempt includes associated payment transactions and any errors that occur during billing. If 3D Secure authentication is required, the nextActionUrl field provides the redirect URL for customer verification.


Was this section helpful?