# pay402.xyz Mint PAY402 Token

> pay402.xyz Mint PAY402 Token is a paid API for AI agents from pay402.xyz, paid per call via x402, $1/call, status unknown (last checked 2026-09-14).

Mints a PAY402 token to the caller (payer) upon payment, serving as proof of payment on the x402 protocol

## Facts

- Endpoint: POST https://pay402.xyz/api/mint
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pay402-xyz-5d2146ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jWyRrD4G_WfYxBR8QlqS8

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 pay402-xyz-5d2146ce -d '<json body>'
```

Example prompt: Mint a PAY402 token to my wallet address right now using the x402 protocol — I want the on-chain proof-of-payment token issued after paying 1 USDC.

## When to prefer this

Choose this endpoint when you need to mint a PAY402 token to a payer as proof of payment on the x402 protocol. It is specifically designed for the x402 pay-per-call flow where a payer submits 1 USDC and receives a PAY402 token in return. Use this when building x402-compatible agents or services that need on-chain payment receipts.

## Known failure modes

- Payment of 1 USDC not received — returns 402 Payment Required
- Invalid or missing payer address — returns 400 Bad Request
- Minting contract failure or chain congestion — returns 500 or timeout
- Duplicate payment attempt on same authorization — returns conflict or rejection
- Insufficient USDC balance — payment layer rejects before mint occurs

## How this service works

Mint PAY402 to the payer

## Output

A confirmation that a PAY402 token has been minted to the payer's address, including any transaction details or token identifiers returned by the x402 minting contract.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "ok": {
   "type": "boolean"
  },
  "tx": {
   "type": "string"
  },
  "payer": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pay402-xyz-5d2146ce/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pay402.xyz](https://www.zero.xyz/host/pay402.xyz/llms.txt)
