UNPKG

@squadco/js

Version:

Simplify the integration process with Squad's comprehensive payment solutions using the Squad JavaScript SDK.

34 lines (33 loc) 957 B
import type { BaseResponseProps } from "./base-response"; export interface AccountLookupResponseProps extends BaseResponseProps { data: { account_name: string; account_number: string; }; } export interface FundsTransferRequestProps { remark: string; bankCode: string; currencyId: string | "NGN"; amount: string; accountNumber: string; transactionReference: string; accountName: string; } export interface FundsTransferProps { account_number_credited: string; amount_debited: string; total_amount_debited: string; success: boolean; recipient: string; bank_code: number; transaction_reference: string; transaction_status: string; switch_transaction: null | any; } export interface FundsTransferReponseProps extends BaseResponseProps { data: FundsTransferProps; } export interface AllTransferResponseProps extends BaseResponseProps { data: FundsTransferProps[]; }