7

767-2676.com · Receipt

by 767-2676.com

POSTBase

$0.001

per call · USD Coin on Base

Signed time-bounded witness of an agent-carried payload digest; the payload stays with the agent

Endpoint

POST https://767-2676.com/v1/receipt

11

Calls / 30d

2

Unique payers / 30d

Sep 10

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://767-2676.com/v1/receipt", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "nonce": "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBA",
    "payload_digest": {
      "algorithm": "sha-256",
      "value": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
    },
    "previous_attestation_digest": null
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://767-2676.com/v1/receipt" \
  -H "Content-Type: application/json" \
  -d '{"nonce":"BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBA","payload_digest":{"algorithm":"sha-256","value":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},"previous_attestation_digest":null}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "payment_status": "settled",
  "witness_receipt": {
    "commitment": {
      "nonce": "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBA",
      "payload_digest": {
        "algorithm": "sha-256",
        "value": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
      },
      "previous_attestation_digest": null
    },
    "evidence_scope": {
      "action_execution_proven": false,
      "authorization_granted": false,
      "caller_identity_proven": false,
      "clock_accuracy_independently_verified": false,
      "external_atomic_clock_alignment_proven": false,
      "nonce_uniqueness_enforced": false,
      "payer_authorization_bound_to_commitment": false,
      "payload_disclosed": false,
      "recipient_delivery_proven": false,
      "replay_prevented": false,
      "type": "payload_commitment_witness"
    },
    "node_id": "767-2676.com",
    "protocol_id": "POPCORN-WITNESS/1.0",
    "receipt_id": "pwr_example"
  }
}

Payment details

Pay to0x5f5a631e975183d084f60d7121e967b30ec83cb8
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of AI & Inference and the homepage with a featured placement.

Get featured →

More from 767-2676.com & similar services