How the authentication works on our API
To use the PPPay APIs you need an API Token, which can be requested from our support.
With that token, you’ll be able to make authenticated requests to our APIs. You should send your key in every request to our API using the Bearer Authentication method e.g, for every request, you should pass the Authorization HTTP Header containing your token, prefixed by “Bearer“ string.
Example below:
curl -H 'Authorization: Bearer YOUR_API_TOKEN' \
https://application.pppay.com.br/api/ENDPOINT
We include the HTTP status on the JSON message, as well as on the headers of all JSON error responses.