feat: add payment module
This commit is contained in:
9
modules/payment/routes/beneficiaries/ledgers/spec.ts
Normal file
9
modules/payment/routes/beneficiaries/ledgers/spec.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { route } from "@platform/relay";
|
||||
import z from "zod";
|
||||
|
||||
import { LedgerSchema } from "../../../schemas/ledger.ts";
|
||||
|
||||
export default route
|
||||
.get("/api/v1/payment/beneficiaries/:id/ledgers")
|
||||
.params({ id: z.uuid() })
|
||||
.response(z.array(LedgerSchema));
|
||||
Reference in New Issue
Block a user