Skip to main content

Auth Object Parameters

In this object, we add authorization key in verification request.

ParametersDescription
auth_typeRequired: Yes
Type: string
Accepted Values: basic_auth, access_token

This parameter explains the type of authorization user wants to use for verification. Add "basic_auth" value for verification with client_id and secret key. For verifiction with access token, the value of this parameter should be "access_token".
client_idRequired: Yes (in case of basic auth)
Type: string
This parameter is required for basic authorization type. The client id can be obtained from backoffice and can be used for authorization.
secret_keyRequired: Yes (in case of basic auth)
Type: string
This parameter is required for basic authorization type. The secret key can be obtained from backoffice and can be used for authorization.
access_tokenRequired: Yes (in case of access token)
Type: string
This parameter is required for access token authorization type. The access token obtained through end-point can be used for autorization