mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
feat(payouts): implement KVRouterStore (#3889)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Kashif <mohammed.kashif@juspay.in>
This commit is contained in:
@ -51,8 +51,8 @@ pub struct PayoutCreateRequest {
|
||||
pub routing: Option<serde_json::Value>,
|
||||
|
||||
/// This allows the merchant to manually select a connector with which the payout can go through
|
||||
#[schema(value_type = Option<Vec<Connector>>, max_length = 255, example = json!(["wise", "adyen"]))]
|
||||
pub connector: Option<Vec<api_enums::Connector>>,
|
||||
#[schema(value_type = Option<Vec<PayoutConnectors>>, max_length = 255, example = json!(["wise", "adyen"]))]
|
||||
pub connector: Option<Vec<api_enums::PayoutConnectors>>,
|
||||
|
||||
/// The boolean value to create payout with connector
|
||||
#[schema(value_type = bool, example = true, default = false)]
|
||||
@ -272,7 +272,7 @@ pub struct Paypal {
|
||||
pub email: Option<Email>,
|
||||
}
|
||||
|
||||
#[derive(Debug, ToSchema, Clone, Serialize)]
|
||||
#[derive(Debug, Default, ToSchema, Clone, Serialize)]
|
||||
#[serde(deny_unknown_fields)]
|
||||
pub struct PayoutCreateResponse {
|
||||
/// Unique identifier for the payout. This ensures idempotency for multiple payouts
|
||||
|
||||
Reference in New Issue
Block a user