mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-16 09:34:07 -08:00
22 lines
451 B
TypeScript
22 lines
451 B
TypeScript
|
import {
|
||
|
ICredentialType,
|
||
|
NodePropertyTypes,
|
||
|
} from 'n8n-workflow';
|
||
|
|
||
|
|
||
|
export class StripeApi implements ICredentialType {
|
||
|
name = 'stripeApi';
|
||
|
displayName = 'Stripe Api';
|
||
|
properties = [
|
||
|
// The credentials to get from user and save encrypted.
|
||
|
// Properties can be defined exactly in the same way
|
||
|
// as node properties.
|
||
|
{
|
||
|
displayName: 'Secret Key',
|
||
|
name: 'secretKey',
|
||
|
type: 'string' as NodePropertyTypes,
|
||
|
default: '',
|
||
|
},
|
||
|
];
|
||
|
}
|