Gift by Crypto (TESTNET)
TESTNET / MOCK. Amazon.co.jp eGift card with any whole-yen face value from JPY 150 to 200,000, given in the path (e.g. /v1/egift/amazon-jp/3000). Price: face value / 150 USDC rounded up to the cent, on Base Sepolia (demo rate; JPY 3,000 = 20.00 USDC). POST with no body; the 402 is the quote. Returns a MOCK code that is not a real gift card.
- Price per call
- $20.00
- Chain
- Base Sepolia
- Method
- POST
- Paid calls · 30 days
- 1
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://gift-by-crypto-agent.kitano787.workers.dev/v1/egift/amazon-jp/:yen", { method: "POST" });
console.log(await res.json());https://gift-by-crypto-agent.kitano787.workers.dev/v1/egift/amazon-jp/:yen