Follow

User Authentication

All requests to the PayJunction API must include a API User Login and Password. These credentials are passed to PayJunction using HTTP Basic Authentication.

HTTP libraries generally have built-in support for HTTP Basic Authentication. Alternatively the following header must be included in all HTTP requests:

Authorization: Basic base64("apiLogin:apiPassword")

If the login and/or password is wrong, the 401 Unauthorized HTTP Status Code is returned.