Create Adyen payment session

Changed on

Use /connectors/adyen/sessions endpoint to create a payment session for payment with Adyen. This is required to embed a frontend Drop-in component.

Note: Payment session expiry date is set to 1 hour after session creation.

post/connectors/adyen/sessions

Request

  • Base URL
    https://mediastoreapi-sandbox.cleeng.com
  • URL
    https://mediastoreapi-sandbox.cleeng.com/connectors/adyen/sessions
  • Auth
    API key in header Authorization

Request body

orderIdinteger

Required for initial payment process. ID of Cleeng order (with Adyen paymentMethodId).

returnUrlstring

The URL to page where the customer should be redirected after the payment with redirect flow.

filterPaymentMethodsstring[]

Pass this parameter if you want to filter payment methods that should be presented to customers in the checkout (allowed values: card, applepay, googlepay, ideal). It’s useful if a particular method is enabled in Cleeng but you do not want to present it to customers.

filterPaymentMethodsByTypestring

Pass this parameter if you want to filter payment methods that should be presented to customers in the checkout based on whether they support transactions for authentications purposes (zero-amount) or not. Possible values: zeroPaymentSupported (e.g. card, Apple Pay, Google Pay) and zeroPaymentNotSupported (e.g. iDEAL).

Response

200

Changes