Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider adding RFQ.payout.amount field #375

Open
jiyoonie9 opened this issue Nov 1, 2024 · 0 comments
Open

Consider adding RFQ.payout.amount field #375

jiyoonie9 opened this issue Nov 1, 2024 · 0 comments

Comments

@jiyoonie9
Copy link
Contributor

jiyoonie9 commented Nov 1, 2024

In remittance use cases (perhaps trading too?), it is a pretty standard experience for Alice to get a Quote from the remittance provider in two different ways. For example, using USD > MXN currency pair, she might ask:

  1. If I pay X USD, how much MXN will the recipient get?
  2. If I want to send Y MXN, how much USD do I have to pay?

Currently, the RFQ allows Alice to only ask for the Quote per #1 above.

However, we should consider enabling #2 flow by adding RFQ.payout.amount field. The PFI should treat this as an XOR field so that Alice MUST send ONE of RFQ.payin.amount OR RFQ.payout.amount.

remitly_quote.mov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant