peakshift / btc-payer

Proof of concept of a social payments application using BTC Pay Server as a backend (shared channels).
https://peakshift.github.io/btc-payer
11 stars 4 forks source link

Test sending a payment from a BTC Pay Server store (lightning + on-chain) to through API #2

Open johnsBeharry opened 2 years ago

johnsBeharry commented 2 years ago

I think these are the relevant API endpoints, payouts should be from the store (in BTC Payer stores are like bank accounts) that the user selects.

Create store on-chain wallet transaction StoreOnChainWallets_CreateOnChainTransaction

https://docs.btcpayserver.org/api/v1/stores/{storeId}/payment-methods/OnChain/{cryptoCode}/wallet/transactions

Pay Lightning Invoice StoreLightningNodeApi_PayInvoice

https://docs.btcpayserver.org/api/v1/stores/{storeId}/lightning/{cryptoCode}/invoices/pay

jonathanpalma commented 2 years ago

@all-contributors please add @johnsBeharry for project management and ideas

allcontributors[bot] commented 2 years ago

@jonathanpalma

I've put up a pull request to add @johnsBeharry! :tada: