---
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` string
  - `payment` DtoPaymentResponse
    - `amount` string
    - `attempts` DtoPaymentAttemptResponse[]
      - `attempt_number` integer
      - `created_at` string
      - `created_by` string
      - `error_message` string
      - `id` string
      - `metadata` TypesMetadata
      - `payment_id` string
      - `tenant_id` string
      - `updated_at` string
      - `updated_by` string
    - `created_at` string
    - `created_by` string
    - `currency` string
    - `destination_id` string
    - `destination_type` 'INVOICE'
    - `error_message` string
    - `failed_at` string
    - `gateway_metadata` TypesMetadata
    - `gateway_payment_id` string
    - `gateway_tracking_id` string
    - `id` string
    - `idempotency_key` string
    - `invoice_number` string
    - `metadata` TypesMetadata
    - `payment_gateway` string
    - `payment_method_id` string
    - `payment_method_type` 'CARD' | 'ACH' | 'OFFLINE' | 'CREDITS' | 'PAYMENT_LINK'
    - `payment_status` 'INITIATED' | 'PENDING' | 'PROCESSING' | 'SUCCEEDED' | 'OVERPAID' | 'FAILED' | 'REFUNDED' | 'PARTIALLY_REFUNDED'
    - `payment_url` string
    - `refunded_at` string
    - `save_card_and_make_default` boolean
    - `succeeded_at` string
    - `tenant_id` string
    - `track_attempts` boolean
    - `updated_at` string
    - `updated_by` string

## Changes

- **2026-03-20** `fdc2d8c76b76` — 1 info
  - endpoint added

[Change 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/fdc2d8c76b76/schema)
