mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
fix: add offset and limit to key transfer API (#5358)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Narayan Bhat <48803246+Narayanbhat166@users.noreply.github.com>
This commit is contained in:
@ -1053,6 +1053,16 @@ pub struct ToggleKVResponse {
|
||||
pub kv_enabled: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize, ToSchema)]
|
||||
pub struct MerchantKeyTransferRequest {
|
||||
/// Offset for merchant account
|
||||
#[schema(example = 32)]
|
||||
pub from: u32,
|
||||
/// Limit for merchant account
|
||||
#[schema(example = 32)]
|
||||
pub limit: u32,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, ToSchema)]
|
||||
pub struct TransferKeyResponse {
|
||||
/// The identifier for the Merchant Account
|
||||
|
||||
Reference in New Issue
Block a user