put https://api.getansa.com/v1/transactions//metadata
Updates an existing transaction's metadata. Both the label
field and metadata
field can be updated. label
is a string identifier that can be used to attach to this transaction ID for future lookup or for reporting. metadata
is a set of string
key-value pairs that you can attach to a transaction to include any additional information in a structured format. Note: using this endpoint to update the metadata
field will completely overwrite any existing metadata, not merge.
The endpoint returns a Transaction with an updated label and metadata.
Authorization Scope
Only the merchant secret key is authorized to call this endpoint.