mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
auto-creation of webhook via Stripe API
This commit is contained in:
21
packages/nodes-base/credentials/StripeApi.credentials.ts
Normal file
21
packages/nodes-base/credentials/StripeApi.credentials.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
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: '',
|
||||
},
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user