add payment service

This commit is contained in:
Emily
2025-03-26 15:30:22 +01:00
parent 94a28b31d3
commit 1f9ef5d18c
13 changed files with 1542 additions and 0 deletions

6
payments/src/Utils.ts Normal file
View File

@@ -0,0 +1,6 @@
import type { Response } from "express";
export function sendJson(res: Response, status: number, data: Record<string, any>): void {
res.status(status).json(data);
}