Since our API uses Bearer Authentication you have to request a token before you can do anything else. To do this, call our authentication endpoint using basic Authentication. Your Merchant ID is the username and your Secret Key is your password.
Heads Up! Don't try to use JSON as a post body, it wont work. You need to use form-data for this one.
PS, if you're currently logged in to the portal, conveniently your test keys are below:
Test Merchant ID: USER
Test Secret Key: PASS
You can also find these keys here: https://web.getpinch.com.au/api-keys