# Look up and reverse a card payment in an open batch.

Look up and reverse a card payment in an open batch.

1. OPTIONAL — list card payments matching the search filters to find the paymentId of the transaction to reverse. Skip this step if you already hold the paymentId.
 [listPayments](/api/list-payments)
2. Reverse (void) the card payment in the open batch. Takes the paymentId in the path and a required Idempotency-Key header. Send amount for a partial reversal, or omit it to reverse the full amount. Success returns transactionResult.status == reversal.
 [reversePayment](/api/reverse-payment)

## Workflow diagram

```mermaid
flowchart TD
  step0["1. payment search · API"]
  step1["2. reversal request · API"]
  step0 --> step1
```
