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