/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; export type ThreeDSecure = { /** * The amount to be used for 3DS authentication. Optionally set this value to authenticate a greater amount than the transaction amount. */ amount?: number | null | undefined; }; /** @internal */ export type ThreeDSecure$Outbound = { amount?: number | null | undefined; }; /** @internal */ export const ThreeDSecure$outboundSchema: z.ZodType< ThreeDSecure$Outbound, z.ZodTypeDef, ThreeDSecure > = z.object({ amount: z.nullable(z.number().int()).optional(), }); export function threeDSecureToJSON(threeDSecure: ThreeDSecure): string { return JSON.stringify(ThreeDSecure$outboundSchema.parse(threeDSecure)); }