Better Payment 0.11.1 API
    Preparing search index...

    Interface IyzicoConfig

    Configuration fields shared by all providers. Credentials are defined in each provider's own configuration type.

    interface IyzicoConfig {
        apiKey: string;
        baseUrl?: string;
        fetch?: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>;
        locale?: string;
        logger?: BetterPaymentLogger;
        retry?: RetryConfig;
        secretKey: string;
        validate?: boolean;
    }

    Hierarchy (View Summary)

    Index
    apiKey: string
    baseUrl?: string
    fetch?: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>

    Custom fetch implementation for API calls. Default: globalThis.fetch.

    Type Declaration

      • (input: RequestInfo | URL, init?: RequestInit): Promise<Response>
      • Parameters

        • input: RequestInfo | URL
        • Optionalinit: RequestInit

        Returns Promise<Response>

    locale?: string
    retry?: RetryConfig
    secretKey: string
    validate?: boolean

    Validate requests before calling the provider (card, amounts, basket, required fields). Default: true.