# Save Payment Gateways Save Payment Gateways Endpoint: POST /rest/2.0/PAYMENT_GATEWAY Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.IS_DEFAULT` (integer) Default - `brmObjects.GATEWAY_NAME` (string, required) Ecom Name - `brmObjects.POST_URL` (string, required) Post Url - `brmObjects.Batching` (integer) File Based Batch Process - `brmObjects.SOAP_URL` (string) SOAP Url - `brmObjects.GATEWAY_TYPE` (string, required) Gateway Type - `brmObjects.STATUS` (string, required) Status - `brmObjects.Id` (string, required) Ecom Gateway ID: ECOM_GATEWAY_ID - `brmObjects.ProcessType` (string) Process Type - `brmObjects.TokenizeBankAccountNumberFlag` (integer) Tokenize Bank Account Numbers: When checked, bank account numbers will be stored in BP in tokenized form - `brmObjects.MandateEnabledFlag` (string) MandateEnabledFlag - `brmObjects.IsTokenizationAvailable` (integer) Tokenization Available ## 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