---
title: "Capture Authorized Order"
method: POST
path: "/api/v2_1/orders/{orderId}/captures"
tags: ["Order"]
---

# Capture Authorized Order

`POST /api/v2_1/orders/{orderId}/captures`

## Request

- Base URL: `https://secure.payu.com`
- URL: `https://secure.payu.com/api/v2_1/orders/{orderId}/captures`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/payu-com/apis/payu-gpo-europe-rest-api/docs/api/v2_1/orders/:orderId/captures/post.ts> (a function with typed inputs; its response is checked against the schema)

Capture whole order and update its status to COMPLETED (ended).

## Headers

- `Content-Type` string, required
- `Authorization` string, required

## Request body

- union
  - unknown
  - Partial
    - `amount` string, required: Amount you want to capture. Must be less than captured order amount. **Can be used only during partial capture**.
    - `currencyCode` string, required: Currency of the order. **Can be used only during partial capture**

## Response `200`

- object
  - `status` object
    - `statusCode` string: Status after update.
    - `statusDesc` string: Status message.

## Other responses

- `400`
- `401`
- `500`

---

[API](https://skmtc.dev/payu-com/apis/payu-gpo-europe-rest-api.md) - [All operations](https://skmtc.dev/payu-com/apis/payu-gpo-europe-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/payu-com/apis/payu-gpo-europe-rest-api/revisions/185e74d5e007?raw)
