Skip to main content

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:

  1. Mandatory User -- If mandatory_user_id is set, that specific user must be one of the approvers.
  2. Priority Range -- The approver's role priority must be within min_priority and max_priority (inclusive).
  3. Minimum User Count -- The transaction requires at least min_user_count unique approvals before it proceeds.
  4. 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

MethodPathDescription
POST/v1/wallets/{wallet_id}/auto-transfer-transactions/{id}/approveApprove a transaction
POST/v1/wallets/{wallet_id}/auto-transfer-transactions/{id}/rejectReject a transaction