---
title: "PATCH /v1/ledger_transactions/{id}"
method: PATCH
path: "/v1/ledger_transactions/{id}"
---

# PATCH /v1/ledger_transactions/{id}

`PATCH /v1/ledger_transactions/{id}`

## Path parameters

- `id` string, required

## Request body

- object
  - `description` string — (Optional) A free-form internal description, up to 1000 characters.
  - `status` string — To post a ledger transaction, set the status to posted. To archive a pending transaction, set the status to archived.
  - `metadata` string — Metadata to attach to the ledger transaction. Must be a JSON object containing string keys and values.
  - `effective_at` string, date — Timestamp in ISO 8601 format with up to 6 decimal places.

## Response `200`

---

[API](https://skmtc.net/paymongo/apis/paymongo-api.md) · [All operations](https://skmtc.net/paymongo/apis/paymongo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/paymongo/paymongo-api/versions/c18f9a027b2c/schema)
