export interface IPaysafePayload { readonly id: string; readonly error?: string; readonly links: { readonly rel: string; readonly href: string; }[]; readonly merchantRefNum: string; readonly txnTime: Date; readonly status: string; readonly amount: number; readonly settleWithAuth: boolean; readonly availableToSettle: number; readonly card: { readonly type: string; readonly lastDigits: string; readonly cardExpiry: { readonly month: number; readonly year: 2027; }; }; readonly authCode: string; readonly billingDetails: { readonly street: string; readonly city: string; readonly state: string; readonly country: string; readonly zip: string; }; readonly merchantDescriptor: { readonly dynamicDescriptor: string; readonly phone: string; }; readonly currencyCode: string; readonly avsResponse: string; readonly settlement: { readonly links: { readonly rel: string; readonly href: string; }[]; readonly id: string; readonly merchantRefNum: string; readonly txnTime: Date; readonly status: string; readonly amount: number; readonly availableToRefund: number; }; } export interface IPaysafePaymentRequest { readonly merchantRefNum: string; readonly amount: number; readonly card: { readonly cardExpiry: { readonly month: number; readonly year: number; }; readonly cardNum: string; readonly cvv: string; }; readonly profile: { readonly firstName: string; readonly lastName: string; readonly email: string; }; readonly billingDetails: { readonly street: string; readonly city: string; readonly state: string; readonly country: string; readonly zip: string; }; }