{
  "x402Version": 2,
  "id": 3703,
  "slug": "3703",
  "resource": "https://api.x402card.org/api/esim/purchase",
  "description": "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x4d5D3dF7F6e3d568D49bF063aE65773fD1fa02E9",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1150000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "idempotencyKey": "agent-esim-purchase-001",
            "planId": "483e5df1bb0a2ac64cbe3f6ecf865aca"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "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"
          },
          "type": "json"
        }
      },
      "routeTemplate": "/api/esim/purchase",
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "idempotencyKey": {
                    "description": "Stable caller-generated key. Reuse it after an ambiguous response; never generate a replacement to retry payment.",
                    "maxLength": 200,
                    "minLength": 1,
                    "type": "string"
                  },
                  "planId": {
                    "description": "Live plan id from GET /api/esim/plans. Omit to buy the cheapest currently available plan.",
                    "type": "string"
                  }
                },
                "required": [
                  "idempotencyKey"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.x402card.org",
  "lastUpdated": "2026-09-15T10:49:08.301Z",
  "quality": {
    "calls30d": 18,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-09-15T10:49:07.731Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.x402card.org",
    "manifest_name": "api.x402card.org",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}