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 | Bearer JWT token for API authentication |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| client_id | String | Yes | Unique identifier for the Account Aggregator V2 client session |
{
"client_id": "account_aggregator_v2_oOxRfypvwDqMjti"
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Contains the response data with request tracking information |
| data.request_id | String | Unique identifier for tracking the refresh data request |
| status_code | Number | HTTP status code indicating the result of the request |
| message_code | String | Internal status code for the operation |
| message | String | Human-readable message describing the operation result |
| success | Boolean | Indicates whether the request was processed successfully |
{
"data": {
"request_id": "account_aggregator_v2_ojmzgkXAqwzTk"
},
"status_code": 200,
"message_code": "success",
"message": "Success",
"success": true
}{
"data": null,
"status_code": 400,
"message_code": "invalid_client_id",
"message": "Invalid or expired client ID provided",
"success": false
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/account-aggregator-v2/refresh-data' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"client_id": "account_aggregator_v2_oOxRfypvwDqMjti"
}'{
"data": {
"request_id": "account_aggregator_v2_oOxRfypvwDqMjti"
},
"status_code": 200,
"message_code": "success",
"message": "Success",
"success": true
}