Capture payment
capture_paymentCapture a held two-step payment to confirm it and move funds. Optionally specify a partial amount to capture only part of the authorized sum.
Instructions
Confirm a two-step payment (capture held funds). Optionally capture a partial amount. MOVES REAL MONEY — irreversible.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"payment_id": "<payment_id>"
},
"name": "capture_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Amount for a partial capture (optional; must be <= the authorized amount, same currency). Over-capture is rejected by YooKassa | |
| payment_id | Yes | ID of the payment to capture |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| paid | No | ||
| amount | No | ||
| status | No | ||
| confirmation_url | No |