Early bird discounts live! Claim your offer

payment.failed

Provider rejects a charge.

When this fires

A payment provider rejects a charge — invalid card, insufficient funds, gateway risk, expired source.

Required ability

project-subscription:view-any — token must carry this at mint time to subscribe an endpoint to this event.

Payload

{
  "id": "evt_01HX...",
  "type": "payment.failed",
  "created_at": "2026-05-18T10:05:00Z",
  "api_version": "2026-05-01",
  "project_id": "prj_01HX...",
  "data": {
    "subscription_id": "sub_01HX...",
    "plan_id": "pln_01HX...",
    "subscriber_id": "usr_01HX...",
    "provider": "stripe",
    "external_payment_id": "pi_3Nxy..",
    "reason": "card_declined",
    "amount": "29.00",
    "currency": "USD"
  }
}

Field reference

FieldTypeNotes
idstring ULIDUnique event id, prefixed evt_. Use for idempotent processing.
typestringAlways payment.failed for this event.
created_atISO 8601 timestampServer-side emission time.
api_versionstringWebhook API contract version.
project_idstring ULIDProject this event belongs to.
data.subscription_idstring ULIDSubscription identifier.
data.plan_idstring ULIDPlan the subscription is on.
data.subscriber_idstring ULIDSubscriber's project-scoped user id.
data.providerstringProvider slug.
data.external_payment_idstring | nullProvider charge id when one was created; null for pre-charge rejections.
data.reasonstringProvider-supplied rejection reason or normalized code.
data.amountstring | nullAttempted amount in major units, when known.
data.currencystring | nullISO 4217 currency code, when known.

Caveats

  • Pairs with subscription.past_due on subscription-recurring failures, or with no subscription event for one-shot checkout failures.
  • A single billing cycle can produce multiple payment.failed events as the provider retries.

How is this guide?

On this page

MemberPass is a product designed by you — for you.

No boardroom full of executives deciding what we ships next. Our roadmap always shaped by you with your feedback.

Share feedback or a request