List all policies
Endpoint
Authentication
All requests must include a valid bearer token in theAuthorization header, or a pay3_session cookie obtained during wallet authentication.
Response
Returns an array of policy objects, ordered newest-first. Soft-deleted policies (isActive: false) are excluded.
Response fields
string
required
Unique UUID for this policy.
string
required
Display name you assigned when the policy was created.
string
required
The preset template this policy was created from. One of:
CONSERVATIVE— $100/day, $20/tx, approval above $15, 24-hour sessionsBALANCED— $500/day, $100/tx, approval above $250, 7-day sessionsDEFI— $1,000/day, $250/tx, approval above $500, 7-day sessionsCUSTOM— fully user-defined limits
string
required
Maximum total spend allowed per calendar day, in USD. Returned as a decimal string.
string
Optional monthly spend cap in USD as a decimal string.
null if no monthly limit is configured.string
required
Maximum amount allowed in a single transaction, in USD. Transactions exceeding this value are rejected outright.
string
required
Transactions above this USD amount (but at or below
perTransactionMax) are sent to the approval queue rather than executed automatically.number
required
How long sessions created with this policy remain active, in hours.
array
required
List of asset tickers the AI is permitted to transact with, e.g.
["USDC", "XLM"]. Transactions involving any other asset are rejected.array
required
List of actions this policy permits the AI to perform. Possible values:
CHECK_BALANCE— read wallet and smart account balancesTRANSFER— send assets to a recipientVIEW_TRANSACTION_HISTORY— list past transactions
array
required
Array of contact UUIDs from your Pay3 address book. When non-empty, the AI may only send funds to these contacts. An empty array means no recipient restriction is enforced.
number
Maximum number of transactions the AI may submit per minute under this policy.
null if no rate limit is configured.boolean
required
Whether this policy is currently active. Only active policies are returned by this endpoint.
string
required
ISO 8601 timestamp when the policy was created.
string
required
ISO 8601 timestamp when the policy was last modified.
Example request
Example response
Get a single policy
Retrieve one policy by its UUID. Useful when you need to verify the exact configuration before attaching the policy to a new AI session.Endpoint
Authentication
Path parameters
string
required
The UUID of the policy to retrieve.
Response
Returns a single policy object with the same fields as the list response above. Returns404 Not Found if the policy does not exist or does not belong to your account.