mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat(router): add api_models and openapi changes for refunds create api v2 (#6385)
This commit is contained in:
committed by
GitHub
parent
4ef48c39b3
commit
5a10e5867a
@ -23,10 +23,16 @@ pub enum ApiEventsType {
|
||||
Payment {
|
||||
payment_id: id_type::GlobalPaymentId,
|
||||
},
|
||||
#[cfg(feature = "v1")]
|
||||
Refund {
|
||||
payment_id: Option<id_type::PaymentId>,
|
||||
refund_id: String,
|
||||
},
|
||||
#[cfg(feature = "v2")]
|
||||
Refund {
|
||||
payment_id: id_type::GlobalPaymentId,
|
||||
refund_id: id_type::GlobalRefundId,
|
||||
},
|
||||
PaymentMethod {
|
||||
payment_method_id: String,
|
||||
payment_method: Option<PaymentMethod>,
|
||||
|
||||
Reference in New Issue
Block a user