Metadata
Annotations
Input schema
Output schema
Auth
Caller’s grant must include thetreasury:yield-allocate scope. Grants whose scope set is a superset of the required scope are accepted.
Request examples
Response examples
SuccessErrors
Step-up flow
yield.allocate uses the same envelope step-up threshold as payments.initiate — step-up is not always required, only when the allocation amount exceeds the envelope’s step_up_amount_cents.
- Call
yield.allocatewith your params. If the amount is below the threshold, the allocation is enqueued immediately and you receive a success response. - If the amount is at or above the threshold, you receive
-32003withdata.step_up_url. - Redirect the principal to
step_up_url. On approval, Glide mints a one-time sigil forreason: "yield_allocate". - Re-submit the original call with
step_up_sigil: "<sigil>"added to params. The server verifies the sigil is bound toreason: "yield_allocate"and has not been redeemed.
vault.rotateSigner, the allocation row is enqueued after the sigil is redeemed in the same call — there is no separate proposal step.