cURL
curl --request POST \ --url https://api.example.com/api/v1/pep/request-access \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "subscriber_id": "<string>" } '
Request OTP for accessing a PEP account
POST /api/v1/pep/request-access
pep_access_authorized: true
{ "success": true, "message": "OTP sent successfully", "expiry_time": "2025-01-15T10:35:00Z" }