How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

BTCPay Server Webhooks API

Webhook operations

BTCPay Server Webhooks API is one of 32 APIs that BTCPay Server publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Webhook. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, a GitHub repository, authentication docs, and rate-limit docs.

This API exposes 9 operations across 6 paths, and defines 42 schemas. It is described by OpenAPI 3.2.0, at version v1.

Requests are made against a single base URL, /.

9 operations 6 paths 42 schemas 1 DELETE5 GET2 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
v1
Base URL
https://{btcpay-host}/api/v1
Authentication
API Key, HTTP Basic
License
Resource Areas
1

Authentication & Security 2

BTCPay Server Webhooks API declares 2 security schemes for authenticating requests. An API key is passed in the header as Authorization (API_Key). It accepts HTTP basic authentication (Basic). By default, every request must be authenticated.

  • API_Key — BTCPay Server supports authenticating and authorizing users through an API Key that is generated by them. Send the API Key as a header value to Authorization w…
  • Basic — BTCPay Server supports authenticating and authorizing users through the Basic HTTP authentication scheme during the first five minutes after account creation o…

Paths & Operations 9

Across 6 paths, the API surfaces 9 operations — 1 DELETE, 5 GET, 2 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Webhooks 9

Webhook operations

GET
/api/v1/stores/{storeId}/webhooks
Get webhooks of a store
Webhooks_GetWebhooks 1 param → 200404
POST
/api/v1/stores/{storeId}/webhooks
Create a new webhook
Webhooks_CreateWebhook 1 param body → 200400
GET
/api/v1/webhooks/{webhookId}
Get a webhook
Webhooks_GetWebhook 1 param → 200404
PUT
/api/v1/webhooks/{webhookId}
Update a webhook
Webhooks_UpdateWebhook 1 param body → 200400
DELETE
/api/v1/webhooks/{webhookId}
Delete a webhook
Webhooks_DeleteWebhook 1 param → 200404
GET
/api/v1/webhooks/{webhookId}/deliveries
Get latest deliveries
Webhooks_GetWebhookDeliveries 2 params → 200404
GET
/api/v1/webhooks/{webhookId}/deliveries/{deliveryId}
Get a webhook delivery
Webhooks_GetWebhookDelivery 2 params → 200404
GET
/api/v1/webhooks/{webhookId}/deliveries/{deliveryId}/request
Get the delivery's request
Webhooks_GetWebhookDeliveryRequests 2 params → 200404409
POST
/api/v1/webhooks/{webhookId}/deliveries/{deliveryId}/redeliver
Redeliver the delivery
Webhooks_RedeliverWebhookDelivery 2 params → 200404409

Schemas 42

The contract defines 42 schemas that model the data the API accepts and returns. The most detailed are SubscriberModel (17 properties), OfferingPlanModel (14 properties), WebhookEvent (6 properties), WebhookDeliveryData (6 properties). Each schema is shown below with its type and property counts.

WebhookInvoiceReceivedPaymentEvent
Callback sent if the type is InvoiceReceivedPayment
WebhookSubscriberDisabledEvent
Callback sent if the type is SubscriberDisabled
Payment
object
6 properties
WebhookSubscriptionEvent
Base data for subscription webhooks.
WebhookPlanStartedEvent
Callback sent if the type is PlanStarted
WebhookSubscriberEvent
Callback sent for subscription events tied to a subscriber.
WebhookSubscriberCreditedEvent
Callback sent if the type is SubscriberCredited
UnixTimestamp
number
A unix timestamp in seconds
WebhookData
WebhookInvoiceSettledEvent
Callback sent if the type is InvoiceSettled
CreateOfferingModel
object
New offering data to create.
4 properties 1 required
OfferingModel
PayoutState
string
The state of the payout (AwaitingApproval, AwaitingPayment, InProgress, Completed, Cancelled)
WebhookEvent
object
6 properties
PaymentMethodId
string
Payment method IDs. Available payment method IDs for Bitcoin are: - "BTC-CHAIN": Onchain -"BTC-LN": Lightning - "BTC-LNURL": LNURL
WebhookInvoiceEvent
ValidationProblemDetails
array
An array of validation errors of the request
WebhookInvoiceProcessingEvent
Callback sent if the type is InvoiceProcessing
SubscriberModel
object
Represents a subscriber of an offering.
17 properties
OfferingPlanModel
object
Represents a pricing plan for an offering.
14 properties
WebhookInvoicePaymentSettledEvent
Callback sent if the type is InvoicePaymentSettled
CustomerModel
object
Represents a customer associated with a store.
5 properties
SubscriptionPhase
string
Lifecycle phase of the subscription.
WebhookDataUpdate
WebhookDataCreate
StoreId
string
Store ID of the item
WebhookInvoiceInvalidEvent
Callback sent if the type is InvoiceInvalid
WebhookSubscriberDisabledReason
string
Reason why the subscriber was disabled.
ProblemDetails
object
Description of an error happening during processing of the request
2 properties
WebhookDeliveryData
object
6 properties
WebhookInvoiceExpiredEvent
Callback sent if the type is InvoiceExpired
OfferingId
string
Offering's ID
PlanId
string
Plan's ID
WebhookDataList
array
WebhookSubscriberChargedEvent
Callback sent if the type is SubscriberCharged
PaymentStatus
string
The status of the payment
WebhookSubscriberPhaseChangedEvent
Callback sent if the type is SubscriberPhaseChanged
WebhookDataCreateResult
CustomerId
string
Unique identifier of the customer.
FeatureModel
object
Represents a feature that can be included in an offering or plan.
2 properties 2 required
WebhookDeliveryList
array
WebhookDataBase
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

btcpay-webhooks-api-openapi.yml Raw ↑

Other APIs BTCPay Server publishes across the network.

BTCPay Server API Keys API
BTCPay Server Apps API
BTCPay Server Authorization API
BTCPay Server Crowdfund API
BTCPay Server Files API
BTCPay Server Health API
BTCPay Server Invoices API
BTCPay Server Lightning address API
BTCPay Server Lightning (Internal Node) API
BTCPay Server Lightning (Store) API
BTCPay Server Miscelleneous API
BTCPay Server Notifications (Current User) API
Where this information came from

This is an independent, third-party profile of BTCPay Server Webhooks API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.