UNPKG

types-formattor

Version:

utilities packages for request response next handler, middleware parser, payment token format, courier response format, notification response format

10 lines (9 loc) 266 B
export interface PaymentResponse { status: string; // "success" | "failed" | "pending" transactionId: string; amount: number; currency: string; message: string; paymentMethod: string; // "credit_card", "paypal", etc. createdAt: string; }