{
"type": "usage.cross_chain_fee.recorded",
"source_id": "wa_9f3c...7b",
"source_type": "wallet-action-swap",
"amount_usd": "0.750000",
"recorded_at": 1722787200000
}Usage charges
Cross-chain swap charge recorded
Fired when Privy records its fee on a cross-chain transfer or swap for a wallet action.
WEBHOOK
usage.cross_chain_fee.recorded
{
"type": "usage.cross_chain_fee.recorded",
"source_id": "wa_9f3c...7b",
"source_type": "wallet-action-swap",
"amount_usd": "0.750000",
"recorded_at": 1722787200000
}Body
application/json
Payload for the usage.cross_chain_fee.recorded webhook event (Privy fee on a cross-chain transfer or swap).
The type of webhook event.
Available options:
usage.cross_chain_fee.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?

