> ## Documentation Index
> Fetch the complete documentation index at: https://docs.momentco.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Error Handling

> Conflict scenarios for capture and void operations

## Conflict scenarios (409)

Captures and voids return `409 Conflict` when the payment is not in a valid state for the requested operation:

| Operation | Scenario                   | Error detail                                                          |
| --------- | -------------------------- | --------------------------------------------------------------------- |
| Capture   | Payment not authorised     | `"The payment is not in an authorised state and cannot be captured."` |
| Capture   | Amount exceeds remaining   | `"The capture amount exceeds the remaining authorised amount."`       |
| Capture   | Authorisation expired      | `"The authorisation has expired and can no longer be captured."`      |
| Void      | Payment not authorised     | `"The payment is not in an authorised state and cannot be voided."`   |
| Void      | Already fully voided       | `"The payment has already been fully voided."`                        |
| Void      | No remaining authorisation | `"There is no remaining authorised amount to void."`                  |
