Auto-Transfer Transactions
When an auto-transfer rule with the auto_with_approve type is triggered, it creates an auto-transfer transaction that requires manual approval before the funds are transferred.
Approval Flow
Approval Rules
When a sign-and-approve rule is configured on the wallet rule, the following checks are performed:
- Mandatory User -- If
mandatory_user_idis set, that specific user must be one of the approvers. - Priority Range -- The approver's role priority must be within
min_priorityandmax_priority(inclusive). - Minimum User Count -- The transaction requires at least
min_user_countunique approvals before it proceeds. - No Duplicate Approvals -- Each user can only approve or reject once per transaction.
Rejection
Any authorized user can reject a transaction. Once rejected, the transaction is cancelled and cannot be approved.
Endpoints
| Method | Path | Description |
|---|---|---|
| POST | /v1/wallets/{wallet_id}/auto-transfer-transactions/{id}/approve | Approve a transaction |
| POST | /v1/wallets/{wallet_id}/auto-transfer-transactions/{id}/reject | Reject a transaction |