---
title: "Purchase without payment details"
method: POST
path: "/payments"
---

# Purchase without payment details

`POST /payments`

Use `/payments` endpoint to perform purchase without payment details. <br>Use in cases:<br><br>- customer applied 100% coupon code and the publisher doesn't expect the payment details (option to set during coupon creation) - for this purchase flow, please use a payment method with a name “Manual” that has “Coupon” as payment gateway.<br>- offer is free and the publisher wants to give access to offer - for this purchase flow, please use a payment method with a name “Manual” that has “Free-offer” as payment gateway.<br><br> **Important Note** <br> It is crucial that an appropriate **payment method** is used during **order** creation (“Manual” with “Coupon” or “Free-offer” as payment gateway).   While it’s possible to use any payment gateway in this checkout flow, we strongly recommend utilizing the above for reporting clarity.

## Request body

- object
  - `orderId` integer, required — ID of Cleeng order. Order has to have [`paymentMethodId`](https://developers.cleeng.com/reference#fetch-payment-method-ids) for payment method which: <br> - has a name "Manual"<br> - has either “Coupon” or “Free-offer” as payment gateway, depending on the purchase type.
  - `captchaValue` string — To integrate Google reCAPTCHA go [HERE](https://developers.cleeng.com/docs/fraud-prevention-solution-with-google-recaptcha)

## Response `200`

200

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

## Other responses

- `400` — 400
- `422` — 422

---

[API](https://skmtc.net/cleeng/apis/mediastore-api.md) · [All operations](https://skmtc.net/cleeng/apis/mediastore-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cleeng/mediastore-api/versions/00cbfe7998a4/schema)
