Billium

v0.1.3
io.github.BilliumHQ/billium Checked 2 days ago Published 5 months ago

Official Billium MCP server: manage crypto invoices, payments, and webhooks from any MCP host.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

create_invoice Create invoice

Create a new crypto payment invoice for the merchant and return it, including the hosted checkout URL. The customer pays in crypto; settlement is non-custodial (funds go straight to the merchant wallet). An idempotency key is generated automatically unless you pass one.

ParameterTypeDescription
name *stringInvoice display name, e.g. "Order #1234".
rawAmount *numberAmount in the given currency (e.g. 99.99).
currencystringCurrency code, e.g. 'USD'. Defaults to USD.
customerAddressstring
customerEmailstring
customerNamestring
customerPhoneNumberstring
descriptionstring
idempotencyKeystringOptional dedup key. If omitted, a UUID is generated so retries never create duplicate invoices.
redirectUrlstringURL to send the customer to after a successful payment.

get_invoice Get invoice

Fetch a single invoice by ID, including its current status, customer, payments, and status timeline.

ParameterTypeDescription
invoiceId *stringThe invoice ID (inv_...).

list_invoices List invoices

List the merchant’s invoices with pagination and optional search. Returns a page of invoices plus total/page metadata.

ParameterTypeDescription
limitintegerResults per page (max 100). Defaults to 10.
pageinteger
searchstringFilter by invoice name, description, or ID.

cancel_invoice Cancel invoice

Cancel an invoice that has not yet been paid. Returns the updated invoice. Already-terminal invoices (paid/expired/cancelled) cannot be cancelled.

ParameterTypeDescription
invoiceId *stringThe invoice ID (inv_...).

create_webhook Create webhook

Register a webhook endpoint that Billium will POST events to. Use 'invoice.*' or 'payment.*' to subscribe to every event in a category.

ParameterTypeDescription
events *arrayEvent types to subscribe to.
url *stringHTTPS URL Billium will POST events to.
descriptionstring
isActiveboolean
retryCountinteger
timeoutinteger

list_webhooks List webhooks

List all webhook endpoints configured for the merchant.

update_webhook Update webhook

Update an existing webhook endpoint (URL, subscribed events, active state, retries, or timeout). Only the fields you pass are changed.

ParameterTypeDescription
webhookId *stringThe webhook ID (wh_...).
descriptionstring
eventsarray
isActiveboolean
retryCountinteger
timeoutinteger
urlstring

delete_webhook Delete webhook

Permanently delete a webhook endpoint.

ParameterTypeDescription
webhookId *stringThe webhook ID (wh_...).

ping_webhook Ping webhook

Send a test event to a webhook endpoint to verify it is reachable and that your signature verification works.

ParameterTypeDescription
webhookId *stringThe webhook ID (wh_...).

list_customers List customers

List the merchant’s customers (auto-created from invoices) with pagination and optional search by email/name/phone/address.

ParameterTypeDescription
limitinteger
pageinteger
searchstringFree-text search filter.

get_customer Get customer

Fetch a single customer by ID, including derived location when known.

ParameterTypeDescription
customerId *stringCustomer ID (cus_...).

get_customer_stats Get customer stats

Get a customer’s aggregate spend and invoice stats: total revenue from paid invoices, invoice counts, and paid rate.

ParameterTypeDescription
customerId *stringCustomer ID (cus_...).

update_customer Update customer

Update a customer’s name, address, or phone number. Email cannot be changed (it is the key that ties a customer to their invoices).

ParameterTypeDescription
customerId *stringCustomer ID (cus_...).
addressstring
namestring
phoneNumberstring

create_product Create product

Create a product the merchant can sell through a hosted checkout page. Price is a fiat amount; the customer pays the crypto equivalent.

ParameterTypeDescription
name *stringProduct display name.
price *numberFiat price (e.g. 19.99). Returned as a string.
askForAddressboolean
askForNameboolean
askForPhoneNumberboolean
currencystring
descriptionstring
imagestringStorage key of a previously uploaded image.
isActiveboolean

get_product Get product

Fetch a single product by ID (with a presigned image URL).

ParameterTypeDescription
productId *stringProduct ID (prd_...).

list_products List products

List the merchant’s products with pagination and optional search.

ParameterTypeDescription
limitinteger
pageinteger
searchstringFree-text search filter.

update_product Update product

Update a product. Only the fields you pass are changed.

ParameterTypeDescription
productId *stringProduct ID (prd_...).
askForAddressboolean
askForNameboolean
askForPhoneNumberboolean
currencystring
descriptionstring
imagestring
isActiveboolean
namestring
pricenumber

delete_product Delete product

Delete a product.

ParameterTypeDescription
productId *stringProduct ID (prd_...).

list_wallets List wallets

List the merchant’s crypto wallet configurations (DIRECT_WALLET / XPUB_WALLET). Only public config is returned — never private keys.

get_wallet Get wallet

Fetch a single wallet configuration by ID.

ParameterTypeDescription
walletId *stringWallet ID (wal_...).

create_wallet Create wallet

Add a receiving wallet for a (cryptocurrency, network) pair. Pass `address` for a DIRECT_WALLET, or `xpub` (extended PUBLIC key) for an XPUB_WALLET. One wallet per pair.

ParameterTypeDescription
cryptocurrency *string
network *string
walletType *string
addressstringRequired for DIRECT_WALLET.
derivationPathstring
isEnabledboolean
requiredConfirmationsinteger
xpubstringExtended PUBLIC key — required for XPUB_WALLET (BTC/LTC).

update_wallet Update wallet

Update a wallet’s mutable config (address, xpub, enabled state, confirmations, derivation path). Identity fields cannot change.

ParameterTypeDescription
walletId *stringWallet ID (wal_...).
addressstring
derivationPathstring
isEnabledboolean
requiredConfirmationsinteger
xpubstring

delete_wallet Delete wallet

Delete a wallet. Rejected if it still has active payments against it.

ParameterTypeDescription
walletId *stringWallet ID (wal_...).