feat(router): added dispute retrieve and dispute list apis (#842)

Co-authored-by: Sangamesh <sangamesh.kulkarni@juspay.in>
Co-authored-by: sai harsha <sai.harsha@sai.harsha-MacBookPro>
Co-authored-by: Arun Raj M <jarnura47@gmail.com>
This commit is contained in:
Sai Harsha Vardhan
2023-04-13 14:04:49 +05:30
committed by GitHub
parent d1d58e33b7
commit acab7671b0
24 changed files with 404 additions and 31 deletions

View File

@ -57,6 +57,7 @@ Never share your secret api keys. Keep them guarded and secure.
(name = "Mandates", description = "Manage mandates"),
(name = "Customers", description = "Create and manage customers"),
(name = "Payment Methods", description = "Create and manage payment methods of customers"),
(name = "Disputes", description = "Manage disputes"),
// (name = "API Key", description = "Create and manage API Keys"),
),
paths(
@ -100,6 +101,8 @@ Never share your secret api keys. Keep them guarded and secure.
// crate::routes::api_keys::api_key_update,
// crate::routes::api_keys::api_key_revoke,
// crate::routes::api_keys::api_key_list,
crate::routes::disputes::retrieve_disputes_list,
crate::routes::disputes::retrieve_dispute,
),
components(schemas(
crate::types::api::refunds::RefundRequest,
@ -143,9 +146,12 @@ Never share your secret api keys. Keep them guarded and secure.
api_models::enums::PaymentExperience,
api_models::enums::BankNames,
api_models::enums::CardNetwork,
api_models::enums::DisputeStage,
api_models::enums::DisputeStatus,
api_models::enums::CountryCode,
api_models::admin::MerchantConnector,
api_models::admin::PaymentMethodsEnabled,
api_models::disputes::DisputeResponse,
api_models::payments::AddressDetails,
api_models::payments::Address,
api_models::payments::BankRedirectData,