UNPKG

ecocash

Version:
49 lines (48 loc) 1.19 kB
export interface RefundDetails { reference: string; phone: string; amount: number; clientName: string; reason: string; currency?: string; } export interface InitPaymentResponse { phone: string; amount: number; reason: string; currency: string; sourceReference: string; } interface TransactionAmount { amount: number; currency: string; } export interface LookupTransactionResponse { amount: TransactionAmount; customerMsisdn: string; reference: string; ecocashReference: string; paymentSuccess: boolean; status: string; transactionDateTime: string; } export interface RefundResponse { sourceReference: string; transactionEndTime: string; callbackUrl: string; destinationReferenceCode: string; sourceMobileNumber: string; transactionStatus: string; amount: number; destinationEcocashReference: string; clientMerchantCode: string; clientMerchantNumber: string; clienttransactionDate: string; description: string; responseMessage: string; currency: string; paymentAmount: number; ecocashReference: string; transactionstartTime: string; } export {};