hyperswitch
1ef3bfe8 - Merge branch 'debit-routing/db-interface' into debit-routing/app-cost-config

Comment changes are shownComment changes are hidden
Commit
96 days ago
Merge branch 'debit-routing/db-interface' into debit-routing/app-cost-config
Author
  • .github/workflows
    • File
      postman-collection-runner.yml
  • File
    .typos.toml
  • File
    CHANGELOG.md
  • File
    Cargo.lock
  • File
    Dockerfile
  • api-reference-v2
    • api-reference/payment-method-session
      • File
        payment-method-session--delete-a-saved-payment-method.mdx
    • File
      mint.json
    • File
      openapi_spec.json
  • api-reference
    • File
      openapi_spec.json
  • config
    • File
      config.example.toml
    • deployments
      • File
        integration_test.toml
      • File
        production.toml
      • File
        sandbox.toml
    • File
      development.toml
    • File
      docker_compose.toml
  • crates
    • analytics/src
      • File
        opensearch.rs
    • api_models
      • File
        Cargo.toml
      • src
        • File
          admin.rs
        • File
          customers.rs
        • File
          enums.rs
        • File
          events.rs
        • events
          • File
            revenue_recovery.rs
        • File
          feature_matrix.rs
        • File
          lib.rs
        • File
          mandates.rs
        • File
          payment_methods.rs
        • File
          payments.rs
        • payments
          • File
            additional_info.rs
          • File
            trait_impls.rs
        • File
          payouts.rs
        • File
          process_tracker.rs
        • process_tracker
          • File
            revenue_recovery.rs
        • File
          routing.rs
        • user
          • File
            dashboard_metadata.rs
        • File
          webhook_events.rs
    • cards/tests
      • File
        basic.rs
    • common_enums/src
      • File
        connector_enums.rs
      • File
        enums.rs
      • File
        transformers.rs
    • common_types/src
      • File
        consts.rs
      • File
        customers.rs
      • File
        lib.rs
      • File
        payment_methods.rs
      • File
        primitive_wrappers.rs
    • common_utils
      • File
        Cargo.toml
      • src
        • File
          consts.rs
        • File
          crypto.rs
        • File
          errors.rs
        • File
          events.rs
        • id_type/global_id
          • File
            payment.rs
        • File
          macros.rs
        • File
          types.rs
    • connector_configs
      • src
        • File
          connector.rs
        • File
          transformer.rs
      • toml
        • File
          development.toml
        • File
          production.toml
        • File
          sandbox.toml
    • diesel_models
      • File
        Cargo.toml
      • src
        • File
          business_profile.rs
        • File
          customers.rs
        • File
          dynamic_routing_stats.rs
        • File
          enums.rs
        • File
          events.rs
        • File
          kv.rs
        • File
          organization.rs
        • File
          payment_attempt.rs
        • File
          payment_intent.rs
        • File
          process_tracker.rs
        • query
          • File
            dynamic_routing_stats.rs
          • File
            events.rs
          • File
            refund.rs
          • user
            • File
              sample_data.rs
        • File
          refund.rs
        • File
          schema.rs
        • File
          schema_v2.rs
        • File
          types.rs
        • user
          • File
            sample_data.rs
    • euclid/src/frontend/dir
      • File
        enums.rs
      • File
        lowering.rs
      • File
        transformers.rs
    • hyperswitch_connectors
      • File
        Cargo.toml
      • src
        • File
          connectors.rs
        • connectors
          • File
            adyen.rs
          • adyen
            • File
              transformers.rs
          • authorizedotnet
            • File
              transformers.rs
          • bankofamerica
            • File
              transformers.rs
          • bluesnap
            • File
              transformers.rs
          • braintree
            • File
              transformers.rs
          • chargebee
            • File
              transformers.rs
          • File
            coinbase.rs
          • File
            coingate.rs
          • coingate
            • File
              transformers.rs
          • cybersource
            • File
              transformers.rs
          • dlocal
            • File
              transformers.rs
          • File
            facilitapay.rs
          • facilitapay
            • File
              transformers.rs
          • File
            globalpay.rs
          • globalpay
            • File
              requests.rs
            • File
              response.rs
            • File
              transformers.rs
          • File
            helcim.rs
          • hipay
            • File
              transformers.rs
          • itaubank
            • File
              transformers.rs
          • File
            klarna.rs
          • File
            nexinets.rs
          • nexixpay
            • File
              transformers.rs
          • File
            noon.rs
          • noon
            • File
              transformers.rs
          • nuvei
            • File
              transformers.rs
          • paypal
            • File
              transformers.rs
          • razorpay
            • File
              transformers.rs
          • File
            recurly.rs
          • recurly
            • File
              transformers.rs
          • File
            redsys.rs
          • redsys
            • File
              transformers.rs
          • shift4
            • File
              transformers.rs
          • File
            stripebilling.rs
          • stripebilling
            • File
              transformers.rs
          • File
            trustpay.rs
          • trustpay
            • File
              transformers.rs
          • File
            unified_authentication_service.rs
          • unified_authentication_service
            • File
              transformers.rs
          • wellsfargo
            • File
              transformers.rs
          • worldline
            • File
              transformers.rs
          • zen
            • File
              transformers.rs
          • zsl
            • File
              transformers.rs
        • File
          constants.rs
        • File
          default_implementations.rs
        • File
          default_implementations_v2.rs
        • File
          utils.rs
    • hyperswitch_domain_models
      • File
        Cargo.toml
      • src
        • File
          address.rs
        • File
          bulk_tokenization.rs
        • File
          business_profile.rs
        • File
          configs.rs
        • File
          consts.rs
        • File
          customer.rs
        • File
          errors.rs
        • File
          lib.rs
        • File
          merchant_account.rs
        • File
          merchant_connector_account.rs
        • File
          payment_method_data.rs
        • File
          payment_methods.rs
        • File
          payments.rs
        • payments
          • File
            payment_attempt.rs
          • File
            payment_intent.rs
        • payouts
          • File
            payout_attempt.rs
          • File
            payouts.rs
        • File
          revenue_recovery.rs
        • File
          router_data.rs
        • File
          router_flow_types.rs
        • router_flow_types
          • File
            authentication.rs
        • File
          router_request_types.rs
        • router_request_types
          • File
            fraud_check.rs
          • File
            unified_authentication_service.rs
        • File
          routing.rs
    • hyperswitch_interfaces/src
      • File
        api.rs
      • api
        • File
          authentication.rs
        • File
          authentication_v2.rs
        • File
          fraud_check.rs
        • File
          fraud_check_v2.rs
      • File
        configs.rs
      • File
        connector_integration_interface.rs
      • File
        connector_integration_v2.rs
      • File
        conversion_impls.rs
      • File
        lib.rs
    • kgraph_utils
      • File
        Cargo.toml
      • src
        • File
          error.rs
        • File
          mca.rs
        • File
          transformers.rs
    • openapi/src
      • File
        openapi.rs
      • File
        openapi_v2.rs
      • File
        routes.rs
      • routes
        • File
          merchant_connector_account.rs
        • File
          payment_method.rs
        • File
          profile.rs
        • File
          revenue_recovery.rs
        • File
          webhook_events.rs
    • payment_methods/src
      • File
        state.rs
    • router
      • File
        Cargo.toml
      • src
        • bin
          • File
            scheduler.rs
        • compatibility/stripe
          • customers
            • File
              types.rs
          • payment_intents
            • File
              types.rs
          • setup_intents
            • File
              types.rs
        • configs/defaults
          • File
            payment_connector_required_fields.rs
        • File
          connector.rs
        • connector
          • netcetera
            • File
              netcetera_types.rs
          • payone
            • File
              transformers.rs
          • riskified/transformers
            • File
              api.rs
          • signifyd/transformers
            • File
              api.rs
          • File
            stripe.rs
          • stripe
            • File
              transformers.rs
            • transformers
              • File
                connect.rs
          • File
            utils.rs
          • wise
            • File
              transformers.rs
        • File
          consts.rs
        • consts
          • File
            user.rs
        • File
          core.rs
        • core
          • File
            admin.rs
          • File
            api_keys.rs
          • File
            currency.rs
          • File
            customers.rs
          • File
            errors.rs
          • errors
            • user
              • File
                sample_data.rs
            • File
              utils.rs
          • File
            locker_migration.rs
          • File
            payment_methods.rs
          • payment_methods
            • File
              cards.rs
            • File
              network_tokenization.rs
            • File
              tokenize.rs
            • tokenize
              • File
                card_executor.rs
              • File
                payment_method_executor.rs
            • File
              transformers.rs
            • File
              vault.rs
          • File
            payments.rs
          • payments
            • File
              connector_integration_v2_impls.rs
            • File
              flows.rs
            • flows
              • File
                complete_authorize_flow.rs
            • File
              helpers.rs
            • File
              operations.rs
            • operations
              • File
                payment_approve.rs
              • File
                payment_cancel.rs
              • File
                payment_capture.rs
              • File
                payment_complete_authorize.rs
              • File
                payment_confirm.rs
              • File
                payment_create.rs
              • File
                payment_post_session_tokens.rs
              • File
                payment_reject.rs
              • File
                payment_response.rs
              • File
                payment_session.rs
              • File
                payment_session_intent.rs
              • File
                payment_start.rs
              • File
                payment_status.rs
              • File
                payment_update.rs
              • File
                payments_incremental_authorization.rs
              • File
                tax_calculation.rs
            • File
              retry.rs
            • File
              routing.rs
            • File
              session_operation.rs
            • File
              tokenization.rs
            • File
              transformers.rs
          • File
            payout_link.rs
          • File
            payouts.rs
          • payouts
            • File
              helpers.rs
            • File
              validator.rs
          • File
            pm_auth.rs
          • File
            refunds.rs
          • relay
            • File
              utils.rs
          • File
            revenue_recovery.rs
          • revenue_recovery
            • File
              transformers.rs
            • File
              types.rs
          • File
            routing.rs
          • routing
            • File
              helpers.rs
          • File
            unified_authentication_service.rs
          • unified_authentication_service
            • File
              types.rs
            • File
              utils.rs
          • File
            user.rs
          • user
            • File
              dashboard_metadata.rs
          • File
            utils.rs
          • webhooks
            • File
              outgoing.rs
            • File
              recovery_incoming.rs
            • File
              webhook_events.rs
        • File
          db.rs
        • db
          • File
            dynamic_routing_stats.rs
          • File
            events.rs
          • File
            kafka_store.rs
          • File
            merchant_connector_account.rs
          • File
            refund.rs
          • user
            • File
              sample_data.rs
        • File
          events.rs
        • File
          lib.rs
        • File
          routes.rs
        • routes
          • File
            admin.rs
          • File
            app.rs
          • File
            feature_matrix.rs
          • File
            lock_utils.rs
          • File
            payment_methods.rs
          • File
            payments.rs
          • File
            process_tracker.rs
          • process_tracker
            • File
              revenue_recovery.rs
          • File
            profiles.rs
          • File
            webhook_events.rs
        • File
          services.rs
        • services
          • File
            authentication.rs
          • authorization
            • File
              permission_groups.rs
            • File
              permissions.rs
          • File
            connector_integration_interface.rs
          • email
            • assets
              • File
                invite.html
              • File
                magic_link.html
              • File
                reset.html
              • File
                verify.html
            • File
              types.rs
          • kafka
            • File
              refund.rs
            • File
              refund_event.rs
        • File
          types.rs
        • types
          • File
            api.rs
          • api
            • File
              admin.rs
            • File
              authentication.rs
            • File
              authentication_v2.rs
            • File
              customers.rs
            • File
              fraud_check.rs
            • File
              fraud_check_v2.rs
            • File
              payment_methods.rs
            • File
              payments.rs
            • File
              verify_connector.rs
            • File
              webhook_events.rs
          • domain
            • File
              event.rs
            • user
              • File
                dashboard_metadata.rs
          • File
            storage.rs
          • storage
            • File
              dynamic_routing_stats.rs
            • File
              refund.rs
            • File
              revenue_recovery.rs
          • File
            transformers.rs
        • File
          utils.rs
        • utils/user
          • File
            dashboard_metadata.rs
        • File
          workflows.rs
        • workflows
          • File
            outgoing_webhook_retry.rs
          • File
            revenue_recovery.rs
      • tests
        • connectors
          • File
            aci.rs
          • File
            adyen.rs
          • File
            airwallex.rs
          • File
            bitpay.rs
          • File
            bluesnap.rs
          • File
            coinbase.rs
          • File
            cryptopay.rs
          • File
            cybersource.rs
          • File
            facilitapay.rs
          • File
            fiserv.rs
          • File
            forte.rs
          • File
            iatapay.rs
          • File
            main.rs
          • File
            multisafepay.rs
          • File
            opennode.rs
          • File
            payme.rs
          • File
            rapyd.rs
          • File
            trustpay.rs
          • File
            utils.rs
          • File
            worldline.rs
        • File
          payments.rs
        • File
          payments2.rs
    • router_env/src/logger
      • File
        types.rs
    • scheduler
      • File
        Cargo.toml
      • src/db
        • File
          process_tracker.rs
    • storage_impl
      • File
        Cargo.toml
      • src
        • database
          • File
            store.rs
        • File
          errors.rs
        • File
          kv_router_store.rs
        • File
          lib.rs
        • File
          lookup.rs
        • File
          mock_db.rs
        • mock_db
          • File
            payment_attempt.rs
          • File
            payment_intent.rs
          • File
            payout_attempt.rs
          • File
            payouts.rs
        • File
          payment_method.rs
        • payments
          • File
            payment_attempt.rs
          • File
            payment_intent.rs
        • payouts
          • File
            payout_attempt.rs
          • File
            payouts.rs
        • File
          utils.rs
    • test_utils/src
      • File
        connector_auth.rs
  • cypress-tests-v2/cypress/support
    • File
      commands.js
  • cypress-tests
    • cypress
      • e2e
        • configs
          • Payment
            • File
              Adyen.js
            • File
              Fiuu.js
            • File
              Hipay.js
            • File
              Novalnet.js
            • File
              Redsys.js
            • File
              Stripe.js
            • File
              Utils.js
            • File
              WorldPay.js
          • Payout
            • File
              Adyen.js
            • File
              AdyenPlatform.js
            • File
              Nomupay.js
            • File
              Wise.js
        • spec
          • Payment
            • File
              00014-SaveCardFlow.cy.js
            • File
              00015-ZeroAuthMandate.cy.js
            • File
              00018-BankRedirect.cy.js
            • File
              00019-MandatesUsingPMID.cy.js
            • File
              00022-Variations.cy.js
          • Payout
            • File
              00004-BankTransfer.cy.js
            • File
              00005-SavePayout.cy.js
            • File
              00006-PayoutUsingPayoutMethodId.cy.js
          • Routing
            • File
              00001-VolumeBasedRouting.cy.js
            • File
              00002-RuleBasedRouting.cy.js
      • fixtures
        • File
          confirm-body.json
        • File
          create-confirm-body.json
        • File
          create-mandate-cit.json
        • File
          create-ntid-mit.json
        • File
          create-pm-id-mit.json
        • File
          merchant-create-body.json
        • File
          merchant-update-body.json
        • File
          update-connector-body.json
      • support
        • File
          commands.js
        • File
          redirectionHandler.js
    • File
      package-lock.json
    • File
      package.json
  • loadtest/config
    • File
      development.toml
  • migrations
    • 2025-02-19-072457_add_is_overall_delivery_successful_column_in_events_table
      • File
        down.sql
      • File
        up.sql
    • 2025-03-04-053541_add_api_version_to_organization
      • File
        down.sql
      • File
        up.sql
    • 2025-03-10-103959_add_is_debit_routing_enabled_to_profile
      • File
        down.sql
      • File
        up.sql
    • 2025-03-21-113624_add-recon-status-enum-variant-dashboard-metadata
      • File
        down.sql
      • File
        up.sql
    • 2025-03-21-134323_add_merchant_business_country_in_business_profile
      • File
        down.sql
      • File
        up.sql
  • scripts
    • File
      add_connector.sh
  • v2_compatible_migrations
    • 2024-08-28-081721_add_v2_columns
      • File
        down.sql
      • File
        up.sql
    • 2024-08-28-081757_drop_not_null_constraints_on_v1_columns
      • File
        down.sql
      • File
        up.sql
  • v2_migrations
    • 2024-08-28-081837_add_not_null_constraints_to_v2_columns
      • File
        down.sql
      • File
        up.sql
    • 2024-08-28-081838_update_v2_primary_key_constraints
      • File
        down.sql
      • File
        up.sql
    • 2025-01-13-081847_drop_v1_columns
      • File
        down.sql
      • File
        up.sql
    • 2025-03-19-080705_payment-method-subtype-optional
      • File
        down.sql
      • File
        up.sql