We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de6b240 commit 3271500Copy full SHA for 3271500
src/common/types/stripe.ts
@@ -10,7 +10,7 @@ export const invoiceLinkPostRequestSchema = z.object({
10
invoiceAmountUsd: z.number().min(50),
11
contactName: z.string().min(1),
12
contactEmail: z.string().email(),
13
- achPaymentsEnabled: z.boolean(),
+ achPaymentsEnabled: z.optional(z.boolean()).default(false),
14
});
15
16
export type PostInvoiceLinkRequest = z.infer<
0 commit comments