import * as z from "zod/v3"; import { Field, Field$Outbound } from "./field.js"; import { MerchantProfileScheme, MerchantProfileScheme$Outbound } from "./merchantprofilescheme.js"; /** * Request body for activating a payment service */ export type PaymentServiceCreate = { /** * The display name for the payment service. */ displayName: string; /** * The definition ID of the service to configure. */ paymentServiceDefinitionId: string; /** * The non-secret credential fields that have been configured for this payment service. Any secret fields are omitted. */ fields: Array; /** * The non-secret reporting fields that have been configured for this payment service. Any secret fields are omitted. */ reportingFields?: Array | null | undefined; /** * Deprecated field used to define the order in which to process payment services */ position?: number | null | undefined; /** * A list of currencies for which this service is enabled, in ISO 4217 three-letter code format. */ acceptedCurrencies: Array; /** * A list of countries for which this service is enabled, in ISO two-letter code format. */ acceptedCountries: Array; /** * Defines if this payment service is currently active. */ active?: boolean | null | undefined; /** * Defines if this payment service has 3DS enabled. */ threeDSecureEnabled?: boolean | undefined; /** * An object containing a key for each supported card schemes, and for each key an object with the 3DS profile for this service for that scheme. */ merchantProfile?: { [k: string]: MerchantProfileScheme | null; } | null | undefined; /** * Defines if this payment service support payment method tokenization. */ paymentMethodTokenizationEnabled?: boolean | null | undefined; /** * Defines if this payment service supports network tokens. */ networkTokensEnabled?: boolean | null | undefined; /** * Defines if this payment service is open loop. */ openLoop?: boolean | null | undefined; /** * Defines if this payment service has settlement reporting enabled. */ settlementReportingEnabled?: boolean | undefined; }; /** @internal */ export type PaymentServiceCreate$Outbound = { display_name: string; payment_service_definition_id: string; fields: Array; reporting_fields?: Array | null | undefined; position?: number | null | undefined; accepted_currencies: Array; accepted_countries: Array; active?: boolean | null | undefined; three_d_secure_enabled: boolean; merchant_profile?: { [k: string]: MerchantProfileScheme$Outbound | null; } | null | undefined; payment_method_tokenization_enabled?: boolean | null | undefined; network_tokens_enabled?: boolean | null | undefined; open_loop?: boolean | null | undefined; settlement_reporting_enabled: boolean; }; /** @internal */ export declare const PaymentServiceCreate$outboundSchema: z.ZodType; export declare function paymentServiceCreateToJSON(paymentServiceCreate: PaymentServiceCreate): string; //# sourceMappingURL=paymentservicecreate.d.ts.map