Billium
v0.1.3Official 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Invoice display name, e.g. "Order #1234". |
rawAmount * | number | Amount in the given currency (e.g. 99.99). |
currency | string | Currency code, e.g. 'USD'. Defaults to USD. |
customerAddress | string | |
customerEmail | string | |
customerName | string | |
customerPhoneNumber | string | |
description | string | |
idempotencyKey | string | Optional dedup key. If omitted, a UUID is generated so retries never create duplicate invoices. |
redirectUrl | string | URL 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.
| Parameter | Type | Description |
|---|---|---|
invoiceId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page (max 100). Defaults to 10. |
page | integer | |
search | string | Filter 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.
| Parameter | Type | Description |
|---|---|---|
invoiceId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
events * | array | Event types to subscribe to. |
url * | string | HTTPS URL Billium will POST events to. |
description | string | |
isActive | boolean | |
retryCount | integer | |
timeout | integer |
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.
| Parameter | Type | Description |
|---|---|---|
webhookId * | string | The webhook ID (wh_...). |
description | string | |
events | array | |
isActive | boolean | |
retryCount | integer | |
timeout | integer | |
url | string |
delete_webhook Delete webhook
Permanently delete a webhook endpoint.
| Parameter | Type | Description |
|---|---|---|
webhookId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
webhookId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
page | integer | |
search | string | Free-text search filter. |
get_customer Get customer
Fetch a single customer by ID, including derived location when known.
| Parameter | Type | Description |
|---|---|---|
customerId * | string | Customer 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.
| Parameter | Type | Description |
|---|---|---|
customerId * | string | Customer 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).
| Parameter | Type | Description |
|---|---|---|
customerId * | string | Customer ID (cus_...). |
address | string | |
name | string | |
phoneNumber | string |
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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Product display name. |
price * | number | Fiat price (e.g. 19.99). Returned as a string. |
askForAddress | boolean | |
askForName | boolean | |
askForPhoneNumber | boolean | |
currency | string | |
description | string | |
image | string | Storage key of a previously uploaded image. |
isActive | boolean |
get_product Get product
Fetch a single product by ID (with a presigned image URL).
| Parameter | Type | Description |
|---|---|---|
productId * | string | Product ID (prd_...). |
list_products List products
List the merchant’s products with pagination and optional search.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
page | integer | |
search | string | Free-text search filter. |
update_product Update product
Update a product. Only the fields you pass are changed.
| Parameter | Type | Description |
|---|---|---|
productId * | string | Product ID (prd_...). |
askForAddress | boolean | |
askForName | boolean | |
askForPhoneNumber | boolean | |
currency | string | |
description | string | |
image | string | |
isActive | boolean | |
name | string | |
price | number |
delete_product Delete product
Delete a product.
| Parameter | Type | Description |
|---|---|---|
productId * | string | Product 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.
| Parameter | Type | Description |
|---|---|---|
walletId * | string | Wallet 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.
| Parameter | Type | Description |
|---|---|---|
cryptocurrency * | string | |
network * | string | |
walletType * | string | |
address | string | Required for DIRECT_WALLET. |
derivationPath | string | |
isEnabled | boolean | |
requiredConfirmations | integer | |
xpub | string | Extended 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.
| Parameter | Type | Description |
|---|---|---|
walletId * | string | Wallet ID (wal_...). |
address | string | |
derivationPath | string | |
isEnabled | boolean | |
requiredConfirmations | integer | |
xpub | string |
delete_wallet Delete wallet
Delete a wallet. Rejected if it still has active payments against it.
| Parameter | Type | Description |
|---|---|---|
walletId * | string | Wallet ID (wal_...). |