mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
feat(customer_v2): add customer create v2 endpoint (#5444)
Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in> Co-authored-by: hrithikesh026 <hrithikesh.vm@juspay.in> Co-authored-by: Prajjwal Kumar <prajjwal.kumar@juspay.in> Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -130,3 +130,9 @@ pub const CONNECTOR_CREDS_TOKEN_TTL: i64 = 900;
|
||||
|
||||
//max_amount allowed is 999999999 in minor units
|
||||
pub const MAX_ALLOWED_AMOUNT: i64 = 999999999;
|
||||
|
||||
#[cfg(all(any(feature = "v1", feature = "v2"), not(feature = "customer_v2")))]
|
||||
pub const API_VERSION: common_enums::ApiVersion = common_enums::ApiVersion::V1;
|
||||
|
||||
#[cfg(all(feature = "v2", feature = "customer_v2"))]
|
||||
pub const API_VERSION: common_enums::ApiVersion = common_enums::ApiVersion::V2;
|
||||
|
||||
Reference in New Issue
Block a user