---
title: "List a document's versions, newest first"
method: GET
path: "/v1/merchant_configurations/{id}/history"
tags: ["merchant_configurations"]
---

# List a document's versions, newest first

`GET /v1/merchant_configurations/{id}/history`

## Request

- Base URL: `https://ewallets-api.paymongo.com`
- URL: `https://ewallets-api.paymongo.com/v1/merchant_configurations/{id}/history`
- Auth: HTTP bearer

With as_of, the single version in force at that time.

## Path parameters

- `id` string, required

## Query parameters

- `as_of` string

## Headers

- `PayMongo-Livemode` 'true' | 'false', required

## Response `200`

OK

- object: Standard response containing data and its metadata if any
  - `data` InternalMerchantconfigHandlerHistoryResponseDTO[]
    - `actor` string
    - `correlation_id` string
    - `created_at` string
    - `op` string
    - `reason` string
    - `snapshot` object
    - `version` integer
  - `has_more` boolean

## Other responses

- `400`: as_of is not RFC 3339
- `404`: Not Found

---

[API](https://skmtc.dev/paymongo/apis/ewallets.md) - [All operations](https://skmtc.dev/paymongo/apis/ewallets/llms.txt) - [OpenAPI document](https://skmtc.dev/paymongo/apis/ewallets/revisions/a445ca65c132?raw)
