payme-integration
Version:
NestJS integration module for Payme payment system
22 lines (21 loc) • 688 B
TypeScript
import { TransactionCancellationReason, TransactionState } from '../../types/enums';
import { IAccount } from '../../payme.module';
import { BaseResponseDto } from './base-response.dto';
export declare class GetStatementResponseDto extends BaseResponseDto<IGetStatementResponse> {
}
interface IGetStatementResponse {
transactions: ITransactionResponseItem[];
}
export interface ITransactionResponseItem {
id: string;
time: number;
amount: number;
account: IAccount;
create_time: number;
perform_time: number;
cancel_time: number;
transaction: string;
state: TransactionState;
reason: TransactionCancellationReason | string | null;
}
export {};