--- title: SubscriptionBillingAttemptPaymentError - GraphQL Admin description: A payment-related error that occurred during a subscription billing attempt. api_version: unstable api_name: admin source_url: html: >- https://shopify.dev/docs/api/admin-graphql/unstable/objects/SubscriptionBillingAttemptPaymentError md: >- https://shopify.dev/docs/api/admin-graphql/unstable/objects/SubscriptionBillingAttemptPaymentError.md --- # Subscription​Billing​Attempt​Payment​Error object Requires `read_own_subscription_contracts` access scope. A payment-related error that occurred during a subscription billing attempt. ## Fields * code [Subscription​Billing​Attempt​Payment​Error​Code!](https://shopify.dev/docs/api/admin-graphql/unstable/enums/SubscriptionBillingAttemptPaymentErrorCode) non-null The error code for the payment failure. *** ## Map ### Possible type in * [Subscription​Billing​Attempt​Error](https://shopify.dev/docs/api/admin-graphql/unstable/unions/SubscriptionBillingAttemptError)