BagsBags Docs

Agentic link price discovery

Read-only rate card for an agentic payment link — price, network, and x402 scheme WITHOUT triggering a 402 challenge. Mirrors the 402 challenge body (minus payTo, which is issued at pay time). Free; no auth.

GET
/api/agent/link/{paymentLinkId}/price

Path Parameters

paymentLinkId*string

Payment link id. Prefer the canonical pl-{uuid} form (e.g. pl-a1b2c3d4-e5f6-7890-abcd-ef1234567890); bare UUIDs are accepted.

curl -X GET "https://www.getbags.app/api/agent/link/pl-a1b2c3d4-e5f6-7890-abcd-ef1234567890/price"
{
  "status": "ok",
  "paymentLinkId": "65854dcb-f544-4848-b04d-cccad43b01a8",
  "resource": "http://example.com",
  "name": "string",
  "description": "string",
  "scheme": "exact",
  "network": "string",
  "caip2Network": "string",
  "asset": "USDC",
  "mode": "live",
  "price": "$10.00",
  "quote": {
    "subtotalCents": -9007199254740991,
    "taxCents": -9007199254740991,
    "totalCents": -9007199254740991
  },
  "optionalCustomerHeaders": [
    "string"
  ]
}
Empty