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
Field | Type | Description |
---|
transactionId | string | Unique identifier for the transaction |
Attributes
Field Name | Type | Description |
---|
id | string | Unique identifier for the merchant |
updateType | string | updateType {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
Condition | Response Status | Response Body |
---|
Invalid transactionId | 404 Not Found | |
Missing/Invalid updateType | 400 Bad Request | { error : "Missing/invalid updateType } |
Request Body
{"id"=>"64b7f5de-d178-4b23-a3a3-4c0783090d91", "updateType"=>"ALL"}
Key | Datatype | Required | Description |
---|
Content-Type | string | | |
Authorization | string | | |
X-Api-Key | string | | |
X-Partner-Id | string | | |
X-Company-Id | string | | |