Closed jiyoontbd closed 6 months ago
@ethan-tbd would you be able to paste in a screenshot of the page were working on yesterday? 🙏
For additional context, in order for the Yellow Card PFI to process a SelectedPaymentMethod in the RFQ, the client application is required to specify both a payment type
(i.e. bank or mobile money) and the specific provider
of that payment type (e.g. United Bank for Africa or M-Pesa). However, since our offering only has a singular kind field to describe the payment method, Yellow Card is using prefixes in their offering PaymentMethod.kind
field to denote the payment type and the corresponding suffix to denote the payment provider (e.g. BANK_United Bank for Africa
, MOMO_MPESA
).
ccing myself to follow along
addressed by #261
Currently, the example for
Offering.paymentMethod.kind
is something likeOther examples include
BANK_SomeBankName
orMOMO_MPESA
However, from the perspective of a wallet rendering the
kind
, we want the ability to break down thetype
of payment (i.e. bank, momo, etc) from theprovider
of payment (i.e. Chase, M-Pesa, etc). This is especially useful if a PFI has multiple payment method who has 1type
but manyproviders
of that type, i.e. enabling MOMO via M-PESA or via MTN.Exact names / how to narrow the definition of
kind
are to be determined.