Fetch the public checkout session by publicInvoiceId. This endpoint requires no authentication — it is the view agents use to discover available x402 payment methods and settle the checkout.
Open invoices include paymentMethods — the x402 payment rails scoped to this checkout session. Each method includes everything an agent needs to pay on a specific chain:
Every checkout session includes x402 payment URLs for both Base (EVM) and Solana. The agent picks a chain, pays the session-scoped URL, and Gwop settles the checkout. These URLs are tied to the invoice session, not to a permanent merchant endpoint.
The public invoice includes a transparent fee breakdown:
The statusCheck object tells agents how to poll for payment confirmation:
After payment, the invoice gains settlement fields and loses paymentMethods:
paymentMethods is only present on OPEN invoices. Once an invoice is paid, expired, or canceled, this field is undefined.