# Payment lifecycle

## Get the last event for an APM payment

 - [GET /apmPayments/{paymentId}](https://worldpay-portal.eu.redocly.app/access/products/apms/openapi/payment-lifecycle/query.md): Lookup the state of a payment, including the available action that can be performed.

## Confirm payment

 - [POST /apmPayments/{paymentId}/confirmations](https://worldpay-portal.eu.redocly.app/access/products/apms/openapi/payment-lifecycle/confirmpaymentv2.md): Create a confirm payment request for smart button functionality.

## Reverse an APM payment

 - [POST /apmPayments/{paymentId}/reversals](https://worldpay-portal.eu.redocly.app/access/products/apms/openapi/payment-lifecycle/reverse.md): Perform a reversal on the funds taken from a sale.

## Partial reverse an APM payment

 - [POST /apmPayments/{paymentId}/partialReversals](https://worldpay-portal.eu.redocly.app/access/products/apms/openapi/payment-lifecycle/partialreversev2.md): Perform a partial reversal on the funds taken from a sale.

## Settle an APM payment

 - [POST /apmPayments/{paymentId}/settlements](https://worldpay-portal.eu.redocly.app/access/products/apms/openapi/payment-lifecycle/settle.md)

## Partial settle an APM payment

 - [POST /apmPayments/{paymentId}/partialSettlements](https://worldpay-portal.eu.redocly.app/access/products/apms/openapi/payment-lifecycle/settlev2.md): Perform a settlement on authorized funds. Not all APMs support this, please check the links returned from querying a payment.

