# Delete Payments & Refunds Delete Payments & Refunds Endpoint: DELETE /rest/2.0/delete/PAYMENTS_REFUNDS Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.Id` (string, required) ## 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