TrueXCore KYC Tenure API
API aggregator for Open Gateway KYC Tenure. The service routes every request through Telcofinder using the provided phoneNumber, resolves the consumer-aware provider route, and invokes the downstream KYC Tenure capability using consumer-specific Open Gateway credentials and CIBA authentication.
/healthHealth checkParameters
No parameters
Responses
| Code | Description | Links |
|---|---|---|
| 200 | Service is healthy Media type application/jsonHealthResponse { status string } | No links |
| 503 | Service is unhealthy Media type application/jsonHealthResponse { status string } | No links |
/kyc-tenure/checkCheck KYC tenure for a network subscriberVerifies that a network subscriber has been a customer of the operator for at least the minimum period indicated by tenureDate. Routing is performed via Telcofinder using the provided phoneNumber. Requires permission truexcore.kycTenure.check.
- Bearer JWT
Parameters
No parameters
Request bodyrequired
Media type
application/json{
"phoneNumber": "+34666666666",
"tenureDate": "2024-02-28"
}A phone number in E.164 format used for Telcofinder routing.
The minimum customer tenure date to verify in YYYY-MM-DD format.
Responses
| Code | Description | Links |
|---|---|---|
| 200 | KYC tenure check executed successfully Media type application/jsonKycTenureResponse { trace_id* string Distributed trace identifier for the request. contractType string The type of contract held by the subscriber. tenureDateCheck* boolean True if the subscriber has been a customer since at least tenureDate. } | No links |
| 400 | Validation error Media type application/jsonErrorResponse { trace_id string Distributed trace identifier. code* string Stable application error code. message* string Detailed error description. } | No links |
| 401 | Unauthorized Media type application/jsonErrorResponse { trace_id string Distributed trace identifier. code* string Stable application error code. message* string Detailed error description. } | No links |
| 403 | Forbidden Media type application/jsonErrorResponse { trace_id string Distributed trace identifier. code* string Stable application error code. message* string Detailed error description. } | No links |
| 404 | Operator not supported or subscriber not found Media type application/jsonErrorResponse { trace_id string Distributed trace identifier. code* string Stable application error code. message* string Detailed error description. } | No links |
| 429 | Provider quota exceeded Media type application/jsonErrorResponse { trace_id string Distributed trace identifier. code* string Stable application error code. message* string Detailed error description. } | No links |
| 500 | Internal provider or routing error Media type application/jsonErrorResponse { trace_id string Distributed trace identifier. code* string Stable application error code. message* string Detailed error description. } | No links |
| 503 | Upstream dependency unavailable Media type application/jsonErrorResponse { trace_id string Distributed trace identifier. code* string Stable application error code. message* string Detailed error description. } | No links |
HealthResponseKycTenureRequestA phone number in E.164 format used for Telcofinder routing.
The minimum customer tenure date to verify in YYYY-MM-DD format.
KycTenureResponseDistributed trace identifier for the request.
The type of contract held by the subscriber.
True if the subscriber has been a customer since at least tenureDate.
ErrorResponseDistributed trace identifier.
Stable application error code.
Detailed error description.