import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { PaymentMethodStatus } from "./paymentmethodstatus.js"; export type PaymentServiceToken = { /** * Always `payment-service-token`. */ type: "payment-service-token"; /** * The ID for the payment service token. */ id: string; /** * The optional URL that the buyer needs to be redirected to to further authorize the token creation. */ approvalUrl?: string | null | undefined; /** * The ID of the payment method used to generate this token */ paymentMethodId: string; /** * The ID of the payment method used to generate this token. */ paymentServiceId: string; status: PaymentMethodStatus; /** * The token value. Will be present if succeeded. */ token?: string | null | undefined; /** * The date and time when this payment service token was first created in our system. */ createdAt: Date; /** * The date and time when this payment service token was last updated in our system. */ updatedAt: Date; }; /** @internal */ export declare const PaymentServiceToken$inboundSchema: z.ZodType; export declare function paymentServiceTokenFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=paymentservicetoken.d.ts.map