View as Markdown

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 data names the customer as customer_id and customer_external_id. Both are null on api_key.expiring, which is about one of your keys, not a customer.
  • Every subscription.* event carries the subscription as it stands after the change, in data.subscription.
customer.created
{
  "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"
  }
}

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.