frames-react-native
frames-react-native copied to clipboard
Missing `scheme_local` from `FrameCardTokenizedEvent`
missing field scheme_local
in FrameCardTokenizedEvent
export interface FrameCardTokenizedEvent {
type: string;
token: string;
expires_on: string;
expiry_month: string;
expiry_year: string;
scheme?: Scheme;
last4: string;
bin: string;
card_type?: CardType;
card_category?: CardCategory;
issuer?: string;
issuer_country?: string;
product_id?: string;
product_type?: string;
billing_address?: GatewayBillingAddress;
phone?: GatewayPhone;
name?: string;
}
output
{
"bin": "554180",
"card_category": "CONSUMER",
"card_type": "DEBIT",
"expires_on": "2023-03-26T17:08:23.3207099Z",
"expiry_month": 12,
"expiry_year": 2023,
"issuer": "National Commercial Bank",
"issuer_country": "SA",
"last4": "6120",
"scheme": "MASTERCARD",
"scheme_local": "mada",
"token": "tok_3mdgxxxxxxxxxx",
"type": "card"
}