Update Merchant

PUT {{base_url}}/banking/v2/transactions/:transactionId/merchant

The ‘Update category’ endpoint can be used to update the merchant in a particular transaction.

Path variables

FieldTypeDescription
transactionIdstringUnique identifier for the transaction

Attributes

Field NameTypeDescription
idstringUnique identifier for the merchant
updateTypestringupdateType {ONE will only recategorise a particular transaction, ALL will change all recategorise all similar transactions including past and future transactions}

Success

204 No content

Error messages

ConditionResponse StatusResponse Body
Invalid transactionId404 Not Found
Missing/Invalid updateType400 Bad Request{ error: "Missing/invalid updateType }

Request Body

{"id"=>"64b7f5de-d178-4b23-a3a3-4c0783090d91", "updateType"=>"ALL"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring
X-Api-Keystring
X-Partner-Idstring
X-Company-Idstring