@apihawk/billia-sdk
Version:
The ApiHawk Billia SDK
32 lines • 841 B
TypeScript
import { ICurrencyInformation } from './billia-sdk.types';
import { IOrderLineItemSimple } from '../types';
export interface IWalletResponse {
user_id: number;
credit: number;
balance: number;
modified: string;
_currency: {
currency: string;
not_required: boolean;
};
}
export interface IWalletTransactionResponse {
customer_wallet_record_id: number;
user_id: number;
amount: number;
type: string;
op_id: string;
order_id: number;
purchase_id: number;
remark: string;
created: string;
description: string;
order?: IOrderLineItemSimple[];
_currency: ICurrencyInformation;
}
export interface IWalletAddFundsParams {
payment_method_id: number;
amount: number;
customer_profile_id: number;
}
//# sourceMappingURL=billia-sdk-wallet.types.d.ts.map