Payment with Adyen [Legacy]

Changed on

Use /connectors/adyen/payments endpoint to perform payment with Adyen. A customer uses a card for such payment.

<span style="color:red">WARNING:</span> This is a legacy endpoint. For new integrations, please use /connectors/adyen/initial-payment (see Adyen Payment Setup for more information). For legacy integrations, please see the migration guide.

post/connectors/adyen/payments

Request

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

Request body

orderIdinteger required

ID of Cleeng order (with Adyen paymentMethodId)

customerIPstring required

The IP address of the end-user signing up for your service. Please note this IP address is also used to prevent fraud. (Make sure you send the end-user IP, and not those of any possible middleware)

Response

200

Example response

{
  "responseData": {
    "id": 1537209793,
    "orderId": 778062684,
    "status": "authorized",
    "totalAmount": 22.58,
    "currency": "EUR",
    "customerId": 996028494,
    "paymentGateway": "adyen",
    "paymentMethod": "card",
    "externalPaymentId": "852580290024951G",
    "amount": 18.36,
    "country": "PL",
    "offerType": "subscription",
    "taxValue": 4.22,
    "paymentOperation": "initial-payment"
  }
}

Changes