refactor(router): refactor merchant_connector_account retrieve and delete v2 apis (#5528)

This commit is contained in:
Sai Harsha Vardhan
2024-08-07 17:10:27 +05:30
committed by GitHub
parent 7e545e36eb
commit 253f1be3e1
10 changed files with 345 additions and 69 deletions

View File

@ -102,11 +102,11 @@ Never share your secret api keys. Keep them guarded and secure.
routes::merchant_account::merchant_account_kv_status,
// Routes for merchant connector account
routes::merchant_connector_account::payment_connector_create,
routes::merchant_connector_account::payment_connector_retrieve,
routes::merchant_connector_account::connector_create,
routes::merchant_connector_account::connector_retrieve,
routes::merchant_connector_account::payment_connector_list,
routes::merchant_connector_account::payment_connector_update,
routes::merchant_connector_account::payment_connector_delete,
routes::merchant_connector_account::connector_update,
routes::merchant_connector_account::connector_delete,
//Routes for gsm
routes::gsm::create_gsm_rule,

View File

@ -58,7 +58,7 @@
operation_id = "Create a Merchant Connector",
security(("admin_api_key" = []))
)]
pub async fn payment_connector_create() {}
pub async fn connector_create() {}
/// Merchant Connector - Retrieve
///
@ -79,7 +79,7 @@ pub async fn payment_connector_create() {}
operation_id = "Retrieve a Merchant Connector",
security(("admin_api_key" = []))
)]
pub async fn payment_connector_retrieve() {}
pub async fn connector_retrieve() {}
/// Merchant Connector - List
///
@ -146,7 +146,7 @@ pub async fn payment_connector_list() {}
operation_id = "Update a Merchant Connector",
security(("admin_api_key" = []))
)]
pub async fn payment_connector_update() {}
pub async fn connector_update() {}
/// Merchant Connector - Delete
///
@ -167,4 +167,4 @@ pub async fn payment_connector_update() {}
operation_id = "Delete a Merchant Connector",
security(("admin_api_key" = []))
)]
pub async fn payment_connector_delete() {}
pub async fn connector_delete() {}