{
"type": "wallet_action.swap.rejected",
"event_id": "evt_k3m2q7xrb4nd5hj6fp2tcw3y",
"wallet_action_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"wallet_id": "fmfdj6yqly31huorjqzq38zc",
"action_type": "swap",
"status": "rejected",
"created_at": "2026-06-15T15:24:00.000Z",
"rejected_at": "2026-06-15T15:24:12.000Z",
"caip2": "eip155:8453",
"input_token": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"output_token": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"input_amount": null,
"failure_reason": {
"message": "Transaction simulation reverted"
},
"steps": [
{
"type": "evm_transaction",
"status": "rejected",
"caip2": "eip155:8453",
"transaction_hash": null,
"failure_reason": {
"message": "Transaction simulation reverted"
}
}
]
}Webhooks
Swap rejected
Fired when a wallet action fails before any onchain effects (e.g. policy rejection, simulation failure). Safe to retry.
WEBHOOK
wallet_action.swap.rejected
{
"type": "wallet_action.swap.rejected",
"event_id": "evt_k3m2q7xrb4nd5hj6fp2tcw3y",
"wallet_action_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"wallet_id": "fmfdj6yqly31huorjqzq38zc",
"action_type": "swap",
"status": "rejected",
"created_at": "2026-06-15T15:24:00.000Z",
"rejected_at": "2026-06-15T15:24:12.000Z",
"caip2": "eip155:8453",
"input_token": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"output_token": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"input_amount": null,
"failure_reason": {
"message": "Transaction simulation reverted"
},
"steps": [
{
"type": "evm_transaction",
"status": "rejected",
"caip2": "eip155:8453",
"transaction_hash": null,
"failure_reason": {
"message": "Transaction simulation reverted"
}
}
]
}Body
application/json
Payload for the wallet_action.swap.rejected webhook event.
steps
(EVMTransactionWalletActionStep · object | EVMUserOperationWalletActionStep · object | SVMTransactionWalletActionStep · object | TVMTransactionWalletActionStep · object | ExternalTransactionWalletActionStep · object | CustodianTransactionWalletActionStep · object | TempoZoneSettlementWalletActionStep · object | WisdomTreeSettlementWalletActionStep · object)[]
required
The steps of the wallet action at the time of rejection; gas_credits_charged on a step may still be null when this webhook fires, so fetch the wallet action directly for up-to-date gas data.
A wallet action step consisting of an EVM transaction.
- EVMTransactionWalletActionStep
- EVMUserOperationWalletActionStep
- SVMTransactionWalletActionStep
- TVMTransactionWalletActionStep
- ExternalTransactionWalletActionStep
- CustodianTransactionWalletActionStep
- TempoZoneSettlementWalletActionStep
- WisdomTreeSettlementWalletActionStep
Show child attributes
Show child attributes
Response
200
Return a 200 status to indicate that the webhook was received successfully.
Was this page helpful?

