Soren · Testpayment

by Soren

GETBasebase

$0.1

per call · USD Coin on Base

A paid sandbox for x402 clients. Pay $0.10 and receive your own settled payment back — payer address, amount, network and settlement transaction — so a test can assert your 402, sign, retry and settle loop works against a live facilitator. Scenario parameters exercise the failure paths for free: prove your max-price guard fires, that you abandon an expired quote, handle a rejected payment, and retry a failed settlement.

Endpoint

GET https://soren.com/v1/testpayment

2

Calls / 30d

1

Unique payers / 30d

Aug 26

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://soren.com/v1/testpayment", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://soren.com/v1/testpayment?price=0.50&scenario=settle_fail" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "amount": "<atomic units settled>",
  "asset": "USDC",
  "network": "<caip-2 chain id>",
  "ok": true,
  "payer": "<your wallet address>",
  "settlement": "<transaction hash>",
  "timestamp": "<ISO-8601 UTC>"
}

Payment details

Pay to0xadc3a47efbd82ed724a0e9a3d08d5a1a8e6586fd
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, base
Schemesexact

Is this your API?

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

Get featured →

More from Soren & similar services