# AgentPay Payment Status Lookup

> AgentPay Payment Status Lookup is a paid API for AI agents from x402-agent-pay.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Looks up the status of a specific payment by ID using the x402 protocol, returning payment confirmation details for autonomous agent workflows

## Facts

- Endpoint: POST https://x402-agent-pay.com/status/%7Bpayment_id%7D
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentpay-payment-status-lookup-a89b75c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WOPK0FW0mzONQr9ke1OQQ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentpay-payment-status-lookup-a89b75c0 -d '<json body>'
```

Example prompt: Can you check the status of my AgentPay x402 payment with ID 'pay_abc123xyz'? I need to know if the USDC transaction was confirmed.

## When to prefer this

Use this endpoint when an AI agent or automated workflow needs to verify whether a specific x402/USDC payment has been confirmed before proceeding with a dependent action — e.g. after initiating a payment, check its status before delivering a service or unlocking a resource. Prefer this over generic blockchain explorers when working within the AgentPay x402 ecosystem.

## Known failure modes

- Invalid or unknown payment_id returns 404 not found
- Malformed or missing Base64 payment_header returns 400 bad request
- Expired or unauthorized payment header returns 401 unauthorized
- Network or infrastructure errors return 500
- Payment still processing may return pending status rather than final confirmation

## How this service works

AgentPay is the x402 payment layer for autonomous AI agents, IoT devices, and businesses. Send and receive USDC payments atomically — no human required. Patent pending.

## Output

Returns the current status and details of the specified x402 payment, including whether the USDC payment was confirmed, settled, failed, or is still pending — enabling autonomous agents to gate downstream actions on payment confirmation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "payment_id",
  "payment_header"
 ],
 "properties": {
  "payment_id": {
   "type": "string",
   "description": "Payment ID to look up"
  },
  "payment_header": {
   "type": "string",
   "description": "Base64-encoded x402 payment header"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentpay-payment-status-lookup-a89b75c0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent-pay.com](https://www.zero.xyz/host/x402-agent-pay.com/llms.txt)
