WEBHOOK
credits.expired
{
  "type": "credits.expired",
  "amount": 100,
  "consumedAmount": 0,
  "cost": {
    "amount": 50,
    "currency": "usd"
  },
  "currencyId": "tokens",
  "customerId": "customer-test-id",
  "displayName": "Credits Grant Test",
  "effectiveAt": "2025-09-18T07:37:07.735Z",
  "entityId": "1759221b-a411-4f8e-8646-4d45ff7c77e6",
  "expireAt": "2025-09-18T07:37:02.331Z",
  "grantId": "af8d6744-2765-4524-bf1d-464933625cab",
  "grantType": "PAID",
  "priority": 1
}

Body

application/json
type
enum<string>
required
Available options:
credits.expired
customerId
string
required
grantId
string
required
amount
number
consumedAmount
number
cost
object
currencyId
string
displayName
string
effectiveAt
string<date-time>
entityId
string
expireAt
string<date-time>
grantType
enum<string>
Available options:
PAID,
PROMO,
ADJUSTMENT
priority
integer