mojaloop / mojaloop-specification

This repo contains the specification document set of the Open API for FSP Interoperability
https://docs.mojaloop.io/api
Other
20 stars 40 forks source link

[cross-border] - KYC data #21

Open adrianhopebailie opened 5 years ago

adrianhopebailie commented 5 years ago

Transactions that cross-borders often have stringent data collection requirements to comply with KYC regulations etc.

One way this might be accommodated is the addition of a new data element in the quote request and response (callback) called Participants.

This would be an ordered list that is added to by each participant and contains data about intermediary and the transfer that it will perform as part of the end-to-end transaction.

E.g:

Data from the payee FSP is encrypted first with the requestor's key and then the payer's key and included in the quote response. It is decrypted by the payer (although still encrypted under the requestor's key) and included in the transfer.

Data from the payer FSP is included in the transfer encrypted under the requestor's key.

Participants can reject the quote if they are unable to provide the data requested or they can reject the transfer if the data provided is insufficient.

This data model needs to be explored more thoroughly including the impact on the message signatures. It's assumed that in a multi-hop transaction each hop will have a different JWS.

adrianhopebailie commented 5 years ago

Based on some discussion with @MichaelJBRichards we think we need to update this to include:

TX object will now contain:

Data required by intermediaries from the payee is encrypted with the intermediary key and then the payer key.