archetecture security fix

This commit is contained in:
root
2026-06-11 03:22:12 -04:00
parent 6def9993da
commit 9483750161
3126 changed files with 177194 additions and 37211 deletions
+19
View File
@@ -0,0 +1,19 @@
export interface PayPalCreateOrderParams {
amount: number;
currency: string;
orderId: string;
description: string;
returnUrl: string;
cancelUrl: string;
}
export interface PayPalOrderResult {
orderId: string;
approveUrl: string;
status: string;
}
export declare function createOrder(params: PayPalCreateOrderParams): Promise<PayPalOrderResult>;
export declare function captureOrder(paypalOrderId: string): Promise<Record<string, unknown>>;
export declare function refundCapture(captureId: string, amount: number, currency: string, note?: string): Promise<Record<string, unknown>>;
export declare function verifyWebhookEvent(headers: Record<string, string | undefined>, rawBody: string): Promise<boolean>;
export declare function isConfigured(): boolean;
//# sourceMappingURL=paypalService.d.ts.map