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

# payment.updated

`POST /webhook-events/payment.updated`

Fired when a payment is updated. 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.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' | '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' | 'subscription.renewal.due' | 'invoice.communication.triggered' | 'credit_note.created' | 'credit_note.updated'
  - `payment` PaymentResponse
    - `amount` string
    - `attempts` PaymentAttemptResponse[]
      - `attempt_number` integer
      - `created_at` string, date-time
      - `created_by` string
      - `error_message` string
      - `id` string
      - `metadata` TypesMetadata
      - `payment_id` string
      - `tenant_id` string
      - `updated_at` string, date-time
      - `updated_by` string
    - `created_at` string, date-time
    - `created_by` string
    - `currency` string
    - `destination_id` string
    - `destination_type` 'INVOICE'
    - `error_message` string
    - `failed_at` string, date-time
    - `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, date-time
    - `save_card_and_make_default` boolean
    - `succeeded_at` string, date-time
    - `tenant_id` string
    - `track_attempts` boolean
    - `updated_at` string, date-time
    - `updated_by` string

## Changes

- **2026-04-04** `3d452eb9ebcc` — 42 warning
  - added the new `credit_note.created` enum value to the `event_type` response property for the response status `200`
  - added the new `credit_note.updated` enum value to the `event_type` response property for the response status `200`
  - added the new `customer.created` enum value to the `event_type` response property for the response status `200`
  - added the new `customer.deleted` enum value to the `event_type` response property for the response status `200`
  - …38 more
- **2026-03-20** `fdc2d8c76b76` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/flexprice/apis/flexprice-api/changes/webhook-events/payment.updated/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/2a40f94de722/schema)
