Authentication

Before you can use Everifin Paygate in any flow, you need to authenticate yourself. For authentication a simple OAuth mechanism is used.

You will get your client credentials after successful registration. If you want to be registered, please https://everifin.atlassian.net/wiki/spaces/AD1/pages/2356805663 .

Get authentication token

To get an authentication token you need your client credentials - client id and client secret.

Request

POST {{everifin_idp_url}}/auth/realms/everifin_paygate/protocol/openid-connect/token Content-Type: "application/x-www-form-urlencoded" Body: client_id: "your-client-id" client_secret: "your-client-secret" grant_type: "client_credentials" scope: "refunds" // OPTIONAL - required for refunds API calls

Response

200: { "access_token": "some-access-token", "expires_in": 300, "refresh_expires_in": 0, "token_type": "Bearer", "not-before-policy": 0, "scope": "profile email refunds" }

 

Related pages