mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
@@ -30,9 +30,8 @@ namespace BTCPayServer.Controllers.Greenfield
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Authorize(Policy = Policies.CanViewStoreSettings, AuthenticationSchemes = AuthenticationSchemes.Greenfield)]
|
[Authorize(Policy = Policies.CanViewStoreSettings, AuthenticationSchemes = AuthenticationSchemes.Greenfield)]
|
||||||
[HttpGet("~/api/v1/stores/{storeId}/payout-processors/" + nameof(LightningAutomatedPayoutSenderFactory))]
|
[HttpGet("~/api/v1/stores/{storeId}/payout-processors/LightningAutomatedPayoutSenderFactory")]
|
||||||
[HttpGet("~/api/v1/stores/{storeId}/payout-processors/" + nameof(LightningAutomatedPayoutSenderFactory) +
|
[HttpGet("~/api/v1/stores/{storeId}/payout-processors/LightningAutomatedPayoutSenderFactory/{paymentMethod}")]
|
||||||
"/{paymentMethod}")]
|
|
||||||
public async Task<IActionResult> GetStoreLightningAutomatedPayoutProcessors(
|
public async Task<IActionResult> GetStoreLightningAutomatedPayoutProcessors(
|
||||||
string storeId, string? paymentMethod)
|
string storeId, string? paymentMethod)
|
||||||
{
|
{
|
||||||
@@ -64,8 +63,7 @@ namespace BTCPayServer.Controllers.Greenfield
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Authorize(Policy = Policies.CanModifyStoreSettings, AuthenticationSchemes = AuthenticationSchemes.Greenfield)]
|
[Authorize(Policy = Policies.CanModifyStoreSettings, AuthenticationSchemes = AuthenticationSchemes.Greenfield)]
|
||||||
[HttpPut("~/api/v1/stores/{storeId}/payout-processors/" + nameof(LightningAutomatedPayoutSenderFactory) +
|
[HttpPut("~/api/v1/stores/{storeId}/payout-processors/LightningAutomatedPayoutSenderFactory/{paymentMethod}")]
|
||||||
"/{paymentMethod}")]
|
|
||||||
public async Task<IActionResult> UpdateStoreLightningAutomatedPayoutProcessor(
|
public async Task<IActionResult> UpdateStoreLightningAutomatedPayoutProcessor(
|
||||||
string storeId, string paymentMethod, LightningAutomatedPayoutSettings request)
|
string storeId, string paymentMethod, LightningAutomatedPayoutSettings request)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -30,9 +30,8 @@ namespace BTCPayServer.Controllers.Greenfield
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Authorize(Policy = Policies.CanViewStoreSettings, AuthenticationSchemes = AuthenticationSchemes.Greenfield)]
|
[Authorize(Policy = Policies.CanViewStoreSettings, AuthenticationSchemes = AuthenticationSchemes.Greenfield)]
|
||||||
[HttpGet("~/api/v1/stores/{storeId}/payout-processors/" + nameof(OnChainAutomatedPayoutSenderFactory))]
|
[HttpGet("~/api/v1/stores/{storeId}/payout-processors/OnChainAutomatedPayoutSenderFactory")]
|
||||||
[HttpGet("~/api/v1/stores/{storeId}/payout-processors/" + nameof(OnChainAutomatedPayoutSenderFactory) +
|
[HttpGet("~/api/v1/stores/{storeId}/payout-processors/OnChainAutomatedPayoutSenderFactory/{paymentMethod}")]
|
||||||
"/{paymentMethod}")]
|
|
||||||
public async Task<IActionResult> GetStoreOnChainAutomatedPayoutProcessors(
|
public async Task<IActionResult> GetStoreOnChainAutomatedPayoutProcessors(
|
||||||
string storeId, string? paymentMethod)
|
string storeId, string? paymentMethod)
|
||||||
{
|
{
|
||||||
@@ -70,8 +69,7 @@ namespace BTCPayServer.Controllers.Greenfield
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Authorize(Policy = Policies.CanModifyStoreSettings, AuthenticationSchemes = AuthenticationSchemes.Greenfield)]
|
[Authorize(Policy = Policies.CanModifyStoreSettings, AuthenticationSchemes = AuthenticationSchemes.Greenfield)]
|
||||||
[HttpPut("~/api/v1/stores/{storeId}/payout-processors/" + nameof(OnChainAutomatedPayoutSenderFactory) +
|
[HttpPut("~/api/v1/stores/{storeId}/payout-processors/OnChainAutomatedPayoutSenderFactory/{paymentMethod}")]
|
||||||
"/{paymentMethod}")]
|
|
||||||
public async Task<IActionResult> UpdateStoreOnchainAutomatedPayoutProcessor(
|
public async Task<IActionResult> UpdateStoreOnchainAutomatedPayoutProcessor(
|
||||||
string storeId, string paymentMethod, OnChainAutomatedPayoutSettings request)
|
string storeId, string paymentMethod, OnChainAutomatedPayoutSettings request)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -139,7 +139,7 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/api/v1/stores/{storeId}/payout-processors/OnChainAutomatedTransferSenderFactory/{paymentMethod}": {
|
"/api/v1/stores/{storeId}/payout-processors/OnChainAutomatedPayoutSenderFactory/{paymentMethod}": {
|
||||||
"get": {
|
"get": {
|
||||||
"tags": [
|
"tags": [
|
||||||
"Stores (Payout Processors)"
|
"Stores (Payout Processors)"
|
||||||
@@ -264,7 +264,7 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/api/v1/stores/{storeId}/payout-processors/LightningAutomatedTransferSenderFactory/{paymentMethod}": {
|
"/api/v1/stores/{storeId}/payout-processors/LightningAutomatedPayoutSenderFactory/{paymentMethod}": {
|
||||||
"get": {
|
"get": {
|
||||||
"tags": [
|
"tags": [
|
||||||
"Stores (Payout Processors)"
|
"Stores (Payout Processors)"
|
||||||
@@ -496,7 +496,7 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/api/v1/stores/{storeId}/payout-processors/LightningAutomatedTransferSenderFactory": {
|
"/api/v1/stores/{storeId}/payout-processors/LightningAutomatedPayoutSenderFactory": {
|
||||||
"get": {
|
"get": {
|
||||||
"tags": [
|
"tags": [
|
||||||
"Stores (Payout Processors)"
|
"Stores (Payout Processors)"
|
||||||
@@ -514,7 +514,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Get configured store Lightning automated payout processors",
|
"description": "Get configured store Lightning automated payout processors",
|
||||||
"operationId": "GreenfieldStoreAutomatedLightningPayoutProcessorsController_GetStoreLightningAutomatedTransferSenderFactory",
|
"operationId": "GreenfieldStoreAutomatedLightningPayoutProcessorsController_GetStoreLightningAutomatedPayoutSenderFactory",
|
||||||
"responses": {
|
"responses": {
|
||||||
"200": {
|
"200": {
|
||||||
"description": "configured processors",
|
"description": "configured processors",
|
||||||
|
|||||||
Reference in New Issue
Block a user