BagsBags Docs

x402 payment receipt by tx hash

Buyer-visible receipt for a settled x402 agent payment, keyed on the on-chain transaction hash. Exposes only on-chain-public data plus settlement status (payment_receipt with tx hash + correlation id). Free; no auth.

GET
/api/agent/receipt/{txHash}

Path Parameters

txHash*string

On-chain transaction hash (EVM 0x-hash or Solana signature) of a settled x402 payment.

curl -X GET "https://www.getbags.app/api/agent/receipt/0x1111111111111111111111111111111111111111111111111111111111111111"
{
  "status": "ok",
  "receipt": {
    "type": "payment_receipt",
    "correlationId": "48fb4cd3-2ef6-4479-bea1-7c92721b988c",
    "txHash": "string",
    "status": "completed",
    "network": "string",
    "caip2Network": "string",
    "token": "string",
    "amount": "10.00",
    "payer": "string",
    "paymentLinkId": "65854dcb-f544-4848-b04d-cccad43b01a8",
    "resource": "http://example.com",
    "mode": "live",
    "createdAt": "string",
    "settledAt": "string"
  }
}
Empty