← Back to directory

Create a price-locked invoice for one or more gift cards, eSIMs, or mobile top-u...

https://api.bitrefill.com/x402/invoice/create

Overview

Create a price-locked invoice for one or more gift cards, eSIMs, or mobile top-ups, payable in USDC or over Lightning.

Protocol x402 (POST)
Price $0.0020
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider Bitrefill
Source bazaar
Indexed 2026-06-18 16:15:42

Health

Status healthy
Latency (p50) 446ms
Uptime (30d) 95.5%
Reliability Score 92.7/100
Last Checked 2026-10-31 07:08:06
Last Healthy 2026-10-31 07:08:06
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "items": [ { "package_value": "25", "product_id": "amazon-us" } ] }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "expires_in_minutes": 30, "invoice_id": "c2b27180-610e-4132-af77-ad42fc0ac444", "networks": [ "eip155:8453", "solana:mainnet" ], "next_step": { "body": { "invoice_id": "c2b27180-610e-4132-af77-ad42fc0ac444" }, "url": "/x402/invoice/pay" }, "price_satoshi": 25000, "price_usd": 25, "price_usdc": "25000000" }, "type": "json" }