{
  "x402Version": 2,
  "id": 25804,
  "slug": "25804",
  "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",
  "serviceName": "Bitrefill",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1780566420/bazaar-icons/33192fb7239597bd.png",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "upto",
      "network": "eip155:8453",
      "payTo": "0x480CD46E6faDe651a0437DeaddA53D5c8e7D846A",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000000000",
      "amountUsd": 1000,
      "maxTimeoutSeconds": 3600
    },
    {
      "scheme": "upto",
      "network": "eip155:42161",
      "payTo": "0x480CD46E6faDe651a0437DeaddA53D5c8e7D846A",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "1000000000",
      "amountUsd": 1000,
      "maxTimeoutSeconds": 3600
    },
    {
      "scheme": "upto",
      "network": "eip155:137",
      "payTo": "0x480CD46E6faDe651a0437DeaddA53D5c8e7D846A",
      "asset": "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",
      "amount": "1000000000",
      "amountUsd": 1000,
      "maxTimeoutSeconds": 3600
    },
    {
      "scheme": "upto",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "5yASLjtNssGXDv6bR9e71WXKxRymDiUzbgkGPqkQNgRn",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "1000000000",
      "amountUsd": 1000,
      "maxTimeoutSeconds": 3600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "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"
            },
            "maxItems": 11,
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "checkout",
    "payment",
    "gift-cards",
    "esims",
    "usdc",
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "api.bitrefill.com",
  "lastUpdated": "2026-10-12T17:20:26.625Z",
  "quality": {
    "calls30d": 41,
    "uniquePayers30d": 12,
    "lastCalledAt": "2026-10-12T17:20:26.189Z"
  },
  "metadata": {
    "serviceName": "Bitrefill",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1780566420/bazaar-icons/33192fb7239597bd.png",
    "extensions": {
      "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"
              },
              "maxItems": 11,
              "type": "array"
            },
            "w": {
              "description": "Wallet builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            }
          },
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "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-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}