Authentication

Ezypay API's uses the OAuth 2.0 protocol to authenticate and authorise all API calls.
<https://developer.ezypay.com/docs/authentication-3>

Important Items

Token Expiration
Ezypay authentication tokens have a time to live (TTL) of 60 minutes. Ensure tokens are refreshed before they expire to avoid authentication errors. It is recommended to cache the token and replace it every 50 minutes.

Ezypay Credentials
Including a dedicated page for Ezypay credential input as a part of integration is a crucial step in streamlining the merchant onboarding process. This page should be designed to securely capture the merchant's unique Ezypay credentials, which typically include the Merchant ID, Username, and Password. Once entered, these credentials facilitate the authentication process.

As outlined in the authentication guide, partners also have a set of credentials that are confidential to them. Please ensure those are not accessible by merchants on your platform.