BITREFILL_API_ID
: your_api_id_hereBITREFILL_API_SECRET
: your_api_key_hereTool | Short Description |
---|---|
categories | Get the full product type/categories map. |
create_invoice | Create a new invoice for purchasing products with various payment methods. |
detail | Get detailed information about a product. |
get_account_balance | Retrieve your account balance. |
get_invoice | Retrieve details for a specific invoice by ID. |
get_invoices | Retrieve a list of invoices with optional filtering. |
get_order | Retrieve details for a specific order by ID. |
get_orders | Retrieve a list of orders with optional filtering. |
pay_invoice | Pay an unpaid invoice (only works with ‘balance’ payment method). |
ping | Check if the Bitrefill API is available. |
search | Search for gift cards, esims, mobile topups and more. |
unseal_order | Reveal codes and PINs for a specific order by ID. |
categories
create_invoice
payment_method
(string
) - Required payment method. Available: balance, lightning, bitcoin, eth_base, usdc_baseproducts
(array
) - Products to include in the invoiceauto_pay
(boolean
, optional) - Automatically pay with balancewebhook_url
(string
, optional) - Webhook notification URLdetail
id
(string
) - Product unique identifierget_account_balance
get_invoice
id
(string
) - Invoice identifierget_invoices
after
(string
, optional) - Start date (YYYY-MM-DD HH:MM:SS)before
(string
, optional) - End date (YYYY-MM-DD HH:MM:SS)limit
(integer
, optional) - Max records (max/default: 50)start
(integer
, optional) - Start index (default: 0)get_order
id
(string
) - Order identifierget_orders
after
(string
, optional)before
(string
, optional)limit
(integer
, optional)start
(integer
, optional)pay_invoice
id
(string
) - Invoice identifierping
search
categories
tool for pre-filtering.
Parameters:
query
(string
) - Product or keyword (or use *
for all)beta_flags
(string
, optional)cart
(string
, optional)category
(string
, optional)col
(number
, optional)country
(string
, optional)do_recommend
(number
, optional)language
(string
, optional)limit
(number
, optional)prefcc
(number
, optional)rec
(number
, optional)sec
(number
, optional)skip
(number
, optional)src
(string
, optional)unseal_order
id
(string
) - Order identifier