---
title: "Update a Charge"
method: PUT
path: "/{charge_id}"
---

# Update a Charge

`PUT /{charge_id}`

This endpoint updates the required details for a specified charge.

## Path parameters

- `charge_id` string, required

## Request body

- object
  - `description` string — An arbitrary string which you can attach to a charge object. It is displayed in the web interface alongside the charge.
  - `metadata` object — Any additional information that the merchant wants to attach to the charge object.
    - `udf1` string — Merchant can define new parameters (key/value pairs) within this metadata object.

## Response `200`

200

- object
  - `id` string
  - `object` string
  - `live_mode` boolean
  - `api_version` string
  - `method` string
  - `status` string
  - `amount` integer
  - `currency` string
  - `threeDSecure` boolean
  - `card_threeDSecure` boolean
  - `save_card` boolean
  - `merchant_id` string
  - `product` string
  - `description` string
  - `metadata` object
    - `udf1` string
  - `transaction` object
    - `authorization_id` string
    - `timezone` string
    - `created` string
    - `expiry` object
      - `period` integer
      - `type` string
    - `asynchronous` boolean
    - `amount` number
    - `currency` string
  - `reference` object
    - `track` string
    - `payment` string
    - `gateway` string
    - `acquirer` string
    - `transaction` string
    - `order` string
  - `response` object
    - `code` string
    - `message` string
  - `acquirer` object
    - `response` object
      - `code` string
      - `message` string
  - `gateway` object
    - `response` object
      - `code` string
      - `message` string
  - `card` object
    - `object` string
    - `first_six` string
    - `scheme` string
    - `brand` string
    - `last_four` string
  - `receipt` object
    - `id` string
    - `email` boolean
    - `sms` boolean
  - `customer` object
    - `id` string
    - `first_name` string
    - `last_name` string
    - `email` string
    - `phone` object
      - `country_code` string
      - `number` string
  - `merchant` object
    - `country` string
    - `currency` string
    - `id` string
  - `source` object
    - `object` string
    - `type` string
    - `payment_type` string
    - `payment_method` string
    - `channel` string
    - `id` string
  - `redirect` object
    - `status` string
    - `url` string
  - `post` object
    - `status` string
    - `url` string
  - `activities` object[]
    - `id` string
    - `object` string
    - `created` integer
    - `status` string
    - `currency` string
    - `amount` integer
    - `remarks` string
  - `auto_reversed` boolean

## Other responses

- `400` — 400

---

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