import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { MXAuthorizationCode, MXAuthorizationCode$Outbound } from "./mxauthorizationcode.js"; /** * Describes the account to link to the Moov account using a MX processor token. * * @remarks * * `sandbox` - When linking a bank account to a `sandbox` account using an MX authorization token a default bank account routing number will * be used. The following default data will be used to generate the bank account in this flow: * * ``` * RoutingNumber: "123456780", * BankName: "Gringotts Bank" * ``` */ export type MxPayload = { /** * The authorization code of a MX account which allows a processor to retrieve a linked payment account. * * @remarks * * `sandbox` - When linking a bank account to a `sandbox` account using a MX authorization code it will utilize MX's sandbox environment. * The MX authorization code provided must be generated from MX's sandbox environment. */ mx: MXAuthorizationCode; }; /** @internal */ export declare const MxPayload$inboundSchema: z.ZodType; /** @internal */ export type MxPayload$Outbound = { mx: MXAuthorizationCode$Outbound; }; /** @internal */ export declare const MxPayload$outboundSchema: z.ZodType; export declare function mxPayloadToJSON(mxPayload: MxPayload): string; export declare function mxPayloadFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=mxpayload.d.ts.map