Interface StripeNodeParameters

Source
interface StripeNodeParameters {
    additionalFields?:
        | {
            description?: string;
            metadata?: {
                metadataProperties: {
                    key?: string;
                    value?: string;
                }[];
            };
            receipt_email?: string;
            shipping?: {
                shippingProperties: {
                    address?: {
                        details: {
                            city?: string;
                            country?: string;
                            line1?: string;
                            line2?: string;
                            postal_code?: string;
                            state?: string;
                        };
                    };
                    name?: string;
                }[];
            };
        }
        | {
            address?: {
                details: {
                    city?: string;
                    country?: string;
                    line1?: string;
                    line2?: string;
                    postal_code?: string;
                    state?: string;
                };
            };
            description?: string;
            email?: string;
            metadata?: {
                metadataProperties: {
                    key?: string;
                    value?: string;
                }[];
            };
            phone?: string;
            shipping?: {
                shippingProperties: {
                    address?: {
                        details: {
                            city?: string;
                            country?: string;
                            line1?: string;
                            line2?: string;
                            postal_code?: string;
                            state?: string;
                        };
                    };
                    name?: string;
                    phone?: string;
                }[];
            };
        }
        | {
            metadata?: {
                metadataProperties: {
                    key?: string;
                    value?: string;
                }[];
            };
            statement_descriptor?: string;
        };
    amount?: number;
    amountOff?: number;
    cardId?: string;
    chargeId?: string;
    currency?: string;
    customerId?: string;
    cvc?: string;
    duration?: "once"
    | "forever";
    expirationMonth?: string;
    expirationYear?: string;
    filters?: { email?: string };
    limit?: number;
    name?: string;
    number?: string;
    operation?:
        | "create"
        | "get"
        | "getAll"
        | "update"
        | "add"
        | "remove"
        | "delete";
    percentOff?: number;
    resource?: | "charge"
    | "customer"
    | "balance"
    | "coupon"
    | "token"
    | "customerCard"
    | "source";
    returnAll?: boolean;
    source?: string;
    sourceId?: string;
    token?: string;
    type?: | "percent"
    | "fixedAmount"
    | "wechat"
    | "cardToken";
    updateFields?: | {
        description?: string;
        metadata?: {
            metadataProperties: {
                key?: string;
                value?: string;
            }[];
        };
        receipt_email?: string;
        shipping?: {
            shippingProperties: {
                address?: {
                    details: {
                        city?: string;
                        country?: string;
                        line1?: string;
                        line2?: string;
                        postal_code?: string;
                        state?: string;
                    };
                };
                name?: string;
            }[];
        };
    }
    | {
        address?: {
            details: {
                city?: string;
                country?: string;
                line1?: string;
                line2?: string;
                postal_code?: string;
                state?: string;
            };
        };
        description?: string;
        email?: string;
        metadata?: {
            metadataProperties: {
                key?: string;
                value?: string;
            }[];
        };
        name?: string;
        phone?: string;
        shipping?: {
            shippingProperties: {
                address?: {
                    details: {
                        city?: string;
                        country?: string;
                        line1?: string;
                        line2?: string;
                        postal_code?: string;
                        state?: string;
                    };
                };
                name?: string;
                phone?: string;
            }[];
        };
    };
}

Properties§

Source§

readonly additionalFields?:
    | {
        description?: string;
        metadata?: {
            metadataProperties: {
                key?: string;
                value?: string;
            }[];
        };
        receipt_email?: string;
        shipping?: {
            shippingProperties: {
                address?: {
                    details: {
                        city?: string;
                        country?: string;
                        line1?: string;
                        line2?: string;
                        postal_code?: string;
                        state?: string;
                    };
                };
                name?: string;
            }[];
        };
    }
    | {
        address?: {
            details: {
                city?: string;
                country?: string;
                line1?: string;
                line2?: string;
                postal_code?: string;
                state?: string;
            };
        };
        description?: string;
        email?: string;
        metadata?: {
            metadataProperties: {
                key?: string;
                value?: string;
            }[];
        };
        phone?: string;
        shipping?: {
            shippingProperties: {
                address?: {
                    details: {
                        city?: string;
                        country?: string;
                        line1?: string;
                        line2?: string;
                        postal_code?: string;
                        state?: string;
                    };
                };
                name?: string;
                phone?: string;
            }[];
        };
    }
    | {
        metadata?: {
            metadataProperties: {
                key?: string;
                value?: string;
            }[];
        };
        statement_descriptor?: string;
    }

Default: {}

Source§

readonly amount?: number

Amount in cents to be collected for this charge, e.g. enter 100 for $1.00 Type options: {"minValue":0,"maxValue":99999999}

Source§

readonly amountOff?: number

Amount in cents to subtract from an invoice total, e.g. enter 100 for $1.00 Type options: {"minValue":0,"maxValue":99999999}

Source§

readonly cardId?: string

ID of the card to remove

Source§

readonly chargeId?: string

ID of the charge to retrieve

Source§

readonly currency?: string

Three-letter ISO currency code, e.g. USD or EUR. It must be a Stripe-supported currency. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getCurrencies"}

Source§

readonly customerId?: string

ID of the customer to be associated with this card

Source§

readonly cvc?: string

Security code printed on the back of the card

Source§

readonly duration?: "once" | "forever"

How long the discount will be in effect Default: "once"

Source§

readonly expirationMonth?: string

Number of the month when the card will expire

Source§

readonly expirationYear?: string

Year when the card will expire

Source§

readonly filters?: { email?: string }

Default: {}

Source§

readonly limit?: number

Max number of results to return Default: 50 Type options: {"minValue":1,"maxValue":1000}

Source§

readonly name?: string

Full name or business name of the customer to create

Source§

readonly number?: string

Source§

readonly operation?:
    | "create"
    | "get"
    | "getAll"
    | "update"
    | "add"
    | "remove"
    | "delete"

Default: "get"

Source§

readonly percentOff?: number

Percentage to apply with the coupon Default: 1 Type options: {"minValue":1,"maxValue":100}

Source§

readonly resource?:
    | "charge"
    | "customer"
    | "balance"
    | "coupon"
    | "token"
    | "customerCard"
    | "source"

Default: "balance"

Source§

readonly returnAll?: boolean

Whether to return all results or only up to a given limit

Source§

readonly source?: string

ID of the customer's payment source to be charged

Source§

readonly sourceId?: string

ID of the source to retrieve

Source§

readonly token?: string

Token representing sensitive card information Type options: {"password":true}

Source§

readonly type?: "percent" | "fixedAmount" | "wechat" | "cardToken"

Whether the coupon discount is a percentage or a fixed amount Default: "percent"

Source§

readonly updateFields?:
    | {
        description?: string;
        metadata?: {
            metadataProperties: {
                key?: string;
                value?: string;
            }[];
        };
        receipt_email?: string;
        shipping?: {
            shippingProperties: {
                address?: {
                    details: {
                        city?: string;
                        country?: string;
                        line1?: string;
                        line2?: string;
                        postal_code?: string;
                        state?: string;
                    };
                };
                name?: string;
            }[];
        };
    }
    | {
        address?: {
            details: {
                city?: string;
                country?: string;
                line1?: string;
                line2?: string;
                postal_code?: string;
                state?: string;
            };
        };
        description?: string;
        email?: string;
        metadata?: {
            metadataProperties: {
                key?: string;
                value?: string;
            }[];
        };
        name?: string;
        phone?: string;
        shipping?: {
            shippingProperties: {
                address?: {
                    details: {
                        city?: string;
                        country?: string;
                        line1?: string;
                        line2?: string;
                        postal_code?: string;
                        state?: string;
                    };
                };
                name?: string;
                phone?: string;
            }[];
        };
    }

Default: {}