BTCPay Server · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for BTCPay Greenfield Invoices API
12 actions
12 updates
phrasing
extends
openapi/btcpay-invoices-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for BTCPay Server's API. It is a proposal applied on top of the contract, not a document BTCPay Server publishes.
What the actions change
x-apievangelist-phrasing
Targets 12
$.info
$.paths['/api/v1/stores/{storeId}/invoices'].get
$.paths['/api/v1/stores/{storeId}/invoices'].post
$.paths['/api/v1/invoices/{invoiceId}'].get
$.paths['/api/v1/invoices/{invoiceId}'].put
$.paths['/api/v1/invoices/{invoiceId}'].delete
$.paths['/api/v1/invoices/{invoiceId}/payment-methods'].get
$.paths['/api/v1/invoices/{invoiceId}/status'].post
$.paths['/api/v1/invoices/{invoiceId}/unarchive'].post
$.paths['/api/v1/invoices/{invoiceId}/payment-methods/{paymentMethodId}/activate'].post
$.paths['/api/v1/invoices/{invoiceId}/refund'].post
$.paths['/api/v1/invoices/{invoiceId}/refund/{paymentMethodId}'].get
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for BTCPay Greenfield Invoices API
version: 1.0.0
extends: openapi/btcpay-invoices-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-18'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 11
- target: $.paths['/api/v1/stores/{storeId}/invoices'].get
update:
x-apievangelist-phrasing:
intent: List a store's invoices
effect: read
questions:
- Which invoices have been created in my store?
- Can I filter a store's invoices by status or by order ID?
- What is the maximum number of invoices returned per page?
instructions:
- text: List invoices in store {storeId}.
slots:
storeId: path.storeId
- text: Show {status} invoices for order {orderId} in store {storeId}.
slots:
status: query.status
orderId: query.orderId
storeId: path.storeId
- text: Find invoices in store {storeId} matching {textSearch}.
slots:
storeId: path.storeId
textSearch: query.textSearch
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/invoices'].post
update:
x-apievangelist-phrasing:
intent: Create an invoice
effect: write
questions:
- How do I create a new invoice for a customer?
- Can I set a custom amount and currency on an invoice?
- Is it possible to add metadata or a receipt to an invoice?
instructions:
- text: Create an invoice for {amount} {currency} in store {storeId}.
slots:
amount: requestBody.amount
currency: requestBody.currency
storeId: path.storeId
- text: Create an invoice in store {storeId} with metadata {metadata}.
slots:
storeId: path.storeId
metadata: requestBody.metadata
- text: Create an invoice for order {orderId} with checkout settings {checkout}.
slots:
orderId: requestBody.metadata
checkout: requestBody.checkout
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/invoices/{invoiceId}'].get
update:
x-apievangelist-phrasing:
intent: Get an invoice
effect: read
questions:
- What is the status and amount of a specific invoice?
- Can I include the payment methods available on an invoice?
instructions:
- text: Get invoice {invoiceId}.
slots:
invoiceId: path.invoiceId
- text: Show invoice {invoiceId} with payment methods {includePaymentMethods}.
slots:
invoiceId: path.invoiceId
includePaymentMethods: query.includePaymentMethods
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/invoices/{invoiceId}'].put
update:
x-apievangelist-phrasing:
intent: Update an invoice's metadata
effect: write
questions:
- Can I change the metadata on an existing invoice?
- How do I edit an invoice after it has been created?
instructions:
- text: Update invoice {invoiceId} with metadata {metadata}.
slots:
invoiceId: path.invoiceId
metadata: requestBody.metadata
- text: Change the metadata on invoice {invoiceId}.
slots:
invoiceId: path.invoiceId
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/invoices/{invoiceId}'].delete
update:
x-apievangelist-phrasing:
intent: Archive an invoice
effect: destructive
questions:
- How do I archive an invoice I no longer need?
- Can I remove an invoice from view without deleting it?
instructions:
- text: Archive invoice {invoiceId}.
slots:
invoiceId: path.invoiceId
- text: Hide invoice {invoiceId} by archiving it.
slots:
invoiceId: path.invoiceId
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/invoices/{invoiceId}/payment-methods'].get
update:
x-apievangelist-phrasing:
intent: List an invoice's payment methods
effect: read
questions:
- Which payment methods can a customer pay an invoice with?
- Can I see only accounted payments on an invoice?
instructions:
- text: List payment methods for invoice {invoiceId}.
slots:
invoiceId: path.invoiceId
- text: Show payment methods on invoice {invoiceId} with accounted payments {onlyAccountedPayments}.
slots:
invoiceId: path.invoiceId
onlyAccountedPayments: query.onlyAccountedPayments
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/invoices/{invoiceId}/status'].post
update:
x-apievangelist-phrasing:
intent: Mark an invoice as settled or invalid
effect: write
questions:
- How do I mark an invoice as invalid?
- Can I settle an invoice manually?
instructions:
- text: Mark invoice {invoiceId} as {status}.
slots:
invoiceId: path.invoiceId
status: requestBody.status
- text: Set invoice {invoiceId} to invalid.
slots:
invoiceId: path.invoiceId
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/invoices/{invoiceId}/unarchive'].post
update:
x-apievangelist-phrasing:
intent: Restore an archived invoice
effect: write
questions:
- How do I bring back an invoice I archived?
- Can I undo archiving an invoice?
instructions:
- text: Unarchive invoice {invoiceId}.
slots:
invoiceId: path.invoiceId
- text: Restore archived invoice {invoiceId}.
slots:
invoiceId: path.invoiceId
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/invoices/{invoiceId}/payment-methods/{paymentMethodId}/activate'].post
update:
x-apievangelist-phrasing:
intent: Activate a lazy payment method on an invoice
effect: write
questions:
- How do I activate a payment method on an invoice after it was created?
- Can I turn on a lazy payment method for an invoice?
instructions:
- text: Activate payment method {paymentMethodId} on invoice {invoiceId}.
slots:
paymentMethodId: path.paymentMethodId
invoiceId: path.invoiceId
- text: Turn on lazy payment method {paymentMethodId} for invoice {invoiceId}.
slots:
paymentMethodId: path.paymentMethodId
invoiceId: path.invoiceId
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/invoices/{invoiceId}/refund'].post
update:
x-apievangelist-phrasing:
intent: Refund an invoice
effect: write
questions:
- How do I refund an invoice to a customer?
- Can I refund an invoice at the current rate instead of the rate it was paid?
- Is it possible to subtract a percentage from a refund?
instructions:
- text: Refund invoice {invoiceId} using refund variant {refundVariant}.
slots:
invoiceId: path.invoiceId
refundVariant: requestBody.refundVariant
- text: Refund {customAmount} {customCurrency} from invoice {invoiceId} with variant {refundVariant}.
slots:
customAmount: requestBody.customAmount
customCurrency: requestBody.customCurrency
invoiceId: path.invoiceId
refundVariant: requestBody.refundVariant
- text: Refund invoice {invoiceId} with {subtractPercentage} subtracted.
slots:
invoiceId: path.invoiceId
subtractPercentage: requestBody.subtractPercentage
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/invoices/{invoiceId}/refund/{paymentMethodId}'].get
update:
x-apievangelist-phrasing:
intent: Calculate a refund amount for a payment method
effect: read
questions:
- How much would a refund be for a specific payment method?
- What refund amount is calculated for an invoice's payment method?
instructions:
- text: Calculate the refund for payment method {paymentMethodId} on invoice {invoiceId}.
slots:
paymentMethodId: path.paymentMethodId
invoiceId: path.invoiceId
- text: Show refund amounts for {paymentMethodId} on invoice {invoiceId}.
slots:
paymentMethodId: path.paymentMethodId
invoiceId: path.invoiceId
method: generated
generated: '2026-11-18'
Work with this as data
Every overlay here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/btcpay-invoices-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.