import * as z from "zod/v3"; import { Airline, Airline$Outbound } from "./airline.js"; import { CartItem, CartItem$Outbound } from "./cartitem.js"; import { Tracking, Tracking$Outbound } from "./tracking.js"; /** * Request body for capturing an authorized transaction. */ export type TransactionCaptureCreate = { /** * The amount to capture, in the smallest currency unit (e.g., cents). This must be less than or equal to the authorized amount, unless over-capture is available. */ amount?: number | null | undefined; /** * The airline data to submit to the payment service during the capture call. */ airline?: Airline | null | undefined; /** * An array of cart items that represents the line items of this capture. */ cartItems?: Array | null | undefined; /** * An array of shipment tracking details for this capture. */ tracking?: Array | null | undefined; /** * Whether this is marked as the final capture for the associated transaction. Must be `true` or omitted when multi-capture is not enabled; a value of `false` is only valid when multi-capture is available on the connection. */ final?: boolean | undefined; /** * An external identifier that can be used to match the capture against your own records. */ externalIdentifier?: string | null | undefined; /** * Whether this capture request should re-authorize the transaction if it has expired. */ reauthorizeIfAuthorizationExpired?: boolean | undefined; }; /** @internal */ export type TransactionCaptureCreate$Outbound = { amount?: number | null | undefined; airline?: Airline$Outbound | null | undefined; cart_items?: Array | null | undefined; tracking?: Array | null | undefined; final: boolean; external_identifier?: string | null | undefined; reauthorize_if_authorization_expired: boolean; }; /** @internal */ export declare const TransactionCaptureCreate$outboundSchema: z.ZodType; export declare function transactionCaptureCreateToJSON(transactionCaptureCreate: TransactionCaptureCreate): string; //# sourceMappingURL=transactioncapturecreate.d.ts.map