# Update Payments & Refunds Update Payments & Refunds Endpoint: PUT /rest/2.0/PAYMENTS_REFUNDS Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.RefundItemId` (integer, required) Transaction Id - `brmObjects.CardBrand` (string, required) Credit Card Brand - `brmObjects.PaymentMethodType` (string) Payment Method Type - `brmObjects.AccountId` (integer, required) Account - `brmObjects.TransactionTypeSearch` (string, required) Transaction Type - `brmObjects.AutomaticPayment` (string, required) Automatic Payment - `brmObjects.TransactionStatus` (string, required) Transaction Status - `brmObjects.EcomGatewayId` (integer, required) Gateway Name - `brmObjects.DirectDebitScheme` (string, required) Direct Debit Scheme - `brmObjects.MerchantAccount` (integer) Merchant Account - `brmObjects.TransactionDate` (string, required) Transaction Date - `brmObjects.TransactionType` (string, required) Transaction Type - `brmObjects.ParentId` (integer, required) Parent Id - `brmObjects.PaymentItemId` (integer, required) Transaction Id - `brmObjects.Status` (string, required) Status - `brmObjects.Id` (string, required) Id ## Response 200 fields (application/json): - `retrieveResponse` (object) - `retrieveResponse.RefundItemId` (integer) Transaction Id - `retrieveResponse.CardBrand` (string) Credit Card Brand - `retrieveResponse.PaymentMethodType` (string) Payment Method Type - `retrieveResponse.AccountId` (integer) Account - `retrieveResponse.TransactionTypeSearch` (string) Transaction Type - `retrieveResponse.AutomaticPayment` (string) Automatic Payment - `retrieveResponse.TransactionStatus` (string) Transaction Status - `retrieveResponse.EcomGatewayId` (integer) Gateway Name - `retrieveResponse.DirectDebitScheme` (string) Direct Debit Scheme - `retrieveResponse.MerchantAccount` (integer) Merchant Account - `retrieveResponse.TransactionDate` (string) Transaction Date - `retrieveResponse.TransactionType` (string) Transaction Type - `retrieveResponse.ParentId` (integer) Parent Id - `retrieveResponse.PaymentItemId` (integer) Transaction Id - `retrieveResponse.Status` (string) Status - `retrieveResponse.Id` (string) Id ## Response 400 fields (application/json): - `error` (string) Bad request - `message` (string) Bad request ## Response 401 fields (application/json): - `error` (string) Unauthorized - `message` (string) Unauthorized ## Response 404 fields (application/json): - `error` (string) Not found - `message` (string) Not found ## Response 429 fields (application/json): - `error` (string) Too many requests - `message` (string) Too many requests ## Response 500 fields (application/json): - `error` (string) Internal error - `message` (string) Internal error