MCPcopy Index your code
hub / github.com/OpenPipe/OpenPipe / payments.router.ts

File payments.router.ts

app/src/server/api/routers/payments.router.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { z } from "zod";
2import { createTRPCRouter, protectedProcedure } from "~/server/api/trpc";
3import { requireIsProjectAdmin, requireNothing } from "~/utils/accessControl";
4import { error, success } from "~/utils/errorHandling/standardResponses";

Callers

nothing calls this directly

Calls 13

requireIsProjectAdminFunction · 0.90
getStripeCustomerIdFunction · 0.90
getStripeCustomerFunction · 0.90
createSetupIntentFunction · 0.90
getPaymentMethodsFunction · 0.90
setDefaultPaymentMethodFunction · 0.90
successFunction · 0.90
errorFunction · 0.90
deletePaymentMethodFunction · 0.90
requireNothingFunction · 0.90

Tested by

no test coverage detected