Prerequisites
- An active MicroVault
VAULT_ID - Its MicroVault account
CUSTOMER_ID - A target allocation that totals no more than
10000basis points; the remainder stays in idle USDC
1. Discover admitted sources
sourceId values from this response. Fetch the catalog at runtime because source availability and APYs can change.
2. Set each source mode
Choose the mode based on the movement you want to allow:
Prepare one authorization for each changed source:
3. Set target allocations
This example targets60% in one source and 30% in another. The unlisted 10% becomes the idle-USDC target.
targetBps value applies to the source at the same index. Omit zero-weight sources. No more than eight sources may have non-zero targets.