• Public
  • Public/Protected
  • All


Type aliases

BankAcccountHolderType: "Company" | "Individual"
BankAcccountType: "Checking" | "Savings"
CardBrand: "AmericanExpress" | "DinersClub" | "Discover" | "JCB" | "MasterCard" | "UnionPay" | "Visa" | "Unknown"
CreateBankAccountTokenParams: { accountHolderName?: string; accountHolderType?: BankAcccountHolderType; accountNumber: string; country: string; currency: string; routingNumber?: string; type: "BankAccount" }

Creates a single-use token that represents a bank account’s details. This token can be used with any API method in place of a bank account object. See https://stripe.com/docs/api/tokens/create_bank_account

Type declaration

  • Optional accountHolderName?: string
  • Optional accountHolderType?: BankAcccountHolderType
  • accountNumber: string
  • country: string
  • currency: string
  • Optional routingNumber?: string
  • type: "BankAccount"
CreateCardTokenParams: { address?: Address; currency?: string; name?: string; type: "Card" }

Creates a single-use token that represents a credit card’s details. Use this in combination with either the CardField or CardForm components. This token can be used in place of a credit card object with any API method. See https://stripe.com/docs/api/tokens/create_card

Type declaration

  • Optional address?: Address
  • Optional currency?: string
  • Optional name?: string
  • type: "Card"
CreatePiiTokenParams: { personalId: string; type: "Pii" }

Creates a single-use token that represents the details of personally identifiable information (PII). See https://stripe.com/docs/api/tokens/create_pii

Type declaration

  • personalId: string

    The user's personal ID number

  • type: "Pii"
Type: "Account" | "BankAccount" | "Card" | "CvcUpdate" | "Person" | "Pii"

Generated using TypeDoc