import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { PayoutCategory } from "./payoutcategory.js"; import { PayoutMerchantSummary } from "./payoutmerchantsummary.js"; import { PayoutPaymentService } from "./payoutpaymentservice.js"; import { PayoutStatus } from "./payoutstatus.js"; import { TransactionBuyer } from "./transactionbuyer.js"; import { TransactionPaymentMethod } from "./transactionpaymentmethod.js"; /** * PayoutSummary * * @remarks * * Represents a summary of a payout. */ export type PayoutSummary = { /** * Always `payout`. */ type: "payout"; /** * The ID for the payout. */ id?: string | null | undefined; /** * 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 buyer used for this payout. */ buyer?: TransactionBuyer | null | undefined; /** * The type of payout to process. */ category?: PayoutCategory | null | undefined; /** * The date this payout was created at. */ createdAt: Date; /** * A supported ISO-4217 currency code. */ currency: string; /** * The merchant identifier for this payout. */ externalIdentifier?: string | null | undefined; /** * The merchant details associated to this payout. */ merchant?: PayoutMerchantSummary | null | undefined; /** * The ID of the merchant account this payout was created for. */ merchantAccountId?: string | null | undefined; paymentMethod: TransactionPaymentMethod; paymentService: PayoutPaymentService; /** * The ID of the payout in the underlying payment service. */ paymentServicePayoutId?: string | null | undefined; status: PayoutStatus; /** * The date this payout was last updated at. */ updatedAt: Date; }; /** @internal */ export declare const PayoutSummary$inboundSchema: z.ZodType; export declare function payoutSummaryFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=payoutsummary.d.ts.map