WEBHOOK
credits.grant.updated
{
  "type": "credits.grant.updated",
  "amount": 100,
  "consumedAmount": 0,
  "cost": {
    "amount": 50,
    "currency": "usd"
  },
  "currencyId": "usd",
  "customerId": "customer-test-id",
  "displayName": "Credits Grant Test",
  "effectiveAt": "2025-09-18T07:37:08.782Z",
  "entityId": "6daefa44-3667-4547-99a7-090208827332",
  "expireAt": "2025-09-18T07:37:17.607Z",
  "grantId": "1b91bd1e-f275-41a2-8d5a-aa76c9151e0e",
  "grantType": "PAID",
  "priority": 1
}

Body

application/json
type
enum<string>
required
Available options:
credits.grant.updated
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