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

# Checkout callback

If you have configured callbacks, PawaPay will `POST` a callback to your configured callback URL when a checkout reaches a final status (`COMPLETED`, `FAILED` or `EXPIRED`).
Read more about [callbacks](/v2/docs/what_to_know#callbacks).

The callback payload is the checkout in its final state, including the latest payment attempt (`deposit`) and the full history of attempts (`depositsHistory`).

If you have not configured callbacks, you can always call the [Check checkout status](/v2/api-reference/checkouts/check-checkout-status) endpoint to get the latest state of a specific checkout.

<Info>
  A checkout can contain multiple payment attempts, but at most one can complete successfully — PawaPay manages the retries for you.
  If you prefer, each attempt also behaves like a standard [deposit](/v2/docs/deposits), so you can rely on the [deposit callback](/v2/api-reference/deposits/deposit-callback) for it.
</Info>

### Headers

<Info>
  Following headers are only included if you have enabled signed callbacks.

  Read more about how to implement [signed callbacks](/v2/docs/signatures#signatures-in-callbacks).
</Info>

<ParamField header="Content-Digest" type="string">
  SHA256 or SHA-512 hash of the request body.
</ParamField>

<ParamField header="Signature" type="String">
  Signature of the request according to [RFC-9421](https://datatracker.ietf.org/doc/rfc9421/).
</ParamField>

<ParamField header="Signature-Input" type="String">
  Signature input according to [RFC-9421](https://datatracker.ietf.org/doc/rfc9421/).
</ParamField>

<ParamField header="Signature-Date" type="String">
  Timestamp when the signature was created. This is a custom field and is not part of [RFC-9421](https://datatracker.ietf.org/doc/rfc9421/).
</ParamField>

<ParamField header="Accept-Signature" type="String">
  Expected signature algorithm of the response according to [RFC-9421](https://datatracker.ietf.org/doc/rfc9421/).
</ParamField>

<ParamField header="Accept-Digest" type="String">
  Expected digest algorithm of the response according to [RFC-9421](https://datatracker.ietf.org/doc/rfc9421/).
</ParamField>

### Body
