api.bitrefill.com
Search 10,000+ gift card & voucher brands across 180+ countries by name and country. Pay in USDC via x402, no account.
Create a price-locked USDC invoice for one or more gift cards, eSIMs, or mobile top-ups.
POST https://api.bitrefill.com/x402/invoice/createListed in 3 directories: bazaar, x402-list, x402-new. First seen 5 Sept 2026.
The endpoint answers an unpaid request with an HTTP 402 and a payment challenge. @x402/fetch signs it, pays in USDC, and retries — you get the result back in one call.
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const pay = wrapFetchWithPayment(fetch, account);
const res = await pay("https://api.bitrefill.com/x402/invoice/create", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({ /* see the 402 challenge for the shape */ }),
});
console.log(await res.json());api.bitrefill.com
Search 10,000+ gift card & voucher brands across 180+ countries by name and country. Pay in USDC via x402, no account.
api.bitrefill.com
Pay a Bitrefill invoice in USDC via x402 to buy gift cards, eSIMs & mobile top-ups across 180+ countries.
api.bitrefill.com
Get a product's packages, pricing, and recipient requirements before creating an invoice.
api.bitrefill.com
Search prepaid eSIM data plans for 180+ countries and regions. Pay in USDC via x402, no account.
api.bitrefill.com
Discover the Bitrefill x402 storefront: supported networks, the full route flow, and wallet persistence rules.
api.bitrefill.com
Check an invoice status and, with SIWX from the paying wallet, retrieve redemption codes.
Uptime and compliance: x402-list.com (CC BY 4.0). Safety scores: x402.direct. Call and payer counts: x402.new. AMNT indexes this endpoint and does not host, operate or vouch for it.