mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 19:42:27 +08:00
refactor(core): add recurring customer support for nomupay payouts. (#6687)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -184,6 +184,9 @@ pub struct PayoutCreateRequest {
|
||||
/// Customer's phone country code. _Deprecated: Use customer object instead._
|
||||
#[schema(deprecated, max_length = 255, example = "+1")]
|
||||
pub phone_country_code: Option<String>,
|
||||
|
||||
/// Identifier for payout method
|
||||
pub payout_method_id: Option<String>,
|
||||
}
|
||||
|
||||
impl PayoutCreateRequest {
|
||||
@ -568,6 +571,9 @@ pub struct PayoutCreateResponse {
|
||||
#[remove_in(PayoutCreateResponse)]
|
||||
#[schema(value_type = Option<String>, max_length = 1024, example = "Invalid card details")]
|
||||
pub unified_message: Option<UnifiedMessage>,
|
||||
|
||||
/// Identifier for payout method
|
||||
pub payout_method_id: Option<String>,
|
||||
}
|
||||
|
||||
/// The payout method information for response
|
||||
|
||||
Reference in New Issue
Block a user