Create intent mandate
Create an intent mandate draft (a pre-authorized spending budget). If the agent is already authorized the mandate moves to pending_signature; otherwise the response includes an authorizationUrl for user onboarding.
Authorizations
Agent registration JWT. Send as Authorization: Bearer <agent-jwt>.
Request Body
Request body for creating an intent mandate draft.
The intent describing the mandate's purpose and spending constraints.
Responses
Mandate draft created. agentStatus indicates whether the agent is ready to sign or needs wallet authorization.
Response returned after creating an intent mandate draft.
"ok"The created mandate identifier.
URL to surface to the user to sign the mandate, or to onboard/authorize the agent's wallet.
"uri"When the mandate expires.
"date-time"Whether the agent is ready to sign, or still needs wallet authorization.
"ready""needs_wallet_authorization"{
"status": "<string>",
"mandateId": "<string>",
"authorizationUrl": "<string>",
"expiresAt": "<string>",
"agentStatus": "<string>"
}