# Retrieve By Id Refunds Get Refunds By Id Endpoint: GET /rest/2.0/REFUND/{id} Version: 1.0 Security: JWT ## Path parameters: - `id` (any, required) Id of the record ## Header parameters: - `sessionId` (string, required) ## Response 200 fields (application/json): - `retrieveResponse` (object) - `retrieveResponse.AccountingPeriodId` (any) Accounting Period - `retrieveResponse.Created` (any) System controlled field: Date and time the record was created - `retrieveResponse.CreatedUserId` (any) System controlled field: Id of the user that created the record - `retrieveResponse.GatewayTransactionId` (any) Gateway Transaction Id - `retrieveResponse.Id` (any) Refund Item ID - `retrieveResponse.Note` (any) Refund Notes - `retrieveResponse.PaymentItemId` (any) PaymentItemId - `retrieveResponse.RefundType` (any) Refund Type - `retrieveResponse.Status` (any) Status - `retrieveResponse.Updated` (any) System controlled field: Date and time the record was last updated - `retrieveResponse.UpdatedUserId` (any) System controlled field: Id of the last user that updated the record - `retrieveResponse.VoidFlag` (any) Voided - `retrieveResponse.VoidRefundItemId` (any) Voided By - `retrieveResponse.VoidedRefundId` (any) Voided To - `retrieveResponse.gatewayResponseCode` (any) Gateway Response Code - `retrieveResponse.gatewayResponseMessage` (any) Gateway Response Message ## 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