Executive summary
- What changed: GraphQL Admin API version 2027-01 adds a new value, RETRY_DECLINED, to the CustomerPaymentMethod.revokedReason enum.
- Why it matters: It separates a payment processor that has refused all further charges from a card that merely exhausted Shopify's retry schedule, which are two very different recovery problems.
- Who should act: Merchants running subscriptions or recurring orders at volume, and the engineers who own billing retry, dunning, and payment failure reporting.
What changed
When Shopify stops charging a saved payment method after repeated failures, it records a reason on CustomerPaymentMethod.revokedReason. Until now, two genuinely different outcomes shared one value. A card that failed several times in a row and a card the processor had explicitly blocked both came back as TOO_MANY_CONSECUTIVE_FAILURES.
On API version 2027-01, the second case gets its own value. RETRY_DECLINED means the processor has blocked further retry attempts against that saved payment method, and a different payment method is required. On 2026-10 and earlier versions, those same revocations keep returning TOO_MANY_CONSECUTIVE_FAILURES, so nothing breaks until you move a version.
The customer_payment_methods/revoke webhook payload is unchanged. The webhook remains a trigger, not a source of truth: you still query revokedReason afterwards to learn which of the two reasons applied.
Why it matters
Conflating the two reasons costs money in both directions. TOO_MANY_CONSECUTIVE_FAILURES often describes a recoverable situation, such as a card that was temporarily short of funds, where patience and a retry window genuinely win the renewal back. RETRY_DECLINED describes a closed door. Retrying it accrues decline fees, drags down your authorization rate, and feeds processor risk scoring, all for a charge that was never going to clear.
The practical gain is message accuracy. A buyer whose processor has blocked the card needs to hear update your payment method now, with a deadline. A buyer in the generic failure bucket can sit in a softer retry sequence. Sending the first group the second message is a reliable way to lose subscribers quietly, which is exactly the kind of leak that surfaces when you audit how repeat purchases and recurring orders are automated.
Role-specific impact
- Marketers: Plan for two dunning tracks rather than one. The processor block case warrants an immediate, direct card update request; the retry exhaustion case can keep a gentler cadence.
- Developers: Audit any exhaustive switch or case statement over this enum before pinning an integration to 2027-01, or processor blocks will silently fall through to a default branch. Treat enum growth as routine, not exceptional.
- Store admins: Support scripts can stop telling buyers that another attempt is coming when the processor has already blocked the card. That one correction removes a predictable second contact.
Use-case example
Real-world scenario
Take a merchant carrying 40,000 active subscriptions with a 3 percent renewal failure rate, roughly 1,200 revoked payment methods per cycle. Under the single reason, all 1,200 entered the same seven day retry and reminder flow. Once the reasons are split and instrumented, suppose a third of them, about 400 subscribers, turn out to be processor blocks. Those 400 received three retry emails promising another attempt that could not succeed, and only reached a card update prompt on day eight. Routing them to that prompt on day one is a small code change against a meaningful slice of involuntary churn.
Implementation checklist
- Inventory every consumer of CustomerPaymentMethod.revokedReason, including middleware, ERP sync jobs, and reporting pipelines, not just the storefront app.
- Add an explicit RETRY_DECLINED branch, and confirm the default branch degrades safely for enum values that do not exist yet.
- Keep reading the reason with a follow up query after the customer_payment_methods/revoke webhook rather than inferring it from the payload.
- Split dunning into a hard card update path for RETRY_DECLINED and a retry path for TOO_MANY_CONSECUTIVE_FAILURES.
- Log the reason on every revocation so you can measure recovery rate per reason, and establish a baseline before the change ships.
- Pin the billing integration to 2027-01 only after the branches are in place, and validate the flow on a development store first.
FAQ
Q: Do we need to upgrade to 2027-01 to benefit from this?
A: Yes. On earlier versions, processor blocks continue to arrive as TOO_MANY_CONSECUTIVE_FAILURES, so the distinction is simply unavailable until the integration moves.
Q: Does the revoke webhook payload change?
A: No. It is identical. Any logic that depends on the specific reason must query CustomerPaymentMethod.revokedReason after the webhook arrives.
Resources
CustomerPaymentMethodRevocationReason enum reference, Admin API 2027-01
Need guidance? Talk to Makro.