How to authenticate to our API

Always use HTTP Basic Auth

You can authenticate to the Paggi::API by providing your secret API key in the request. Your API keys carry many privileges, so be sure to keep them secret!

👍

This is a valid authentication key!

You can test out our API using this key: B31DCE74-E768-43ED-86DA-85501612548F, even before you create an account with us! All charges made with this key will be in demonstration mode an will not charge any card!

curl https://online.paggi.com/api/v4 \
   -H "Content-Type: application/json" \
   -u B31DCE74-E768-43ED-86DA-85501612548F:
auth = { username: "B31DCE74-E768-43ED-86DA-85501612548F", 
         password: "" }
HTTParty.get("https://api.kiik.com/", basic_auth: auth, headers:{"Content-Type" => "application/json"})

🚧

Attention

Note that the example above is not a valid request. It is only a few examples of how you should send Authorization headers