{
"type": "usage.gas_sponsorship.recorded",
"source_id": "wa_9f3c...7b",
"source_type": "wallet-action-swap",
"amount_usd": "0.004213",
"recorded_at": 1722787200000
}Usage charges
Gas sponsorship charge recorded
Fired when Privy records a sponsored-gas charge for a wallet action.
WEBHOOK
usage.gas_sponsorship.recorded
{
"type": "usage.gas_sponsorship.recorded",
"source_id": "wa_9f3c...7b",
"source_type": "wallet-action-swap",
"amount_usd": "0.004213",
"recorded_at": 1722787200000
}Body
application/json
Payload for the usage.gas_sponsorship.recorded webhook event (sponsored network gas).
The type of webhook event.
Available options:
usage.gas_sponsorship.recorded An opaque, stable identifier for this charge. Use it to deduplicate webhook deliveries.
The type of operation that incurred a usage charge.
Available options:
wallet-action-transfer, wallet-action-swap, rpc Pattern:
^\d{1,24}\.\d{6}$Required range:
x >= 0Response
200
Return a 200 status to indicate that the webhook was received successfully.
Was this page helpful?

