# Delete Payment Gateway Transactions Delete Payment Gateway Transactions Endpoint: DELETE /rest/2.0/delete/ECOM_TRANSACTION 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.StatusCode` (string) StatusCode - `retrieveResponse.Invoicelist` (string) Invoicelist - `retrieveResponse.Id` (string) Id: ECOM_TRANSACTION_REQUEST_ID - `retrieveResponse.Created` (string) System controlled field: Date and time the record was created - `retrieveResponse.RealTimeFlag` (integer) RealTimeFlag - `retrieveResponse.EcomGatewayId` (integer) EcomGatewayId - `retrieveResponse.Status` (string) Status - `retrieveResponse.PaymentItemId` (integer) PaymentItemId - `retrieveResponse.StatusMessage` (string) StatusMessage - `retrieveResponse.TransactionType` (string) TransactionType - `retrieveResponse.BillingProfileId` (integer) BillingProfileId - `retrieveResponse.Amount` (string) Amount - `retrieveResponse.RefundItemId` (integer) RefundItemId - `retrieveResponse.GatewayTransactionId` (string) GatewayTransactionId - `retrieveResponse.ApproveInvoiceId` (integer) ApproveInvoiceId - `retrieveResponse.PaymentGatewayProfileId` (integer) PaymentGatewayProfileId: Payment Gateway Profile - `retrieveResponse.RequestText` (string) RequestText - `retrieveResponse.AlertExclusion` (string) AlertExclusion ## 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