Treasury webhook events are delivered inside the standard envelope described on the General page. The data.object field contains a Deposit or Withdrawal resource.
Deposit Events
| Event | Fired when |
|---|---|
deposit.created | Deposit record is created |
deposit.submitted | Deposit has been submitted for processing |
deposit.confirmed | Deposit is confirmed on-chain or by the partner |
Withdrawal Events
| Event | Fired when |
|---|---|
withdrawal.created | Withdrawal record is created |
withdrawal.submitted | Withdrawal has been submitted for processing |
withdrawal.confirmed | Withdrawal is confirmed on-chain or by the partner |
Step Events
Once a deposit or withdrawal begins execution, individual step lifecycle events fire as each step progresses:
| Event | Fired when |
|---|---|
step.submitted | Step has been submitted for execution |
step.confirmed | Step execution is confirmed on-chain or by the partner |
step.finalized | Step has reached finality |
step.completed | Step finished successfully |
step.failed | Step encountered an error and could not complete |
The data.object for step events is a TransferStep resource.
Payload
The data.object in each event contains the full resource. For the complete field reference, see the Deposit schema and Withdrawal schema.
Last modified on