api/v1/customer/check-consent/{id}

POST

/api/v1/customer/check-consent/{id}

id refers to the customer's id who is accepting the consent.

This API method will allow you to check the customer's consent for the given revision and platform.

platform_type = ios or android
###Request Parameters

Parameter

Value / Type

Required

platform_type

STRING

true

Sample Response

{
    "status": true,
    'isAccepted': true
}
{
    "status": true,
    'isAccepted': false
}
{
    "status": false,
    "errorCode": "VALIDATION_EXCEPTION",
    "message": "Please provid a valid platform type"
}