Skip to main content

Authentication

Introduction

Moyasar PG REST API uses Bearer authentication with API keys generated from the dashboard.

Each API key will have a set of permissions and will only be allowed to access services explicitly selected by the acquirer.

The acquirer API key has the following form:

acquirer_key_123

Where 123 is a unique secure random string.

Authentication

To authenticate an API call, you have to add the following header to each request:

Authorization: Bearer <api_key>

Note: replace the <api_key> with the actual key.