Skip to main content
Retrieve every transaction currently waiting for your manual approval. When an AI session attempts a transfer that exceeds the manualApprovalThreshold set in the session’s spending policy, Pay3 holds the transaction and creates an approval request instead of executing it immediately. You must review and approve (or simply let it expire) within 2 minutes. This endpoint gives you the full list of open approval requests so you can process them promptly.

Endpoint

Authentication

All requests must include a valid bearer token in the Authorization header, or a pay3_session cookie obtained during wallet authentication.
Each approval request expires 2 minutes after it is created. If you do not approve the transaction before expiresAt, the request is automatically cancelled and the underlying transaction moves to EXPIRED status. The AI session will need to retry the operation if the action is still desired.

Response

Returns an array of open approval request objects, ordered by createdAt descending (most recently created first). Only requests with a future expiresAt are included — already-expired requests do not appear.

Response fields

string
required
UUID of the approval request itself.
string
required
Always PENDING for entries returned by this endpoint.
string
required
UUID of the transaction awaiting approval. Pass this to POST /api/approvals/:txId/approve to execute it.
string
required
UUID of the AI session that submitted the transaction request.
string
required
ISO 8601 timestamp 2 minutes after createdAt. The approval request is cancelled automatically if you have not approved it by this time.
string
required
ISO 8601 timestamp when the approval request was created (i.e. when the AI submitted the transaction).
object
required
The full transaction record for the payment being held for review.
object
required
Summary of the AI session that triggered this approval request.

Example request

Example response

An empty array [] means there are no transactions currently awaiting your approval. Poll this endpoint regularly or build a notification workflow on top of it to catch time-sensitive approval requests before they expire.