diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.api-keys.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.api-keys.json index a65d6b467..1e934ccc1 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.api-keys.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.api-keys.json @@ -27,7 +27,7 @@ }, "security": [ { - "API_Key": [ "unrestricted" ], + "API_Key": ["unrestricted"], "Basic": [] } ] @@ -51,6 +51,16 @@ } } } + }, + "401": { + "description": "Missing authorization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } } }, "security": [ @@ -76,6 +86,16 @@ } } } + }, + "401": { + "description": "Missing authorization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } } }, "security": [ @@ -103,6 +123,26 @@ } } } + }, + "401": { + "description": "Missing authorization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "default": { + "description": "Unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } } }, "requestBody": { @@ -170,7 +210,8 @@ }, "tags": [ { - "name": "API Keys" + "name": "API Keys", + "description": "API Key operations" } ] } diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.apps.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.apps.json index f78fe044f..07e8c377c 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.apps.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.apps.json @@ -365,7 +365,8 @@ }, "tags": [ { - "name": "Apps" + "name": "Apps", + "description": "App operations" } ] } diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.authorization.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.authorization.json index 77c8b9bb2..bd47613a6 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.authorization.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.authorization.json @@ -82,12 +82,17 @@ "200": { "description": "A HTML form that a user can use to confirm permissions to grant", "content": { - "text/html": { - } + "text/html": {} } }, "307": { "description": "Makes browser do an HTTP POST request to the specified url in `redirect` with a JSON body consisting of `apiKey` (the api key created or matched), `permissions` (the permissions the user consented to), and `userId` (the id of the user that consented) upon consent" + }, + "401": { + "description": "Missing authorization", + "content": { + "text/html": {} + } } }, "security": [] @@ -96,7 +101,8 @@ }, "tags": [ { - "name": "Authorization" + "name": "Authorization", + "description": "Authorization operations" } ] } diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.custodians.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.custodians.json index 3d464cf47..e4283c619 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.custodians.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.custodians.json @@ -10,7 +10,7 @@ "operationId": "Custodians_GetSupportedCustodians", "responses": { "200": { - "description": "list of supported custodians", + "description": "List of supported custodians", "content": { "application/json": { "schema": { @@ -1125,7 +1125,8 @@ }, "tags": [ { - "name": "Custodians" + "name": "Custodians", + "description": "Custodian operations" } ] } diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.health.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.health.json index beaa5be9c..a5bd5d2ee 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.health.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.health.json @@ -18,6 +18,16 @@ } } } + }, + "default": { + "description": "Unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } } }, "security": [] @@ -40,7 +50,8 @@ }, "tags": [ { - "name": "Health" + "name": "Health", + "description": "Health operations" } ] } diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.invoices.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.invoices.json index 4a496c3a4..9caef6856 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.invoices.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.invoices.json @@ -90,7 +90,7 @@ "operationId": "Invoices_GetInvoices", "responses": { "200": { - "description": "list of invoices", + "description": "List of invoices", "content": { "application/json": { "schema": { @@ -98,6 +98,26 @@ } } } + }, + "401": { + "description": "Missing authorization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "default": { + "description": "Unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } } }, "security": [ @@ -1243,7 +1263,8 @@ }, "tags": [ { - "name": "Invoices" + "name": "Invoices", + "description": "Invoice operations" } ] } diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.json index db34b7ba2..a459f7470 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.json @@ -115,6 +115,5 @@ "API_Key": [], "Basic": [] } - ], - "tags": [] + ] } diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.lightning.internal.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.lightning.internal.json index a426be8fe..22f1c28f1 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.lightning.internal.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.lightning.internal.json @@ -446,7 +446,7 @@ ] } }, - + "/api/v1/server/lightning/{cryptoCode}/invoices/pay": { "post": { "tags": [ @@ -525,7 +525,7 @@ ] } }, - + "/api/v1/server/lightning/{cryptoCode}/invoices": { "get": { "tags": [ @@ -582,8 +582,28 @@ } } }, + "401": { + "description": "Missing authorization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "503": { "description": "Unable to access the lightning node" + }, + "default": { + "description": "Unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } } }, "security": [ @@ -665,7 +685,8 @@ }, "tags": [ { - "name": "Lightning (Internal Node)" + "name": "Lightning (Internal Node)", + "description": "Lightning (Internal Node) operations" } ] } diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.lightning.store.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.lightning.store.json index 4e727ae70..9de0f1903 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.lightning.store.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.lightning.store.json @@ -454,7 +454,7 @@ ] } }, - + "/api/v1/stores/{storeId}/lightning/{cryptoCode}/invoices/{id}": { "get": { "tags": [ @@ -673,8 +673,28 @@ } } }, + "401": { + "description": "Missing authorization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "503": { "description": "Unable to access the lightning node" + }, + "default": { + "description": "Unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } } }, "security": [ @@ -765,7 +785,8 @@ }, "tags": [ { - "name": "Lightning (Store)" + "name": "Lightning (Store)", + "description": "Lightning (Store) operations" } ] } diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.misc.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.misc.json index 1311f4a22..72c93a569 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.misc.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.misc.json @@ -32,6 +32,16 @@ } } } + }, + "default": { + "description": "Unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } } }, "security": [] @@ -73,6 +83,16 @@ } } } + }, + "default": { + "description": "Unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } } }, "security": [] @@ -111,6 +131,16 @@ } } } + }, + "default": { + "description": "Unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } } }, "security": [] @@ -160,7 +190,8 @@ }, "tags": [ { - "name": "Miscelleneous" + "name": "Miscelleneous", + "description": "Miscelleneous operations" } ] } diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.notifications.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.notifications.json index d55ef7b0e..94221bccd 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.notifications.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.notifications.json @@ -251,7 +251,8 @@ }, "tags": [ { - "name": "Notifications (Current User)" + "name": "Notifications (Current User)", + "description": "Notifications operations" } ] } diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.payment-requests.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.payment-requests.json index 79b0708fd..f984ddce9 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.payment-requests.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.payment-requests.json @@ -19,7 +19,7 @@ "operationId": "PaymentRequests_GetPaymentRequests", "responses": { "200": { - "description": "list of payment requests", + "description": "List of payment requests", "content": { "application/json": { "schema": { @@ -27,6 +27,16 @@ } } } + }, + "401": { + "description": "Missing authorization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } } }, "security": [ @@ -374,7 +384,8 @@ }, "tags": [ { - "name": "Payment Requests" + "name": "Payment Requests", + "description": "Payment Requests operations" } ] } diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.payout-processors.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.payout-processors.json index 79f82a33d..12dd10ed9 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.payout-processors.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.payout-processors.json @@ -648,10 +648,12 @@ }, "tags": [ { - "name": "Stores (Payout Processors)" + "name": "Stores (Payout Processors)", + "description": "Stores (Payout Processors) operations" }, { - "name": "Payout Processors" + "name": "Payout Processors", + "description": "Payout Processors operations" } ] } diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.pull-payments.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.pull-payments.json index c6091bb3a..c88ac9b20 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.pull-payments.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.pull-payments.json @@ -879,13 +879,16 @@ }, "tags": [ { - "name": "Pull payments (Management)" + "name": "Pull payments (Management)", + "description": "Pull payments (Management) operations" }, { - "name": "Pull payments (Public)" + "name": "Pull payments (Public)", + "description": "Pull payments (Public) operations" }, { - "name": "Pull payments payout (Public)" + "name": "Pull payments payout (Public)", + "description": "Pull payments payout (Public) operations" } ] } diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.serverinfo.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.serverinfo.json index 4d6eee6f7..c9160afaf 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.serverinfo.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.serverinfo.json @@ -18,6 +18,26 @@ } } } + }, + "401": { + "description": "Missing authorization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "default": { + "description": "Unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } } }, "security": [ @@ -116,7 +136,8 @@ }, "tags": [ { - "name": "ServerInfo" + "name": "ServerInfo", + "description": "Server Info operations" } ] } diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-email.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-email.json index e14416db9..92d696c04 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-email.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-email.json @@ -222,7 +222,8 @@ }, "tags": [ { - "name": "Stores (Email)" + "name": "Stores (Email)", + "description": "Store Emails operations" } ] } diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-payment-methods.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-payment-methods.json index 734d77b73..264a46db8 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-payment-methods.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-payment-methods.json @@ -41,6 +41,26 @@ } } } + }, + "401": { + "description": "Missing authorization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "default": { + "description": "Unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } } }, "security": [ @@ -92,7 +112,8 @@ }, "tags": [ { - "name": "Store Payment Methods" + "name": "Store Payment Methods", + "description": "Store Payment Methods operations" } ] } diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-payment-methods.lightning-network.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-payment-methods.lightning-network.json index f09b43981..1d6aa01de 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-payment-methods.lightning-network.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-payment-methods.lightning-network.json @@ -30,7 +30,7 @@ "operationId": "StoreLightningNetworkPaymentMethods_GetLightningNetworkPaymentMethods", "responses": { "200": { - "description": "list of payment methods", + "description": "List of payment methods", "content": { "application/json": { "schema": { @@ -38,6 +38,26 @@ } } } + }, + "401": { + "description": "Missing authorization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "default": { + "description": "Unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } } }, "security": [ @@ -311,7 +331,8 @@ }, "tags": [ { - "name": "Store Payment Methods (Lightning Network)" + "name": "Store Payment Methods (Lightning Network)", + "description": "Store Payment Methods (Lightning Network) operations" } ] } diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-payment-methods.lnurl.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-payment-methods.lnurl.json index fdf06aeaa..718424b16 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-payment-methods.lnurl.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-payment-methods.lnurl.json @@ -38,6 +38,26 @@ } } } + }, + "401": { + "description": "Missing authorization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "default": { + "description": "Unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } } }, "security": [ @@ -90,11 +110,35 @@ } } }, + "401": { + "description": "Missing authorization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, "403": { - "description": "If you are authenticated but forbidden to view the specified store" + "description": "If you are authenticated but forbidden to view the specified store", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } }, "404": { - "description": "The key is not found for this store/payment method" + "description": "The key is not found for this store/payment method", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } } }, "security": [ @@ -293,7 +337,8 @@ }, "tags": [ { - "name": "Store Payment Methods (LNURL Pay)" + "name": "Store Payment Methods (LNURL Pay)", + "description": "Store Payment Methods (LNURL Pay) operations" } ] } diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-payment-methods.on-chain.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-payment-methods.on-chain.json index ae338eeab..126478131 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-payment-methods.on-chain.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-payment-methods.on-chain.json @@ -30,7 +30,7 @@ ], "responses": { "200": { - "description": "list of payment methods", + "description": "List of payment methods", "content": { "application/json": { "schema": { @@ -38,6 +38,26 @@ } } } + }, + "401": { + "description": "Missing authorization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "default": { + "description": "Unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } } }, "security": [ @@ -697,7 +717,8 @@ }, "tags": [ { - "name": "Store Payment Methods (On Chain)" + "name": "Store Payment Methods (On Chain)", + "description": "Store Payment Methods (On Chain) operations" } ] } diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-rates-config.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-rates-config.json index 0d0bdbdd3..51ecfd772 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-rates-config.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-rates-config.json @@ -144,6 +144,7 @@ ], "summary": "Preview rate configuration results", "description": "Preview rate configuration results before you set it on the store", + "operationId": "Stores_PreviewStoreRateConfiguration", "requestBody": { "x-name": "request", "content": { @@ -186,7 +187,7 @@ }, "security": [ { - "API Key": [ + "API_Key": [ "btcpay.store.canmodifystoresettings" ], "Basic": [] @@ -245,8 +246,8 @@ }, "tags": [ { - "name": "Stores (Rates Config)" + "name": "Stores (Rates Config)", + "description": "Store Rates Config operations" } ] } - diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-users.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-users.json index 184d08720..ea2823aa7 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-users.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-users.json @@ -215,7 +215,8 @@ }, "tags": [ { - "name": "Stores (Users)" + "name": "Stores (Users)", + "description": "Store Users operations" } ] } diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-wallet.on-chain.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-wallet.on-chain.json index fd7b82778..fca2ef90b 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-wallet.on-chain.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores-wallet.on-chain.json @@ -920,7 +920,8 @@ }, "tags": [ { - "name": "Store Wallet (On Chain)" + "name": "Store Wallet (On Chain)", + "description": "Store Wallet (On Chain) operations" } ] } diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores.json index 3c0e0000b..4670e9837 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.stores.json @@ -18,6 +18,16 @@ } } } + }, + "401": { + "description": "Missing authorization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } } }, "security": [ @@ -424,7 +434,8 @@ }, "tags": [ { - "name": "Stores" + "name": "Stores", + "description": "Store operations" } ] } diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.users.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.users.json index 5277a673e..860270f21 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.users.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.users.json @@ -359,7 +359,8 @@ }, "tags": [ { - "name": "Users" + "name": "Users", + "description": "User operations" } ] } diff --git a/BTCPayServer/wwwroot/swagger/v1/swagger.template.webhooks.json b/BTCPayServer/wwwroot/swagger/v1/swagger.template.webhooks.json index 9e78d429f..5706e8ffb 100644 --- a/BTCPayServer/wwwroot/swagger/v1/swagger.template.webhooks.json +++ b/BTCPayServer/wwwroot/swagger/v1/swagger.template.webhooks.json @@ -827,7 +827,18 @@ } } }, - "responses": {} + "responses": { + "default": { + "description": "Unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } + } } }, "InvoiceExpired": { @@ -859,7 +870,18 @@ } } }, - "responses": {} + "responses": { + "default": { + "description": "Unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } + } } }, "InvoiceReceivedPayment": { @@ -891,7 +913,18 @@ } } }, - "responses": {} + "responses": { + "default": { + "description": "Unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } + } } }, "InvoicePaymentSettled": { @@ -923,7 +956,18 @@ } } }, - "responses": {} + "responses": { + "default": { + "description": "Unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } + } } }, "InvoiceProcessing": { @@ -955,7 +999,18 @@ } } }, - "responses": {} + "responses": { + "default": { + "description": "Unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } + } } }, "InvoiceInvalid": { @@ -987,7 +1042,18 @@ } } }, - "responses": {} + "responses": { + "default": { + "description": "Unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } + } } }, "InvoiceSettled": { @@ -1019,13 +1085,25 @@ } } }, - "responses": {} + "responses": { + "default": { + "description": "Unexpected error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } + } } } }, "tags": [ { - "name": "Webhooks" + "name": "Webhooks", + "description": "Webhook operations" } ] }