Skip to content

Instantly share code, notes, and snippets.

@CharlieBrownCharacter
Last active May 20, 2020 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CharlieBrownCharacter/548af8f8719990fc69f72715eb7bf9aa to your computer and use it in GitHub Desktop.
Save CharlieBrownCharacter/548af8f8719990fc69f72715eb7bf9aa to your computer and use it in GitHub Desktop.
Type definition for stripe token
/* 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