Przejdź do głównej zawartości

Payment methods

GET 

/v3/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

    Signature stringrequired

    The Signature header is used to ensure the request’s body integrity and to confirm that its content has not changed.

    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, PAYPO, 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]

    authorizationType stringrequired

    Authorization type. In case of REDIRECT the payment authorization happens on Paynow site. In case of CODE the Payment Request sent to Paynow needs to contain the authorizationCode

    Possible values: [REDIRECT, CODE]

  • ]

  • ]

Loading...