Closed danirabbit closed 4 years ago
I guess this is contingent on whether or not we can store secrets in a way that's accessible by the wallet. If it turns out we can, then this issue no longer applies :)
Closing because it seems like we can access host secrets just fine
Since secrets will be stored inside the the authenticator flatpak, we need an interface so that Wallet can get a list of payment method information. The interface will need to provide:
string
type
: valid values are:bank_account
card
string
label
: a user-facing label for the account. For example: "Simple Bank" or "Work Mastercard"string
brand
: only valid forcard
type. valid values are:American Express
Diners Club
Discover
JCB
MasterCard
UnionPay
Visa
Unknown
int
exp_month
: only valid forcard
type. Two-digit number representing the card's expiration month.int
exp_year
: only valid forcard
type. Two- or four-digit number representing the card's expiration year.This is based on https://stripe.com/docs/api/cards/object