# Retrieve By Id Payments & Refunds Get Payments & Refunds By Id Endpoint: GET /rest/2.0/PAYMENTS_REFUNDS/{id} Version: 1.0 Security: JWT ## Path parameters: - `id` (integer, required) Id of the record ## Header parameters: - `sessionId` (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