Last active
May 20, 2020 17:51
-
-
Save CharlieBrownCharacter/548af8f8719990fc69f72715eb7bf9aa to your computer and use it in GitHub Desktop.
Type definition for stripe token
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable */ | |
interface TokenStripe { | |
id: string; | |
object: string; | |
client_ip: string; | |
created: number; | |
livemode: boolean; | |
type: string; | |
used: boolean; | |
card: { | |
id: string; | |
object: string; | |
address_city: string | null; | |
address_country: string | null; | |
address_line1: string | null; | |
address_line1_check: string | null; | |
address_line2: string | null; | |
address_state: string | null; | |
address_zip: string | null; | |
address_zip_check: string | null; | |
brand: string; | |
country: string; | |
cvc_check: string; | |
dynamic_last4: string | null; | |
exp_month: number; | |
exp_year: number; | |
funding: string; | |
last4: string; | |
metadata: {[key: string]: string}; | |
name: string | null; | |
tokenization_method: string | null; | |
}; | |
} | |
export default TokenStripe; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment