Request a withdrawal authorization
Reserves the requested Joyride account balance and returns the signed authorization needed to submit a vault withdrawal on Solana. This endpoint does not submit the on-chain transaction.
The authenticated account must match account_id. The signed user_wallet
is the embedded wallet registered to that account; the destination may be
the connected external wallet’s USDC token account.
Reuse the same Idempotency-Key for every retry of an identical request.
A replay returns the same withdrawal id and signed bundle. Reusing a key
with different request fields returns 409.
Authorizations
JWT obtained from POST /v1/auth/verify after SIWS authentication.
Include as: Authorization: Bearer <jwt>
Headers
Client-generated key that remains stable across retries of this request.
Body
Joyride account id. Must match the authenticated JWT account claim.
x >= 01000000
Base58 Solana USDC token-account address that will receive the withdrawal.
"EVMJiDJicBLnsZABt2Zsi8afzwa4okWNaJibjxxEPJuC"
USDC decimal amount exactly representable at six-decimal precision. Insignificant trailing zeros beyond six places are accepted.
"25.12345600"
Response
Signed withdrawal authorization bundle
Unsigned 64-bit withdrawal id, represented as a decimal string.
"812"
1000000
USDC base units at six-decimal precision.
"25123456"
Core fixed-eight-decimal USDC amount.
"25.12345600"
Embedded Solana wallet authorized to withdraw from this Joyride account.
"4etJNAJtLFrJERJwejzmCA6PZGiVwP11j2mfUkGYWqwS"
Base58 Solana token-account address bound into the authorization.
"EVMJiDJicBLnsZABt2Zsi8afzwa4okWNaJibjxxEPJuC"
Base58 USDC mint address bound into the authorization.
"4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU"
Signed authorization issue time in Unix seconds.
1752000000
Signed authorization expiry time in Unix seconds.
1752000060
Canonical 256-byte WithdrawalAuthorizationV3 message.
Ed25519 signature over authorization_message_b64.
Base58 Ed25519 public key that signed the authorization.
Deployment key identifier used to sign the authorization.