mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
feat(payment_methods_v2): add payment methods list endpoint (#6938)
Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -1009,9 +1009,10 @@ pub struct MerchantConnectorResponse {
|
||||
/// Type of the Connector for the financial use case. Could range from Payments to Accounting to Banking.
|
||||
#[schema(value_type = ConnectorType, example = "payment_processor")]
|
||||
pub connector_type: api_enums::ConnectorType,
|
||||
|
||||
/// Name of the Connector
|
||||
#[schema(value_type = Connector, example = "stripe")]
|
||||
pub connector_name: String,
|
||||
pub connector_name: common_enums::connector_enums::Connector,
|
||||
|
||||
/// A unique label to identify the connector account created under a profile
|
||||
#[schema(example = "stripe_US_travel")]
|
||||
@ -1310,9 +1311,10 @@ pub struct MerchantConnectorListResponse {
|
||||
/// Type of the Connector for the financial use case. Could range from Payments to Accounting to Banking.
|
||||
#[schema(value_type = ConnectorType, example = "payment_processor")]
|
||||
pub connector_type: api_enums::ConnectorType,
|
||||
|
||||
/// Name of the Connector
|
||||
#[schema(value_type = Connector, example = "stripe")]
|
||||
pub connector_name: String,
|
||||
pub connector_name: common_enums::connector_enums::Connector,
|
||||
|
||||
/// A unique label to identify the connector account created under a profile
|
||||
#[schema(example = "stripe_US_travel")]
|
||||
|
||||
Reference in New Issue
Block a user