SecureApiGateway / SecureApiGateway

Top level project - includes wiki, github-pages and issues
https://github.com/SecureApiGateway/SecureApiGateway/wiki
Apache License 2.0
1 stars 1 forks source link

Feature: restrict to obtain the consents from IG and delegate it to RS or RCS #242

Closed jsanhc closed 1 year ago

jsanhc commented 2 years ago

Is your feature request related to a problem? Please describe. Currently the implementation for Consents is on IG to obtain the managed consent objects, but in some cases will be necessary calculate some fields before return the consent object to the TPP, one case is to calculate the funds confirmation. Ex. domestic payment consent needs to calculate the Charges and the Debtor by the ASPSP before return the consent object to the TPP.

Describe the solution you'd like Delegate the responsibility to build the consent response to any service as RS or RCS so the ASPSP will be able to calculate the value of fields that can be different for each ASPSP customer. The platform client library could be a nice agent between the platform and service to obtain the consents and rebuilt the consent with the calculated fields if necessary.

Describe alternatives you've considered Only the ASPSP can calculate these fields, like as Charges, no there is any alternative.

Release Notes

Affected App: Identity Platform Consents.

Description: X

jsanhc commented 1 year ago

This work was completed in the below issue: https://github.com/securebankingaccesstoolkit/securebankingaccesstoolkit/issues/423