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 token for API authentication (Format: Bearer YOUR_JWT_TOKEN) |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| client_id | string | Yes | Unique identifier for the client in the Account Aggregator system. Format: account_aggregator_v2_{random_string} |
| request_id | string | Conditional | Unique identifier for the consent request obtained from the Refresh Data endpoint (/api/v1/account-aggregator-v2/refresh-data). Required for loan_monitoring flow. Optional for loan_underwriting flow. |
{
"client_id": "account_aggregator_v2_oOxRfypvwDqMjtpqyi",
"request_id": "account_aggregator_v2_ojmzgkXAqwzTroKzFBGk_hrBxcvsp"
}| Parameter | Type | Description |
|---|---|---|
| data | object | Container object holding the account aggregator response data |
| data.client_id | string | Echo of the client_id from the request |
| data.account_aggregator_json | array | Array of account objects containing detailed financial information |
| data.account_aggregator_json[].account_id | string | Unique UUID identifier for the account |
| data.account_aggregator_json[].status | string | Status of the data fetch operation (e.g., "READY") |
| data.account_aggregator_json[].profile_details | object | Customer profile information |
| data.account_aggregator_json[].profile_details.name | string | Full name of the account holder |
| data.account_aggregator_json[].profile_details.dob | string | Date of birth in YYYY-MM-DD format |
| data.account_aggregator_json[].profile_details.mobile | string | Mobile number of the account holder |
| data.account_aggregator_json[].profile_details.nominee | string | Nominee name registered with the account |
| data.account_aggregator_json[].profile_details.landline | string | Landline number if available |
| data.account_aggregator_json[].profile_details.address | string | Complete address including PIN code |
| data.account_aggregator_json[].profile_details.email | string | Email address of the account holder |
| data.account_aggregator_json[].profile_details.pan | string | PAN (Permanent Account Number) |
| data.account_aggregator_json[].profile_details.ckyc_registered | string | Central KYC registration status ("true"/"false") |
| data.account_aggregator_json[].profile_details.type | string | Account holder type (e.g., "SINGLE", "JOINT") |
| data.account_aggregator_json[].summary_details | object | Account summary and balance information |
| data.account_aggregator_json[].summary_details.branch | string | Branch code |
| data.account_aggregator_json[].summary_details.facility | string | Credit facility status (e.g., "NO_FACILITY_GRANTED") |
| data.account_aggregator_json[].summary_details.micr_code | string | MICR code of the branch |
| data.account_aggregator_json[].summary_details.opening_date | string/null | Account opening date |
| data.account_aggregator_json[].summary_details.current_od_limit | string | Current overdraft limit amount |
| data.account_aggregator_json[].summary_details.drawing_limit | string | Drawing limit for the account |
| data.account_aggregator_json[].summary_details.status | string | Account status (e.g., "ACTIVE", "INACTIVE") |
| data.account_aggregator_json[].summary_details.account_type | string | Primary account type classification |
| data.account_aggregator_json[].summary_details.account_sub_type | string | Sub-type of account (e.g., "SAVINGS", "CURRENT") |
| data.account_aggregator_json[].summary_details.ifsc | string | IFSC code of the bank branch |
| data.account_aggregator_json[].summary_details.current_balance | string | Current account balance |
| data.account_aggregator_json[].summary_details.currency | string | Currency code (e.g., "INR") |
| data.account_aggregator_json[].summary_details.balance_date_time | string | Timestamp of balance update in ISO 8601 format |
| data.account_aggregator_json[].transaction_data | object | Container for transaction information |
| data.account_aggregator_json[].transaction_data.transaction_details | array | Array of individual transaction records |
| data.account_aggregator_json[].transaction_data.transaction_details[].transaction_id | string | Unique transaction identifier |
| data.account_aggregator_json[].transaction_data.transaction_details[].amount | number | Transaction amount |
| data.account_aggregator_json[].transaction_data.transaction_details[].narration | string | Transaction description/narration |
| data.account_aggregator_json[].transaction_data.transaction_details[].type | string | Transaction type ("DEBIT" or "CREDIT") |
| data.account_aggregator_json[].transaction_data.transaction_details[].mode | string | Transaction mode (e.g., "UPI", "NEFT", "IMPS") |
| data.account_aggregator_json[].transaction_data.transaction_details[].transaction_timestamp | string | Transaction timestamp in ISO 8601 format |
| data.account_aggregator_json[].transaction_data.transaction_details[].value_date | string | Value date of the transaction |
| data.account_aggregator_json[].transaction_data.transaction_details[].reference | string | Transaction reference number |
| data.account_aggregator_json[].transaction_data.transaction_details[].transactional_balance | string | Account balance after this transaction |
| data.account_aggregator_json[].transaction_data.start_date | string | Start date of transaction data period (YYYY-MM-DD) |
| data.account_aggregator_json[].transaction_data.end_date | string | End date of transaction data period (YYYY-MM-DD) |
| data.account_aggregator_json[].transaction_type | string | Type of account transactions (e.g., "deposit") |
| data.account_aggregator_json[].masked_account_number | string | Masked account number for security |
| status_code | integer | HTTP status code of the response |
| success | boolean | Indicates if the request was successful |
| message | string | Human-readable response message |
| message_code | string | Machine-readable message code |
{
"data": {
"client_id": "account_aggregator_v2_oOxRfypvwDqMjtpqyi",
"account_aggregator_json": [
{
"account_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"status": "READY",
"profile_details": {
"name": "John Doe",
"dob": "1985-01-15",
"mobile": "9000000000",
"nominee": "Jane Doe",
"landline": "011-1234567",
"address": "123 Fake Street, Springfield, USA, PIN : 000000",
"email": "john.doe@example.com",
"pan": "ABCDE1234F",
"ckyc_registered": "true",
"type": "SINGLE"
},
"summary_details": {
"branch": "00001",
"facility": "NO_FACILITY_GRANTED",
"micr_code": "123456789",
"opening_date": null,
"current_od_limit": "0.00",
"drawing_limit": "50000.00",
"status": "ACTIVE",
"account_type": "",
"account_sub_type": "SAVINGS",
"ifsc": "FAKE0000001",
"current_balance": "98765.43",
"currency": "INR",
"balance_date_time": "2025-07-23T18:35:29+05:30"
},
"transaction_data": {
"transaction_details": [
{
"transaction_id": "T000001",
"amount": 1500,
"narration": "UPI/DR/Fake Payment 1",
"type": "DEBIT",
"mode": "UPI",
"transaction_timestamp": "2024-08-01T10:00:00+05:30",
"value_date": "2024-08-01T00:00:00+05:30",
"reference": "",
"transactional_balance": "97265.43"
},
{
"transaction_id": "T000002",
"amount": 2000,
"narration": "NEFT/CR/Fake Transfer 2",
"type": "CREDIT",
"mode": "NEFT",
"transaction_timestamp": "2024-08-02T11:15:00+05:30",
"value_date": "2024-08-02T00:00:00+05:30",
"reference": "",
"transactional_balance": "99265.43"
}
],
"start_date": "2024-07-23",
"end_date": "2025-07-23"
},
"transaction_type": "deposit",
"masked_account_number": "XXXXXXXXXXXXX1234"
}
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"status_code": 401,
"success": false,
"message": "Unauthorized access. Invalid or expired token.",
"message_code": "unauthorized"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/account-aggregator-v2/fetch-json-report' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"client_id": "account_aggregator_v2_oOxRfypvwDqMjti"
}'{
"data": {
"client_id": "account_aggregator_v2_oOxRfypvwDqMjti",
"account_aggregator_json": [
{
"account_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"status": "READY",
"profile_details": {
"name": "John Doe",
"dob": "1985-01-15",
"mobile": "9000000000",
"nominee": "Jane Doe",
"landline": "011-1234567",
"address": "123 Fake Street, Springfield, USA, PIN : 000000",
"email": "john.doe@example.com",
"pan": "ABCDE1234F",
"ckyc_registered": "true",
"type": "SINGLE"
},
"summary_details": {
"branch": "00001",
"facility": "NO_FACILITY_GRANTED",
"micr_code": "123456789",
"opening_date": null,
"current_od_limit": "0.00",
"drawing_limit": "50000.00",
"status": "ACTIVE",
"account_type": "",
"account_sub_type": "SAVINGS",
"ifsc": "FAKE0000001",
"current_balance": "98765.43",
"currency": "INR",
"balance_date_time": "2025-07-23T18:35:29+05:30"
},
"transaction_data": {
"transaction_details": [
{
"transaction_id": "T000001",
"amount": 1500,
"narration": "UPI/DR/Fake Payment 1",
"type": "DEBIT",
"mode": "UPI",
"transaction_timestamp": "2024-08-01T10:00:00+05:30",
"value_date": "2024-08-01T00:00:00+05:30",
"reference": "",
"transactional_balance": "97265.43"
},
{
"transaction_id": "T000002",
"amount": 2000,
"narration": "NEFT/CR/Fake Transfer 2",
"type": "CREDIT",
"mode": "NEFT",
"transaction_timestamp": "2024-08-02T11:15:00+05:30",
"value_date": "2024-08-02T00:00:00+05:30",
"reference": "",
"transactional_balance": "99265.43"
},
{
"transaction_id": "T000001",
"amount": 1500,
"narration": "UPI/DR/Fake Payment 1",
"type": "DEBIT",
"mode": "UPI",
"transaction_timestamp": "2024-08-01T10:00:00+05:30",
"value_date": "2025-08-10T00:00:00+05:30",
"reference": "",
"transactional_balance": "97265.43"
},
{
"transaction_id": "T000001",
"amount": 1500,
"narration": "UPI/DR/Fake Payment 1",
"type": "DEBIT",
"mode": "UPI",
"transaction_timestamp": "2024-08-01T10:00:00+05:30",
"value_date": "2025-08-11T00:00:00+05:30",
"reference": "",
"transactional_balance": "97265.43"
},
{
"transaction_id": "T000001",
"amount": 1500,
"narration": "UPI/DR/Fake Payment 1",
"type": "CREDIT",
"mode": "UPI",
"transaction_timestamp": "2024-08-01T10:00:00+05:30",
"value_date": "2024-08-01T00:00:00+05:30",
"reference": "",
"transactional_balance": "97265.43"
},
{
"transaction_id": "T000001",
"amount": 1500,
"narration": "UPI/DR/Fake Payment 1",
"type": "CREDIT",
"mode": "UPI",
"transaction_timestamp": "2024-08-01T10:00:00+05:30",
"value_date": "2024-08-01T00:00:00+05:30",
"reference": "",
"transactional_balance": "97265.43"
}
],
"start_date": "2024-07-23",
"end_date": "2025-07-23"
},
"transaction_type": "deposit",
"masked_account_number": "XXXXXXXXXXXXX1234"
}
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}