Quartermaster

Tools / x402 tools

Settlement Assurance $0.03 / call

Prove a completed x402 payment is real and sound.

GET /v1/settlement-assurance

The premium settlement workflow. From a transaction hash it confirms the Base transaction succeeded, matches the USDC transfer against an expected wallet and amount, formats a receipt, and can also audit the endpoint that issued the challenge - returning one 0-100 assurance score and a verdict: verified, partial, or failed. Replaces four manual calls with a single scored answer.

Parameters

hash requiredBase transaction hash of the settlement
payToAssert USDC reached this wallet
amountAssert the USDC amount (human decimal)
resourceAlso audit the x402 endpoint that issued the challenge

Example

macOS / Linux
curl -s "https://quartermaster.surewhynot.app/v1/settlement-assurance?hash=0x06be01596be1cb68d9b12a33946d2228a82eeb31016ab237825cec547017095f&payTo=0xc2a36e22ecbf353086cf83e7beea78bc28a64083&amount=0.001"
Windows (cmd or PowerShell)
curl.exe -s "https://quartermaster.surewhynot.app/v1/settlement-assurance?hash=0x06be01596be1cb68d9b12a33946d2228a82eeb31016ab237825cec547017095f&payTo=0xc2a36e22ecbf353086cf83e7beea78bc28a64083&amount=0.001"

Unpaid, these return 402 Payment Required with the payment details in the header (add -i to see them). curl.exe ships with Windows 10+ and works in cmd and both PowerShell versions. To actually pay, use an x402 client (see Connect) or call it as the MCP tool. Cost: $0.03 per call.

FAQ

How is this different from payment-proof?
Payment-proof answers one question: did the USDC land. Settlement Assurance bundles that with a formatted receipt and an optional audit of the issuing endpoint, then rolls it all into a single 0-100 score and verdict - the whole post-payment check in one call.
How do I pay for this endpoint?
Call it with no payment and you receive HTTP 402 with machine-readable payment requirements. Attach a USDC payment on Base with any x402 client (for example @x402/fetch) and retry — the whole loop is two requests. This call costs $0.03 in USDC.
Do I need an account or API key?
No. There are no accounts, logins, or API keys anywhere in Quartermaster. Payment is per call over the x402 protocol; your wallet is your identity.
Can I call this as an MCP tool instead?
Yes. Quartermaster is also an MCP server at /mcp, so any MCP client (Claude Code, Claude.ai, Cursor) can mount this tool. See /connect for setup.

← All tools · Connect to an agent · OpenAPI