Validate a user with their National ID.
Validate via National ID + CR Number.
Verify Commercial Registration status directly.
Instantly get data without Nafath approval.
| Role | National ID (NID) | CR Number (Wathq) |
|---|---|---|
| User 1 | 1012345678 | 7004567890 |
| User 2 | 1023456789 | 7003321442 |
| User 3 | 1034567890 | 7002981123 |
| User 4 | 1045678901 | 7004129981 |
| User 5 | 1056789012 | 7008113345 |
/* -------------------------------------- ENDPOINT 1: Individual Validation URL: POST /api/validate/individual -------------------------------------- */ // cURL Example curl -X POST http://localhost:5006/api/validate/individual \ -H "Content-Type: application/json" \ -d '{ "nationalId": "1012345678" }' // Response (Success) { "status": "WAITING", "transId": "12345-abcde", "random": "44" } /* -------------------------------------- ENDPOINT 2: Corporate Validation URL: POST /api/validate/corporate -------------------------------------- */ // cURL Example curl -X POST http://localhost:5006/api/validate/corporate \ -H "Content-Type: application/json" \ -d '{ "nationalId": "1012345678", "crNumber": "7004567890" }' /* -------------------------------------- ENDPOINT 3: Wathq CR Check (No Nafath) URL: POST /api/validate/cr -------------------------------------- */ curl -X POST http://localhost:5006/api/validate/cr \ -H "Content-Type: application/json" \ -d '{ "crNumber": "7004567890" }' /* -------------------------------------- ENDPOINT 4: Nafath and Wathq CR Check (Bypass) URL: POST /api/validate/bypass -------------------------------------- */ curl -X POST http://localhost:5006/api/validate/bypass \ -H "Content-Type: application/json" \ -d '{ "nationalId": "1012345678", "crNumber": "7004567890" }'
| ID | Method | Endpoint | Status | Timestamp | Action |
|---|---|---|---|---|---|
| Loading logs... | |||||