--- title: SubscriptionBillingAttemptConnection - GraphQL Admin description: An auto-generated type for paginating through multiple SubscriptionBillingAttempts. api_version: unstable api_name: admin source_url: html: https://shopify.dev/docs/api/admin-graphql/unstable/connections/subscriptionbillingattemptconnection md: https://shopify.dev/docs/api/admin-graphql/unstable/connections/subscriptionbillingattemptconnection.md --- # Subscription​Billing​Attempt​Connection connection An auto-generated type for paginating through multiple SubscriptionBillingAttempts. ## Fields with this connection * [Subscription​Billing​Cycle.billingAttempts](https://shopify.dev/docs/api/admin-graphql/unstable/objects/SubscriptionBillingCycle#field-SubscriptionBillingCycle.fields.billingAttempts) OBJECT A subscription billing cycle. * [Subscription​Contract.billingAttempts](https://shopify.dev/docs/api/admin-graphql/unstable/objects/SubscriptionContract#field-SubscriptionContract.fields.billingAttempts) 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`](https://shopify.dev/docs/api/admin-graphql/latest/objects/SubscriptionBillingPolicy) and [`SubscriptionDeliveryPolicy`](https://shopify.dev/docs/api/admin-graphql/latest/objects/SubscriptionDeliveryPolicy) that control the frequency of charges and fulfillments. [`SubscriptionLine`](https://shopify.dev/docs/api/admin-graphql/latest/objects/SubscriptionLine) items define the products, quantities, and pricing for each recurring [`Order`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order). The contract tracks [`SubscriptionBillingAttempt`](https://shopify.dev/docs/api/admin-graphql/latest/objects/SubscriptionBillingAttempt) records, payment status, and generated orders throughout its lifecycle. [`App`](https://shopify.dev/docs/api/admin-graphql/latest/objects/App) instances manage contracts through various status transitions including active, paused, failed, cancelled, or expired states. Learn more about [building subscription contracts](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/contracts/build-a-subscription-contract) and [updating subscription contracts](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/contracts/update-a-subscription-contract). *** ## Queries with this connection * [subscription​Billing​Attempts](https://shopify.dev/docs/api/admin-graphql/unstable/queries/subscriptionBillingAttempts) query Returns subscription billing attempts on a store. *** ## Possible returns * edges [\[Subscription​Billing​Attempt​Edge!\]!](https://shopify.dev/docs/api/admin-graphql/unstable/objects/SubscriptionBillingAttemptEdge) non-null The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. * nodes [\[Subscription​Billing​Attempt!\]!](https://shopify.dev/docs/api/admin-graphql/unstable/objects/SubscriptionBillingAttempt) non-null A list of nodes that are contained in SubscriptionBillingAttemptEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. * page​Info [Page​Info!](https://shopify.dev/docs/api/admin-graphql/unstable/objects/PageInfo) non-null An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. *** ## Map ### Fields with this connection * {}[Subscription​Billing​Cycle.billingAttempts](https://shopify.dev/docs/api/admin-graphql/unstable/objects/SubscriptionBillingCycle#field-SubscriptionBillingCycle.fields.billingAttempts) * {}[Subscription​Contract.billingAttempts](https://shopify.dev/docs/api/admin-graphql/unstable/objects/SubscriptionContract#field-SubscriptionContract.fields.billingAttempts) ### Queries with this connection * \[subscription​Billing​Attempts](https://shopify.dev/docs/api/admin-graphql/unstable/queries/subscriptionBillingAttempts) ### Possible returns * <->[Subscription​Billing​Attempt​Connection.edges](https://shopify.dev/docs/api/admin-graphql/unstable/connections/SubscriptionBillingAttemptConnection#returns-edges) * <->[Subscription​Billing​Attempt​Connection.nodes](https://shopify.dev/docs/api/admin-graphql/unstable/connections/SubscriptionBillingAttemptConnection#returns-nodes) * <->[Subscription​Billing​Attempt​Connection.pageInfo](https://shopify.dev/docs/api/admin-graphql/unstable/connections/SubscriptionBillingAttemptConnection#returns-pageInfo)