Skip to main content
Anchor to subscriptionBillingAttempt

subscriptionBillingAttempt

query

Returns a SubscriptionBillingAttempt resource by ID.

•ID!
required

The ID of the SubscriptionBillingAttempt to return.


Was this section helpful?

Anchor to SubscriptionBillingAttemptSubscriptionBillingAttempt
•SubscriptionBillingAttempt

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.

Show fields
•DateTime

The date and time when the billing attempt was completed.

•DateTime!
non-null

The date and time when the billing attempt was created.

•ID!
non-null

A globally-unique ID.

•String!
non-null

A unique key generated by the client to avoid duplicate payments.

•DateTime

The date and time used to calculate fulfillment intervals for a billing attempt that successfully completed after the current anchor date. To prevent fulfillment from being pushed to the next anchor date, this field can override the billing attempt date.

•String

The reference shared between retried payment attempts.

•String

The reference shared between payment attempts with similar payment details.

Anchor to respectInventoryPolicyrespectInventoryPolicy
•Boolean!
non-null

Whether the billing attempt respects the merchant's inventory policy.

Anchor to subscriptionContractsubscriptionContract
•SubscriptionContract!
non-null

The subscription contract.

Show fields
•OrderTransactionConnection!
non-null

The transactions created by the billing attempt.

Show fields

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•Int

The last n elements from the paginated list.

•Boolean
Default:false

Reverse the order of the underlying list.


•SubscriptionBillingAttemptErrorCode
Deprecated
Show enum values
•String
Deprecated
•URL
Deprecated
•Order
Deprecated
Show fields
•Boolean!
non-nullDeprecated

Was this section helpful?