Skip to content

Proposal for transversal exception for phoneNumber/device mismatch with other API identifiers #518

@PedroDiez

Description

@PedroDiez

Problem description
Coming from Customer Insights WG discussion, there is an scenario where a phoneNumber is not related to idDocument provided.
This is some kind of analogous scenario of "IDENTIFIERS_MISMATCH" in the context of device object.

The aim for this issue is to propose a model to reflect that phoneNumber/device provided within a request is not related to other kind of identifier provided.

Also the model tries to be agnostic enough to avoid/address security considerations.

Other APIs could benefit of this transversal Error (e.g. KYC match)

Possible evolution
Define a transversal error for phoneNumber/device mismatch with other "identifier" concept in an API.

            GENERIC_422_INVALID_IDENTIFIERS:
              description: The request contains invalid data identifying customer
              value:
                status: 422
                code: INVALID_IDENTIFIERS
                message: The request contains invalid data.

Alternative solution
N/A

Additional context

CustomerInsights/pull/51 comment

Metadata

Metadata

Assignees

Labels

Spring26Scope of Spring26 (H1-2026) meta-releaseenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions