TrueXCore KYC API

API aggregator for Open Gateway KYC Match. The service routes every request through Telcofinder using the provided phoneNumber, resolves the consumer-aware provider route, and invokes the downstream KYC Match capability using consumer-specific Open Gateway credentials and CIBA authentication.

  • undefined
  • undefined
  • undefined
  • undefined
healthHealth check operations
GET/healthHealth check

Parameters

No parameters

Responses

CodeDescriptionLinks
200

Service is healthy

Media type

application/json
{
  "status": "OK"
}
503

Service is unhealthy

Media type

application/json
{
  "status": "KO"
}
kycKYC match aggregation operations
POST/kyc/matchMatch customer KYC attributes against operator records

Compares the supplied customer attributes with the operator KYC dataset for the requested mobile line. Requires permission truexcore.kyc.match.

  • Bearer JWT

Parameters

No parameters

Request bodyrequired

Media type

application/json
{
  "phoneNumber": "+34666666666",
  "givenName": "Jane",
  "familyName": "Doe",
  "birthdate": "1990-01-15"
}

Responses

CodeDescriptionLinks
200

KYC match executed successfully

Media type

application/json
{
  "trace_id": "trace-001",
  "idDocumentMatch": {
    "value": true,
    "score": 74
  },
  "nameMatch": {
    "value": true,
    "score": 74
  },
  "givenNameMatch": {
    "value": true,
    "score": 74
  },
  "familyNameMatch": {
    "value": true,
    "score": 74
  },
  "middleNamesMatch": {
    "value": true,
    "score": 74
  },
  "familyNameAtBirthMatch": {
    "value": true,
    "score": 74
  },
  "addressMatch": {
    "value": true,
    "score": 74
  },
  "streetNameMatch": {
    "value": true,
    "score": 74
  },
  "streetNumberMatch": {
    "value": true,
    "score": 74
  },
  "postalCodeMatch": {
    "value": true,
    "score": 74
  },
  "regionMatch": {
    "value": true,
    "score": 74
  },
  "localityMatch": {
    "value": true,
    "score": 74
  },
  "countryMatch": {
    "value": true,
    "score": 74
  },
  "birthdateMatch": {
    "value": true,
    "score": 74
  },
  "emailMatch": {
    "value": true,
    "score": 74
  },
  "genderMatch": {
    "value": true,
    "score": 74
  }
}
400

Validation error

Media type

application/json
{
  "trace_id": "trace-001",
  "code": "VALIDATION_ERROR",
  "message": "Request validation failed"
}
401

Unauthorized

Media type

application/json
{
  "trace_id": "trace-001",
  "code": "VALIDATION_ERROR",
  "message": "Request validation failed"
}
403

Forbidden

Media type

application/json
{
  "trace_id": "trace-001",
  "code": "VALIDATION_ERROR",
  "message": "Request validation failed"
}
404

Operator not supported or KYC information not found

Media type

application/json
{
  "trace_id": "trace-001",
  "code": "VALIDATION_ERROR",
  "message": "Request validation failed"
}
429

Provider quota exceeded

Media type

application/json
{
  "trace_id": "trace-001",
  "code": "TOO_MANY_REQUESTS",
  "message": "Too many requests, please retry later using a backoff strategy"
}
500

Internal provider or routing error

Media type

application/json
{
  "trace_id": "trace-001",
  "code": "VALIDATION_ERROR",
  "message": "Request validation failed"
}
503

Upstream dependency unavailable

Media type

application/json
{
  "trace_id": "trace-001",
  "code": "VALIDATION_ERROR",
  "message": "Request validation failed"
}
Schemas
HealthResponse
HealthResponse {
status
string
example: OK
enum: [ OK, KO ]
}
MatchResult
MatchResult {
value
string
example: true
enum: [ true, false, not_available ]
score
integer($int32)
example: 74

Confidence score returned only when value is false.

}
KycMatchRequest
KycMatchRequest {
phoneNumber*
string
pattern: ^\+[1-9][0-9]{4,14}$
example: +34666666666

A phone number in E.164 format.

idDocument
string
example: 12345678A
name
string
example: Jane Doe
givenName
string
example: Jane
familyName
string
example: Doe
middleNames
string
example: Alice
familyNameAtBirth
string
example: Smith
address
string
example: Main Street 10, Madrid
streetName
string
example: Main Street
streetNumber
string
example: 10
postalCode
string
example: 28001
region
string
example: Madrid
locality
string
example: Madrid
country
string
pattern: ^[A-Z]{2}$
example: ES
birthdate
string($date)
example: 1990-01-15
email
string($email)
example: jane.doe@example.com
gender
string
enum: [ MALE, FEMALE, OTHER ]
}
KycMatchResponse
KycMatchResponse {
trace_id*
string
example: trace-001

Distributed trace identifier for the request.

idDocumentMatch
MatchResult {
value
string
example: true
enum: [ true, false, not_available ]
score
integer($int32)
example: 74

Confidence score returned only when value is false.

}
nameMatch
MatchResult {
value
string
example: true
enum: [ true, false, not_available ]
score
integer($int32)
example: 74

Confidence score returned only when value is false.

}
givenNameMatch
MatchResult {
value
string
example: true
enum: [ true, false, not_available ]
score
integer($int32)
example: 74

Confidence score returned only when value is false.

}
familyNameMatch
MatchResult {
value
string
example: true
enum: [ true, false, not_available ]
score
integer($int32)
example: 74

Confidence score returned only when value is false.

}
middleNamesMatch
MatchResult {
value
string
example: true
enum: [ true, false, not_available ]
score
integer($int32)
example: 74

Confidence score returned only when value is false.

}
familyNameAtBirthMatch
MatchResult {
value
string
example: true
enum: [ true, false, not_available ]
score
integer($int32)
example: 74

Confidence score returned only when value is false.

}
addressMatch
MatchResult {
value
string
example: true
enum: [ true, false, not_available ]
score
integer($int32)
example: 74

Confidence score returned only when value is false.

}
streetNameMatch
MatchResult {
value
string
example: true
enum: [ true, false, not_available ]
score
integer($int32)
example: 74

Confidence score returned only when value is false.

}
streetNumberMatch
MatchResult {
value
string
example: true
enum: [ true, false, not_available ]
score
integer($int32)
example: 74

Confidence score returned only when value is false.

}
postalCodeMatch
MatchResult {
value
string
example: true
enum: [ true, false, not_available ]
score
integer($int32)
example: 74

Confidence score returned only when value is false.

}
regionMatch
MatchResult {
value
string
example: true
enum: [ true, false, not_available ]
score
integer($int32)
example: 74

Confidence score returned only when value is false.

}
localityMatch
MatchResult {
value
string
example: true
enum: [ true, false, not_available ]
score
integer($int32)
example: 74

Confidence score returned only when value is false.

}
countryMatch
MatchResult {
value
string
example: true
enum: [ true, false, not_available ]
score
integer($int32)
example: 74

Confidence score returned only when value is false.

}
birthdateMatch
MatchResult {
value
string
example: true
enum: [ true, false, not_available ]
score
integer($int32)
example: 74

Confidence score returned only when value is false.

}
emailMatch
MatchResult {
value
string
example: true
enum: [ true, false, not_available ]
score
integer($int32)
example: 74

Confidence score returned only when value is false.

}
genderMatch
MatchResult {
value
string
example: true
enum: [ true, false, not_available ]
score
integer($int32)
example: 74

Confidence score returned only when value is false.

}
}
ErrorResponse
ErrorResponse {
trace_id
string
example: trace-001

Distributed trace identifier.

code*
string
example: VALIDATION_ERROR

Stable application error code.

message*
string
example: Request validation failed

Detailed error description.

}