x402card Freeland Travel eSIM · Esim Purchase

by x402card Freeland Travel eSIM

POSTBase

$0.75

per call · USD Coin on Base

Buy a prepaid Freeland travel eSIM and privately receive its installation QR and activation data. Pay native USDC on Base through x402; no API key or provider account is required.

Endpoint

POST https://api.x402card.org/api/esim/purchase

18

Calls / 30d

2

Unique payers / 30d

Sep 10

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://api.x402card.org/api/esim/purchase", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "idempotencyKey": "agent-esim-purchase-001",
    "planId": "4e1a61eb3e6ac1c5cad957c99730de63"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://api.x402card.org/api/esim/purchase" \
  -H "Content-Type: application/json" \
  -d '{"idempotencyKey":"agent-esim-purchase-001","planId":"4e1a61eb3e6ac1c5cad957c99730de63"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "credentials": {
    "esimPassportUrl": "<owner-only-passport-link-or-null>",
    "iccid": "<owner-only-iccid>",
    "iosTapLink": "<owner-only-ios-install-link-or-null>",
    "qrCode": "<owner-only-installation-qr>"
  },
  "delivery": {
    "header": "X-Esim-Delivery-Token",
    "next": "Preserve the token privately. Use the continuation URLs only when credentials are not returned inline.",
    "token": "<private-order-delivery-token>"
  },
  "ok": true,
  "product": "esim",
  "seller": "Freeland",
  "status": "fulfilled"
}

Payment details

Pay to0x4d5d3df7f6e3d568d49bf063ae65773fd1fa02e9
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Data & Enrichment and the homepage with a featured placement.

Get featured →

More from x402card Freeland Travel eSIM & similar services