get Bitcoin Address from Invoice
Is possible to get the payment address (not from the buyer, our recepit btc address) from the Invoice?
Seems only refund address is provided by the API. What use case do you have here? On BTCPay invoice the address as there but I think the api does not expose those currently.
Greenfield API allows to get that info.
https://docs.btcpayserver.org/API/Greenfield/v1/#operation/Invoices_ArchiveInvoice
field destination will have address to pay.
Greenfield API allows to get that info. https://docs.btcpayserver.org/API/Greenfield/v1/#operation/Invoices_ArchiveInvoice field
destinationwill have address to pay.
The correct link is https://docs.btcpayserver.org/API/Greenfield/v1/#operation/Invoices_GetInvoicePaymentMethods
Thanks for mentioning Greenfield API. This is the issue queue for the old BTCPay PHP client that was just a clone from the original Bitpay client but with renamed classes. So the Greenfield API is not related to this repo but as of recently has it's own PHP library which can be found here: https://github.com/btcpayserver/btcpayserver-greenfield-php