Skip to content
onelayer.
All tools

Tool detail

Bitrefill

Pays a previously created Bitrefill invoice in USDC via x402 to complete a gift-card, eSIM or mobile top-up purchase.

Categories: Payments

Use when

  • pay a Bitrefill invoice by its invoice_id

Not for

  • not for creating the invoice - use /x402/invoice/create first
  • not a fixed-fee call - the amount charged equals the invoice's own total

Inputs

POST JSON body: { invoice_id: string (required) }

Admitted input schema

{
  "type": "object",
  "properties": {
    "invoice_id": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Invoice id to pay via x402"
    }
  },
  "required": [
    "invoice_id"
  ],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://api.bitrefill.com/x402/invoice/pay

Payment

Protocol
x402
Listed price
1000 USDC listed per call on Base - pays the invoice's own total, not a fixed fee
Payment method
upto
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://api.bitrefill.com/x402/invoice/pay
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z