modifyEarnPosition
Set or disable auto-reinvest for fixed-term OnChain positions to control earnings reinvestment.
Instructions
Set or unset auto-reinvest for a fixed-term OnChain position (SavingType=FixedTermSaving).
Notes:
Only supports
category=OnChainFlexible-term positions do not support auto-reinvest and will return
180028Various business rules may restrict enabling reinvest (inventory caps, APY decrease, etc.); disabling is always permitted unless within the forbidden window before settlement
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | ||
| productId | Yes | ||
| positionId | Yes | ||
| autoReinvest | Yes |