Retrieve an invoice by ID. This is a public endpoint — no API key required.
Accepts both private (inv_...) and public invoice IDs.
The response includes payment methods (when OPEN), completion check instructions,
and paid transaction details (when PAID).
Invoice ID (UUID) UUID v4 identifier
"904e9f44-a5a3-4e07-94c9-9c425d6bbe64"
Invoice details
UUID v4 identifier
"904e9f44-a5a3-4e07-94c9-9c425d6bbe64"
Invoice lifecycle status.
OPEN ──[pay]──> PAYING ──[confirm]──> PAID
│ ▲
│ │
└────[fails]─────┘ (rolls back to OPEN)
OPEN ──[cancel]──> CANCELED
OPEN ──[expires]──> EXPIREDOPEN, PAYING, PAID, EXPIRED, CANCELED Amount in USDC minor units (6 decimals).
| Human Readable | API Value |
|---|---|
| $1.00 | 1000000 |
| $0.01 | 10000 |
| $100.00 | 100000000 |
| $10,000.00 (max) | 10000000000 |
1 <= x <= 100000000001000000
Currency code. Currently only USDC is supported.
USDC "USDC"
ISO 8601 timestamp in UTC
"2026-02-02T12:00:00.000Z"
ISO 8601 timestamp in UTC
"2026-02-02T12:00:00.000Z"
Merchant's Solana wallet address for direct USDC transfers.
Only present when status is OPEN.
External agents can pay by sending USDC to this address
and calling POST /v1/invoices/{id}/verify-payment.
"9BXLEjmgaB2EWQcjSvrQWcDRVhqqdAXwZkiuWmLEY17e"
Solana Pay URL for wallet scanning.
Only present when status is OPEN.
Compatible with Phantom, Solflare, and other Solana Pay wallets. Encode this as a QR code for mobile wallet scanning.
Format: solana:<address>?amount=<amount>&spl-token=<usdc_mint>&reference=<reference_pubkey>
"solana:9BXLEjmgaB2EWQcjSvrQWcDRVhqqdAXwZkiuWmLEY17e?amount=0.1&spl-token=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v&reference=5YdwM6AuQH5vdwqUZtJvM4z7bW2pnTP3XxHhJvGrHq4n"
Gwop Pay URL for human-friendly payment and invoice viewing. Safe to share and works for OPEN and PAID invoices.
"https://pay.gwop.io/pay/f6a03b6f-29b0-4477-9cc5-644d5678f5d4"
Solana Pay reference public key (base58). Use this to correlate on-chain payments to the invoice.
"5YdwM6AuQH5vdwqUZtJvM4z7bW2pnTP3XxHhJvGrHq4n"
Endpoint to verify external payment
"/v1/invoices/f6a03b6f-29b0-4477-9cc5-644d5678f5d4/verify-payment"
Endpoint to request x402 requirements and submit external payment proof
"/v1/invoices/f6a03b6f-29b0-4477-9cc5-644d5678f5d4/x402"
Chain-balanced payment options for this invoice (OPEN only).
Suggested first payment path for agents.
gwop_wallet, x402, gwop_pay_link Only if metadata_public was true
Only if metadata_public was true
ISO 8601 timestamp in UTC
"2026-02-02T12:00:00.000Z"
Amount in USDC minor units (6 decimals).
| Human Readable | API Value |
|---|---|
| $1.00 | 1000000 |
| $0.01 | 10000 |
| $100.00 | 100000000 |
| $10,000.00 (max) | 10000000000 |
1 <= x <= 100000000001000000
Chain where payment was settled.
solana, base CAIP-2 identifier for the payment chain.
"solana:mainnet"
Base58-encoded Solana transaction signature
^[1-9A-HJ-NP-Za-km-z]{87,88}$"5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW"
Solscan explorer link
"https://solscan.io/tx/5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW"
Includes persistence guidance for payment and storefront delivery flows.