Maybe look into
https://bcoin.io/ ?
(Although i think they're primarily a wallet library. Not an invoice service such as Bitpay, although, i find that to be of an advantage- eg you will can easily chain a deposit adress to an account etc.)
I haven't extensively looked into them but they seem somewhat respectable and also offer some guides on detecting transactions/code examples?
Maybe not what you're looking for.