mojaloop / project

Repo to track product development issues for the Mojaloop project.
Other
22 stars 15 forks source link

[FX] Adjust participant account validations in quoting service to support FX #3933

Closed vijayg10 closed 3 weeks ago

vijayg10 commented 1 month ago

Goal:

As a mojaloop community member making use of FX

I want to validate the correct participants accounts

so that I am confident that those accounts are active and are in place before agreeing to the quote

Acceptance Criteria:

Complexity: <High|Medium|Low> > A short comment to remind the reason for the rating

Uncertainty: <High|Medium|Low> > A short comment to remind the reason for the rating


Tasks:

Done

Pull Requests:

Follow-up:

Dependencies:

Accountability:

PaulGregoryBaker commented 3 weeks ago

1 pt left + bug needs fixing.

vijayg10 commented 3 days ago

I think one of the acceptance criteria is wrong in the story. If it is not set, then we should validate only payer against the currency in the quotes request.

If there is no supportedCurrencies in the quotes request, that means that's normal quotes request or payer side conversion. In both cases we can validate if payee has an account in the currency specified in quotes request.

But we mentioned it as 'payer' in that point. I updated it correctly and create a PR against fx branch. https://github.com/mojaloop/quoting-service/pull/340