Capture payment
capture_paymentCapture an authorized payment for an order, charging the customer. Defaults to the full remaining amount and the only uncaptured payment when amount or payment ID is omitted.
Instructions
Captures an authorized payment (charges the customer). Without 'amount' captures the full remaining amount. Without 'payment_id' uses the only payment that is not fully captured.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | Order ID or order number | |
| amount | No | Major units; defaults to the full remaining amount | |
| payment_id | No |