Przejdź do głównej zawartości

Payment methods

GET 

/v2/payments/paymentmethods

Retrieve all available payment methods for payments.

Request

Query Parameters

    amount integer

    Amount query parameter used for filtering available payment methods

    currency Currency

    Possible values: [PLN, EUR, USD, GBP, CZK]

    Currency query parameter used for filtering available payment methods

    Default value: PLN
    applePayEnabled boolean

    Query parameter used for filtering Apple Pay payment method based on availability checked in browser.

    Default value: true

Header Parameters

    User-Agent string

    The User-Agent request header contains a characteristic string that allows the network protocol peers to identify the application type, operating system, software vendor or software version of the requesting software user agent.

    Accept stringrequired

    The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand. Can be set to */*.

Responses

Success

Schema

  • Array [

  • type string

    Type of method used for payment

    Possible values: [APPLE_PAY, BLIK, CARD, ECOMMERCE, GOOGLE_PAY, PBL]

    paymentMethods

    object[]

  • Array [

  • id integerrequired

    Unique identifier of payment method

    name stringrequired

    Short name of payment method

    description stringrequired

    Description of payment method

    image stringrequired

    Url for payment method icon

    status stringrequired

    Current status of payment method

    Possible values: [ENABLED, DISABLED]

  • ]

  • ]

Loading...