repo
stringlengths
6
65
file_url
stringlengths
81
311
file_path
stringlengths
6
227
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:31:58
2026-01-04 20:25:31
truncated
bool
2 classes
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/storage_impl/src/platform_wrapper/payment_attempt.rs
crates/storage_impl/src/platform_wrapper/payment_attempt.rs
use common_utils::errors::CustomResult; use hyperswitch_domain_models::{ payments::payment_attempt::{PaymentAttempt, PaymentAttemptInterface}, platform::Processor, }; use crate::StorageError; #[cfg(feature = "v1")] pub async fn insert_payment_attempt<S>( store: &S, processor: &Processor, payment_a...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/storage_impl/src/platform_wrapper/payment_intent.rs
crates/storage_impl/src/platform_wrapper/payment_intent.rs
use common_utils::errors::CustomResult; use hyperswitch_domain_models::{ payments::{payment_intent::PaymentIntentInterface, PaymentIntent}, platform::Processor, }; use crate::StorageError; pub async fn insert_payment_intent<S>( store: &S, processor: &Processor, payment_intent: PaymentIntent, ) -> ...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/storage_impl/src/platform_wrapper/business_profile.rs
crates/storage_impl/src/platform_wrapper/business_profile.rs
use common_utils::errors::CustomResult; use hyperswitch_domain_models::{ business_profile::{Profile, ProfileInterface}, platform::Processor, }; use crate::StorageError; pub async fn find_business_profile_by_profile_id<S>( store: &S, processor: &Processor, profile_id: &common_utils::id_type::Profil...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/storage_impl/src/redis/pub_sub.rs
crates/storage_impl/src/redis/pub_sub.rs
use std::sync::atomic; use error_stack::ResultExt; use redis_interface::{errors as redis_errors, PubsubInterface, RedisValue}; use router_env::{logger, tracing::Instrument}; use crate::redis::cache::{ CacheKey, CacheKind, CacheRedact, ACCOUNTS_CACHE, CGRAPH_CACHE, CONFIG_CACHE, CONTRACT_BASED_DYNAMIC_ALGORITH...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/storage_impl/src/redis/cache.rs
crates/storage_impl/src/redis/cache.rs
use std::{ any::Any, borrow::Cow, fmt::Debug, sync::{Arc, LazyLock}, }; use common_utils::{ errors::{self, CustomResult}, ext_traits::ByteSliceExt, }; use dyn_clone::DynClone; use error_stack::{Report, ResultExt}; use moka::future::Cache as MokaCache; use redis_interface::{errors::RedisError, R...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/storage_impl/src/redis/kv_store.rs
crates/storage_impl/src/redis/kv_store.rs
use std::{fmt::Debug, sync::Arc}; use common_utils::errors::CustomResult; use diesel_models::enums::MerchantStorageScheme; use error_stack::report; use redis_interface::errors::RedisError; use router_derive::TryGetEnumVariant; use router_env::logger; use serde::de; use crate::{kv_router_store::KVRouterStore, metrics,...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/storage_impl/src/mock_db/payment_attempt.rs
crates/storage_impl/src/mock_db/payment_attempt.rs
use common_utils::errors::CustomResult; #[cfg(feature = "v2")] use common_utils::id_type; use diesel_models::enums as storage_enums; use error_stack::ResultExt; #[cfg(feature = "v1")] use hyperswitch_domain_models::behaviour::Conversion; use hyperswitch_domain_models::{ merchant_key_store::MerchantKeyStore, pay...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/storage_impl/src/mock_db/payout_attempt.rs
crates/storage_impl/src/mock_db/payout_attempt.rs
use common_utils::errors::CustomResult; use diesel_models::enums as storage_enums; use hyperswitch_domain_models::payouts::{ payout_attempt::{ PayoutAttempt, PayoutAttemptInterface, PayoutAttemptNew, PayoutAttemptUpdate, }, payouts::Payouts, }; use super::MockDb; use crate::errors::StorageError; #...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/storage_impl/src/mock_db/payment_intent.rs
crates/storage_impl/src/mock_db/payment_intent.rs
use common_utils::errors::CustomResult; use diesel_models::enums as storage_enums; #[cfg(feature = "v1")] use error_stack::ResultExt; #[cfg(feature = "v1")] use hyperswitch_domain_models::behaviour::Conversion; use hyperswitch_domain_models::{ merchant_key_store::MerchantKeyStore, payments::{ payment_in...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/storage_impl/src/mock_db/payouts.rs
crates/storage_impl/src/mock_db/payouts.rs
use common_utils::errors::CustomResult; use diesel_models::enums as storage_enums; use hyperswitch_domain_models::payouts::{ payout_attempt::PayoutAttempt, payouts::{Payouts, PayoutsInterface, PayoutsNew, PayoutsUpdate}, }; use crate::{errors::StorageError, MockDb}; #[async_trait::async_trait] impl PayoutsInt...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/storage_impl/src/mock_db/redis_conn.rs
crates/storage_impl/src/mock_db/redis_conn.rs
use std::sync::Arc; use redis_interface::errors::RedisError; use super::MockDb; use crate::redis::kv_store::RedisConnInterface; impl RedisConnInterface for MockDb { fn get_redis_conn( &self, ) -> Result<Arc<redis_interface::RedisConnectionPool>, error_stack::Report<RedisError>> { self.redis.g...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/storage_impl/src/database/store.rs
crates/storage_impl/src/database/store.rs
use async_bb8_diesel::{AsyncConnection, ConnectionError}; use bb8::CustomizeConnection; use common_utils::{ types::{keymanager, TenantConfig}, DbConnectionParams, }; use diesel::PgConnection; use error_stack::ResultExt; use crate::{ config::Database, errors::{StorageError, StorageResult}, }; pub type ...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/smithy/src/lib.rs
crates/smithy/src/lib.rs
// crates/smithy/lib.rs - Fixed with proper optional type handling in flattening use proc_macro::TokenStream; use proc_macro2::TokenStream as TokenStream2; use quote::quote; use smithy_core::{SmithyConstraint, SmithyEnumVariant, SmithyField}; use syn::{parse_macro_input, Attribute, DeriveInput, Fields, Lit, Meta, Vari...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/injector/src/consts.rs
crates/injector/src/consts.rs
/// Header name for external vault metadata pub const EXTERNAL_VAULT_METADATA_HEADER: &str = "x-external-vault-metadata";
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/injector/src/lib.rs
crates/injector/src/lib.rs
pub mod consts; pub mod injector; pub mod metrics; pub mod types; pub mod vault_metadata; // Re-export all functionality pub use consts::*; pub use injector::*; pub use types::*; pub use vault_metadata::*;
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/injector/src/vault_metadata.rs
crates/injector/src/vault_metadata.rs
use std::collections::HashMap; use base64::Engine; use masking::{ExposeInterface, Secret}; use router_env::logger; use url::Url; use crate::{consts::EXTERNAL_VAULT_METADATA_HEADER, types::ConnectionConfig, VaultConnectors}; const BASE64_ENGINE: base64::engine::GeneralPurpose = base64::engine::general_purpose::STANDA...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/injector/src/types.rs
crates/injector/src/types.rs
pub mod models { use std::collections::HashMap; use async_trait::async_trait; use common_utils::pii::SecretSerdeValue; use masking::Secret; use router_env::logger; use serde::{Deserialize, Serialize}; // Enums for the injector - making it standalone /// Content types supported by the ...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/injector/src/injector.rs
crates/injector/src/injector.rs
pub mod core { use std::collections::HashMap; use async_trait::async_trait; use common_utils::request::{Method, RequestBuilder, RequestContent}; use error_stack::{self, ResultExt}; use masking::{self, ExposeInterface}; use nom::{ bytes::complete::{tag, take_while1}, character::c...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/injector/src/metrics.rs
crates/injector/src/metrics.rs
use router_env::{counter_metric, global_meter, histogram_metric_f64}; global_meter!(GLOBAL_METER, "INJECTOR"); // Invocation metrics counter_metric!(INJECTOR_INVOCATIONS_COUNT, GLOBAL_METER); // Total number of invocations counter_metric!(INJECTOR_OUTGOING_CALLS_COUNT, GLOBAL_METER); // Total number of outgoing calls...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/scheduler/src/db.rs
crates/scheduler/src/db.rs
pub mod process_tracker; pub mod queue;
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/scheduler/src/errors.rs
crates/scheduler/src/errors.rs
pub use common_utils::errors::{ParsingError, ValidationError}; #[cfg(feature = "email")] use external_services::email::EmailError; use hyperswitch_domain_models::errors::api_error_response::ApiErrorResponse; pub use redis_interface::errors::RedisError; pub use storage_impl::errors::ApplicationError; use storage_impl::e...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/scheduler/src/settings.rs
crates/scheduler/src/settings.rs
use common_utils::ext_traits::ConfigExt; use serde::Deserialize; use storage_impl::errors::ApplicationError; pub use crate::configs::settings::SchedulerSettings; #[derive(Debug, Clone, Deserialize)] pub struct ProducerSettings { pub upper_fetch_limit: i64, pub lower_fetch_limit: i64, pub lock_key: String...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/scheduler/src/producer.rs
crates/scheduler/src/producer.rs
use std::sync::Arc; use common_utils::{errors::CustomResult, id_type}; use diesel_models::enums::ProcessTrackerStatus; use error_stack::{report, ResultExt}; use router_env::{ instrument, tracing::{self, Instrument}, }; use time::Duration; use tokio::sync::mpsc; use super::{ env::logger::{self, debug, erro...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/scheduler/src/lib.rs
crates/scheduler/src/lib.rs
pub mod configs; pub mod consumer; pub mod db; pub mod env; pub mod errors; pub mod flow; pub mod metrics; pub mod producer; pub mod scheduler; pub mod settings; pub mod utils; pub use self::{consumer::types, flow::*, scheduler::*};
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/scheduler/src/flow.rs
crates/scheduler/src/flow.rs
#[derive(Copy, Clone, Debug, strum::Display, strum::EnumString)] #[strum(serialize_all = "snake_case")] pub enum SchedulerFlow { Producer, Consumer, Cleaner, }
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/scheduler/src/env.rs
crates/scheduler/src/env.rs
#[doc(inline)] pub use router_env::*;
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/scheduler/src/utils.rs
crates/scheduler/src/utils.rs
use std::sync; use common_utils::errors::CustomResult; use diesel_models::enums::{self, ProcessTrackerStatus}; pub use diesel_models::process_tracker as storage; use error_stack::{report, ResultExt}; use redis_interface::{RedisConnectionPool, RedisEntryId}; use router_env::{instrument, tracing}; use uuid::Uuid; use s...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/scheduler/src/consumer.rs
crates/scheduler/src/consumer.rs
// TODO: Figure out what to log use std::{ sync::{self, atomic}, time as std_time, }; pub mod types; pub mod workflows; use common_utils::{errors::CustomResult, id_type, signals::get_allowed_signals}; use diesel_models::enums; pub use diesel_models::{self, process_tracker as storage}; use error_stack::ResultE...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/scheduler/src/metrics.rs
crates/scheduler/src/metrics.rs
use router_env::{counter_metric, global_meter, histogram_metric_f64}; global_meter!(PT_METER, "PROCESS_TRACKER"); histogram_metric_f64!(CONSUMER_OPS, PT_METER); counter_metric!(PAYMENT_COUNT, PT_METER); // No. of payments created counter_metric!(TASKS_PICKED_COUNT, PT_METER); // Tasks picked by counter_metric!(BATCH...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/scheduler/src/configs.rs
crates/scheduler/src/configs.rs
pub mod defaults; pub mod settings; pub mod validations;
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/scheduler/src/scheduler.rs
crates/scheduler/src/scheduler.rs
use std::sync::Arc; use common_utils::{errors::CustomResult, id_type}; #[cfg(feature = "kv_store")] use storage_impl::kv_router_store::KVRouterStore; use storage_impl::mock_db::MockDb; #[cfg(not(feature = "kv_store"))] use storage_impl::RouterStore; use tokio::sync::mpsc; use super::env::logger::error; pub use crate:...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/scheduler/src/db/process_tracker.rs
crates/scheduler/src/db/process_tracker.rs
use common_utils::errors::CustomResult; pub use diesel_models as storage; use diesel_models::enums as storage_enums; use error_stack::{report, ResultExt}; use storage_impl::{connection, errors, mock_db::MockDb}; use time::PrimitiveDateTime; use crate::{metrics, scheduler::Store}; #[async_trait::async_trait] pub trait...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/scheduler/src/db/queue.rs
crates/scheduler/src/db/queue.rs
use common_utils::errors::CustomResult; use diesel_models::process_tracker as storage; use redis_interface::{errors::RedisError, RedisEntryId, SetnxReply}; use router_env::logger; use storage_impl::{mock_db::MockDb, redis::kv_store::RedisConnInterface}; use crate::{errors::ProcessTrackerError, scheduler::Store}; #[as...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/scheduler/src/configs/settings.rs
crates/scheduler/src/configs/settings.rs
pub use router_env::config::{Log, LogConsole, LogFile, LogTelemetry}; use serde::Deserialize; #[derive(Debug, Clone, Deserialize)] #[serde(default)] pub struct SchedulerSettings { pub stream: String, pub cug_stream: String, pub producer: ProducerSettings, pub consumer: ConsumerSettings, pub loop_in...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/scheduler/src/configs/defaults.rs
crates/scheduler/src/configs/defaults.rs
impl Default for super::settings::SchedulerSettings { fn default() -> Self { Self { stream: "SCHEDULER_STREAM".into(), cug_stream: "CUG_SCHEDULER_STREAM".into(), producer: super::settings::ProducerSettings::default(), consumer: super::settings::ConsumerSetting...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/scheduler/src/configs/validations.rs
crates/scheduler/src/configs/validations.rs
use common_utils::ext_traits::ConfigExt; use storage_impl::errors::ApplicationError; impl super::settings::SchedulerSettings { pub fn validate(&self) -> Result<(), ApplicationError> { use common_utils::fp_utils::when; when(self.stream.is_default_or_empty(), || { Err(ApplicationError::I...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/scheduler/src/consumer/workflows.rs
crates/scheduler/src/consumer/workflows.rs
use async_trait::async_trait; use common_utils::errors::CustomResult; pub use diesel_models::process_tracker as storage; use diesel_models::process_tracker::business_status; use router_env::logger; use crate::{errors, SchedulerSessionState}; pub type WorkflowSelectorFn = fn(&storage::ProcessTracker) -> Result<(),...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/scheduler/src/consumer/types.rs
crates/scheduler/src/consumer/types.rs
pub mod batch; pub mod process_data; pub use self::batch::ProcessTrackerBatch;
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/scheduler/src/consumer/types/batch.rs
crates/scheduler/src/consumer/types/batch.rs
use std::collections::HashMap; use common_utils::{errors::CustomResult, ext_traits::OptionExt}; use diesel_models::process_tracker::ProcessTracker; use error_stack::ResultExt; use time::PrimitiveDateTime; use crate::errors; #[derive(Debug, Clone)] pub struct ProcessTrackerBatch { pub id: String, pub group_na...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/scheduler/src/consumer/types/process_data.rs
crates/scheduler/src/consumer/types/process_data.rs
use std::collections::HashMap; use diesel_models::enums; use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Clone, Debug)] pub struct RetryMapping { pub start_after: i32, pub frequencies: Vec<(i32, i32)>, // (frequency, count) } #[derive(Serialize, Deserialize)] pub struct ConnectorPTMappi...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/default_implementations_v2.rs
crates/hyperswitch_connectors/src/default_implementations_v2.rs
use hyperswitch_domain_models::{ router_data::{AccessToken, AccessTokenAuthenticationResponse}, router_data_v2::{ flow_common_types::{ BillingConnectorInvoiceSyncFlowData, BillingConnectorPaymentsSyncFlowData, DisputesFlowData, GiftCardBalanceCheckFlowData, InvoiceRecordBackData,...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/lib.rs
crates/hyperswitch_connectors/src/lib.rs
//! Hyperswitch connectors pub mod connectors; pub mod constants; pub mod default_implementations; pub mod default_implementations_v2; pub mod metrics; pub mod types; pub mod utils;
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors.rs
crates/hyperswitch_connectors/src/connectors.rs
pub mod aci; pub mod adyen; pub mod adyenplatform; pub mod affirm; pub mod airwallex; pub mod amazonpay; pub mod archipel; pub mod authipay; pub mod authorizedotnet; pub mod bambora; pub mod bamboraapac; pub mod bankofamerica; pub mod barclaycard; pub mod billwerk; pub mod bitpay; pub mod blackhawknetwork; pub mod blue...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/types.rs
crates/hyperswitch_connectors/src/types.rs
#[cfg(feature = "v2")] use hyperswitch_domain_models::router_data_v2::RouterDataV2; #[cfg(feature = "payouts")] use hyperswitch_domain_models::types::{PayoutsData, PayoutsResponseData}; use hyperswitch_domain_models::{ router_data::{AccessToken, RouterData}, router_flow_types::{ authentication::{ ...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/default_implementations.rs
crates/hyperswitch_connectors/src/default_implementations.rs
#[cfg(feature = "dummy_connector")] use common_enums::{CallConnectorAction, PaymentAction}; // impl api::PaymentIncrementalAuthorization for Helcim {} // impl api::ConnectorCustomer for Helcim {} // impl api::PaymentsPreProcessing for Helcim {} // impl api::PaymentReject for Helcim {} // impl api::PaymentApprove for He...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/utils.rs
crates/hyperswitch_connectors/src/utils.rs
use std::{ collections::{HashMap, HashSet}, marker::PhantomData, str::FromStr, sync::LazyLock, }; #[cfg(feature = "payouts")] use api_models::payouts::PayoutVendorAccountDetails; use api_models::{ payments, payments::{additional_info::WalletAdditionalDataForCard, ApplepayPaymentMethod}, }; use ...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/constants.rs
crates/hyperswitch_connectors/src/constants.rs
/// Header Constants pub(crate) mod headers { pub(crate) const ACCEPT: &str = "Accept"; pub(crate) const API_KEY: &str = "API-KEY"; pub(crate) const APIKEY: &str = "apikey"; pub(crate) const API_TOKEN: &str = "Api-Token"; pub(crate) const AUTHORIZATION: &str = "Authorization"; pub(crate) const C...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/metrics.rs
crates/hyperswitch_connectors/src/metrics.rs
//! Metrics interface use router_env::{counter_metric, global_meter}; global_meter!(GLOBAL_METER, "ROUTER_API"); counter_metric!(CONNECTOR_RESPONSE_DESERIALIZATION_FAILURE, GLOBAL_METER);
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs
pub mod transformers; use std::sync::LazyLock; use base64::Engine; use common_utils::{ consts::BASE64_ENGINE, errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, MinorUnit, MinorUnitForConnector}, }; use error_stack::{rep...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/bamboraapac.rs
crates/hyperswitch_connectors/src/connectors/bamboraapac.rs
pub mod transformers; use std::sync::LazyLock; use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId}; use common_enums::enums; use common_utils::{ errors::CustomResult, ext_traits::{BytesExt, XmlExt}, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, Min...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/threedsecureio.rs
crates/hyperswitch_connectors/src/connectors/threedsecureio.rs
pub mod transformers; use std::fmt::Debug; use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId}; use common_utils::{ errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, }; use error_stack::{report, ResultExt}; use hyperswitch_domain_models...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/airwallex.rs
crates/hyperswitch_connectors/src/connectors/airwallex.rs
pub mod transformers; use std::sync::LazyLock; use api_models::webhooks::IncomingWebhookEvent; use common_enums::{enums, CallConnectorAction, PaymentAction}; use common_utils::{ crypto, errors::CustomResult, ext_traits::{ByteSliceExt, BytesExt, ValueExt}, request::{Method, Request, RequestBuilder, Req...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/stripe.rs
crates/hyperswitch_connectors/src/connectors/stripe.rs
pub mod transformers; use std::{collections::HashMap, sync::LazyLock}; use api_models::webhooks::IncomingWebhookEvent; use common_enums::{ CallConnectorAction, CaptureMethod, PaymentAction, PaymentChargeType, PaymentMethodType, PaymentResourceUpdateStatus, StripeChargeType, }; use common_utils::{ crypto, ...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/mifinity.rs
crates/hyperswitch_connectors/src/connectors/mifinity.rs
pub mod transformers; use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId}; use common_enums::enums; use common_utils::{ errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, StringMajorUnit, StringMajorUnitForCon...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/tesouro.rs
crates/hyperswitch_connectors/src/connectors/tesouro.rs
pub mod transformers; use std::sync::LazyLock; use common_enums::enums; use common_utils::{ errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, FloatMajorUnit, FloatMajorUnitForConnector}, }; use error_stack::{report, ResultE...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/bambora.rs
crates/hyperswitch_connectors/src/connectors/bambora.rs
pub mod transformers; use common_enums::enums; use common_utils::{ errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, FloatMajorUnit, FloatMajorUnitForConnector}, }; use error_stack::{report, ResultExt}; use hyperswitch_domai...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs
crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs
pub mod transformers; use common_utils::{ errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, }; use error_stack::{report, ResultExt}; use hyperswitch_domain_models::{ router_data::{AccessToken, ConnectorAuthType, ErrorResponse, RouterData}, route...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/phonepe.rs
crates/hyperswitch_connectors/src/connectors/phonepe.rs
pub mod transformers; use common_enums::enums; use common_utils::{ errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, StringMinorUnit, StringMinorUnitForConnector}, }; use error_stack::{report, ResultExt}; use hyperswitch_dom...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/coingate.rs
crates/hyperswitch_connectors/src/connectors/coingate.rs
pub mod transformers; use std::sync::LazyLock; use common_enums::{enums, CaptureMethod, PaymentMethod, PaymentMethodType}; use common_utils::{ crypto, errors::CustomResult, ext_traits::{ByteSliceExt, BytesExt, ValueExt}, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConv...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/globepay.rs
crates/hyperswitch_connectors/src/connectors/globepay.rs
pub mod transformers; use std::sync::LazyLock; use common_enums::enums; use common_utils::{ crypto::{self, GenerateDigest}, errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, MinorUnit, MinorUnitForConnector}, }; use erro...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/bluesnap.rs
crates/hyperswitch_connectors/src/connectors/bluesnap.rs
pub mod transformers; use std::sync::LazyLock; use api_models::webhooks::IncomingWebhookEvent; use base64::Engine; use common_enums::{enums, CallConnectorAction, PaymentAction}; use common_utils::{ consts::BASE64_ENGINE, crypto, errors::CustomResult, ext_traits::{BytesExt, StringExt, ValueExt}, re...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/authipay.rs
crates/hyperswitch_connectors/src/connectors/authipay.rs
pub mod transformers; use std::sync::LazyLock; use base64::Engine; use common_enums::enums; use common_utils::{ errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, FloatMajorUnit, FloatMajorUnitForConnector}, }; use error_sta...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/plaid.rs
crates/hyperswitch_connectors/src/connectors/plaid.rs
pub mod transformers; use std::sync::LazyLock; use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId}; use common_enums::enums; use common_utils::{ errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, FloatMajorUni...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs
crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs
pub mod transformers; use std::sync::LazyLock; use common_enums::{enums, PaymentAction}; use common_utils::{ crypto, errors::CustomResult, ext_traits::ByteSliceExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, FloatMajorUnit, FloatMajorUnitForConnector}, }; u...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/dwolla.rs
crates/hyperswitch_connectors/src/connectors/dwolla.rs
pub mod transformers; use std::sync::LazyLock; use base64::engine::Engine; use common_enums::enums; use common_utils::{ consts::BASE64_ENGINE, crypto, errors::CustomResult, ext_traits::{ByteSliceExt, BytesExt}, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/braintree.rs
crates/hyperswitch_connectors/src/connectors/braintree.rs
pub mod transformers; use std::sync::LazyLock; use api_models::webhooks::IncomingWebhookEvent; use base64::Engine; use common_enums::{enums, CallConnectorAction, PaymentAction}; use common_utils::{ consts::BASE64_ENGINE, crypto, errors::{CustomResult, ParsingError}, ext_traits::{BytesExt, XmlExt}, ...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/gpayments.rs
crates/hyperswitch_connectors/src/connectors/gpayments.rs
pub mod gpayments_types; pub mod transformers; use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId}; use common_utils::{ errors::CustomResult, ext_traits::ByteSliceExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, MinorUnit, MinorUnitForConnector},...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/amazonpay.rs
crates/hyperswitch_connectors/src/connectors/amazonpay.rs
pub mod transformers; use std::sync::LazyLock; use base64::{engine::general_purpose::STANDARD, Engine}; use chrono::Utc; use common_enums::enums; use common_utils::{ crypto::{RsaPssSha256, SignMessage}, errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestConte...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/vgs.rs
crates/hyperswitch_connectors/src/connectors/vgs.rs
pub mod transformers; use common_utils::{ errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, }; use error_stack::{report, ResultExt}; use hyperswitch_domain_models::{ router_data::{AccessToken, ConnectorAuthType, ErrorResponse, RouterData}, route...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/opayo.rs
crates/hyperswitch_connectors/src/connectors/opayo.rs
mod transformers; use common_enums::enums; use common_utils::{ errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, MinorUnit, MinorUnitForConnector}, }; use error_stack::{report, ResultExt}; use hyperswitch_domain_models::{ ...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/paystack.rs
crates/hyperswitch_connectors/src/connectors/paystack.rs
pub mod transformers; use std::sync::LazyLock; use common_enums::enums; use common_utils::{ crypto, errors::CustomResult, ext_traits::{ByteSliceExt, BytesExt}, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, MinorUnit, MinorUnitForConnector}, }; use error_stack:...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/boku.rs
crates/hyperswitch_connectors/src/connectors/boku.rs
pub mod transformers; use std::sync::LazyLock; use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId}; use common_enums::enums; use common_utils::{ errors::CustomResult, ext_traits::{BytesExt, OptionExt, XmlExt}, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountCon...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/jpmorgan.rs
crates/hyperswitch_connectors/src/connectors/jpmorgan.rs
pub mod transformers; use std::sync::LazyLock; use base64::Engine; use common_enums::enums; use common_utils::{ errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, MinorUnit, MinorUnitForConnector}, }; use error_stack::{report...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/santander.rs
crates/hyperswitch_connectors/src/connectors/santander.rs
pub mod transformers; use std::sync::LazyLock; use base64::Engine; use common_enums::enums; use common_utils::{ crypto, errors::CustomResult, ext_traits::{ByteSliceExt, BytesExt}, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, MinorUnit, StringMajorUnit, Strin...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/mollie.rs
crates/hyperswitch_connectors/src/connectors/mollie.rs
pub mod transformers; use common_enums::enums; use common_utils::{ errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, StringMajorUnit, StringMajorUnitForConnector}, }; use error_stack::{report, ResultExt}; use hyperswitch_dom...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/paypal.rs
crates/hyperswitch_connectors/src/connectors/paypal.rs
pub mod transformers; use std::{fmt::Write, sync::LazyLock}; use base64::Engine; use common_enums::{enums, CallConnectorAction, PaymentAction}; use common_utils::{ consts, errors::CustomResult, ext_traits::ByteSliceExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{ Am...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/trustpayments.rs
crates/hyperswitch_connectors/src/connectors/trustpayments.rs
pub mod transformers; use std::sync::LazyLock; use common_enums::enums; use common_utils::{ errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, StringMinorUnit, StringMinorUnitForConnector}, }; use error_stack::{report, Resul...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/hipay.rs
crates/hyperswitch_connectors/src/connectors/hipay.rs
pub mod transformers; use std::sync::LazyLock; use base64::Engine; use common_enums::{enums, CaptureMethod, PaymentMethod, PaymentMethodType}; use common_utils::{ consts::BASE64_ENGINE, errors::{self as common_errors, CustomResult}, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, Reque...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs
crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs
pub mod transformers; use common_utils::{ errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, StringMinorUnit, StringMinorUnitForConnector}, }; use error_stack::{report, ResultExt}; use hyperswitch_domain_models::{ router_...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/flexiti.rs
crates/hyperswitch_connectors/src/connectors/flexiti.rs
pub mod transformers; use std::sync::LazyLock; use common_enums::enums; use common_utils::{ errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, FloatMajorUnit, FloatMajorUnitForConnector}, }; use error_stack::{report, ResultE...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/silverflow.rs
crates/hyperswitch_connectors/src/connectors/silverflow.rs
pub mod transformers; use std::sync::LazyLock; use base64::Engine; use common_enums::{enums, CardNetwork}; use common_utils::{ crypto, errors::CustomResult, ext_traits::{BytesExt, StringExt}, request::{Method, Request, RequestBuilder, RequestContent}, }; use error_stack::ResultExt; use hyperswitch_dom...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/worldpayxml.rs
crates/hyperswitch_connectors/src/connectors/worldpayxml.rs
pub mod transformers; use std::sync::LazyLock; use base64::Engine; use common_utils::{ errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, StringMinorUnit, StringMinorUnitForConnector}, }; use error_stack::{report, ResultExt}...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/itaubank.rs
crates/hyperswitch_connectors/src/connectors/itaubank.rs
pub mod transformers; use std::{fmt::Write, sync::LazyLock}; use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId}; use common_enums::enums; use common_utils::{ errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor,...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/katapult.rs
crates/hyperswitch_connectors/src/connectors/katapult.rs
pub mod transformers; use std::sync::LazyLock; use common_enums::enums; use common_utils::{ errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, StringMinorUnit, StringMinorUnitForConnector}, }; use error_stack::{report, Resul...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs
crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs
use common_utils::errors::CustomResult; use error_stack::report; use hyperswitch_domain_models::{ router_data::{AccessToken, RouterData}, router_flow_types::{ access_token_auth::AccessTokenAuth, payments::{Authorize, Capture, PSync, PaymentMethodToken, Session, SetupMandate, Void}, refun...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/helcim.rs
crates/hyperswitch_connectors/src/connectors/helcim.rs
pub mod transformers; use std::sync::LazyLock; use api_models::webhooks::IncomingWebhookEvent; use common_enums::enums; use common_utils::{ errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, FloatMajorUnit, FloatMajorUnitForC...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/nexinets.rs
crates/hyperswitch_connectors/src/connectors/nexinets.rs
pub mod transformers; use std::sync::LazyLock; use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId}; use common_enums::enums; use common_utils::{ errors::CustomResult, ext_traits::ByteSliceExt, request::{Method, Request, RequestBuilder, RequestContent}, }; use error_stack::{report, ResultExt...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/datatrans.rs
crates/hyperswitch_connectors/src/connectors/datatrans.rs
pub mod transformers; use std::sync::LazyLock; use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId}; use base64::Engine; use common_enums::{CaptureMethod, PaymentMethod, PaymentMethodType}; use common_utils::{ consts::BASE64_ENGINE, errors::CustomResult, ext_traits::BytesExt, request::{M...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/aci.rs
crates/hyperswitch_connectors/src/connectors/aci.rs
mod aci_result_codes; pub mod transformers; use std::sync::LazyLock; use api_models::webhooks::IncomingWebhookEvent; use common_enums::enums; use common_utils::{ crypto, errors::{CryptoError, CustomResult}, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{A...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/nomupay.rs
crates/hyperswitch_connectors/src/connectors/nomupay.rs
pub mod transformers; use std::time::{Duration, SystemTime, UNIX_EPOCH}; use common_utils::{ errors::CustomResult, ext_traits::BytesExt, pii, request::{Method, RequestContent}, }; #[cfg(feature = "payouts")] use common_utils::{ request::{Request, RequestBuilder}, types::{AmountConvertor, Float...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/checkbook.rs
crates/hyperswitch_connectors/src/connectors/checkbook.rs
pub mod transformers; use std::sync::LazyLock; use api_models::{enums, payments::PaymentIdType}; use common_utils::{ crypto, errors::CustomResult, ext_traits::{ByteSliceExt, BytesExt}, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, FloatMajorUnit, FloatMajorUn...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/affirm.rs
crates/hyperswitch_connectors/src/connectors/affirm.rs
pub mod transformers; use std::sync::LazyLock; use base64::Engine; use common_enums::enums; use common_utils::{ consts::BASE64_ENGINE, errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, MinorUnit, MinorUnitForConnector},...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/riskified.rs
crates/hyperswitch_connectors/src/connectors/riskified.rs
pub mod transformers; #[cfg(feature = "frm")] use api_models::webhooks::{ConnectorWebhookSecrets, IncomingWebhookEvent, ObjectReferenceId}; #[cfg(feature = "frm")] use base64::Engine; #[cfg(feature = "frm")] use common_utils::types::{AmountConvertor, StringMajorUnit, StringMajorUnitForConnector}; #[cfg(feature = "frm")...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/gigadat.rs
crates/hyperswitch_connectors/src/connectors/gigadat.rs
pub mod transformers; use base64::Engine; use common_enums::enums; use common_utils::{ consts, crypto::Encryptable, errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, FloatMajorUnit, FloatMajorUnitForConnector}, }; us...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/dlocal.rs
crates/hyperswitch_connectors/src/connectors/dlocal.rs
pub mod transformers; use api_models::webhooks::IncomingWebhookEvent; use common_enums::enums; use common_utils::{ crypto::{self, SignMessage}, date_time, errors::CustomResult, ext_traits::ByteSliceExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, FloatMa...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/paysafe.rs
crates/hyperswitch_connectors/src/connectors/paysafe.rs
pub mod transformers; use std::sync::LazyLock; use base64::Engine; use common_enums::enums; use common_utils::{ consts, errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, MinorUnit, MinorUnitForConnector}, }; use error_s...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/archipel.rs
crates/hyperswitch_connectors/src/connectors/archipel.rs
use std::sync::LazyLock; use api_models::webhooks::{IncomingWebhookEvent, ObjectReferenceId}; use common_enums::enums; use common_utils::{ errors::CustomResult, ext_traits::{ByteSliceExt, ValueExt}, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, MinorUnit, MinorUni...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/tokenex.rs
crates/hyperswitch_connectors/src/connectors/tokenex.rs
pub mod transformers; use std::sync::LazyLock; use common_enums::enums; use common_utils::{ errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, }; use error_stack::{report, ResultExt}; use hyperswitch_domain_models::{ router_data::{AccessToken, Conne...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
false
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/shift4.rs
crates/hyperswitch_connectors/src/connectors/shift4.rs
pub mod transformers; use std::sync::LazyLock; use api_models::webhooks::IncomingWebhookEvent; use base64::Engine; use common_enums::enums; use common_utils::{ errors::CustomResult, ext_traits::{ByteSliceExt, BytesExt}, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true
juspay/hyperswitch
https://github.com/juspay/hyperswitch/blob/4201e04a8f0f1d46b57f24868f4f943a9be50bda/crates/hyperswitch_connectors/src/connectors/nordea.rs
crates/hyperswitch_connectors/src/connectors/nordea.rs
mod requests; mod responses; pub mod transformers; use base64::Engine; use common_enums::enums; use common_utils::{ consts, date_time, errors::CustomResult, ext_traits::BytesExt, request::{Method, Request, RequestBuilder, RequestContent}, types::{AmountConvertor, StringMajorUnit, StringMajorUnitFor...
rust
Apache-2.0
4201e04a8f0f1d46b57f24868f4f943a9be50bda
2026-01-04T15:31:59.475325Z
true