All workflows

Treasury Settlement Court / Base USDC Receipt Evidence

Independent read-only Base mainnet USDC transaction receipt evidence for digital treasuries, DAO payment systems, automated accounts-payable, business settlement, enterprise payment agents and recurring invoice processors. Compare up to eight exact transaction hashes against buyer-declared recipient, sender, minimum amount, age and confirmations, detect duplicate invoice mapping and mismatched transfers, and return source-derived hashed evidence. No private keys, signing, fund recovery, card rails or contractual invoice authentication.

4990 credits per call · $49.90 USDC with x402

Sample input

{
  "network": "eip155:8453",
  "receipts": [
    {
      "tx_hash": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "expected_pay_to": "0xbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
      "min_amount_usdc": "2500.00",
      "invoice_ref": "invoice-2026-105"
    }
  ],
  "policy": {
    "min_confirmations": 12,
    "max_age_hours": 168
  }
}

Worked sample output

{
  "ok": true,
  "mode": "treasury_court_example",
  "illustrative_only": true,
  "network": "eip155:8453",
  "receipt_count": 1,
  "warning": "Mock shape only. Real paid execution checks independently fetched Base receipts before x402 settlement."
}

Worked example using published sample data only. Own-data execution is paid.

Connect in curl

Set BOUNTY_API_KEY privately after your payment is verified. Change the retry key for each new logical request.

curl 'https://bounty-engineer-x402-api.onrender.com/v1/prepaid/treasury-court' \
  -H "Authorization: Bearer $BOUNTY_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: workflow-request-001' \
  -H 'X-Max-Credits: 4990' \
  --data '{"network":"eip155:8453","receipts":[{"tx_hash":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","expected_pay_to":"0xbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","min_amount_usdc":"2500.00","invoice_ref":"invoice-2026-105"}],"policy":{"min_confirmations":12,"max_age_hours":168}}'

Connect in n8n

Download the inactive n8n template. Import it, configure the private Header Auth credential, inspect the sample and run it manually. A new execution creates a new billable request; there is no automatic schedule.

Use an HTTP POST to https://bounty-engineer-x402-api.onrender.com/v1/prepaid/treasury-court. Send JSON and these headers; store the Bearer token as a private credential.

{
  "method": "POST",
  "headers": {
    "Authorization": "Bearer YOUR_PRIVATE_API_KEY",
    "Content-Type": "application/json",
    "Idempotency-Key": "UNIQUE_PER_LOGICAL_REQUEST",
    "X-Max-Credits": "4990"
  },
  "body": {
    "network": "eip155:8453",
    "receipts": [
      {
        "tx_hash": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "expected_pay_to": "0xbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
        "min_amount_usdc": "2500.00",
        "invoice_ref": "invoice-2026-105"
      }
    ],
    "policy": {
      "min_confirmations": 12,
      "max_age_hours": 168
    }
  }
}

Reuse a retry key only for the same input. Failed execution returns reserved credits. Full integration and recovery guide · Machine-readable recipe