Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.apphttps://kyc-api.surepass.app| Header | Required | Description |
|---|---|---|
| Authorization | Yes | JWT Bearer token for authentication (Format: Bearer YOUR_JWT_TOKEN) |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| irn_number | string | Yes | 64-character hexadecimal IRN hash to be verified. This is the unique Invoice Reference Number generated by the IRP |
{
"irn_number": "01e1bf7b5d14563ef9e0b7b2d7a808a35333fe327fcbc1e901bf4db395ab5abc"
}| Parameter | Type | Description |
|---|---|---|
| data | object | Contains the verification results and IRN details |
| data.client_id | string | Unique identifier for this verification request |
| data.irn_number | string | The IRN number that was verified |
| data.status | string | Registration status of the IRN (e.g., "Registered") |
| data.registered_date | string | Date when the IRN was registered (Format: YYYY-MM-DD) |
| data.registered_irp | string | Invoice Registration Portal where the IRN is registered (e.g., "NIC1") |
| status_code | integer | HTTP status code of the response |
| success | boolean | Indicates whether the API request was successful |
| message | string | Human-readable message describing the result |
| message_code | string | Machine-readable code for the message |
{
"data": {
"client_id": "irn_verification_pUQUrxVjuEtpfqveJurQ",
"irn_number": "01e1bf7b5d14563ef9e0b7b2d7a808a35333fe327fcbc1e901bf4db395ab5abc",
"status": "Registered",
"registered_date": "2023-04-30",
"registered_irp": "NIC1"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"status_code": 400,
"success": false,
"message": "Invalid IRN format provided",
"message_code": "invalid_input"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/corporate/irn-verification' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"irn_number": "01e1bf7b5d14563ef9e0b7b2d7a808a35333fe327fcbc1e901bf4db395ab5abc"
}'{
"data": {
"client_id": "irn_verification_pUQUrxVjuEtpfqveJurQ",
"irn_number": "01e1bf7b5d14563ef9e0b7b2d7a808a35333fe327fcbc1e901bf4db395ab5abc",
"status": "Registered",
"registered_date": "2023-01-01",
"registered_irp": "NIC1"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}