feat(zibal): implement full dedicated Zibal Financial Portal with refunds, payouts, queue and ipg reports
Deploy Canina / deploy (push) Successful in 41s
Deploy Canina / deploy (push) Successful in 41s
This commit is contained in:
1 parent
bf41ba038e
commit
ee32b4c11d
15 files changed
+8013
-6506
No files matched your search
@@ -288,6 +288,33 @@ export class PaymentController {
|
||||
return this.zibalService.getGatewayTransactionsReport(body);
|
||||
}
|
||||
|
||||
@UseGuards(JwtAuthGuard, RolesGuard)
|
||||
@Roles('Admin')
|
||||
@ApiBearerAuth()
|
||||
@Post('admin/checkout-report')
|
||||
@ApiOperation({ summary: 'گزارش تسویهها و واریزیهای درگاه و کیفپول زیبال' })
|
||||
async getCheckoutReport(
|
||||
@Body()
|
||||
body: {
|
||||
fromDate?: string;
|
||||
toDate?: string;
|
||||
page?: number;
|
||||
size?: number;
|
||||
transactionTrackId?: number;
|
||||
},
|
||||
) {
|
||||
return this.zibalService.getCheckoutReport(body);
|
||||
}
|
||||
|
||||
@UseGuards(JwtAuthGuard, RolesGuard)
|
||||
@Roles('Admin')
|
||||
@ApiBearerAuth()
|
||||
@Get('admin/checkout-queue')
|
||||
@ApiOperation({ summary: 'گزارش صف تسویههای در انتظار زیبال' })
|
||||
async getCheckoutQueueReport() {
|
||||
return this.zibalService.getCheckoutQueueReport();
|
||||
}
|
||||
|
||||
// ==========================================
|
||||
// ADMIN: SUB-MERCHANTS (ذینفعهای تسهیم)
|
||||
// ==========================================
|
||||
|
||||
Reference in new issue
Block a user