BTCPay Demo API integration



Hello. I’m trying to implement BTCPay API following this guide. I get 404 error on any API request to “”. What’s wrong with the following:

curl -X POST \ \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'label=Main&id=<my_id>t&pairingCode=<my_pairingCode>'

What’s the right endpoint? I couldn’t find a documentation on API. I have a BitPay API implemented and just changing URL doesn’t seem to work.


Try instead.


I got Status Code: 415; Unsupported Media Type.


Okay, it should be “application/json”.