Webhook events

subscription.payment_failed

The subscription reached status `past_due`.

The subscription reached status past_due.

ObjectSent today
subscriptionnot yet

data

FieldTypePresenceDescription
subscriptionSubscriptionalways
customerCustomeralways
orderOrderalways, may be null
paymentPaymentalways, may be null
itemsOrderLine[]always
balanceImpactBalanceImpactalways, may be null

Personal data

These paths can hold a buyer's personal data. Store and erase them as you would any:

customer.address, customer.companyName, customer.email, customer.firstName, customer.lastName, customer.name, customer.phoneDialCode, customer.phoneNumber, customer.reference, customer.taxNumber, customer.type, customer.username, items.name, payment.coupon.name, customer.phone

Example

{
  "id": "evt_01K9ZQ3T4M5N6P7R8S9T0V1W2X",
  "type": "subscription.payment_failed",
  "apiVersion": "2026-09-08",
  "occurredAt": "2026-09-04T12:00:00.000Z",
  "workspaceId": "wks_sample",
  "liveMode": true,
  "sequence": 7,
  "aggregate": {
    "type": "subscription",
    "id": "sub_sample",
    "version": 3
  },
  "traceparent": "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01",
  "data": {
    "subscription": {
      "id": "sub_sample",
      "orderId": "ord_sample_sub",
      "orderNumber": "FNG-0000-SUBSCR",
      "orderStatus": "paid",
      "status": "past_due",
      "productId": "prd_sample",
      "priceId": "prc_sample",
      "amount": {
        "amount": 1999,
        "currency": "USD"
      },
      "currentPeriodStart": "2026-09-01T00:00:00.000Z",
      "currentPeriodEnd": "2026-10-01T00:00:00.000Z",
      "cancelAtPeriodEnd": false,
      "cancelledAt": null,
      "trialStart": null,
      "trialEnd": null,
      "lastPaymentId": "pay_sample",
      "lastPaymentNumber": "FNG-0000-SUBSCR",
      "invoiceNumber": "INV-2026-000413",
      "createdAt": "2026-06-01T00:00:00.000Z"
    },
    "customer": {
      "id": "cus_sample",
      "email": "sample@example.com",
      "name": "Sample Buyer",
      "companyName": "Sample Holdings BV",
      "taxNumber": "NL123456789B01",
      "taxNumberType": "eu_vat",
      "address": {
        "line1": "12 Sample Street",
        "line2": "Unit 4",
        "city": "Amsterdam",
        "state": "North Holland",
        "postalCode": "1011 AB",
        "country": "NL"
      },
      "createdAt": "2026-08-01T09:12:44.000Z",
      "username": "samplebuyer",
      "reference": "crm-sample-0042",
      "type": "company",
      "firstName": "Sample",
      "lastName": "Buyer",
      "phoneDialCode": "+31",
      "phoneNumber": "201234567"
    },
    "order": {
      "id": "ord_sample_sub",
      "number": "FNG-0000-SUBSCR",
      "status": "paid",
      "total": {
        "amount": 3998,
        "currency": "USD"
      },
      "subtotal": {
        "amount": 3305,
        "currency": "USD"
      },
      "tax": {
        "amount": 693,
        "currency": "USD"
      },
      "fee": null,
      "discount": null,
      "discountCode": null,
      "taxBreakdown": [
        {
          "country": "NL",
          "region": null,
          "taxType": "vat",
          "taxRatePercent": "21",
          "taxBehavior": "inclusive",
          "taxable": {
            "amount": 3305,
            "currency": "USD"
          },
          "tax": {
            "amount": 693,
            "currency": "USD"
          }
        }
      ],
      "reverseCharge": false,
      "totalItems": 2,
      "country": "NL",
      "checkoutId": "chk_sample",
      "subscriptionId": "sub_sample",
      "lastPaymentId": "pay_sample",
      "lastPaymentNumber": "FNG-0000-SAMPLE",
      "invoiceNumber": "INV-2026-000412",
      "createdAt": "2026-09-04T11:58:02.000Z"
    },
    "payment": {
      "id": "pay_sample",
      "number": "FNG-0000-SUBSCR",
      "status": "paid",
      "type": "subscription_interval",
      "amount": {
        "amount": 3998,
        "currency": "USD"
      },
      "tax": {
        "amount": 693,
        "currency": "USD"
      },
      "fee": {
        "amount": 250,
        "currency": "USD"
      },
      "discount": null,
      "orderId": "ord_sample_sub",
      "orderNumber": "FNG-0000-SUBSCR",
      "subscriptionId": "sub_sample",
      "checkoutId": "chk_sample",
      "discountCode": null,
      "invoiceNumber": "INV-2026-000412",
      "createdAt": "2026-09-04T12:00:00.000Z",
      "coupon": null
    },
    "items": [
      {
        "id": "itm_sample_1",
        "productId": "prd_sample",
        "priceId": "prc_sample",
        "quantity": 2,
        "unitPrice": {
          "amount": 1999,
          "currency": "USD"
        },
        "listTotal": {
          "amount": 3998,
          "currency": "USD"
        },
        "net": {
          "amount": 3305,
          "currency": "USD"
        },
        "tax": {
          "amount": 693,
          "currency": "USD"
        },
        "gross": {
          "amount": 3998,
          "currency": "USD"
        },
        "taxRatePercent": "21",
        "taxBehavior": "inclusive",
        "taxType": "vat",
        "discount": null,
        "name": "Sample Game — Deluxe Edition",
        "variant": "var_sample_deluxe",
        "variantReference": "sku-deluxe-77",
        "productReference": "sku-sample-game",
        "priceReference": "price-deluxe-77",
        "plan": null,
        "productType": "game",
        "customFields": {
          "edition": "deluxe"
        }
      }
    ],
    "balanceImpact": null
  }
}