{
    "status": 200,
    "data": {
        "message": "An OTP/Link and PIN Security Code are required by the institution to login",
        "method": "POST",
        "api": "/v2/data/auth/gopay/otp",   
        "job_id": "KVWJUrwQ78333309", 
        "username": "username",
        "unique_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "session_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "otp_token": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    },
    "metadata":{
        "source": "{{API/Widget/Dashboard/SDK/Portal}}", 
        "entity": "Auth"         
   },
    "error": null 
}
{
  "status": 400,
  "data": null,
  "error": {
    "method": "POST",
    "api": "/v2/data/auth/gopay/otp",
    "job_id": "A9xJuBaY40363324",
    "code": "wrong_parameters_in_request",
    "message": "Please use correct Username in the request body",
    "action": "End-user's should use GoPay registered mobile number",
    "reason": "Username is not correct in the request body"
  },
  "metadata": {
    "entity": "AUTH",
    "source": "API"
  }
}

Response Parameters

Key ParametersData TypeDescription
statusIntResponse status code
data-messageStringMessage to inform the user
data-methodStringRequest method information
data-apiStringEndpoint information
data-job_idStringUnique Id for request, It will help to map callback response
data-usernameStringEnd-user's Gopay registered mobile number
data-unique_idStringRequest identification of that request
data-session_idStringSession identification of that request
data-otp_tokenStringOTP token that binds the OTP