Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.iohttps://kyc-api.surepass.io| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token authentication using JWT |
| Content-Type | Yes | application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| kra_user | String | Yes | Username for the KRA Portal |
| kra_password | String | Yes | Password for the KRA Portal |
| kra_authority | String | Yes | KRA Authority identifier |
| kra_additional | String | Yes | Additional username for the KRA Portal |
{
"kra_authority": "NDML",
"kra_user": "example_user",
"kra_password": "secure_password",
"kra_additional": "additional_username"
}| Parameter | Type | Description |
|---|---|---|
| cvl | Boolean | Indicates if CVL KRA authentication config was saved successfully |
| ndml | Boolean | Indicates if NDML KRA authentication config was saved successfully |
| cams | Boolean | Indicates if CAMS KRA authentication config was saved successfully |
| dotex | Boolean | Indicates if DOTEX KRA authentication config was saved successfully |
| karvy | Boolean | Indicates if KARVY KRA authentication config was saved successfully |
{
"cvl": true,
"ndml": true,
"cams": false,
"dotex": true,
"karvy": false
}{
"error": "unauthorized",
"message": "Invalid or expired token"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/pull-kra/config' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"kra_authority": "{{kra_authority}}",
"kra_user": "{{kra_user}}",
"kra_password": "{{kra_password}}",
"kra_additional": "{{additional_auth}}"
}'{
"cvl": true,
"ndml": true,
"cams": false,
"dotex": true,
"karvy": false
}