pub struct WalletActionTransferRejectedWebhookPayload {Show 13 fields
pub action_type: WalletActionType,
pub destination_address: String,
pub failure_reason: FailureReason,
pub source_amount: Option<String>,
pub source_asset: Option<String>,
pub source_asset_address: Option<String>,
pub source_asset_decimals: Option<i64>,
pub source_chain: String,
pub status: WalletActionTransferRejectedWebhookPayloadStatus,
pub steps: Vec<WalletActionStep>,
pub type_: WalletActionTransferRejectedWebhookPayloadType,
pub wallet_action_id: String,
pub wallet_id: String,
}Expand description
Payload for the wallet_action.transfer.rejected webhook event.
JSON schema
{
"title": "WalletActionTransferRejectedWebhookPayload",
"description": "Payload for the wallet_action.transfer.rejected webhook
event.",
"type": "object",
"required": [
"action_type",
"destination_address",
"failure_reason",
"source_chain",
"status",
"steps",
"type",
"wallet_action_id",
"wallet_id"
],
"properties": {
"action_type": {
"$ref": "#/components/schemas/WalletActionType"
},
"destination_address": {
"description": "Recipient address.",
"type": "string"
},
"failure_reason": {
"$ref": "#/components/schemas/FailureReason"
},
"source_amount": {
"description": "Decimal amount sent on the source chain (e.g.
\"1.5\"). Omitted for exact_output cross-chain transfers until the
source amount is determined.",
"type": "string"
},
"source_asset": {
"description": "Asset identifier (e.g. \"usdc\", \"eth\"). Present
when the transfer was initiated with a named asset; omitted for
custom-token transfers.",
"type": "string"
},
"source_asset_address": {
"description": "Token contract address (EVM) or mint address
(Solana). Present when the transfer was initiated with
`asset_address`.",
"type": "string"
},
"source_asset_decimals": {
"description": "Number of decimals for the transferred token.
Present when the transfer was initiated with `asset_address` and the
decimals were resolved on-chain.",
"type": "integer"
},
"source_chain": {
"description": "Chain name (e.g. \"base\", \"ethereum\").",
"type": "string"
},
"status": {
"description": "The status of the wallet action.",
"type": "string",
"enum": [
"rejected"
]
},
"steps": {
"description": "The steps of the wallet action at the time of
rejection.",
"type": "array",
"items": {
"$ref": "#/components/schemas/WalletActionStep"
}
},
"type": {
"description": "The type of webhook event.",
"type": "string",
"enum": [
"wallet_action.transfer.rejected"
]
},
"wallet_action_id": {
"description": "The ID of the wallet action.",
"type": "string"
},
"wallet_id": {
"description": "The ID of the wallet involved in the action.",
"type": "string"
}
},
"x-stainless-model":
"webhooks.wallet_action_transfer_rejected_webhook_payload"
}Fields§
§action_type: WalletActionType§destination_address: StringRecipient address.
failure_reason: FailureReason§source_amount: Option<String>Decimal amount sent on the source chain (e.g. “1.5”). Omitted for exact_output cross-chain transfers until the source amount is determined.
source_asset: Option<String>Asset identifier (e.g. “usdc”, “eth”). Present when the transfer was initiated with a named asset; omitted for custom-token transfers.
source_asset_address: Option<String>Token contract address (EVM) or mint address (Solana). Present when
the transfer was initiated with asset_address.
source_asset_decimals: Option<i64>Number of decimals for the transferred token. Present when the
transfer was initiated with asset_address and the decimals were
resolved on-chain.
source_chain: StringChain name (e.g. “base”, “ethereum”).
status: WalletActionTransferRejectedWebhookPayloadStatusThe status of the wallet action.
steps: Vec<WalletActionStep>The steps of the wallet action at the time of rejection.
type_: WalletActionTransferRejectedWebhookPayloadTypeThe type of webhook event.
wallet_action_id: StringThe ID of the wallet action.
wallet_id: StringThe ID of the wallet involved in the action.
Trait Implementations§
Source§impl Clone for WalletActionTransferRejectedWebhookPayload
impl Clone for WalletActionTransferRejectedWebhookPayload
Source§fn clone(&self) -> WalletActionTransferRejectedWebhookPayload
fn clone(&self) -> WalletActionTransferRejectedWebhookPayload
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more