Mandate API
Create Setup Session
Create a session to authorize a new Intent Mandate.
POST
When a user wants to enable payments for an AI agent, your backend creates a setup session. This endpoint returns aDocumentation Index
Fetch the complete documentation index at: https://docs.delegare.dev/llms.txt
Use this file to discover all available pages before exploring further.
setupUrl where the user will securely connect their payment method and confirm spending limits.
Headers
Your merchant identifier.
Your merchant API key.
Body
The maximum amount the agent can spend in a single transaction, in cents (USD).
The maximum amount the agent can spend per calendar month, in cents (USD).
The preferred settlement rail. Options are
"stripe", "base", or "both".Response
The unique token for this setup session.
The URL to redirect the user to complete the setup process.