import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { BillingDetails } from "./billingdetails.js"; export type Buyer = { /** * Always `buyer`. */ type: "buyer"; /** * The ID for the buyer. */ id: string; /** * The base62 encoded buyer ID. This represents a shorter version of this buyer's `id` which is sent to payment services, anti-fraud services, and other connectors. You can use this ID to reconcile a payment service's buyer against our system. */ reconciliationId: string; /** * The ID of the merchant account this buyer belongs to. */ merchantAccountId: string; /** * The display name for the buyer. */ displayName?: string | null | undefined; /** * The merchant identifier for this buyer. */ externalIdentifier?: string | null | undefined; /** * The billing name, address, email, and other fields for this buyer. */ billingDetails?: BillingDetails | null | undefined; /** * The buyer account number */ accountNumber?: string | null | undefined; /** * The date this buyer was created at. */ createdAt: Date; /** * The date this buyer was last updated at. */ updatedAt: Date; }; /** @internal */ export declare const Buyer$inboundSchema: z.ZodType; export declare function buyerFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=buyer.d.ts.map