fix(router): fix merchant_connector_account retrieve and delete v2 routes (#5653)

This commit is contained in:
Sai Harsha Vardhan
2024-08-21 18:06:11 +05:30
committed by GitHub
parent 1f0ee3cae0
commit 723411905a
3 changed files with 26 additions and 3 deletions

View File

@ -61,6 +61,9 @@
)]
pub async fn connector_create() {}
/// Merchant Connector - Create
///
/// Creates a new Merchant Connector for the merchant account. The connector could be a payment processor/facilitator/acquirer or a provider of specialized services like Fraud/Accounting etc.
#[cfg(feature = "v2")]
#[utoipa::path(
post,
@ -143,6 +146,9 @@ pub async fn connector_create() {}
)]
pub async fn connector_retrieve() {}
/// Merchant Connector - Retrieve
///
/// Retrieves details of a Connector account
#[cfg(feature = "v2")]
#[utoipa::path(
get,
@ -229,6 +235,9 @@ pub async fn payment_connector_list() {}
)]
pub async fn connector_update() {}
/// Merchant Connector - Update
///
/// To update an existing Merchant Connector account. Helpful in enabling/disabling different payment methods and other settings for the connector
#[cfg(feature = "v2")]
#[utoipa::path(
post,
@ -295,6 +304,9 @@ pub async fn connector_update() {}
)]
pub async fn connector_delete() {}
/// Merchant Connector - Delete
///
/// Delete or Detach a Merchant Connector from Merchant Account
#[cfg(feature = "v2")]
#[utoipa::path(
delete,