juspay/hyperswitch

[FEATURE] Create GSM List API

Open

#2,818 opened on Nov 9, 2023

View on GitHub
 (4 comments) (0 reactions) (2 assignees)Rust (42,690 stars) (4,676 forks)batch import
C-featuregood first issuehelp wanted

Description

Feature Description

The Gateway Status Map (GSM) refers to the gateway_status_map table, which stores connector-specific behavior for a given flow, sub-flow, code, and message.

Currently, we have GSM CRUD APIs to create, retrieve, update, and delete GSM records. However, there's no existing method to view all GSM records. To address this, we propose implementing a new API that retrieves all GSM records based on filters such as connector and flow.

Possible Implementation

Create a new GSM List API (/gsm/list) with a GET method, which retrieves all the GSM records. Filters, such as connector and flow, can be applied.

Contributor guide