---
title: "Get a payment intent's history"
method: GET
path: "/payment_intents/{payment_intent_id}/history"
tags: ["Payment intents"]
---

# Get a payment intent's history

`GET /payment_intents/{payment_intent_id}/history`

## Request

- Base URL: `https://api.sandbox.monite.com/v1`
- URL: `https://api.sandbox.monite.com/v1/payment_intents/{payment_intent_id}/history`
- Auth: HTTP bearer

The history of a payment intent contains its [status changes](https://docs.monite.com/payments/payment-intents#lifecycle) and the date and time of each status change.

## Path parameters

- `payment_intent_id` string, required

## Headers

- `x-monite-version` string, required
- `x-monite-entity-id` string, required

## Response `200`

Successful Response

- PaymentIntentHistoryResponse
  - `data` PaymentIntentHistory[], required: A list of status changes and their timestamps.
    - `id` string, uuid, required: Unused.
    - `created_at` string, date-time, required: UTC date and time when the payment intent moved to a new status.
    - `updated_at` string, date-time, required: Same as `created_at`.
    - `payment_intent_id` string, uuid, required: ID of the payment intent.
    - `status` string, required: The new [status](https://docs.monite.com/payments/payment-intents#lifecycle) of the payment intent.

## Other responses

- `400`: Possible reasons: * Missing `X-Monite-Version` request header. * An entity with the specified ID was not found.
- `401`: The `Authorization` header is missing or contains an invalid or expired access token. See [Authentication](https://docs.monite.com/api/concepts/authentication) to learn how to authenticate API calls.
- `404`: A payment intent with the specified ID was not found.
- `422`: Possible reasons: * `X-Monite-Entity-Id` is missing or not a valid UUID. * `payment_intent_id` is not a valid UUID.
- `429`: API rate limit has been exceeded. Check the response headers for the rate limit information.

---

[API](https://skmtc.dev/monite/apis/monite-2.md) - [All operations](https://skmtc.dev/monite/apis/monite-2/llms.txt) - [OpenAPI document](https://skmtc.dev/monite/apis/monite-2/revisions/4299ccf95edb?raw)
