question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug]: API Call - Update configured store automated payout processors - "Method Not Allowed"

See original GitHub issue

What is your BTCPay version?

BTCPay Server v1.8.0

How did you deploy BTCPay Server?

I’m running BTCPay Server on a VPS, CLN deployment.

What happened?

When trying to run API call Update configured store onchain automated payout processors https://docs.btcpayserver.org/API/Greenfield/v1/#operation/GreenfieldStoreAutomatedOnChainPayoutProcessorsController_UpdateStoreOnChainAutomatedPayoutProcessorForPaymentMethod

Using correct storeID and paymentMethod = BTC

We get Error: “Method Not Allowed”

When trying to run API call Update configured store Lightning automated payout processors https://docs.btcpayserver.org/API/Greenfield/v1/#operation/GreenfieldStoreAutomatedLightningPayoutProcessorsController_UpdateStoreLightningAutomatedPayoutProcessor

Using correct storeID and paymentMethod = BTC-LightningNetwork

We get Error: “Method Not Allowed”

When trying to run alternate API call https://docs.btcpayserver.org/API/Greenfield/v1/#operation/GreenfieldStoreAutomatedOnChainPayoutProcessorsController_UpdateStoreOnChainAutomatedTransferSenderFactory

We get error “Not Found”

Note that we tried the above using a TEST api key with ALL permissions

@petzsch tried and got same error 405 “Method Not allowed”

Response Header shows ALLOW: DELETE

How did you encounter this bug?

Simply by calling the following API calls

https://docs.btcpayserver.org/API/Greenfield/v1/#operation/GreenfieldStoreAutomatedOnChainPayoutProcessorsController_UpdateStoreOnChainAutomatedTransferSenderFactory

https://docs.btcpayserver.org/API/Greenfield/v1/#operation/GreenfieldStoreAutomatedLightningPayoutProcessorsController_UpdateStoreLightningAutomatedPayoutProcessor

Relevant log output

No response

What browser do you use?

Brave, Chromium, Safari

Additional information

No response

Are you sure this is a bug report?

  • I confirm this is a bug report

Issue Analytics

  • State:closed
  • Created 6 months ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Kukkscommented, Mar 13, 2023

Is this merged in available update? if not ? what’s the ETA ? THx

Hey @strnly,this was an API documentation mishap - try the same code but with the URLs /api/v1/stores/{storeId}/payout-processors/LightningAutomatedPayoutSenderFactory and /api/v1/stores/{storeId}/payout-processors/OnChainAutomatedPayoutSenderFactory

0reactions
NicolasDoriercommented, Mar 15, 2023

released new version 1.8.4 for this

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common Integration Errors for Automated Recurring Billing ...
Answer. Automated Recurring Billing (ARB) and Customer Information Manager (CIM) use similar Application Programming Interfaces (APIs) and ...
Read more >
Electronic Bank Payments Error Codes
If Approval Routing is enabled for Electronic Bank Payments, this error occurs when Approval Routing is not properly set up in the bank...
Read more >
Error codes and messages
The payment method is not set up with installment. Solution: Check the requestData . Configure installment under the specific payment method; for example,...
Read more >
Payments API
Payments API. The Payments API enables you to process payments through the store's connected payment gateway. Merchants can receive a payment for an...
Read more >
Payment processors
All payment processors that Recharge integrates with are PCI compliant, fully encrypted, and regularly audited by third parties. Choosing which processor to ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found