BTCPay Server · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for BTCPay Greenfield Subscriptions API
20 actions
20 updates
phrasing
extends
openapi/btcpay-subscriptions-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 20 · first 16 shown; the file carries all of them
$.info
$.paths['/api/v1/stores/{storeId}/offerings/{offeringId}'].get
$.paths['/api/v1/stores/{storeId}/offerings/{offeringId}'].put
$.paths['/api/v1/stores/{storeId}/offerings'].get
$.paths['/api/v1/stores/{storeId}/offerings'].post
$.paths['/api/v1/stores/{storeId}/offerings/{offeringId}/plans'].post
$.paths['/api/v1/stores/{storeId}/offerings/{offeringId}/plans/{planId}'].get
$.paths['/api/v1/stores/{storeId}/offerings/{offeringId}/plans/{planId}'].put
$.paths['/api/v1/stores/{storeId}/offerings/{offeringId}/subscribers/{customerSelector}'].get
$.paths['/api/v1/stores/{storeId}/offerings/{offeringId}/subscribers/{customerSelector}'].delete
$.paths['/api/v1/stores/{storeId}/offerings/{offeringId}/subscribers/{customerSelector}/credits/{currency}'].get
$.paths['/api/v1/stores/{storeId}/offerings/{offeringId}/subscribers/{customerSelector}/credits/{currency}'].post
$.paths['/api/v1/stores/{storeId}/offerings/{offeringId}/subscribers/{customerSelector}/suspend'].post
$.paths['/api/v1/stores/{storeId}/offerings/{offeringId}/subscribers/{customerSelector}/unsuspend'].post
$.paths['/api/v1/stores/{storeId}/offerings/{offeringId}/subscribers/{customerSelector}/dates'].put
$.paths['/api/v1/plan-checkout/{checkoutId}'].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 Subscriptions API
version: 1.0.0
extends: openapi/btcpay-subscriptions-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: 19
- target: $.paths['/api/v1/stores/{storeId}/offerings/{offeringId}'].get
update:
x-apievangelist-phrasing:
intent: Get a subscription offering
effect: read
questions:
- What features and price does a particular subscription offering have?
- Can I look up one offering by its ID?
instructions:
- text: Get offering {offering} in store {store}.
slots:
offering: path.offeringId
store: path.storeId
- text: Show the details of subscription offering {offering} for store {store}.
slots:
offering: path.offeringId
store: path.storeId
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/offerings/{offeringId}'].put
update:
x-apievangelist-phrasing:
intent: Update a subscription offering
effect: write
questions:
- Can I rename a subscription offering or change its features?
- Is it possible to update the success redirect URL on an offering?
instructions:
- text: Rename offering {offering} in store {store} to {name}.
slots:
offering: path.offeringId
store: path.storeId
name: requestBody.appName
- text: Set the success redirect URL of offering {offering} in store {store} to {url}.
slots:
offering: path.offeringId
store: path.storeId
url: requestBody.successRedirectUrl
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/offerings'].get
update:
x-apievangelist-phrasing:
intent: List subscription offerings
effect: read
questions:
- Which subscription offerings exist in my store?
- Can I see all offerings for one store?
instructions:
- text: List all offerings in store {store}.
slots:
store: path.storeId
- text: Show every subscription offering for store {store}.
slots:
store: path.storeId
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/offerings'].post
update:
x-apievangelist-phrasing:
intent: Create a subscription offering
effect: write
questions:
- How do I create a new subscription offering for my store?
- Can I set features and a success redirect when creating an offering?
instructions:
- text: Create offering {name} in store {store}.
slots:
name: requestBody.appName
store: path.storeId
- text: Create offering {name} in store {store} with features {features} and redirect {url}.
slots:
name: requestBody.appName
store: path.storeId
features: requestBody.features
url: requestBody.successRedirectUrl
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/offerings/{offeringId}/plans'].post
update:
x-apievangelist-phrasing:
intent: Create a subscription plan
effect: write
questions:
- How do I add a monthly or yearly plan to an offering?
- Can I set a trial period and price when creating a plan?
instructions:
- text: Create a {recurring} plan named {name} in offering {offering} for store {store}.
slots:
recurring: requestBody.recurringType
name: requestBody.name
offering: path.offeringId
store: path.storeId
- text: Add a {recurring} plan {name} to offering {offering} in store {store} priced at {price}.
slots:
recurring: requestBody.recurringType
name: requestBody.name
offering: path.offeringId
store: path.storeId
price: requestBody.price
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/offerings/{offeringId}/plans/{planId}'].get
update:
x-apievangelist-phrasing:
intent: Get a subscription plan
effect: read
questions:
- What price and billing interval does a specific plan have?
- Can I look up one plan by its ID?
instructions:
- text: Get plan {plan} of offering {offering} in store {store}.
slots:
plan: path.planId
offering: path.offeringId
store: path.storeId
- text: Show the details of plan {plan} on offering {offering} for store {store}.
slots:
plan: path.planId
offering: path.offeringId
store: path.storeId
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/offerings/{offeringId}/plans/{planId}'].put
update:
x-apievangelist-phrasing:
intent: Update a subscription plan
effect: write
questions:
- Can I change the price or billing interval of an existing plan?
- Is it possible to extend the trial period on a plan?
instructions:
- text: Change the price of plan {plan} on offering {offering} in store {store} to {price}.
slots:
plan: path.planId
offering: path.offeringId
store: path.storeId
price: requestBody.price
- text: Set the trial period of plan {plan} on offering {offering} in store {store} to {days} days.
slots:
plan: path.planId
offering: path.offeringId
store: path.storeId
days: requestBody.trialDays
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/offerings/{offeringId}/subscribers/{customerSelector}'].get
update:
x-apievangelist-phrasing:
intent: Get a subscription subscriber
effect: read
questions:
- What plan is a particular customer subscribed to?
- Can I look up a subscriber by email?
instructions:
- text: Get the subscriber {customer} on offering {offering} in store {store}.
slots:
customer: path.customerSelector
offering: path.offeringId
store: path.storeId
- text: Show which plan customer {customer} is subscribed to in offering {offering} for store {store}.
slots:
customer: path.customerSelector
offering: path.offeringId
store: path.storeId
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/offerings/{offeringId}/subscribers/{customerSelector}'].delete
update:
x-apievangelist-phrasing:
intent: Cancel a subscription subscriber
effect: destructive
questions:
- How do I cancel a customer's subscription?
- Can I remove a subscriber from an offering entirely?
instructions:
- text: Delete subscriber {customer} from offering {offering} in store {store}.
slots:
customer: path.customerSelector
offering: path.offeringId
store: path.storeId
- text: Cancel the subscription of customer {customer} on offering {offering} for store {store}.
slots:
customer: path.customerSelector
offering: path.offeringId
store: path.storeId
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/offerings/{offeringId}/subscribers/{customerSelector}/credits/{currency}'].get
update:
x-apievangelist-phrasing:
intent: Get a subscriber's credit balance
effect: read
questions:
- How much credit does a subscriber have left?
- Can I check a customer's credit balance in a specific currency?
instructions:
- text: Get the credit balance of subscriber {customer} on offering {offering} in store {store} in {currency}.
slots:
customer: path.customerSelector
offering: path.offeringId
store: path.storeId
currency: path.currency
- text: Show how many {currency} customer {customer} has left on offering {offering} in store {store}.
slots:
currency: path.currency
customer: path.customerSelector
offering: path.offeringId
store: path.storeId
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/offerings/{offeringId}/subscribers/{customerSelector}/credits/{currency}'].post
update:
x-apievangelist-phrasing:
intent: Add or charge a subscriber's credit
effect: write
questions:
- How do I add credit to a subscriber's balance?
- Can I charge a customer's credit for a plan?
instructions:
- text: Add {credit} credit to subscriber {customer} on offering {offering} in store {store} in {currency}.
slots:
credit: requestBody.credit
customer: path.customerSelector
offering: path.offeringId
store: path.storeId
currency: path.currency
- text: Charge {charge} from customer {customer}'s credit on offering {offering} in store {store} in {currency}.
slots:
charge: requestBody.charge
customer: path.customerSelector
offering: path.offeringId
store: path.storeId
currency: path.currency
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/offerings/{offeringId}/subscribers/{customerSelector}/suspend'].post
update:
x-apievangelist-phrasing:
intent: Suspend a subscriber
effect: write
questions:
- How do I temporarily suspend a customer's subscription?
- Can I suspend a subscriber with a reason?
instructions:
- text: Suspend subscriber {customer} on offering {offering} in store {store}.
slots:
customer: path.customerSelector
offering: path.offeringId
store: path.storeId
- text: Suspend customer {customer} on offering {offering} in store {store} because {reason}.
slots:
customer: path.customerSelector
offering: path.offeringId
store: path.storeId
reason: requestBody.reason
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/offerings/{offeringId}/subscribers/{customerSelector}/unsuspend'].post
update:
x-apievangelist-phrasing:
intent: Reactivate a suspended subscriber
effect: write
questions:
- How do I lift the suspension on a subscriber?
- Can I reactivate a suspended customer's subscription?
instructions:
- text: Unsuspend subscriber {customer} on offering {offering} in store {store}.
slots:
customer: path.customerSelector
offering: path.offeringId
store: path.storeId
- text: Reactivate the suspended subscription of customer {customer} on offering {offering} for store {store}.
slots:
customer: path.customerSelector
offering: path.offeringId
store: path.storeId
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/stores/{storeId}/offerings/{offeringId}/subscribers/{customerSelector}/dates'].put
update:
x-apievangelist-phrasing:
intent: Override a subscriber's dates
effect: write
questions:
- Can I change a subscriber's start or end date manually?
- What happens to the grace period when I extend a subscription?
instructions:
- text: Set the subscription of customer {customer} on offering {offering} in store {store} to end on {date}.
slots:
customer: path.customerSelector
offering: path.offeringId
store: path.storeId
date: requestBody.expirationDate
- text: Move the start date of customer {customer}'s subscription on offering {offering} in store {store} to {date}.
slots:
customer: path.customerSelector
offering: path.offeringId
store: path.storeId
date: requestBody.startDate
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/plan-checkout/{checkoutId}'].get
update:
x-apievangelist-phrasing:
intent: Get a plan checkout session
effect: read
questions:
- What are the details of a plan checkout session?
- Can I look up a plan checkout by its ID?
instructions:
- text: Get plan checkout {checkout}.
slots:
checkout: path.checkoutId
- text: Show the details of plan checkout session {checkout}.
slots:
checkout: path.checkoutId
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/plan-checkout/{checkoutId}'].post
update:
x-apievangelist-phrasing:
intent: Complete a plan checkout
effect: write
questions:
- How do I finish a plan checkout and start the subscription?
- What happens if a customer pays during a plan checkout?
instructions:
- text: Proceed with plan checkout {checkout}.
slots:
checkout: path.checkoutId
- text: Complete plan checkout {checkout} for email {email}.
slots:
checkout: path.checkoutId
email: query.email
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/plan-checkout'].post
update:
x-apievangelist-phrasing:
intent: Create a plan checkout session
effect: write
questions:
- How do I start a checkout for a specific plan?
- Can I create a plan checkout for a customer who doesn't exist yet?
instructions:
- text: Create a plan checkout for plan {plan} of offering {offering} in store {store}.
slots:
plan: requestBody.planId
offering: requestBody.offeringId
store: requestBody.storeId
- text: Create a plan checkout for customer {customer} on offering {offering} in store {store}.
slots:
customer: requestBody.customerSelector
offering: requestBody.offeringId
store: requestBody.storeId
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/subscriber-portal'].post
update:
x-apievangelist-phrasing:
intent: Create a subscriber portal session
effect: write
questions:
- How do I give a subscriber a link to manage their subscription?
- Can I create a portal session that expires after a set time?
instructions:
- text: Create a subscriber portal session for customer {customer} on offering {offering} in store {store}.
slots:
customer: requestBody.customerSelector
offering: requestBody.offeringId
store: requestBody.storeId
- text: Create a portal session for offering {offering} in store {store} that lasts {minutes} minutes.
slots:
offering: requestBody.offeringId
store: requestBody.storeId
minutes: requestBody.durationMinutes
method: generated
generated: '2026-11-18'
- target: $.paths['/api/v1/subscriber-portal/{portalSessionId}'].get
update:
x-apievangelist-phrasing:
intent: Get a subscriber portal session
effect: read
questions:
- What are the details of an existing subscriber portal session?
- Can I look up a portal session by its ID?
instructions:
- text: Get subscriber portal session {portal}.
slots:
portal: path.portalSessionId
- text: Show the details of portal session {portal}.
slots:
portal: path.portalSessionId
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-subscriptions-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.