/** * Stripe Node - Version 1 * Discriminator: resource=token, operation=create */ interface Credentials { stripeApi: CredentialReference; } /** Create a charge */ export type StripeV1TokenCreateParams = { resource: 'token'; operation: 'create'; /** * Type of token to create * @default cardToken */ type?: 'cardToken' | Expression; /** * Card Number * @displayOptions.show { type: ["cardToken"] } */ number?: string | Expression | PlaceholderValue; /** * Security code printed on the back of the card * @displayOptions.show { type: ["cardToken"] } */ cvc?: string | Expression | PlaceholderValue; /** * Number of the month when the card will expire * @displayOptions.show { type: ["cardToken"] } */ expirationMonth?: string | Expression | PlaceholderValue; /** * Year when the card will expire * @displayOptions.show { type: ["cardToken"] } */ expirationYear?: string | Expression | PlaceholderValue; }; export type StripeV1TokenCreateNode = { type: 'n8n-nodes-base.stripe'; version: 1; credentials?: Credentials; config: NodeConfig; };