mirrored listing x402 eip155:8453eip155:42161eip155:137solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp

Pay a Bitrefill invoice in USDC via x402 to buy gift cards, eSIMs & mobile top-ups across

Pay a Bitrefill invoice in USDC via x402 to buy gift cards, eSIMs & mobile top-ups across 180+ countries.

Do you run api.bitrefill.com? This listing was mirrored from Coinbase's public Bazaar. Claim it in 30 seconds — no account required — and it becomes verified, permanently overriding the mirrored copy.

Claim this listing
1000000000 (raw units)
price
19
calls / 30d
6
unique payers
2026-09-12
updated

Provider

api.bitrefill.com · discovered, not yet claimed by its owner

Payment (x402 accepts[])

[
  {
    "scheme": "upto",
    "network": "eip155:8453",
    "payTo": "0x480CD46E6faDe651a0437DeaddA53D5c8e7D846A",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000000000",
    "maxTimeoutSeconds": 3600
  },
  {
    "scheme": "upto",
    "network": "eip155:42161",
    "payTo": "0x480CD46E6faDe651a0437DeaddA53D5c8e7D846A",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "1000000000",
    "maxTimeoutSeconds": 3600
  },
  {
    "scheme": "upto",
    "network": "eip155:137",
    "payTo": "0x480CD46E6faDe651a0437DeaddA53D5c8e7D846A",
    "asset": "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",
    "amount": "1000000000",
    "maxTimeoutSeconds": 3600
  },
  {
    "scheme": "upto",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "5yASLjtNssGXDv6bR9e71WXKxRymDiUzbgkGPqkQNgRn",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "1000000000",
    "maxTimeoutSeconds": 3600
  }
]

Output schema

{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "invoice_id": "c2b27180-610e-4132-af77-ad42fc0ac444"
        },
        "bodyType": "json",
        "method": "POST",
        "type": "http"
      },
      "output": {
        "example": {
          "accepted": true,
          "message": "Payment accepted; poll invoice/status for fulfillment outcome and redemption codes.",
          "next_step": {
            "url": "/x402/invoice/status?invoice_id=c2b27180-610e-4132-af77-ad42fc0ac444"
          }
        },
        "type": "json"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "body": {
              "properties": {
                "invoice_id": {
                  "description": "Invoice id to pay via x402",
                  "type": "string"
                }
              },
              "required": [
                "invoice_id"
              ]
            },
            "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"
    }
  },
  "builder-code": {
    "info": {
      "a": "bc_suil8bdj"
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "additionalProperties": false,
      "properties": {
        "a": {
          "description": "App builder code",
          "pattern": "^[a-z0-9_]{1,32}$",
          "type": "string"
        },
        "s": {
          "description": "Service builder codes",
          "items": {
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "type": "array"
        },
        "w": {
          "description": "Wallet builder code",
          "pattern": "^[a-z0-9_]{1,32}$",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}

Use it

curl

curl "https://api.bitrefill.com/x402/invoice/pay"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid

JavaScript

const res = await fetch("https://api.bitrefill.com/x402/invoice/pay");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}

Python

import httpx
res = httpx.get("https://api.bitrefill.com/x402/invoice/pay")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Machine-readable

Everything on this page is also available as clean JSON at /resources/268.json, and this resource appears in /discovery/resources and /discovery/search.