Get a list of available payment methods

post /paymentMethods

Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to /payments).

Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the /paymentMethods response and update it once a week.

Endpoint destination URL

https://checkout-test.adyen.com/v69/paymentMethods
Click to copy

Header parameters

Idempotency-Key string

A unique identifier for the message with a maximum of 64 characters (we recommend a UUID).

Request parameters

additionalData [string] object

This field contains additional data, which may be required for a particular payment request.

The additionalData object consists of entries, each of which includes the key and value.

allowedPaymentMethods [string] array

List of payment methods to be presented to the shopper. To refer to payment methods, use their paymentMethod.type from Payment methods overview.

Example: "allowedPaymentMethods":["ideal","giropay"]

amount

The amount information for the transaction (in minor units). For BIN or card verification requests, set amount to 0 (zero).

blockedPaymentMethods [string] array

List of payment methods to be hidden from the shopper. To refer to payment methods, use their paymentMethod.type from Payment methods overview.

Example: "blockedPaymentMethods":["ideal","giropay"]

channel string

The platform where a payment transaction takes place. This field can be used for filtering out payment methods that are only available on specific platforms. Possible values:

  • iOS
  • Android
  • Web
countryCode string

The shopper's country code.

merchantAccount string Required

The merchant account identifier, with which you want to process the transaction.

order

The order information required for partial payments.

shopperLocale string

The combination of a language code and a country code to specify the language to be used in the payment.

shopperReference string

Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters.

Your reference must not include personally identifiable information (PII), for example name or email address.

splitCardFundingSources boolean

Boolean value indicating whether the card payment method should be split into separate debit and credit options.

store string
Min length: 1 Max length: 16

The ecommerce or point-of-sale store that is processing the payment. Used in partner model integrations for Adyen for Platforms.

Response parameters

After submitting a call, you receive a response message to inform you that your request was received and processed.

Depending on the HTTP status code of the response message, it is helpful to build some logic to handle any errors that a request or the system may return.

HTTP Responses

  • 200 - OK

    The request has succeeded.

    Show more Show less
  • 400 - Bad Request

    A problem reading or understanding the request.

    Show more Show less
  • 401 - Unauthorized

    Authentication required.

    Show more Show less
  • 403 - Forbidden

    Insufficient permissions to process the request.

    Show more Show less
  • 422 - Unprocessable Entity

    A request validation error.

    Show more Show less
  • 500 - Internal Server Error

    The server could not process the request.

    Show more Show less
  • Request
  • Click to copy
  • Response
  • Click to copy