# Retrieve By Id Payment Gateways Get Payment Gateways By Id Endpoint: GET /rest/2.0/PAYMENT_GATEWAY/{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.IS_DEFAULT` (integer) Default - `retrieveResponse.GATEWAY_NAME` (string) Ecom Name - `retrieveResponse.POST_URL` (string) Post Url - `retrieveResponse.Batching` (integer) File Based Batch Process - `retrieveResponse.SOAP_URL` (string) SOAP Url - `retrieveResponse.GATEWAY_TYPE` (string) Gateway Type - `retrieveResponse.STATUS` (string) Status - `retrieveResponse.Id` (string) Ecom Gateway ID: ECOM_GATEWAY_ID - `retrieveResponse.ProcessType` (string) Process Type - `retrieveResponse.TokenizeBankAccountNumberFlag` (integer) Tokenize Bank Account Numbers: When checked, bank account numbers will be stored in BP in tokenized form - `retrieveResponse.MandateEnabledFlag` (string) MandateEnabledFlag - `retrieveResponse.IsTokenizationAvailable` (integer) Tokenization Available ## 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