# 5.2 Update transaction

You can update transactions metadata after it's already created.

# Request

POST /wallet/api/v1/billing/transaction

Form params

name Description Format Required
transactionID The transaction ID to update String Yes
metadata Custom metadata about this transaction, e.g:
{"first-name":"John","product":"hotel room #1"}
Json string Yes


# Request example:

curl --request POST \
  --url https://the-sandbox.mycheckapp.com/wallet/api/v1/billing/transaction \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --header 'secretKey: <Secret key>' \
  --data 'transactionID=4beefb0f-7c4b-4f66-b8ce-9180c76ecf30&metadata=%7B%22first-name%22%3A%22John%22%2C%22product%22%3A%22hotel%20room%20%231%22%7D'

# Response

{
  "status": "OK"
}