How to handle case when the country CAMARA implementation wants to be more restrictive than CAMARA defintion #312
-
We've an interesting case in one country wanting to implement KYC Match API. The requirement here and shared by the Telco is to enforce the presence of one attribute (documentId). This attribute should not be mandatory in the CAMARA as not relevant on other country. How we can do locally this restriction?
The exemple is for this API but probably is relevant in other APIs. Looking for guidance from the community... |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
This is an example where 'Runtime Restrictions' will help. Use of Capabilities and Runtime Restrictions enable an API provider to 'Mandate an optional parameter'. For discussion's sake, let's say 'birthdate' parameter is required in one country, or one API provider would like to mandate. The restriction provided below would allow an API provider to point a CAMARA API version they support and also communicate to API Consumer that this restriction (e.g. birthdate is a required parameter) applies. (Runtime Restriction - Partial Example)
cc @lbertz02 |
Beta Was this translation helpful? Give feedback.
-
Hi @bigludo7! If you are referring to the requirement of the idDocument as part of the match process, in v0.2 we have included guidelines on how to use it if it is relevant in the country: https://github.com/camaraproject/KnowYourCustomer/blob/main/code/API_definitions/kyc-match.yaml#L78 On the other hand, if the issue here is that it makes no sense for the operator to allow the client to even send the property in first place because is not relevant in the country, I agree, but the design of KYC allows the operator to return a "not_available" if this is the case. It happens to us also for japanese specific properties, we simply return not_available. |
Beta Was this translation helpful? Give feedback.
Hi @bigludo7!
I think this is an interesting topic to discuss that may apply to more scenarios, for example more restrictive validations regarding phone number validations. But, at least for this one, I think it is easy to solve it with spec documentation.
If you are referring to the requirement of the idDocument as part of the match process, in v0.2 we have included guidelines on how to use it if it is relevant in the country: https://github.com/camaraproject/KnowYourCustomer/blob/main/code/API_definitions/kyc-match.yaml#L78
It is not required per se, only if the operator decides it.
On the other hand, if the issue here is that it makes no sense for the operator to allow the client to ev…