Install
openclaw skills install @elvismusli/freeland-x402-esimopenclaw skills install @elvismusli/freeland-x402-esimUse the live service contract at https://api.x402card.org/api/esim/discovery. Use the remote MCP at https://api.x402card.org/mcp only for read-only discovery; never give it wallet authority.
https://api.x402card.org/api/esim/ready. Stop if it is not green.x402card.list_esim_plans or GET /api/esim/plans. Filter by destination, allowance, duration, and the user's price cap.POST https://api.x402card.org/api/esim/purchase with { "planId": "<live-plan-id>", "idempotencyKey": "<stable-key>" } and no payment header.402 and decode PAYMENT-REQUIRED. Verify all of the following:
2 and scheme exact;eip155:8453;0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913;https://api.x402card.org/api/esim/purchase;Freeland eSIM.PAYMENT-SIGNATURE. The payer becomes the eSIM owner.orderId and delivery.token in private local state. Never print, log, publish, or send the token to another user.replayed: true; never change the key to recover.GET /api/esim/orders/:orderId with X-Esim-Delivery-Token: <delivery.token> from the paid response. This is the primary path for payment-only x402 wallets.POST /api/auth/challenge and POST /api/auth/verify remains an optional fallback for signers that support EIP-191 or EIP-712.fulfilled, call GET /api/esim/orders/:orderId/credentials with the same delivery header.