Event catalogue
Every event GlobalyMint sends, with an example body. Generated from the event list the server and the SDK share.
Every body has the same fields: id, type, created, api_version, mode and data, plus test: true on a test event. Only data changes from one type to the next. See What we send.
- Money is a string of whole minor units, such as
"24500"for $245.00. It is never a decimal number. - Times are ISO-8601 in UTC.
- Every
datanames the customer ascustomer_idandcustomer_external_id. Both arenullonapi_key.expiring, which is about one of your keys, not a customer. - Every
subscription.*event carries the subscription as it stands after the change, indata.subscription.
{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "customer.created",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"email": "billing@example.com",
"external_id": "ws_123",
"customer_external_id": "ws_123"
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "customer.updated",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"customer_external_id": "ws_123",
"changed": [
"email",
"tax_id"
]
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "customer.balance_updated",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"currency": "USD",
"amount_cents": "-1500",
"balance_cents": "-1500",
"source_type": "credit_note",
"source_id": "c3d4e5f6-0a1b-4c2d-8e3f-4a5b6c7d8e9f",
"balance_transaction_id": "d4e5f6a7-1b2c-4d3e-9f4a-5b6c7d8e9f0a",
"customer_external_id": "ws_123"
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "subscription.created",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"subscription_id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"status": "active",
"quantity": 5,
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"customer_external_id": "ws_123",
"subscription": {
"id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"status": "active",
"plan_id": "7a2d9c4e-1f3b-4e5a-9b6c-0d1e2f3a4b5c",
"plan_code": "pro_monthly",
"plan_version": 1,
"quantity": 5,
"currency": "USD",
"current_period_start": "2026-11-01T00:00:00.000Z",
"current_period_end": "2026-12-01T00:00:00.000Z",
"cancel_at_period_end": false,
"pending_plan_id": null
}
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "subscription.updated",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"subscription_id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"quantity": 8,
"previous_quantity": 5,
"proration": "invoiced",
"proration_cents": "1470",
"invoice_id": "9f8e7d6c-5b4a-4c3d-a2b1-0c9d8e7f6a5b",
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"customer_external_id": "ws_123",
"subscription": {
"id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"status": "active",
"plan_id": "7a2d9c4e-1f3b-4e5a-9b6c-0d1e2f3a4b5c",
"plan_code": "pro_monthly",
"plan_version": 1,
"quantity": 8,
"currency": "USD",
"current_period_start": "2026-11-01T00:00:00.000Z",
"current_period_end": "2026-12-01T00:00:00.000Z",
"cancel_at_period_end": false,
"pending_plan_id": null
}
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "subscription.paused",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"subscription_id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"from": "active",
"to": "paused",
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"customer_external_id": "ws_123",
"subscription": {
"id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"status": "paused",
"plan_id": "7a2d9c4e-1f3b-4e5a-9b6c-0d1e2f3a4b5c",
"plan_code": "pro_monthly",
"plan_version": 1,
"quantity": 5,
"currency": "USD",
"current_period_start": "2026-11-01T00:00:00.000Z",
"current_period_end": "2026-12-01T00:00:00.000Z",
"cancel_at_period_end": false,
"pending_plan_id": null
}
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "subscription.resumed",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"subscription_id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"period_start": "2026-11-18T09:30:00.000Z",
"period_end": "2026-12-18T09:30:00.000Z",
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"customer_external_id": "ws_123",
"subscription": {
"id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"status": "active",
"plan_id": "7a2d9c4e-1f3b-4e5a-9b6c-0d1e2f3a4b5c",
"plan_code": "pro_monthly",
"plan_version": 1,
"quantity": 5,
"currency": "USD",
"current_period_start": "2026-11-18T09:30:00.000Z",
"current_period_end": "2026-12-18T09:30:00.000Z",
"cancel_at_period_end": false,
"pending_plan_id": null
}
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "subscription.canceled",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"subscription_id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"from": "active",
"to": "canceled",
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"customer_external_id": "ws_123",
"subscription": {
"id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"status": "canceled",
"plan_id": "7a2d9c4e-1f3b-4e5a-9b6c-0d1e2f3a4b5c",
"plan_code": "pro_monthly",
"plan_version": 1,
"quantity": 5,
"currency": "USD",
"current_period_start": "2026-11-01T00:00:00.000Z",
"current_period_end": "2026-12-01T00:00:00.000Z",
"cancel_at_period_end": false,
"pending_plan_id": null
}
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "subscription.renewed",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"subscription_id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"period_start": "2026-12-01T00:00:00.000Z",
"period_end": "2027-01-01T00:00:00.000Z",
"invoice_id": "9f8e7d6c-5b4a-4c3d-a2b1-0c9d8e7f6a5b",
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"customer_external_id": "ws_123",
"subscription": {
"id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"status": "active",
"plan_id": "7a2d9c4e-1f3b-4e5a-9b6c-0d1e2f3a4b5c",
"plan_code": "pro_monthly",
"plan_version": 1,
"quantity": 5,
"currency": "USD",
"current_period_start": "2026-12-01T00:00:00.000Z",
"current_period_end": "2027-01-01T00:00:00.000Z",
"cancel_at_period_end": false,
"pending_plan_id": null
}
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "subscription.trial_will_end",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"subscription_id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"trial_end": "2026-11-21T00:00:00.000Z",
"customer_external_id": "ws_123",
"subscription": {
"id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"status": "trialing",
"plan_id": "7a2d9c4e-1f3b-4e5a-9b6c-0d1e2f3a4b5c",
"plan_code": "pro_monthly",
"plan_version": 1,
"quantity": 5,
"currency": "USD",
"current_period_start": "2026-11-01T00:00:00.000Z",
"current_period_end": "2026-12-01T00:00:00.000Z",
"cancel_at_period_end": false,
"pending_plan_id": null
}
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "subscription.discount_applied",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"subscription_id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"discount_id": "a1b2c3d4-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
"coupon_id": "b2c3d4e5-6f7a-4b8c-9d0e-1f2a3b4c5d6e",
"promotion_code_id": null,
"customer_external_id": "ws_123",
"subscription": {
"id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"status": "active",
"plan_id": "7a2d9c4e-1f3b-4e5a-9b6c-0d1e2f3a4b5c",
"plan_code": "pro_monthly",
"plan_version": 1,
"quantity": 5,
"currency": "USD",
"current_period_start": "2026-11-01T00:00:00.000Z",
"current_period_end": "2026-12-01T00:00:00.000Z",
"cancel_at_period_end": false,
"pending_plan_id": null
}
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "subscription.discount_removed",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"subscription_id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"discount_id": "a1b2c3d4-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
"coupon_id": "b2c3d4e5-6f7a-4b8c-9d0e-1f2a3b4c5d6e",
"customer_external_id": "ws_123",
"subscription": {
"id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"status": "active",
"plan_id": "7a2d9c4e-1f3b-4e5a-9b6c-0d1e2f3a4b5c",
"plan_code": "pro_monthly",
"plan_version": 1,
"quantity": 5,
"currency": "USD",
"current_period_start": "2026-11-01T00:00:00.000Z",
"current_period_end": "2026-12-01T00:00:00.000Z",
"cancel_at_period_end": false,
"pending_plan_id": null
}
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "subscription.renewal_upcoming",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"subscription_id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"renewal_at": "2026-12-01T00:00:00.000Z",
"next_period_end": "2027-12-01T00:00:00.000Z",
"plan_id": "7a2d9c4e-1f3b-4e5a-9b6c-0d1e2f3a4b5c",
"quantity": 5,
"currency": "USD",
"amount_cents": "53900",
"tax_cents": "4900",
"tax_inclusive": false,
"price_change_id": null,
"customer_email": true,
"customer_external_id": "ws_123",
"subscription": {
"id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"status": "active",
"plan_id": "7a2d9c4e-1f3b-4e5a-9b6c-0d1e2f3a4b5c",
"plan_code": "pro_annual",
"plan_version": 1,
"quantity": 5,
"currency": "USD",
"current_period_start": "2025-12-01T00:00:00.000Z",
"current_period_end": "2026-12-01T00:00:00.000Z",
"cancel_at_period_end": false,
"pending_plan_id": null
}
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "subscription.price_change_scheduled",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"subscription_id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"price_change_id": "e5f6a7b8-2c3d-4e4f-8a5b-6c7d8e9f0a1b",
"from_plan_id": "7a2d9c4e-1f3b-4e5a-9b6c-0d1e2f3a4b5c",
"to_plan_id": "8b3e0d5f-2a4c-4f6b-8c7d-1e2f3a4b5c6d",
"effective_at": "2027-01-01T00:00:00.000Z",
"applies_at": "2027-01-01T00:00:00.000Z",
"currency": "USD",
"old_amount_cents": "24500",
"new_amount_cents": "29500",
"tax_inclusive": false,
"customer_email": true,
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"customer_external_id": "ws_123",
"subscription": {
"id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"status": "active",
"plan_id": "7a2d9c4e-1f3b-4e5a-9b6c-0d1e2f3a4b5c",
"plan_code": "pro_monthly",
"plan_version": 1,
"quantity": 5,
"currency": "USD",
"current_period_start": "2026-11-01T00:00:00.000Z",
"current_period_end": "2026-12-01T00:00:00.000Z",
"cancel_at_period_end": false,
"pending_plan_id": null
}
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "subscription.price_change_applied",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"subscription_id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"price_change_id": "e5f6a7b8-2c3d-4e4f-8a5b-6c7d8e9f0a1b",
"from_plan_id": "7a2d9c4e-1f3b-4e5a-9b6c-0d1e2f3a4b5c",
"to_plan_id": "8b3e0d5f-2a4c-4f6b-8c7d-1e2f3a4b5c6d",
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"customer_external_id": "ws_123",
"subscription": {
"id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"status": "active",
"plan_id": "8b3e0d5f-2a4c-4f6b-8c7d-1e2f3a4b5c6d",
"plan_code": "pro_monthly",
"plan_version": 2,
"quantity": 5,
"currency": "USD",
"current_period_start": "2026-11-01T00:00:00.000Z",
"current_period_end": "2026-12-01T00:00:00.000Z",
"cancel_at_period_end": false,
"pending_plan_id": null
}
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "subscription.price_change_canceled",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"subscription_id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"price_change_id": "e5f6a7b8-2c3d-4e4f-8a5b-6c7d8e9f0a1b",
"reason": "merchant_canceled",
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"customer_external_id": "ws_123",
"subscription": {
"id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"status": "active",
"plan_id": "7a2d9c4e-1f3b-4e5a-9b6c-0d1e2f3a4b5c",
"plan_code": "pro_monthly",
"plan_version": 1,
"quantity": 5,
"currency": "USD",
"current_period_start": "2026-11-01T00:00:00.000Z",
"current_period_end": "2026-12-01T00:00:00.000Z",
"cancel_at_period_end": false,
"pending_plan_id": null
}
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "invoice.created",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"invoice_id": "9f8e7d6c-5b4a-4c3d-a2b1-0c9d8e7f6a5b",
"status": "draft",
"total_cents": "24500",
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"customer_external_id": "ws_123"
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "invoice.finalized",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"invoice_id": "9f8e7d6c-5b4a-4c3d-a2b1-0c9d8e7f6a5b",
"from": "draft",
"to": "finalized",
"reason": null,
"invoice_number": "INV-2026-00042",
"total_cents": "24500",
"currency": "USD",
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"customer_external_id": "ws_123",
"subscription_id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"metadata": {},
"amount_paid_cents": "0",
"collection_method": "charge_automatically",
"due_date": null
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "invoice.paid",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"invoice_id": "9f8e7d6c-5b4a-4c3d-a2b1-0c9d8e7f6a5b",
"from": "finalized",
"to": "paid",
"reason": null,
"invoice_number": "INV-2026-00042",
"total_cents": "24500",
"currency": "USD",
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"customer_external_id": "ws_123",
"subscription_id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"metadata": {},
"amount_paid_cents": "24500",
"collection_method": "charge_automatically",
"due_date": null
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "invoice.payment_failed",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"invoice_id": "9f8e7d6c-5b4a-4c3d-a2b1-0c9d8e7f6a5b",
"attempt_id": "f6a7b8c9-3d4e-4f5a-9b6c-7d8e9f0a1b2c",
"attempt_no": 1,
"decline_code": "insufficient_funds",
"decline_class": "retry_schedule",
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"customer_external_id": "ws_123"
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "invoice.voided",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"invoice_id": "9f8e7d6c-5b4a-4c3d-a2b1-0c9d8e7f6a5b",
"from": "finalized",
"to": "void",
"reason": "issued in error",
"invoice_number": "INV-2026-00042",
"total_cents": "24500",
"currency": "USD",
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"customer_external_id": "ws_123",
"subscription_id": null,
"metadata": {},
"amount_paid_cents": "0",
"collection_method": "send_invoice",
"due_date": "2026-12-15"
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "invoice.uncollectible",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"invoice_id": "9f8e7d6c-5b4a-4c3d-a2b1-0c9d8e7f6a5b",
"from": "finalized",
"to": "uncollectible",
"reason": "dunning_exhausted",
"invoice_number": "INV-2026-00042",
"total_cents": "24500",
"currency": "USD",
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"customer_external_id": "ws_123",
"subscription_id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"metadata": {},
"amount_paid_cents": "0",
"collection_method": "charge_automatically",
"due_date": null
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "credit_note.issued",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"credit_note_id": "c3d4e5f6-0a1b-4c2d-8e3f-4a5b6c7d8e9f",
"number": "CN-2026-00003",
"invoice_id": "9f8e7d6c-5b4a-4c3d-a2b1-0c9d8e7f6a5b",
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"amount_cents": "1500",
"currency": "USD",
"credit_to": "balance",
"reason": "service outage",
"customer_external_id": "ws_123"
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "payment.succeeded",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"invoice_id": "9f8e7d6c-5b4a-4c3d-a2b1-0c9d8e7f6a5b",
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"customer_external_id": "ws_123",
"subscription_id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"amount_cents": "24500",
"currency": "USD",
"method": "card",
"reference": "pi_3ExampleOnly",
"payment_attempt_id": "f6a7b8c9-3d4e-4f5a-9b6c-7d8e9f0a1b2c"
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "payment.refunded",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"refund_id": "a7b8c9d0-4e5f-4a6b-8c7d-8e9f0a1b2c3d",
"invoice_id": "9f8e7d6c-5b4a-4c3d-a2b1-0c9d8e7f6a5b",
"gateway_refund_id": "re_3ExampleOnly",
"amount_cents": "24500",
"currency": "USD",
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"customer_external_id": "ws_123"
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "checkout.session.completed",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"checkout_session_id": "b8c9d0e1-5f6a-4b7c-9d8e-9f0a1b2c3d4e",
"mode": "subscription",
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"subscription_id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"invoice_id": "9f8e7d6c-5b4a-4c3d-a2b1-0c9d8e7f6a5b",
"amount_due_cents": "24500",
"currency": "USD",
"metadata": {},
"customer_external_id": "ws_123"
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "payment_method.attached",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"payment_method_id": "c9d0e1f2-6a7b-4c8d-8e3f-0a1b2c3d4e5f",
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"gateway_pm_id": "pm_1ExampleOnly",
"gateway": "stripe",
"is_default": true,
"brand": "visa",
"last4": "4242",
"customer_external_id": "ws_123"
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "dunning.retry.scheduled",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"invoice_id": "9f8e7d6c-5b4a-4c3d-a2b1-0c9d8e7f6a5b",
"attempt_id": "f6a7b8c9-3d4e-4f5a-9b6c-7d8e9f0a1b2c",
"attempt_no": 1,
"scheduled_at": "2026-11-21T09:30:00.000Z",
"decline_class": "retry_schedule",
"decline_code": "insufficient_funds",
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"customer_external_id": "ws_123"
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "dunning.campaign.exhausted",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"invoice_id": "9f8e7d6c-5b4a-4c3d-a2b1-0c9d8e7f6a5b",
"attempt_id": "f6a7b8c9-3d4e-4f5a-9b6c-7d8e9f0a1b2c",
"subscription_id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"reason": "dunning_exhausted",
"final_action": "cancel",
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"customer_external_id": "ws_123"
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "entitlements.updated",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"customer": {
"id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"externalId": "ws_123"
},
"plan": "pro_monthly",
"status": "active",
"subscription": {
"id": "5e1c7a90-2b4d-4f6a-8c3e-9d0f1a2b3c4d",
"status": "active"
},
"seats": {
"purchased": 5
},
"periodEnd": "2026-12-01T00:00:00Z",
"features": {
"api.access": true
},
"limits": {
"envelopes.monthly": 500,
"projects": null
},
"credits": {
"ai": {
"granted": 1000,
"used": 120,
"remaining": 880
}
},
"usage": {
"envelope.sent": {
"used": 120,
"included": 500,
"overage": 0
}
},
"version": 7,
"customer_id": "0b8f6c1e-3d2a-4a57-9c41-7e5d2f8a1b90",
"customer_external_id": "ws_123"
}
}{
"id": "6f1d2c3b-4a59-4e68-9f70-8a1b2c3d4e5f",
"type": "api_key.expiring",
"created": "2026-11-21T03:14:15.926Z",
"api_version": "2026-07-01",
"mode": "live",
"data": {
"api_key_id": "5e6f7a8b-9c0d-4e1f-8a2b-3c4d5e6f7a8b",
"name": "Production server",
"key_type": "developer",
"key_prefix": "gpy_",
"key_hint": "x7Qa",
"expires_at": "2026-12-01T09:30:00.000Z",
"days_remaining": 7,
"customer_id": null,
"customer_external_id": null
}
}Coming
In the SDK
MINT_EVENT_TYPES is the same list at runtime, and MintEvent is its type. The verified event also has timestamp, the Unix seconds from the signature header.