import * as z from "zod/v3"; import { GuestBuyer, GuestBuyer$Outbound } from "./guestbuyer.js"; import { PaymentMethodCard, PaymentMethodCard$Outbound } from "./paymentmethodcard.js"; import { PaymentMethodStoredCard, PaymentMethodStoredCard$Outbound } from "./paymentmethodstoredcard.js"; import { PayoutCategory } from "./payoutcategory.js"; import { PayoutConnectionOptions, PayoutConnectionOptions$Outbound } from "./payoutconnectionoptions.js"; import { PayoutMerchant, PayoutMerchant$Outbound } from "./payoutmerchant.js"; /** * The type of payment method to send funds too. */ export type PayoutCreatePaymentMethod = PaymentMethodCard | PaymentMethodStoredCard; /** * PayoutCreate * * @remarks * * Represents the data required to create a new payout. */ export type PayoutCreate = { /** * The monetary amount for this payout, in the smallest currency unit for the given currency, for example `1299` cents to create an authorization for $12.99. */ amount: number; /** * The ISO-4217 currency code for this payout. */ currency: string; /** * The ID of the payment service to use for the payout. */ paymentServiceId: string; /** * The type of payment method to send funds too. */ paymentMethod: PaymentMethodCard | PaymentMethodStoredCard; /** * The type of payout to process. */ category?: PayoutCategory | null | undefined; /** * A value that can be used to match the payout against your own records. */ externalIdentifier?: string | null | undefined; /** * The `id` of a stored buyer to use for this payout Use this instead of the `buyer` or `buyer_external_identifier`. */ buyerId?: string | null | undefined; /** * Inline buyer details for the payout. Use this instead of the `buyer_id` or `buyer_external_identifier`. */ buyer?: GuestBuyer | null | undefined; /** * The `external_identifier` of a stored buyer to use for this payout. Use this instead of the `buyer_id` or `buyer`. */ buyerExternalIdentifier?: string | null | undefined; /** * Merchant information for the source of the payout. */ merchant?: PayoutMerchant | null | undefined; /** * Optional fields for processing payouts on specific payment services. */ connectionOptions?: PayoutConnectionOptions | null | undefined; }; /** @internal */ export type PayoutCreatePaymentMethod$Outbound = PaymentMethodCard$Outbound | PaymentMethodStoredCard$Outbound; /** @internal */ export declare const PayoutCreatePaymentMethod$outboundSchema: z.ZodType; export declare function payoutCreatePaymentMethodToJSON(payoutCreatePaymentMethod: PayoutCreatePaymentMethod): string; /** @internal */ export type PayoutCreate$Outbound = { amount: number; currency: string; payment_service_id: string; payment_method: PaymentMethodCard$Outbound | PaymentMethodStoredCard$Outbound; category?: string | null | undefined; external_identifier?: string | null | undefined; buyer_id?: string | null | undefined; buyer?: GuestBuyer$Outbound | null | undefined; buyer_external_identifier?: string | null | undefined; merchant?: PayoutMerchant$Outbound | null | undefined; connection_options?: PayoutConnectionOptions$Outbound | null | undefined; }; /** @internal */ export declare const PayoutCreate$outboundSchema: z.ZodType; export declare function payoutCreateToJSON(payoutCreate: PayoutCreate): string; //# sourceMappingURL=payoutcreate.d.ts.map