---
title: "Get Call Receipt"
method: GET
path: "/receipts/{requestId}"
tags: ["Discovery"]
---

# Get Call Receipt

`GET /receipts/{requestId}`

## Request

- Base URL: `https://api.weblens.dev`
- URL: `https://api.weblens.dev/receipts/{requestId}`
- Auth: none required

Receipt for a paid call — endpoint, status, outcome, charged price, payment method, network, pay-to address, settlement transaction and payer. Every paid response carries `X-Receipt-Id` and `X-Receipt-Url` headers pointing here. Receipts are kept for 30 days. A receipt is unsigned: its evidence is the settlement transaction, which anyone can check on-chain.

## Path parameters

- `requestId` string, required

## Response `200`

Receipt for the call

- CallReceipt
  - `type` 'weblens-call-receipt-v1'
  - `requestId` string
  - `endpoint` string
  - `method` string
  - `status` integer: HTTP status the caller received
  - `outcome` 'success' | 'error'
  - `price` string: Charged price, e.g. "$0.015". Absent when the call was not charged.
  - `currency` 'USD'
  - `paymentMethod` string: "x402" or "credits"
  - `network` string
  - `payTo` string
  - `transaction` string: Settlement transaction (EVM tx hash or Solana signature) — the on-chain proof of payment. Absent for credits.
  - `payer` string: Address that paid
  - `servedAt` string

## Other responses

- `404`: No receipt for that request id (receipts are issued for paid calls and kept 30 days)

---

[API](https://skmtc.dev/weblens/apis/weblens-api.md) · [All operations](https://skmtc.dev/weblens/apis/weblens-api/llms.txt) · [OpenAPI document](https://skmtc.dev/weblens/apis/weblens-api/revisions/63a7e81b6921?raw)
