Skip to main content
POST
Create a withdrawal intent

Authorizations

pid_access
string
cookie
required

JWT access token set by /auth/google/callback or /auth/refresh

Body

application/json
type
enum<string>
required
Available options:
WITHDRAW_SOL,
WITHDRAW_TOKEN
payload
object
required

Response

The created intent

id
string<uuid>
required
type
enum<string>
required
Available options:
WITHDRAW_SOL,
WITHDRAW_TOKEN
payload
object
required

Intent payload + resolved context (chain, network, smartAccountAddress)

status
enum<string>
required
Available options:
pending,
approved,
executed,
expired,
rejected,
cancelled
expiresAt
string<date-time>
required
createdAt
string<date-time>
required