The Sudo Platform SDK representation of a funding source.

FundingSource

interface CreditCardFundingSourceInput {
    addressLine1: string;
    addressLine2: null | string;
    city: string;
    country: string;
    creditCardNumber: string;
    currency: string;
    expirationMonth: number;
    expirationYear: number;
    postalCode: string;
    securityCode: string;
    state: string;
    type: FundingSourceType;
}

Properties

addressLine1: string

Address line 1 of the funding source.

addressLine2: null | string

Address line 2 of the funding source.

city: string

The city of the funding source.

country: string

The state of the funding source.

creditCardNumber: string

The funding source credit card number.

currency: string

The currency of the funding source.

expirationMonth: number

The credit card expiration month.

expirationYear: number

The credit card expiration year.

postalCode: string

The state of the funding source.

securityCode: string

The credit card security code.

state: string

The state of the funding source.

The funding source type.