Skip to main content
WEBHOOK

Body

application/json

Payload for the usage.cross_chain_fee.recorded webhook event (Privy fee on a cross-chain transfer or swap).

type
enum<string>
required

The type of webhook event.

Available options:
usage.cross_chain_fee.recorded
source_id
string
required
source_type
enum<string>
required

The type of wallet action that incurred a usage charge.

Available options:
wallet-action-transfer,
wallet-action-swap
amount_usd
string
required
Pattern: ^\d{1,24}\.\d{6}$
recorded_at
integer
required
Required range: x >= 0

Response

200

Return a 200 status to indicate that the webhook was received successfully.