Four tools manage Veil usernames. ADocumentation Index
Fetch the complete documentation index at: https://docs.useveil.co/llms.txt
Use this file to discover all available pages before exploring further.
@handle lets others send offramps directly to you without seeing your bank details. See Usernames for the full concept.
veil_username_check
Check whether a handle is available for claiming. Use this beforeveil_username_claim to avoid a failed attempt.
Inputs
Handle to check, without the
@ prefix.true if the handle is free to claim.Explanation when
available is false (e.g. taken, invalid format, reserved).veil_username_claim
Claim a permanent@handle. Handles are 3–30 characters: letters, digits, and underscores only.
Requires a recent email verification (a successful veil_verify_otp within the last 10 minutes). If status is step_up_required, ask the user to verify their email and retry.
Inputs
Handle to claim, without the
@ prefix.claimed on success. taken if the handle was taken. step_up_required if re-verification is needed. error on other failures.Canonical form of the claimed handle.
Display form including the
@ prefix.ISO 8601 timestamp when the handle was claimed.
Error description on failure.
veil_username_rename
Rename your@handle. The old handle is released and the new one is claimed atomically. Subject to a cooldown after each rename.
Requires a recent email verification. Returns status: step_up_required if re-verification is needed.
Inputs
New handle to claim, without the
@ prefix.renamed on success. taken if the new handle is taken. cooldown if the rename cooldown is active. step_up_required if re-verification is needed. error on other failures.New canonical handle.
New display handle.
The handle that was replaced.
When the new handle was claimed.
When the cooldown expires. Present when
status is cooldown.Error description on failure.
veil_username_beneficiary_preview
Resolve a@handle to a recipient’s bank account and check if they are ready to receive offramps. Call this before quoting or executing a send-to-handle offramp.
When status is ready, the response includes a bindingHint containing a short-lived binding token. Pass that token to veil_offramp_quote and veil_offramp_execute as bindingToken to lock in the recipient and prevent drift between preview and execute.
Inputs
Recipient’s handle, with or without the
@ prefix.ready when the recipient can receive offramps. not_ready if they haven’t completed onboarding. cooldown if their bank account is on a security hold. not_found if the handle doesn’t exist. self if you look up your own handle. error on other failures.The recipient’s display handle.
When the security hold ends. Present when
status is cooldown.Instruction that includes the binding token value. Present when
status is ready. Pass the token to veil_offramp_quote and veil_offramp_execute as bindingToken.Error or explanatory message on non-ready statuses.
See also
- Usernames — handle routing and the recipient model
- Offramp tools — using
beneficiaryUsernameandbindingTokenin quotes and executes