Update a charge
Updates the description or metadata of an existing charge.
PATCHhttps://api.omise.co/charges/:id
Modify the description or metadata of an existing charge. This is useful for adding order information, customer notes, or any custom data after the charge has been created.
Note: You cannot modify the amount, currency, or payment method of an existing charge.
Parameters
idstringrequired
The charge ID to update
descriptionstringoptional
New merchant-facing transaction description
metadataobjectoptional
Custom key-value pairs (merged with existing metadata)