Skip to main content
Retrieve the complete record for a single AI-initiated transaction. In addition to the fields returned by the list endpoint, the detail view includes the embedded approval request (if one exists), failure reasons, and precise timestamps for each stage of the submission pipeline. Use this endpoint when investigating a specific transaction — for example, to diagnose a failure, confirm on-chain settlement, or understand why a transaction was held for approval.

Endpoint

Authentication

All requests must include a valid bearer token in the Authorization header, or a pay3_session cookie obtained during wallet authentication.

Path parameters

string
required
The UUID of the transaction to retrieve.

Response

Returns a single transaction object with all available fields. Returns 404 Not Found if the transaction does not exist or does not belong to your account.

Response fields

string
required
Unique UUID for this transaction.
string
required
The operation type. One of TRANSFER, CHECK_BALANCE, or VIEW_TRANSACTION_HISTORY. See GET /api/transactions for full descriptions.
string
required
Ticker of the asset involved, e.g. "USDC" or "XLM".
string
Transfer amount as a decimal string. May be null for non-transfer actions.
string
Resolved destination Stellar address (G-address). null for non-transfer actions.
string
The raw recipient value originally provided by the AI — may be an alias, display name, or Stellar address.
string
required
Lifecycle status. One of CREATED, VALIDATING, AUTO_APPROVED, PENDING_APPROVAL, APPROVED, SIGNING, SUBMITTING, SUCCESS, FAILED, REJECTED, EXPIRED, or CANCELLED. See GET /api/transactions for full status descriptions.
string
required
The decision reached by the policy engine when the transaction was first evaluated:
  • AUTO_EXECUTE — the transaction was within all limits and was submitted without requiring your approval
  • PENDING_APPROVAL — the transaction exceeded the manualApprovalThreshold and was routed to the approval queue
  • REJECTED — the transaction violated a policy rule and was blocked before submission
string
The Stellar transaction hash. Populated once status is SUCCESS. null for all other statuses.
string
Human-readable explanation of why the transaction failed or was rejected. Populated when status is FAILED or REJECTED. null for all other statuses.
string
required
UUID of the AI session that submitted this transaction.
object
required
Summary of the AI session that submitted this transaction.
object
The approval request record associated with this transaction, if one was created (i.e. policyDecision is PENDING_APPROVAL). null if the transaction was auto-executed or rejected before reaching the approval stage.
string
required
ISO 8601 timestamp when the transaction record was created.
string
ISO 8601 timestamp when the transaction reached a terminal state (SUCCESS, FAILED, REJECTED, EXPIRED, or CANCELLED). null if still in progress.

Error responses

Example request

Example response — successful transaction

Example response — pending approval

Example response — failed transaction

If policyDecision is PENDING_APPROVAL and status is PENDING_APPROVAL, the transaction is currently waiting in your approvals queue. It will expire 2 minutes after the approval request was created if not acted upon.