W

Wever Pay · Services Authority Boundary Review

by Wever Pay

POSTBase Sepolia

$0.03

per call · USDC on Base Sepolia

Deterministic policy decision for requested actions, prohibited actions, Base Sepolia asset restrictions, and atomic test-USDC spending limits.

Endpoint

POST https://sandbox.weverpay.com/api/wever-pay/sandbox/services/authority-boundary-review

4

Calls / 30d

1

Unique payers / 30d

Aug 25

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://sandbox.weverpay.com/api/wever-pay/sandbox/services/authority-boundary-review", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "agentId": "wever.research-buyer.v1",
    "allowedActions": [
      "search_services",
      "get_service",
      "purchase_service"
    ],
    "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
    "network": "eip155:84532",
    "prohibitedActions": [
      "mainnet_payment",
      "credential_export"
    ],
    "requestedActions": [
      "search_services",
      "get_service"
    ],
    "requestedSpendAtomic": 30000,
    "spendingLimitAtomic": 100000
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://sandbox.weverpay.com/api/wever-pay/sandbox/services/authority-boundary-review" \
  -H "Content-Type: application/json" \
  -d '{"agentId":"wever.research-buyer.v1","allowedActions":["search_services","get_service","purchase_service"],"asset":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","network":"eip155:84532","prohibitedActions":["mainnet_payment","credential_export"],"requestedActions":["search_services","get_service"],"requestedSpendAtomic":30000,"spendingLimitAtomic":100000}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "approvedActions": [
    "search_services",
    "get_service"
  ],
  "decision": "APPROVED",
  "deniedActions": [],
  "policyHash": "sha256:0000000000000000000000000000000000000000000000000000000000000000",
  "remainingSpendAtomic": 70000,
  "reportVersion": "1.0.0",
  "violations": []
}

Payment details

Pay to0xff52824610cb82603089f2d33d44682edffa6630
AssetUSDC · 0x036cbd53842c5426634e7929541ec2318f3dcf7e
NetworksBase Sepolia
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from Wever Pay & similar services