import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { DisbursementPaymentMethodType } from "./disbursementpaymentmethodtype.js"; import { PayoutRecipient, PayoutRecipient$Outbound } from "./payoutrecipient.js"; export type PaymentLinkPayoutDetails = { /** * A list of payment methods that should be supported for this payment link. */ allowedMethods: Array; /** * Specify the intended recipient of the payout. * * @remarks * Either `email` or `phone` must be specified, but not both. * * This information will be used to authenticate the end user when they follow the payment link. */ recipient: PayoutRecipient; /** * Optional free-form metadata for the transfer. */ metadata?: { [k: string]: string; } | undefined; }; /** @internal */ export declare const PaymentLinkPayoutDetails$inboundSchema: z.ZodType; /** @internal */ export type PaymentLinkPayoutDetails$Outbound = { allowedMethods: Array; recipient: PayoutRecipient$Outbound; metadata?: { [k: string]: string; } | undefined; }; /** @internal */ export declare const PaymentLinkPayoutDetails$outboundSchema: z.ZodType; export declare function paymentLinkPayoutDetailsToJSON(paymentLinkPayoutDetails: PaymentLinkPayoutDetails): string; export declare function paymentLinkPayoutDetailsFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=paymentlinkpayoutdetails.d.ts.map