2019-10-15 05:46:42 -07:00
|
|
|
import {
|
|
|
|
ICredentialType,
|
2021-06-12 09:39:55 -07:00
|
|
|
INodeProperties,
|
2019-10-15 05:46:42 -07:00
|
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
|
|
|
|
|
|
export class StripeApi implements ICredentialType {
|
|
|
|
name = 'stripeApi';
|
2021-07-10 04:15:14 -07:00
|
|
|
displayName = 'Stripe API';
|
2020-08-17 05:42:09 -07:00
|
|
|
documentationUrl = 'stripe';
|
2021-06-12 09:39:55 -07:00
|
|
|
properties: INodeProperties[] = [
|
2019-10-15 05:46:42 -07:00
|
|
|
// 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',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2019-10-15 05:46:42 -07:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|