Developer changelog
Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.
New field on the CustomerPaymentMethod object
API
Effective October 01, 2021
As of the 2020-10 version of the GraphQL API, a new field is now present on the CustomerPaymentMethod
object: revokedReason
. This field can contain one of the following values:
* AUTHORIZE_NET_GATEWAY_NOT_ENABLED
* AUTHORIZE_NET_RETURNED_NO_PAYMENT_METHOD
* FAILED_TO_UPDATE_CREDIT_CARD
* STRIPE_API_AUTHENTICATION_ERROR
* STRIPE_API_INVALID_REQUEST_ERROR
* STRIPE_GATEWAY_NOT_ENABLED
* STRIPE_PAYMENT_METHOD_NOT_CARD
* STRIPE_RETURNED_NO_PAYMENT_METHOD
Updated the customerPaymentMethod API to allow querying for a reason on why a payment method was revoked.
For more information about CustomerPaymentMethod, visit our developer documentation.