n8n-nodes-base
Version:
Base nodes of n8n
30 lines (26 loc) • 697 B
text/typescript
/**
* Stripe Node - Version 1
* Discriminator: resource=customerCard, operation=add
*/
interface Credentials {
stripeApi: CredentialReference;
}
/** Add a customer card */
export type StripeV1CustomerCardAddParams = {
resource: 'customerCard';
operation: 'add';
/**
* ID of the customer to be associated with this card
*/
customerId?: string | Expression<string> | PlaceholderValue;
/**
* Token representing sensitive card information
*/
token?: string | Expression<string> | PlaceholderValue;
};
export type StripeV1CustomerCardAddNode = {
type: 'n8n-nodes-base.stripe';
version: 1;
credentials?: Credentials;
config: NodeConfig<StripeV1CustomerCardAddParams>;
};