text string | file_path string | module string | type string | tokens int64 | language string | struct_name string | type_name string | trait_name string | impl_type string | function_name string | source string | section string | keys list | macro_type string | url string | title string | chunk_index int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
impl OrganizationNew {
pub fn new(
id: id_type::OrganizationId,
organization_type: common_enums::OrganizationType,
organization_name: Option<String>,
) -> Self {
Self {
id,
organization_name,
organization_details: None,
metadata: No... | crates/diesel_models/src/organization.rs | diesel_models | impl_block | 114 | rust | null | OrganizationNew | null | impl OrganizationNew | null | null | null | null | null | null | null | null |
pub struct GetFrmFilterRequest {
pub time_range: TimeRange,
#[serde(default)]
pub group_by_names: Vec<FrmDimensions>,
} | crates/api_models/src/analytics.rs | api_models | struct_definition | 33 | rust | GetFrmFilterRequest | null | null | null | null | null | null | null | null | null | null | null |
pub struct PaypalNonLiabilityResponse {
payment_source: CardsData,
} | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs | hyperswitch_connectors | struct_definition | 16 | rust | PaypalNonLiabilityResponse | null | null | null | null | null | null | null | null | null | null | null |
File: crates/router/src/routes/fraud_check.rs
Public functions: 1
use actix_web::{web, HttpRequest, HttpResponse};
use router_env::Flow;
use crate::{
core::{api_locking, fraud_check as frm_core},
services::{self, api},
types::domain,
AppState,
};
#[cfg(feature = "v1")]
pub async fn frm_fulfillment(
... | crates/router/src/routes/fraud_check.rs | router | full_file | 268 | null | null | null | null | null | null | null | null | null | null | null | null | null |
Documentation: api-reference/v2/customers/customers--create.mdx
# Type: Doc File
---
openapi: post /v2/customers
---
| api-reference/v2/customers/customers--create.mdx | null | doc_file | 33 | doc | null | null | null | null | null | null | null | null | null | null | null | null |
pub async fn payments_intent_operation_core<F, Req, Op, D>(
state: &SessionState,
req_state: ReqState,
merchant_context: domain::MerchantContext,
profile: domain::Profile,
operation: Op,
req: Req,
payment_id: id_type::GlobalPaymentId,
header_payload: HeaderPayload,
) -> RouterResult<(D, ... | crates/router/src/core/payments.rs | router | function_signature | 481 | rust | null | null | null | null | payments_intent_operation_core | null | null | null | null | null | null | null |
pub trait RefundMetric<T>
where
T: AnalyticsDataSource + RefundMetricAnalytics,
PrimitiveDateTime: ToSql<T>,
AnalyticsCollection: ToSql<T>,
Granularity: GroupByClause<T>,
Aggregate<&'static str>: ToSql<T>,
Window<&'static str>: ToSql<T>,
{
async fn load_metrics(
&self,
dimens... | crates/analytics/src/refunds/metrics.rs | analytics | trait_definition | 144 | rust | null | null | RefundMetric | null | null | null | null | null | null | null | null | null |
pub async fn validate_request_and_initiate_payment_method_collect_link(
state: &SessionState,
merchant_context: &domain::MerchantContext,
req: &PaymentMethodCollectLinkRequest,
) -> RouterResult<PaymentMethodCollectLinkData> {
// Validate customer_id
let db: &dyn StorageInterface = &*state.store;
... | crates/router/src/core/payment_methods/validator.rs | router | function_signature | 959 | rust | null | null | null | null | validate_request_and_initiate_payment_method_collect_link | null | null | null | null | null | null | null |
pub struct MerchantAccountId {
pub value: Secret<String>,
} | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs | hyperswitch_connectors | struct_definition | 13 | rust | MerchantAccountId | null | null | null | null | null | null | null | null | null | null | null |
pub struct BamboraapacAuthType {
username: Secret<String>,
password: Secret<String>,
account_number: Secret<String>,
} | crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs | hyperswitch_connectors | struct_definition | 30 | rust | BamboraapacAuthType | null | null | null | null | null | null | null | null | null | null | null |
// NOTE: Archipel does not accept `card.card_holder_name` field without `cardholder` field.
// So if `card_holder` is None, `card.card_holder_name` must also be None.
// However, the reverse is allowed — the `cardholder` field can exist without `card.card_holder_name`.
let card_holder_na... | crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs#chunk1 | hyperswitch_connectors | chunk | 2,508 | null | null | null | null | null | null | null | null | null | null | null | null | null |
File: crates/hyperswitch_connectors/src/connectors/datatrans.rs
Public structs: 1
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... | crates/hyperswitch_connectors/src/connectors/datatrans.rs | hyperswitch_connectors | full_file | 6,810 | null | null | null | null | null | null | null | null | null | null | null | null | null |
impl api::PaymentToken for Wise {} | crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | impl_block | 8 | rust | null | Wise | api::PaymentToken for | impl api::PaymentToken for for Wise | null | null | null | null | null | null | null | null |
impl RevenueRecoveryInvoice {
pub async fn get_or_create_custom_recovery_intent(
data: api_models::payments::RecoveryPaymentsCreate,
state: &SessionState,
req_state: &ReqState,
merchant_context: &domain::MerchantContext,
profile: &domain::Profile,
) -> CustomResult<revenu... | crates/router/src/core/webhooks/recovery_incoming.rs | router | impl_block | 1,230 | rust | null | RevenueRecoveryInvoice | null | impl RevenueRecoveryInvoice | null | null | null | null | null | null | null | null |
impl GetPaymentMethodType for MobilePaymentData {
fn get_payment_method_type(&self) -> api_enums::PaymentMethodType {
match self {
Self::DirectCarrierBilling { .. } => api_enums::PaymentMethodType::DirectCarrierBilling,
}
}
} | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | impl_block | 59 | rust | null | MobilePaymentData | GetPaymentMethodType for | impl GetPaymentMethodType for for MobilePaymentData | null | null | null | null | null | null | null | null |
pub struct CreateDynamicRoutingQuery {
pub enable: DynamicRoutingFeatures,
} | crates/api_models/src/routing.rs | api_models | struct_definition | 16 | rust | CreateDynamicRoutingQuery | null | null | null | null | null | null | null | null | null | null | null |
pub struct PayoutAttempt {
pub payout_attempt_id: String,
pub payout_id: id_type::PayoutId,
pub customer_id: Option<id_type::CustomerId>,
pub merchant_id: id_type::MerchantId,
pub address_id: Option<String>,
pub connector: Option<String>,
pub connector_payout_id: Option<String>,
pub payo... | crates/hyperswitch_domain_models/src/payouts/payout_attempt.rs | hyperswitch_domain_models | struct_definition | 287 | rust | PayoutAttempt | null | null | null | null | null | null | null | null | null | null | null |
pub struct Files; | crates/router/src/routes/app.rs | router | struct_definition | 4 | rust | Files | null | null | null | null | null | null | null | null | null | null | null |
impl Responder {
let flow = Flow::DecisionManagerRetrieveConfig;
Box::pin(oss_api::server_wrap(
flow,
state,
&req,
(),
|state, auth: auth::AuthenticationData, _, _| {
let merchant_context = domain::MerchantContext::NormalMerchant(Box::new(
doma... | crates/router/src/routes/routing.rs | router | impl_block | 216 | rust | null | Responder | null | impl Responder | null | null | null | null | null | null | null | null |
pub struct MandateRevokedResponse {
/// The identifier for mandate
pub mandate_id: String,
/// The status for mandates
#[schema(value_type = MandateStatus)]
pub status: api_enums::MandateStatus,
/// If there was an error while calling the connectors the code is received here
#[schema(example... | crates/api_models/src/mandates.rs | api_models | struct_definition | 128 | rust | MandateRevokedResponse | null | null | null | null | null | null | null | null | null | null | null |
impl ConnectorCommon for Netcetera {
fn id(&self) -> &'static str {
"netcetera"
}
fn get_currency_unit(&self) -> CurrencyUnit {
CurrencyUnit::Minor
}
fn common_get_content_type(&self) -> &'static str {
"application/json"
}
fn base_url<'a>(&self, connectors: &'a Con... | crates/hyperswitch_connectors/src/connectors/netcetera.rs | hyperswitch_connectors | impl_block | 345 | rust | null | Netcetera | ConnectorCommon for | impl ConnectorCommon for for Netcetera | null | null | null | null | null | null | null | null |
pub struct InespayRouterData<T> {
pub amount: StringMinorUnit,
pub router_data: T,
} | crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs | hyperswitch_connectors | struct_definition | 26 | rust | InespayRouterData | null | null | null | null | null | null | null | null | null | null | null |
pub struct ForteCaptureRequest {
action: String,
transaction_id: String,
authorization_code: String,
} | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs | hyperswitch_connectors | struct_definition | 25 | rust | ForteCaptureRequest | null | null | null | null | null | null | null | null | null | null | null |
impl api::PaymentAuthorize for HyperswitchVault {} | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs | hyperswitch_connectors | impl_block | 11 | rust | null | HyperswitchVault | api::PaymentAuthorize for | impl api::PaymentAuthorize for for HyperswitchVault | null | null | null | null | null | null | null | null |
pub struct FeatureMatrixListResponse {
/// The number of connectors included in the response
pub connector_count: usize,
// The list of payments response objects
pub connectors: Vec<ConnectorFeatureMatrixResponse>,
} | crates/api_models/src/feature_matrix.rs | api_models | struct_definition | 46 | rust | FeatureMatrixListResponse | null | null | null | null | null | null | null | null | null | null | null |
impl<T: Debug + Sync + Conversion> DomainType for T {} | crates/storage_impl/src/kv_router_store.rs | storage_impl | impl_block | 14 | rust | null | T | DomainType for | impl DomainType for for T | null | null | null | null | null | null | null | null |
pub struct IntegrationMethod {
pub integration_type: String,
} | crates/api_models/src/user/dashboard_metadata.rs | api_models | struct_definition | 13 | rust | IntegrationMethod | null | null | null | null | null | null | null | null | null | null | null |
pub struct DDCToken {
pub jwt: Secret<String>,
pub url: Url,
pub bin: Secret<String>,
} | crates/hyperswitch_connectors/src/connectors/worldpay/response.rs | hyperswitch_connectors | struct_definition | 27 | rust | DDCToken | null | null | null | null | null | null | null | null | null | null | null |
impl Hash for ActivePaymentsMetricsBucketIdentifier {
fn hash<H: Hasher>(&self, state: &mut H) {
self.time_bucket.hash(state);
}
} | crates/api_models/src/analytics/active_payments.rs | api_models | impl_block | 36 | rust | null | ActivePaymentsMetricsBucketIdentifier | Hash for | impl Hash for for ActivePaymentsMetricsBucketIdentifier | null | null | null | null | null | null | null | null |
pub struct RiskifiedRouterData<T> {
pub amount: StringMajorUnit,
pub router_data: T,
amount_converter: &'static (dyn AmountConvertor<Output = StringMajorUnit> + Sync),
} | crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs | hyperswitch_connectors | struct_definition | 46 | rust | RiskifiedRouterData | null | null | null | null | null | null | null | null | null | null | null |
OpenAPI Block Path: components.schemas.BankAdditionalData
{
"oneOf": [
{
"$ref": "#/components/schemas/AchBankTransferAdditionalData"
},
{
"$ref": "#/components/schemas/BacsBankTransferAdditionalData"
},
{
"$ref": "#/components/schemas/SepaBankTransferAdditionalData"
},
{... | ./hyperswitch/api-reference/v1/openapi_spec_v1.json | null | openapi_block | 119 | .json | null | null | null | null | null | openapi_spec | components | [
"schemas",
"BankAdditionalData"
] | null | null | null | null |
impl api::PaymentToken for Blackhawknetwork {} | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs | hyperswitch_connectors | impl_block | 10 | rust | null | Blackhawknetwork | api::PaymentToken for | impl api::PaymentToken for for Blackhawknetwork | null | null | null | null | null | null | null | null |
File: crates/router_derive/src/macros/generate_permissions.rs
Public functions: 4
use proc_macro::TokenStream;
use quote::{format_ident, quote};
use syn::{
braced, bracketed,
parse::{Parse, ParseBuffer, ParseStream},
parse_macro_input,
punctuated::Punctuated,
token::Comma,
Ident, Token,
};
st... | crates/router_derive/src/macros/generate_permissions.rs | router_derive | full_file | 907 | null | null | null | null | null | null | null | null | null | null | null | null | null |
/// Create a new GlobalPaymentMethodId from cell id information
pub fn generate(cell_id: &CellId) -> error_stack::Result<Self, GlobalPaymentMethodIdError> {
let global_id = GlobalId::generate(cell_id, GlobalEntity::PaymentMethod);
Ok(Self(global_id))
} | crates/common_utils/src/id_type/global_id/payment_methods.rs | common_utils | function_signature | 64 | rust | null | null | null | null | generate | null | null | null | null | null | null | null |
pub struct InfoCodes {
address: Option<Vec<String>>,
identity_change: Option<Vec<String>>,
} | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | 21 | rust | InfoCodes | null | null | null | null | null | null | null | null | null | null | null |
pub async fn get_most_specific_theme_using_token_and_min_entity(
state: &SessionState,
user_from_token: &UserFromToken,
min_entity: EntityType,
) -> UserResult<Option<Theme>> {
get_most_specific_theme_using_lineage(
state,
ThemeLineage::new(
min_entity,
user_from_... | crates/router/src/utils/user/theme.rs | router | function_signature | 128 | rust | null | null | null | null | get_most_specific_theme_using_token_and_min_entity | null | null | null | null | null | null | null |
File: crates/external_services/src/http_client/metrics.rs
use router_env::{counter_metric, global_meter, histogram_metric_f64};
global_meter!(GLOBAL_METER, "ROUTER_API");
counter_metric!(REQUEST_BUILD_FAILURE, GLOBAL_METER);
histogram_metric_f64!(EXTERNAL_REQUEST_TIME, GLOBAL_METER);
counter_metric!(AUTO_RETRY_CON... | crates/external_services/src/http_client/metrics.rs | external_services | full_file | 79 | null | null | null | null | null | null | null | null | null | null | null | null | null |
impl EncryptionManagementConfig {
/// Verifies that the client configuration is usable
pub fn validate(&self) -> Result<(), &'static str> {
match self {
#[cfg(feature = "aws_kms")]
Self::AwsKms { aws_kms } => aws_kms.validate(),
Self::NoEncryption => Ok(()),
... | crates/external_services/src/managers/encryption_management.rs | external_services | impl_block | 185 | rust | null | EncryptionManagementConfig | null | impl EncryptionManagementConfig | null | null | null | null | null | null | null | null |
pub struct PhonepePaymentsRequest {
amount: StringMinorUnit,
card: PhonepeCard,
} | crates/hyperswitch_connectors/src/connectors/phonepe/transformers.rs | hyperswitch_connectors | struct_definition | 22 | rust | PhonepePaymentsRequest | null | null | null | null | null | null | null | null | null | null | null |
pub struct FiservCaptureRequest {
amount: Amount,
transaction_details: TransactionDetails,
merchant_details: MerchantDetails,
reference_transaction_details: ReferenceTransactionDetails,
#[serde(skip_serializing_if = "Option::is_none")]
order: Option<FiservOrderRequest>,
} | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | 61 | rust | FiservCaptureRequest | null | null | null | null | null | null | null | null | null | null | null |
pub struct NetworkTokenDetails {
pub network_token: cards::NetworkToken,
pub network_token_exp_month: Secret<String>,
pub network_token_exp_year: Secret<String>,
pub card_issuer: Option<String>, //since network token is tied to card, so its issuer will be same as card issuer
pub card_network: Option... | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | struct_definition | 131 | rust | NetworkTokenDetails | null | null | null | null | null | null | null | null | null | null | null |
pub fn get_id(&self) -> &common_utils::id_type::ProfileId {
&self.id
} | crates/hyperswitch_domain_models/src/business_profile.rs | hyperswitch_domain_models | function_signature | 25 | rust | null | null | null | null | get_id | null | null | null | null | null | null | null |
pub struct LegalConsent {
#[serde(rename = "type")]
pub consent_type: LegalConsentType,
pub granted: bool,
} | crates/router/src/types/api/connector_onboarding/paypal.rs | router | struct_definition | 31 | rust | LegalConsent | null | null | null | null | null | null | null | null | null | null | null |
File: crates/storage_impl/src/config.rs
Public structs: 1
use common_utils::{id_type, DbConnectionParams};
use masking::Secret;
#[derive(Debug, Clone, serde::Deserialize)]
pub struct Database {
pub username: String,
pub password: Secret<String>,
pub host: String,
pub port: u16,
pub dbname: String... | crates/storage_impl/src/config.rs | storage_impl | full_file | 497 | null | null | null | null | null | null | null | null | null | null | null | null | null |
pub(super) struct MaxLatency; | crates/analytics/src/api_event/metrics/latency.rs | analytics | struct_definition | 8 | rust | MaxLatency | null | null | null | null | null | null | null | null | null | null | null |
pub fn get_issuer_country_alpha2(self) -> Option<common_enums::CountryAlpha2> {
self.issuer_country
.as_ref()
.map(|c| api_enums::CountryAlpha2::from_str(c))
.transpose()
.ok()
.flatten()
} | crates/hyperswitch_domain_models/src/payment_method_data.rs | hyperswitch_domain_models | function_signature | 65 | rust | null | null | null | null | get_issuer_country_alpha2 | null | null | null | null | null | null | null |
pub async fn receiver_for_error(rx: oneshot::Receiver<() | crates/router/src/lib.rs | router | function_signature | 15 | rust | null | null | null | null | receiver_for_error | null | null | null | null | null | null | null |
pub trait RefundDistribution<T>
where
T: AnalyticsDataSource + RefundDistributionAnalytics,
{
#[allow(clippy::too_many_arguments)]
async fn load_distribution(
&self,
distribution: &RefundDistributionBody,
dimensions: &[RefundDimensions],
auth: &AuthInfo,
filters: &Ref... | crates/analytics/src/refunds/distribution.rs | analytics | trait_definition | 116 | rust | null | null | RefundDistribution | null | null | null | null | null | null | null | null | null |
impl api::Refund for HyperswitchVault {} | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs | hyperswitch_connectors | impl_block | 11 | rust | null | HyperswitchVault | api::Refund for | impl api::Refund for for HyperswitchVault | null | null | null | null | null | null | null | null |
impl IncomingWebhook for Paybox {
fn get_webhook_object_reference_id(
&self,
_request: &IncomingWebhookRequestDetails<'_>,
) -> CustomResult<ObjectReferenceId, errors::ConnectorError> {
Err(report!(errors::ConnectorError::WebhooksNotImplemented))
}
fn get_webhook_event_type(
... | crates/hyperswitch_connectors/src/connectors/paybox.rs | hyperswitch_connectors | impl_block | 185 | rust | null | Paybox | IncomingWebhook for | impl IncomingWebhook for for Paybox | null | null | null | null | null | null | null | null |
assert!(billing_details.is_none());
}
}
#[cfg(feature = "v2")]
#[derive(Debug, Clone, Serialize, Deserialize, ToSchema)]
pub struct PaymentRevenueRecoveryMetadata {
/// Total number of billing connector + recovery retries for a payment intent.
#[schema(value_type = u16,example = "1")]
pub total... | crates/api_models/src/payments.rs#chunk11 | api_models | chunk | 3,222 | null | null | null | null | null | null | null | null | null | null | null | null | null |
pub struct RsyncApplicationInformation {
status: Option<BankofamericaRefundStatus>,
} | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs | hyperswitch_connectors | struct_definition | 21 | rust | RsyncApplicationInformation | null | null | null | null | null | null | null | null | null | null | null |
impl super::frm::filters::FrmFilterAnalytics for SqlxClient {} | crates/analytics/src/sqlx.rs | analytics | impl_block | 16 | rust | null | SqlxClient | super::frm::filters::FrmFilterAnalytics for | impl super::frm::filters::FrmFilterAnalytics for for SqlxClient | null | null | null | null | null | null | null | null |
impl auth_service::AuthServiceLinkToken for Plaid {} | crates/pm_auth/src/connector/plaid.rs | pm_auth | impl_block | 11 | rust | null | Plaid | auth_service::AuthServiceLinkToken for | impl auth_service::AuthServiceLinkToken for for Plaid | null | null | null | null | null | null | null | null |
pub struct CryptoRequest {
flow: Flow,
payment_method: PaymentMethod,
} | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs | hyperswitch_connectors | struct_definition | 18 | rust | CryptoRequest | null | null | null | null | null | null | null | null | null | null | null |
pub struct FiservPaymentsRequest {
amount: Amount,
merchant_details: MerchantDetails,
#[serde(flatten)]
checkout_charges_request: FiservCheckoutChargesRequest,
} | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs | hyperswitch_connectors | struct_definition | 41 | rust | FiservPaymentsRequest | null | null | null | null | null | null | null | null | null | null | null |
pub struct PartnerReferralIntegrationPreference {
pub rest_api_integration: PartnerReferralRestApiIntegration,
} | crates/router/src/types/api/connector_onboarding/paypal.rs | router | struct_definition | 22 | rust | PartnerReferralIntegrationPreference | null | null | null | null | null | null | null | null | null | null | null |
pub struct NewUserMerchant {
merchant_id: id_type::MerchantId,
company_name: Option<UserCompanyName>,
new_organization: NewUserOrganization,
product_type: Option<common_enums::MerchantProductType>,
merchant_account_type: Option<common_enums::MerchantAccountRequestType>,
} | crates/router/src/types/domain/user.rs | router | struct_definition | 63 | rust | NewUserMerchant | null | null | null | null | null | null | null | null | null | null | null |
pub struct ConnectorBankNames(pub HashMap<String, BanksVector>); | crates/payment_methods/src/configs/settings.rs | payment_methods | struct_definition | 13 | rust | ConnectorBankNames | null | null | null | null | null | null | null | null | null | null | null |
impl DerefMut for CycleCheck {
fn deref_mut(&mut self) -> &mut Self::Target {
&mut self.0
}
} | crates/hyperswitch_constraint_graph/src/types.rs | hyperswitch_constraint_graph | impl_block | 34 | rust | null | CycleCheck | DerefMut for | impl DerefMut for for CycleCheck | null | null | null | null | null | null | null | null |
Web Documentation: Deploy on AWS | Hyperswitch
# Type: Web Doc
You can deploy it as an independent stack by leveraging our full-stack deployment solution. Alternatively, you can utilize the component-wise section to deploy it within an existing stack using a customized format. Explore the details in each section for f... | https://docs.hyperswitch.io/hyperswitch-open-source/deploy-hyperswitch-on-aws | null | web_doc_file | 112 | doc | null | null | null | null | null | web | null | null | null | https://docs.hyperswitch.io/hyperswitch-open-source/deploy-hyperswitch-on-aws | Deploy on AWS | Hyperswitch | null |
pub async fn consumer_error_handler(
state: &(dyn SchedulerInterface + 'static) | crates/scheduler/src/consumer.rs | scheduler | function_signature | 18 | rust | null | null | null | null | consumer_error_handler | null | null | null | null | null | null | null |
pub struct ValuedProgram<O> {
pub default_selection: O,
pub rules: Vec<ValuedRule<O>>,
pub metadata: Metadata,
} | crates/euclid/src/frontend/vir.rs | euclid | struct_definition | 33 | rust | ValuedProgram | null | null | null | null | null | null | null | null | null | null | null |
pub fn new() -> &'static Self {
&Self {
amount_converter: &MinorUnitForConnector,
}
} | crates/hyperswitch_connectors/src/connectors/payu.rs | hyperswitch_connectors | function_signature | 27 | rust | null | null | null | null | new | null | null | null | null | null | null | null |
OpenAPI Block Path: components.schemas.ProfileResponse
{
"type": "object",
"required": [
"merchant_id",
"profile_id",
"profile_name",
"enable_payment_response_hash",
"redirect_to_merchant_with_http_post",
"is_tax_connector_enabled",
"is_network_tokenization_enabled",
"is_auto_retries... | ./hyperswitch/api-reference/v1/openapi_spec_v1.json | null | openapi_block | 2,376 | .json | null | null | null | null | null | openapi_spec | components | [
"schemas",
"ProfileResponse"
] | null | null | null | null |
pub struct Destination {
pub full_name: Secret<String>,
pub organization: Option<String>,
pub email: Option<Email>,
pub address: Address,
} | crates/hyperswitch_domain_models/src/router_request_types/fraud_check.rs | hyperswitch_domain_models | struct_definition | 34 | rust | Destination | null | null | null | null | null | null | null | null | null | null | null |
pub fn new() -> &'static Self {
&Self {
amount_converter: &FloatMajorUnitForConnector,
}
} | crates/hyperswitch_connectors/src/connectors/cashtocode.rs | hyperswitch_connectors | function_signature | 28 | rust | null | null | null | null | new | null | null | null | null | null | null | null |
pub struct WellsfargopayoutPaymentsResponse {
status: WellsfargopayoutPaymentStatus,
id: String,
} | crates/hyperswitch_connectors/src/connectors/wellsfargopayout/transformers.rs | hyperswitch_connectors | struct_definition | 27 | rust | WellsfargopayoutPaymentsResponse | null | null | null | null | null | null | null | null | null | null | null |
impl api::PaymentSync for Noon {} | crates/hyperswitch_connectors/src/connectors/noon.rs | hyperswitch_connectors | impl_block | 8 | rust | null | Noon | api::PaymentSync for | impl api::PaymentSync for for Noon | null | null | null | null | null | null | null | null |
pub struct MinimalRoleInfo {
pub role_id: String,
pub role_name: String,
} | crates/api_models/src/user_role/role.rs | api_models | struct_definition | 21 | rust | MinimalRoleInfo | null | null | null | null | null | null | null | null | null | null | null |
File: crates/analytics/src/lambda_utils.rs
Public functions: 1
use aws_config::{self, meta::region::RegionProviderChain, Region};
use aws_sdk_lambda::{types::InvocationType::Event, Client};
use aws_smithy_types::Blob;
use common_utils::errors::CustomResult;
use error_stack::{report, ResultExt};
use crate::errors::An... | crates/analytics/src/lambda_utils.rs | analytics | full_file | 284 | null | null | null | null | null | null | null | null | null | null | null | null | null |
File: crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs
use std::collections::HashSet;
use api_models::analytics::{
auth_events::{AuthEventDimensions, AuthEventFilters, AuthEventMetricsBucketIdentifier},
Granularity, TimeRange,
};
use common_enums::AuthenticationStatus;
use common_utils... | crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs | analytics | full_file | 1,067 | null | null | null | null | null | null | null | null | null | null | null | null | null |
pub struct ConfigUpdate {
#[serde(skip_deserializing)]
pub key: String,
pub value: String,
} | crates/router/src/types/api/configs.rs | router | struct_definition | 26 | rust | ConfigUpdate | null | null | null | null | null | null | null | null | null | null | null |
pub struct ApiEventFilters {
pub status_code: Vec<u64>,
pub flow_type: Vec<String>,
pub api_flow: Vec<String>,
} | crates/api_models/src/analytics/api_event.rs | api_models | struct_definition | 33 | rust | ApiEventFilters | null | null | null | null | null | null | null | null | null | null | null |
impl api::Payment for Elavon {} | crates/hyperswitch_connectors/src/connectors/elavon.rs | hyperswitch_connectors | impl_block | 9 | rust | null | Elavon | api::Payment for | impl api::Payment for for Elavon | null | null | null | null | null | null | null | null |
pub struct DigitalvirgoConfirmRequest {
transaction_id: String,
token: Secret<String>,
} | crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs | hyperswitch_connectors | struct_definition | 21 | rust | DigitalvirgoConfirmRequest | null | null | null | null | null | null | null | null | null | null | null |
impl RoutableConnectors {
pub fn filter_network_transaction_id_flow_supported_connectors(
self,
nit_connectors: HashSet<String>,
) -> Self {
let connectors = self
.0
.into_iter()
.filter(|routable_connector_choice| {
nit_connectors.cont... | crates/router/src/core/routing.rs | router | impl_block | 493 | rust | null | RoutableConnectors | null | impl RoutableConnectors | null | null | null | null | null | null | null | null |
impl api::Refund for Nordea {} | crates/hyperswitch_connectors/src/connectors/nordea.rs | hyperswitch_connectors | impl_block | 9 | rust | null | Nordea | api::Refund for | impl api::Refund for for Nordea | null | null | null | null | null | null | null | null |
impl ConnectorAuthentication for Netcetera {} | crates/hyperswitch_connectors/src/connectors/netcetera.rs | hyperswitch_connectors | impl_block | 9 | rust | null | Netcetera | ConnectorAuthentication for | impl ConnectorAuthentication for for Netcetera | null | null | null | null | null | null | null | null |
pub struct AdditionalAmount {
additional_amount: StringMajorUnit,
currency: String,
} | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs | hyperswitch_connectors | struct_definition | 19 | rust | AdditionalAmount | null | null | null | null | null | null | null | null | null | null | null |
Web Documentation: Previous Roadmap - Q3 2024 | Hyperswitch
# Type: Web Doc
🗺️ Our Roadmap typically pans out over a 3-month period and we establish topics we work on upfront.
👂And as always, we listen to your feedback and adapt our plans if needed.
Recap of Q2 2024
Payouts support with Adyen Platform, Cybersource, ... | https://docs.hyperswitch.io/about-hyperswitch/roadmap/roadmap-q3-2024 | null | web_doc_file | 928 | doc | null | null | null | null | null | web | null | null | null | https://docs.hyperswitch.io/about-hyperswitch/roadmap/roadmap-q3-2024 | Previous Roadmap - Q3 2024 | Hyperswitch | null |
pub struct BitpayWebhookDetails {
pub event: Event,
pub data: BitpayPaymentResponseData,
} | crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs | hyperswitch_connectors | struct_definition | 25 | rust | BitpayWebhookDetails | null | null | null | null | null | null | null | null | null | null | null |
File: crates/hyperswitch_domain_models/src/payments.rs
Public functions: 31
Public structs: 17
#[cfg(feature = "v2")]
use std::marker::PhantomData;
#[cfg(feature = "v2")]
use api_models::payments::{SessionToken, VaultSessionDetails};
#[cfg(feature = "v1")]
use common_types::primitive_wrappers::{
AlwaysRequestEx... | crates/hyperswitch_domain_models/src/payments.rs#chunk0 | hyperswitch_domain_models | chunk | 8,189 | null | null | null | null | null | null | null | null | null | null | null | null | null |
pub struct ClientAuthSetupInfoResponse {
id: String,
client_reference_information: ClientReferenceInformation,
consumer_authentication_information: CybersourceConsumerAuthInformationResponse,
} | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs | hyperswitch_connectors | struct_definition | 36 | rust | ClientAuthSetupInfoResponse | null | null | null | null | null | null | null | null | null | null | null |
pub fn new() -> &'static Self {
&Self {
amount_converter: &StringMajorUnitForConnector,
}
} | crates/hyperswitch_connectors/src/connectors/tokenio.rs | hyperswitch_connectors | function_signature | 28 | rust | null | null | null | null | new | null | null | null | null | null | null | null |
pub fn new() -> &'static Self {
&Self {
#[cfg(feature = "payouts")]
amount_converter: &FloatMajorUnitForConnector,
}
} | crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | function_signature | 38 | rust | null | null | null | null | new | null | null | null | null | null | null | null |
File: crates/router/src/core/payments/flows/setup_mandate_flow.rs
Public functions: 1
use async_trait::async_trait;
use common_types::payments as common_payments_types;
use error_stack::ResultExt;
use router_env::logger;
use unified_connector_service_client::payments as payments_grpc;
use super::{ConstructFlowSpecif... | crates/router/src/core/payments/flows/setup_mandate_flow.rs | router | full_file | 2,978 | null | null | null | null | null | null | null | null | null | null | null | null | null |
impl ConnectorCommon for Helcim {
fn id(&self) -> &'static str {
"helcim"
}
fn get_currency_unit(&self) -> api::CurrencyUnit {
api::CurrencyUnit::Base
}
fn common_get_content_type(&self) -> &'static str {
"application/json"
}
fn base_url<'a>(&self, connectors: &'a ... | crates/hyperswitch_connectors/src/connectors/helcim.rs | hyperswitch_connectors | impl_block | 486 | rust | null | Helcim | ConnectorCommon for | impl ConnectorCommon for for Helcim | null | null | null | null | null | null | null | null |
pub struct FileMetadata {
#[serde(skip_serializing)]
pub file_id: String,
pub merchant_id: common_utils::id_type::MerchantId,
pub file_name: Option<String>,
pub file_size: i32,
pub file_type: String,
pub provider_file_id: Option<String>,
pub file_upload_provider: Option<common_enums::Fil... | crates/diesel_models/src/file.rs | diesel_models | struct_definition | 157 | rust | FileMetadata | null | null | null | null | null | null | null | null | null | null | null |
pub struct RefundListRequest {
/// The identifier for the payment
#[schema(value_type = Option<String>)]
pub payment_id: Option<common_utils::id_type::GlobalPaymentId>,
/// The identifier for the refund
#[schema(value_type = String)]
pub refund_id: Option<common_utils::id_type::GlobalRefundId>,
... | crates/api_models/src/refunds.rs | api_models | struct_definition | 369 | rust | RefundListRequest | null | null | null | null | null | null | null | null | null | null | null |
pub struct Mandates; | crates/router/src/routes/app.rs | router | struct_definition | 5 | rust | Mandates | null | null | null | null | null | null | null | null | null | null | null |
pub struct RelayRequest {
/// The identifier that is associated to a resource at the connector reference to which the relay request is being made
#[schema(example = "7256228702616471803954")]
pub connector_resource_id: String,
/// Identifier of the connector ( merchant connector account ) which was chos... | crates/api_models/src/relay.rs | api_models | struct_definition | 191 | rust | RelayRequest | null | null | null | null | null | null | null | null | null | null | null |
impl api::PayoutEligibility for Wise {} | crates/hyperswitch_connectors/src/connectors/wise.rs | hyperswitch_connectors | impl_block | 11 | rust | null | Wise | api::PayoutEligibility for | impl api::PayoutEligibility for for Wise | null | null | null | null | null | null | null | null |
pub struct DeutschebankTransactionInfo {
back_state: Option<String>,
ip_address: Option<Secret<String>>,
#[serde(rename = "type")]
pm_type: Option<String>,
transaction_bankaccount_info: Option<TransactionBankAccountInfo>,
} | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs | hyperswitch_connectors | struct_definition | 51 | rust | DeutschebankTransactionInfo | null | null | null | null | null | null | null | null | null | null | null |
pub struct EpsInfo {} | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs | hyperswitch_connectors | struct_definition | 6 | rust | EpsInfo | null | null | null | null | null | null | null | null | null | null | null |
impl ExternalAuthentication for Gpayments {} | crates/hyperswitch_connectors/src/connectors/gpayments.rs | hyperswitch_connectors | impl_block | 7 | rust | null | Gpayments | ExternalAuthentication for | impl ExternalAuthentication for for Gpayments | null | null | null | null | null | null | null | null |
impl MandateSetup for Payone {} | crates/hyperswitch_connectors/src/connectors/payone.rs | hyperswitch_connectors | impl_block | 8 | rust | null | Payone | MandateSetup for | impl MandateSetup for for Payone | null | null | null | null | null | null | null | null |
impl RequestBuilder {
pub fn new() -> Self {
Self {
method: Method::Get,
url: String::with_capacity(1024),
headers: std::collections::HashSet::new(),
certificate: None,
certificate_key: None,
body: None,
ca_certificate: None... | crates/common_utils/src/request.rs | common_utils | impl_block | 456 | rust | null | RequestBuilder | null | impl RequestBuilder | null | null | null | null | null | null | null | null |
pub struct Bluecode {
amount_converter: &'static (dyn AmountConvertor<Output = FloatMajorUnit> + Sync),
} | crates/hyperswitch_connectors/src/connectors/bluecode.rs | hyperswitch_connectors | struct_definition | 27 | rust | Bluecode | null | null | null | null | null | null | null | null | null | null | null |
pub struct Acquirer {
pub acquirer_merchant_id: Option<String>,
pub acquirer_bin: Option<String>,
pub acquirer_country_code: Option<String>,
} | crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs | hyperswitch_connectors | struct_definition | 36 | rust | Acquirer | null | null | null | null | null | null | null | null | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.