In a multi user API environment we want to distinguish and only redirect those who need for authorization. Currently we are using Publisher to place orders.
You can use the meta field from the user profile API. It will have one of the below value: 1> empty 2> consent - Go through CDSL flow for authorization 3> physical - Not required to go through CDSL flow authorization Profile API sample response: ....meta': {'demat_consent': 'physical'}
It will have one of the below value:
1> empty
2> consent - Go through CDSL flow for authorization
3> physical - Not required to go through CDSL flow authorization
Profile API sample response:
....meta': {'demat_consent': 'physical'}