
BTCPay Server
Customers want to pay in Bitcoin. Your AI agent generates BTCPay Server payment requests, checks transaction status, and manages stores through the Greenfield API, all during live conversation. Self-hosted, non-custodial, and entirely under your control.




Your AI agent handles the full BTCPay Server workflow: creating invoices, provisioning stores, wiring up webhooks, and checking payment status without anyone opening the admin panel.
BTCPay Server
See how businesses use AI agents to accept Bitcoin payments, automate transaction fulfillment, and manage multi-store cryptocurrency operations through BTCPay Server's self-hosted infrastructure.
A customer browsing your store through chat says they want to pay with Bitcoin. Your AI Agent calculates the order total, calls BTCPay Server's Create Payment Request endpoint with the amount and currency, sets an expiration window, and sends the payment link. The customer scans the QR code, completes payment on-chain or via Lightning, and gets confirmation without ever leaving the conversation.
A digital goods merchant sells software licenses and needs instant delivery upon Bitcoin confirmation. Your AI Agent registers webhooks on BTCPay Server for payment settlement events. When a customer pays and sufficient blockchain confirmations arrive, the webhook fires, the agent verifies settlement, and automatically sends the license key. Zero delay between payment and delivery.
A franchise operator accepts Bitcoin at five locations, each requiring independent revenue tracking. Your AI Agent provisions separate BTCPay Server stores for every location, configures default currencies, and pulls payment request summaries on demand. The operator asks for yesterday's revenue at any location, and the agent queries that store's data and delivers a clean financial snapshot.

BTCPay Server
FAQs
The agent calls BTCPay Server's Create Payment Request endpoint with the amount, currency (like USD or BTC), store ID, and title. Optional fields include customer email for notifications, an expiration date, and a redirect URL for post-payment. BTCPay Server generates a payment page where customers can pay using Bitcoin on-chain or Lightning Network, depending on your store's configuration.
No. BTCPay Server is a non-custodial payment processor. Private keys never leave your wallet. Tars communicates exclusively through the Greenfield API to create payment requests and query statuses. Your Bitcoin funds go directly to your connected wallet. Tars never sees, stores, or transmits private keys or wallet seed phrases.
Yes. The agent can create new stores, retrieve store details by ID, and list payment requests per store. Each store operates independently with its own wallet, currency settings, and payment methods. This allows businesses to separate payment flows by department, product line, or geographic region on a single BTCPay Server deployment.
You need a BTCPay Server API key generated from your account settings. Required scopes include store management, payment request creation and retrieval, webhook configuration, and user profile access. BTCPay Server supports granular permission control, so you can restrict the key to only the specific stores and operations your AI agent needs.
Yes. The agent registers webhooks through BTCPay Server's Create Webhook endpoint for any store. You specify the callback URL, authorized events like invoice paid or payment settled, and optional HMAC secrets for payload verification. BTCPay Server posts event data to your URL, enabling real-time integration with order management or notification systems.
Yes. If your BTCPay Server instance has Lightning Network configured, payment requests automatically include Lightning invoices alongside on-chain Bitcoin addresses. Customers choose their preferred method at checkout. The agent does not need separate configuration for Lightning, since BTCPay Server handles payment method display based on your store's enabled options.
The admin dashboard requires manual login, navigation, and form filling to create payment requests or check statuses. With Tars, your AI agent handles these operations through conversation. Customers or staff describe what they need, and the agent executes the corresponding API calls instantly. This eliminates context switching and reduces time spent on repetitive payment administration tasks.
Yes. The agent supports deleting payment requests and canceling payouts through BTCPay Server's API. Provide the store ID and the payment request or payout ID to remove. This is useful for cleaning up expired requests, canceling erroneous payouts, or archiving completed transactions that no longer need to appear in active listings.
Don't limit your AI Agent to basic conversations. Watch how to configure and add powerful tools making your agent smarter and more functional.

Privacy & Security
At Tars, we take privacy and security very seriously. We are compliant with GDPR, ISO, SOC 2, and HIPAA.