Better Payment 0.11.1 API
    Preparing search index...

    Interface EstConfig

    EST (Asseco) virtual POS configuration: İş Bankası, Ziraat Bankası, Halkbank, TEB and Şekerbank

    Values come from the bank's merchant panel:

    • clientId: Merchant ID
    • username / password: API user, used by the XML API
    • storeKey: 3D Secure store key, used for the hash
    interface EstConfig {
        acceptedMdStatuses?: string[];
        bank: EstBank;
        baseUrl?: string;
        clientId: string;
        department?: number;
        fetch?: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>;
        locale?: string;
        logger?: BetterPaymentLogger;
        password: string;
        retry?: RetryConfig;
        storeKey: string;
        storeType?: "3d" | "3d_pay" | "3d_pay_hosting" | "3d_host";
        username: string;
        validate?: boolean;
    }

    Hierarchy (View Summary)

    Index
    acceptedMdStatuses?: string[]

    mdStatus values that are charged in the 3d and 3d_host models. Default: ['1'] (full 3D Secure authentication). 2, 3 and 4 are half-secure (the card or its bank is not enrolled, or only an attempt was made); accepting them can leave chargeback liability with the merchant.

    bank: EstBank

    Selects the bank's production host. baseUrl overrides it.

    baseUrl?: string
    clientId: string
    department?: number

    Merchant department (BOLUM), when the bank assigned one

    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
    password: string
    retry?: RetryConfig
    storeKey: string
    storeType?: "3d" | "3d_pay" | "3d_pay_hosting" | "3d_host"

    3D model of the store (storetype). Default: '3d'

    username: string
    validate?: boolean

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