Skip to main content

Authentication

Each call to the API is authenticated via UserId and Password. Authentication to the API is performed by HTTP Basic Authentication. Prepay Nation will provide a user id and password.

Consumers send credentials in userId:password base64-encoded format in the Authorization header.

For example:

  • User Id: testuser
  • Password: test1234

Combined value: testuser:test1234

Base64 encoded value: dGVzdHVzZXI6dGVzdDEyMzQ=

Header format: Authorization: Basic dGVzdHVzZXI6dGVzdDEyMzQ==