---
title: "Payment with Adyen [Legacy]"
method: POST
path: "/connectors/adyen/payments"
---

# Payment with Adyen \[Legacy\]

`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`

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](https://developers.cleeng.com/reference/adyen-initial-payment) (see [Adyen Payment Setup](doc:extended-adyen-payment-setup) for more information). For legacy integrations, please see the [migration guide](https://developers.cleeng.com/docs/extended-adyen-payment-setup#migration-guide).**

## Request body

- object
  - `orderId` integer, required: ID of Cleeng order (with Adyen paymentMethodId)
  - `customerIP` string, 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)
  - `card` object: Card object containing Adyen tokens. It is returned from Adyen component. [Here](https://developers.cleeng.com/docs/adyen-payment-setup#set-up-adyen-component) is a instruction how to render this component
    - `encryptedCardNumber` string, required
    - `encryptedExpiryMonth` string, required
    - `encryptedExpiryYear` string, required
    - `encryptedSecurityCode` string, required
    - `type` string, required
    - `holderName` string, required

## Response `200`

200

- object
  - `responseData` object
    - `id` integer
    - `orderId` integer
    - `status` string
    - `totalAmount` number
    - `currency` string
    - `customerId` integer
    - `paymentGateway` string
    - `paymentMethod` string
    - `externalPaymentId` string
    - `couponId` unknown
    - `amount` number
    - `country` string
    - `offerType` string
    - `taxValue` number
    - `paymentMethodFee` integer
    - `customerServiceFee` integer
    - `rejectedReason` unknown
    - `refundedReason` unknown
    - `paymentDetailsId` unknown
    - `paymentOperation` string
  - `errors` unknown[]
    - unknown

## Other responses

- `400`: 400
- `422`: 422

## Changes

- **2026-11-03** `b4b65aa4f14c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cleeng/apis/mediastore-api/changes/connectors/adyen/payments/post.md)

---

[API](https://skmtc.dev/cleeng/apis/mediastore-api.md) - [All operations](https://skmtc.dev/cleeng/apis/mediastore-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cleeng/apis/mediastore-api/revisions/b4b65aa4f14c?raw)
