Vouchery API supports two authentication methods:
- Login and password auth using HTTP Basic
- API key auth using HTTP Bearer token
To obtain access to Vouchery API please contact us by sending an email to [email protected].
To use basic authentication scheme you need to pass a following header.
<value> needs to be base64 encoded string
user:password will give a value of
Authorization: Basic <value>
API key authentication
To use bearer authentication scheme you need to pass a following header.
<api_key> is an API key you have received from Vouchery.
Authorization: Bearer <api_key>