add credit card payment method
deploy to danak / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-06-07 16:56:55 +03:30
parent caaeb0d34a
commit 89fa1d637e
14 changed files with 155 additions and 9 deletions
@@ -131,6 +131,16 @@ export class PaymentsController {
return this.paymentsService.verifyCashPayment(paymentId);
}
@UseGuards(AdminAuthGuard)
@Permissions(Permission.MANAGE_PAYMENTS)
@ApiBearerAuth()
@Post('admin/payments/verify-credit-card-method/:paymentId')
@ApiOperation({ summary: 'Verify credit card payment' })
@ApiParam({ name: 'paymentId', type: 'string', description: 'Payment ID' })
verifyCreditCardPayment(@Param('paymentId') paymentId: string) {
return this.paymentsService.verifyCreditCardPayment(paymentId);
}
@UseGuards(AdminAuthGuard)
@Permissions(Permission.VIEW_REPORTS)
@ApiBearerAuth()