{
  "x402Version": 2,
  "id": 268,
  "slug": "268",
  "resource": "https://api.bitrefill.com/x402/invoice/pay",
  "description": "Pay a Bitrefill invoice in USDC via x402 to buy gift cards, eSIMs & mobile top-ups across 180+ countries.",
  "type": "http",
  "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
    }
  ],
  "outputSchema": {
    "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"
      }
    }
  },
  "tags": [
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "api.bitrefill.com",
  "lastUpdated": "2026-09-12T22:33:17.689Z",
  "quality": {
    "calls30d": 19,
    "uniquePayers30d": 6,
    "lastCalledAt": "2026-09-12T22:33:17.252Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.bitrefill.com",
    "manifest_name": "api.bitrefill.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}