@tax1driver/ts-przelewy24
    Preparing search index...

    Class P24

    Represents a P24 payment system

    P24

    Index

    Constructors

    • Creates an instance of Przelewy24.

      Parameters

      • merchantId: number

        Merchant ID given by Przelewy24

      • posId: number

        Shop ID (defaults to merchantId)

      • apiKey: string

        API Key from P24 panel(Klucz do raportów)

      • crcKey: string

        CRC key from P24 panel

      • Optionaloptions: P24Options = ...

        additional options

      Returns P24

      P24

    Methods

    • Get BLIK aliases by email

      Parameters

      • email: string

        Customer email

      Returns Promise<BlikAlias[]>

      • List of BLIK aliases

      P24

    • Get BLIK aliases by email (for aliases registered with aliasValue and aliasLabel fields)

      Parameters

      • email: string

        Customer email

      Returns Promise<BlikAlias[]>

      • List of BLIK aliases

      P24

    • List payment methods

      Parameters

      • lang: string

        Language code ('en' or 'pl')

      • Optionaloptions: { amount?: number; currency?: Currency }

      Returns Promise<PaymentMethod[]>

      • List of payment methods

      P24

    • Register offline transaction

      Parameters

      • token: string

        Transaction token obtained with createTransaction

      Returns Promise<OfflineTransaction>

      • Offline transaction details

      P24

    • Test access to the service

      Returns Promise<boolean>

      P24

    • Verify transaction

      Parameters

      Returns Promise<boolean>

      P24

    • Validates IP with P24 backends

      Parameters

      • ip: string

        IP Address

      Returns boolean

      • true on validated ip

      Przelewy24