Files
edgeKey/modules/payment/types.ts
2026-04-25 18:32:25 +08:00

27 lines
608 B
TypeScript

export type PaymentProvider = "BEPUSDT" | "EPAY" | "ALIPAY" | "STRIPE";
export interface PaymentMethodItem {
provider: PaymentProvider;
label: string;
enabled: boolean;
baseUrl?: string;
}
export interface PaymentConfigValue {
provider: PaymentProvider;
name: string;
isEnabled: boolean;
baseUrl: string;
appId?: string;
appSecret?: string;
pid?: string;
key?: string;
notifyUrl?: string;
returnUrl?: string;
alipayAppId?: string;
alipayPrivateKey?: string;
alipayPublicKey?: string;
stripeSecretKey?: string;
stripeWebhookSecret?: string;
stripeCurrency?: string;
}