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