{
"type": "wallet_action.swap.rejected",
"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"
}
}
]
}Swap rejected
Fired when a wallet action fails before any onchain effects (e.g. policy rejection, simulation failure). Safe to retry.
{
"type": "wallet_action.swap.rejected",
"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
Payload for the wallet_action.swap.rejected webhook event.
The type of webhook event.
wallet_action.swap.rejected The ID of the wallet action.
The ID of the wallet involved in the action.
Type of wallet action
swap, transfer, earn_deposit, earn_withdraw, earn_incentive_claim, earn_fee_collect, payout ISO 8601 timestamp of when the wallet action was created.
Chain identifier.
Token address being sold.
Token address being bought.
Amount of input token in base units. Populated after onchain confirmation.
The status of the wallet action.
rejected A description of why a wallet action (or a step within a wallet action) failed.
Show child attributes
Show child attributes
The steps of the wallet action at the time of rejection.
A wallet action step consisting of an EVM transaction.
- EVMTransactionWalletActionStep
- EVMUserOperationWalletActionStep
- SVMTransactionWalletActionStep
- TVMTransactionWalletActionStep
- ExternalTransactionWalletActionStep
- CustodianTransactionWalletActionStep
Show child attributes
Show child attributes
ISO 8601 timestamp of when the wallet action was rejected.
Developer-provided reference ID, if one was included in the request.
Response
Return a 200 status to indicate that the webhook was received successfully.
Was this page helpful?

