Get Permission
The merchant can call this API to request permissions enabled for the SDK on the device.
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:- upiGetPermission
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:- upiGetPermission
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

