Check Permission
The merchant can call this API to check permissions enabled for SDK on device.
Note
In ios - upiCheckPermission would always return the status as GRANTED.
Process Parameters
Request
Response
requestId
*
String
Mandatory
Unique uuid-v4 string
Example: abcd-12345-abcd-12345
service
*
String
Mandatory
Value: in.juspay.hyperapi
payload
*
JSON
Mandatory
Parameters required to call Hyper SDK API
action
*
String
Mandatory
Operation to be performed in the SDK
Example:- upiCheckPermission
requestId
String
Unique uuid-v4 string
Example: abcd-12345-abcd-12345
service
String
Value: in.juspay.hyperapi
payload
JSON
Response Parameters
action
*
String
Mandatory
Operation performed in the SDK
Example:- upiCheckPermission
status
*
String
Mandatory
Status of the API
Example:- SUCCESS/FAILURE
permissions
*
Array
Mandatory
Array of permissions with status
status
*
String
Mandatory
Status of the permission
Example:- DENIED/GRANTED
label
*
String
Mandatory
Lable of the permission
Example: android.permission.SEND_SMS
error
Boolean
Possible values :- true/false
errorMessage
String
Error Message
errorCode
String
Error Code
event
String
Value: process_result

