---
search:
  tags:
    - Merchant Scoped
    - POST
seo:
  description: >-
    Capture the explicitly requested amountUc against this… Reference for the
    POST /v1/redemptions/{id}/capture endpoint in the agentsub Gateway API.
sidebar:
  label: Capture a hold
  badge: POST
title: Capture a hold
type: openapi-operation
---
Capture the explicitly requested amountUc against this merchant-bound hold. Partial captures retain the held state; full capture marks captured.

`POST /v1/redemptions/{id}/capture`

**Request body** (`application/json`, required)

- `amountUc` (Microcredits, required) — Integer microcredits as a decimal string. 1 credit = 1,000,000 microcredits = $0.01 USD.

Request body example:

```json
{
  "amountUc": "string"
}
```

**Responses**

- `200` — Capture record
- `400` — \`invalid\_input\` problem
- `401` — \`unauthorized\` problem; live 401s advertise \`WWW-Authenticate: Bearer resource\_metadata=...\`
- `403` — Identity, ownership, scope or policy denied (\`human\_required\`, \`owner\_claim\_required\`, \`scope\_required\`, \`FROZEN\`, \`CAP\_EXCEEDED\`, \`SCOPE\_FORBIDDEN\`)
- `404` — \`not\_found\` problem
- `503` — Runtime or provider configuration unavailable (\`runtime\_configuration\_required\`, \`signing\_configuration\_required\`, \`runtime\_unavailable\`, \`workspace\_unavailable\`, \`provider\_configuration\_required\`)

Response example, 200:

```json
{
  "id": "string",
  "agentId": "string",
  "acceptorId": "string",
  "offerId": "string",
  "category": "string",
  "amountUc": "string",
  "state": "held",
  "expiresAt": 0,
  "createdAt": 0,
  "capturedUc": "string",
  "allocations": [
    {
      "lotId": "string",
      "amountUc": "string"
    }
  ]
}
```
