This endpoint allows you to retrieve identity details.
cURL
curl --request GET \ --url https://processor-prod.up.railway.app/identity \ --header 'x-service-key: <api-key>'
{ "success": true, "status": 200, "message": "Identity fetched successfully", "timestamp": "2025-09-08T20:18:48.483Z", "data": { "is_active": true, "id": "68bf2de7196a18d7bd165ffb", "type": "bvn", "details": { "bvn": "22284621397" } } }
The identity ID to fetch details for
"68bf2de7196a18d7bd165ffb"
Identity fetched successfully
true
200
"Identity fetched successfully"
"2025-09-08T20:18:48.483Z"
Show child attributes
bvn
nin
link
"bvn"
Identity details based on type
{ "bvn": "22284621397" }