Mechanisms
A — Authorize trustline
RegulatedSEP-8CAP-18
For a user who needs to hold an asset before a withdrawal arrives. The holder creates a trustline; the issuer authorizes it after a compliance check.
The transaction
One transaction creates and (for regulated assets) authorizes the trustline. As always, the reserve is sponsored so the user needs no XLM.
From the SDK
The approval result
Because authorization runs through the approval server, the holder’s wallet receives a SEP-8-style result. Handle each state explicitly:
True preauthorization before the trustline exists would use a draft CAP. The builder authorizes at trustline-creation time today and exposes a flag to switch to a protocol preauthorization path later without changing the public API.