{
  "generated_from": "hookdeck/webhook-registry",
  "registry_commit": "ff7f8825c5600d0f2b65912581fbc5ead48a2e07",
  "registry_committed_at": "2026-11-20T13:13:17Z",
  "disclaimer": "Independent reference. Not affiliated with Lago.",
  "vendor": "lago",
  "event": "invoice.payment_failure",
  "resource": "invoice",
  "url": "https://hookdeck.com/webhooks/lago/events#invoice.payment_failure",
  "description": "Invoice payment hits an error, often no valid payment method",
  "trigger": null,
  "listed_in": "https://getlago.com/docs/api-reference/webhooks/messages",
  "confidence": "documented",
  "schema_source": "official schema",
  "identified_by": "webhook_type field in the body",
  "payload": {
    "provenance": "vendor-source",
    "value_realism": "doc-example-values",
    "field_count": 14,
    "key_fields": [],
    "delivery": {
      "title": "From Lago docs",
      "content_type": "application/json",
      "headers": []
    },
    "body": {
      "webhook_type": "invoice.payment_failure",
      "object_type": "payment_provider_invoice_payment_error",
      "organization_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
      "payment_provider_invoice_payment_error": {
        "lago_invoice_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
        "lago_customer_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
        "external_customer_id": "5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba",
        "provider_customer_id": "5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba",
        "payment_provider": "stripe",
        "payment_provider_code": "stripe-eu-1",
        "provider_error": {
          "message": "Your card was declined.",
          "error_code": "card_declined"
        },
        "error_details": null
      }
    }
  }
}