---
title: "payment.failed"
method: POST
path: "/webhook-events/payment.failed"
tags: ["Webhook Events"]
---

# payment.failed

`POST /webhook-events/payment.failed`

Fired when a payment fails. Doc-only for parsing.

## Response `200`

Webhook payload

- WebhookDtoPaymentWebhookPayload
  - `event_type` 'subscription.created' | 'subscription.draft.created' | 'subscription.activated' | 'subscription.updated' | 'subscription.paused' | 'subscription.cancelled' | 'subscription.resumed' | 'subscription.plan_changed' | 'subscription.phase.created' | 'subscription.phase.updated' | 'subscription.phase.deleted' | 'feature.created' | 'feature.updated' | 'feature.deleted' | 'feature.wallet_balance.alert' | 'entitlement.created' | 'entitlement.updated' | 'entitlement.deleted' | 'wallet.created' | 'wallet.updated' | 'wallet.terminated' | 'wallet.transaction.created' | 'wallet.transaction.updated' | 'payment.created' | 'payment.updated' | 'payment.failed' | 'payment.success' | 'payment.pending' | 'customer.created' | 'customer.updated' | 'customer.deleted' | 'invoice.update.finalized' | 'invoice.update.payment' | 'invoice.update.voided' | 'invoice.update' | 'invoice.payment.overdue' | 'wallet.credit_balance.dropped' | 'wallet.credit_balance.recovered' | 'wallet.ongoing_balance.dropped' | 'wallet.ongoing_balance.recovered' | 'wallet.ongoing_balance.updated' | 'subscription.spend.threshold_reached' | 'subscription.spend.threshold_recovered' | 'subscription.line_item_spend.threshold_reached' | 'subscription.line_item_spend.threshold_recovered' | 'subscription.group_spend.threshold_reached' | 'subscription.group_spend.threshold_recovered' | 'entitlement.grant.exhausted' | 'subscription.renewal.due' | 'invoice.communication.triggered' | 'credit_note.created' | 'credit_note.updated' | 'checkout.session.initiated' | 'checkout.session.completed' | 'checkout.session.failed' | 'checkout.session.expired' | 'event.rejected'
  - `payment` WebhookDtoPayment
    - `amount` string
    - `currency` string
    - `destination_id` string
    - `destination_type` 'INVOICE' | 'CUSTOMER'
    - `error_message` string
    - `failed_at` string, date-time
    - `id` string
    - `invoice_number` string
    - `payment_gateway` string
    - `payment_method_type` 'CARD' | 'ACH' | 'OFFLINE' | 'CREDITS' | 'PAYMENT_LINK' | 'UPI'
    - `payment_status` 'INITIATED' | 'PENDING' | 'PROCESSING' | 'SUCCEEDED' | 'OVERPAID' | 'FAILED' | 'REFUNDED' | 'PARTIALLY_REFUNDED' | 'VOIDED'
    - `refunded_at` string, date-time
    - `succeeded_at` string, date-time
    - `voided_at` string, date-time

## Changes

> 108 revisions in range; 6 could not be searched.

- **2026-07-31** `50b7421a9690` — 1 warning, 1 info
  - added the new `entitlement.grant.exhausted` enum value to the `event_type` response property for the response status `200`
  - added the optional property `payment/environment_id` to the response with the `200` status
- **2026-07-15** `f8ecf435d25d` — 10 warning
  - added the new `UPI` enum value to the `payment/payment_method_type` response property for the response status `200`
  - added the new `event.rejected` enum value to the `event_type` response property for the response status `200`
  - added the new `subscription.group_spend.threshold_reached` enum value to the `event_type` response property for the response status `200`
  - added the new `subscription.group_spend.threshold_recovered` enum value to the `event_type` response property for the response status `200`
  - …6 more
- **2026-07-09** `7d57386313c7` — 1 breaking, 2 info
  - the response's body type/format changed from ``/`` to `object`/`` for status `200`
  - added the optional property `event_type` to the response with the `200` status
  - added the optional property `payment` to the response with the `200` status
- …earlier changes not shown

[Full history](https://skmtc.dev/flexprice/apis/flexprice-api/changes/webhook-events/payment.failed/post.md)

---

[API](https://skmtc.dev/flexprice/apis/flexprice-api.md) · [All operations](https://skmtc.dev/flexprice/apis/flexprice-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/flexprice/flexprice-api/revisions/9cd0dab91f5c/schema)
