# x402 client quickstart This API uses exact USDC payments on Base. It charges $0.03 for one single or batch request. The signer must be supplied by the buyer's own secure wallet flow; never send a private key to this API. ## Node.js example ```js import { wrapFetchWithPayment } from "@x402/fetch"; import { x402Client } from "@x402/core/client"; import { ExactEvmScheme } from "@x402/evm/exact/client"; const signer = /* your secure Base EVM signer */; const client = new x402Client(); client.register("eip155:*", new ExactEvmScheme(signer)); const paidFetch = wrapFetchWithPayment(fetch, client); const response = await paidFetch("https://global-business-day-planner-paid.kgy5612.workers.dev/v1/business-day-plan/batch", { method: "POST", headers: { "content-type": "application/json" }, body: JSON.stringify({ requests: [ { countryCode: "US", startDate: "2026-11-24", businessDays: 3 }, { countryCode: "GB", startDate: "2026-12-22", businessDays: 5 } ] }) }); console.log(response.status, await response.json()); ``` The client receives HTTP 402, signs locally, retries, and receives HTTP 200 after a successful settlement. See https://global-business-day-planner-paid.kgy5612.workers.dev/openapi.json for the full schema.