All PayG APIs are authorized using Basic Authorization. Basic authorization requires the following:
Authorization: basic authentication with base64encoded
<PayGAuthentication –>
<MerchantAuthenticationToken>
<MerchantKeyId>
<RedirectUrl>
Log into your Dashboard with appropriate credentials.
Select the mode (Test or Live) for which you want to generate the API key.
Note:You have to generate separate API Keys for the test and live modes. No real money is used in test mode.
- Navigate to Settings → API Keys → Generate Key to generate key for the selected mode.
The Key Id and Key Secret appear in a pop-out window as shown below: