feat: stripe triggers (payout + transaction)
This commit is contained in:
31
packages/backend/src/apps/stripe/auth/index.ts
Normal file
31
packages/backend/src/apps/stripe/auth/index.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
import verifyCredentials from "./verify-credentials";
|
||||
import isStillVerified from "./is-still-verified";
|
||||
|
||||
export default {
|
||||
fields: [
|
||||
{
|
||||
key: 'secretKey',
|
||||
label: 'Secret Key',
|
||||
type: 'string' as const,
|
||||
required: true,
|
||||
readOnly: false,
|
||||
value: null,
|
||||
placeholder: null,
|
||||
description: null,
|
||||
clickToCopy: false,
|
||||
},
|
||||
{
|
||||
key: 'displayName',
|
||||
label: 'Account Name',
|
||||
type: 'string' as const,
|
||||
required: true,
|
||||
readOnly: false,
|
||||
value: null,
|
||||
placeholder: null,
|
||||
description: 'The display name that identifies this stripe connection - most likely the associated account name',
|
||||
clickToCopy: false,
|
||||
},
|
||||
],
|
||||
verifyCredentials,
|
||||
isStillVerified
|
||||
};
|
Reference in New Issue
Block a user