TrueXCore KYC Age Verification API

API aggregator for Open Gateway KYC Age Verification. The service routes every request through Telcofinder using the provided phoneNumber, resolves the consumer-aware provider route, and invokes the downstream KYC Age Verification 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"
}
kyc-age-verificationKYC age verification operations
POST/kyc-age-verification/verifyVerify that the subscriber of a line meets a minimum age threshold

Checks whether the user of the requested mobile line is over the supplied ageThreshold. Only an ageThreshold of 18 is supported; any other value is rejected with a validation error. Routing is performed via Telcofinder using the provided phoneNumber. Optional identity attributes can be supplied to cross-check more data. Requires permission truexcore.kycAgeVerification.verify.

  • Bearer JWT

Parameters

No parameters

Request bodyrequired

Media type

application/json
{
  "phoneNumber": "+34666666666",
  "ageThreshold": 18
}

Responses

CodeDescriptionLinks
200

KYC age verification executed successfully

Media type

application/json
{
  "trace_id": "trace-001",
  "ageCheck": "true"
}
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 age verification 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 ]
}
KycAgeVerificationRequest
KycAgeVerificationRequest {
phoneNumber*
string
pattern: ^\+[1-9][0-9]{4,14}$
example: +34666666666

A phone number in E.164 format used for Telcofinder routing.

ageThreshold*
integer($int32)
minimum: 18
maximum: 18
example: 18

The minimum age to verify against the subscriber age. Only 18 is supported.

idDocument
string
example: 66666666q

Identity document number to cross-check.

name
string
example: Federica Sanchez Arjona

Complete name of the customer.

givenName
string
example: Federica

First/given name of the customer.

familyName
string
example: Sanchez Arjona

Family name / surname of the customer.

middleNames
string
example: Sanchez

Middle names of the customer.

familyNameAtBirth
string
example: YYYY

Family name at birth of the customer.

birthdate
string($date)
example: 1978-08-22

Birthdate of the customer in YYYY-MM-DD format.

email
string($email)
example: federicaSanchez.Arjona@example.com

Email address of the customer.

}
KycAgeVerificationResponse
KycAgeVerificationResponse {
trace_id*
string
example: trace-001

Distributed trace identifier for the request.

ageCheck*
string
example: true
enum: [ true, false, not_available ]

Whether the subscriber age is over the requested ageThreshold.

}
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.

}