{
  "x402Version": 2,
  "id": 31269,
  "slug": "31269",
  "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",
  "serviceName": "x402card Freeland Travel eSIM",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1786983114/bazaar-icons/734c634d01649643.png",
  "resourceType": "Travel",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x4d5D3dF7F6e3d568D49bF063aE65773fD1fa02E9",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "470000",
      "amountUsd": 0.47,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "idempotencyKey": "agent-esim-purchase-001",
            "planId": "96c4f20d5c328ce41d166c3bb9114c74"
          },
          "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": [
    "esim",
    "travel-esim",
    "mobile-data",
    "connectivity",
    "qr-delivery",
    "bazaar"
  ],
  "sourceHost": "api.x402card.org",
  "lastUpdated": "2026-09-22T18:04:54.557Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-22T18:04:54.045Z"
  },
  "metadata": {
    "serviceName": "x402card Freeland Travel eSIM",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1786983114/bazaar-icons/734c634d01649643.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "idempotencyKey": "agent-esim-purchase-001",
              "planId": "96c4f20d5c328ce41d166c3bb9114c74"
            },
            "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "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-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}