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 (JWT format) |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| id_number | string | Yes | The IBAN to be verified and validated (should include country code and complete IBAN structure) |
{
"id_number": "ES7921000813610123412345"
}| Parameter | Type | Description |
|---|---|---|
| data.client_id | string | Unique identifier for this verification request |
| data.id_number | string | The original IBAN that was verified |
| data.bank_name | string | Full name of the bank associated with the IBAN |
| data.account_number | string | Extracted account number portion from the IBAN |
| data.bank_code | string | Bank identifier code extracted from the IBAN |
| data.country | string | ISO 3166-1 alpha-2 country code of the IBAN |
| data.checksum | string | Check digits used for IBAN validation |
| data.valid | boolean | Indicates whether the IBAN is structurally valid and passes checksum validation |
| data.bban | string | Basic Bank Account Number (BBAN) - the domestic account identifier |
| status_code | integer | HTTP status code of the response |
| success | boolean | Indicates whether the API call was successful |
| message | string | Human-readable message describing the result |
| message_code | string | Machine-readable code for the response status |
{
"data": {
"client_id": "iban_verify_gysYNjNlfikaywbvVebu",
"id_number": "ES7921000813610123412345",
"bank_name": "CAIXABANK, S.A.",
"account_number": "600123499999",
"bank_code": "2000",
"country": "ES",
"checksum": "79",
"valid": true,
"bban": "210008132324343456789"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"data": null,
"status_code": 401,
"success": false,
"message": "Invalid or expired token",
"message_code": "unauthorized"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/iban/iban-verify' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "ES7921000813610123412345"
}'{
"data": {
"client_id": "iban_verify_gysYNjNlfikaywbvVebu",
"id_number": "ES7921000813610123412345",
"bank_name": "CAIXABANK, S.A.",
"account_number": "600123499999",
"bank_code": "2000",
"country": "ES",
"checksum": "79",
"valid": true,
"bban": "210008132324343456789"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}