Skip to content

Commit

Permalink
Merge branch 'main' into aggregate-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
aniketburman014 authored Feb 10, 2025
2 parents 3cdd418 + 323d763 commit 644a8e5
Show file tree
Hide file tree
Showing 228 changed files with 9,489 additions and 4,687 deletions.
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ crates/router/src/core/routing @juspay/hyperswitch-routing
crates/router/src/core/routing.rs @juspay/hyperswitch-routing
crates/router/src/core/payments/routing @juspay/hyperswitch-routing
crates/router/src/core/payments/routing.rs @juspay/hyperswitch-routing
crates/external_services/src/grpc_client/dynamic_routing.rs @juspay/hyperswitch-routing
crates/external_services/src/grpc_client/dynamic_routing/ @juspay/hyperswitch-routing
crates/external_services/src/grpc_client/health_check_client.rs @juspay/hyperswitch-routing

crates/api_models/src/payment_methods.rs @juspay/hyperswitch-routing
crates/router/src/core/payment_methods.rs @juspay/hyperswitch-routing
Expand Down
48 changes: 48 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,54 @@ All notable changes to HyperSwitch will be documented here.

- - -

## 2025.02.10.0

### Features

- **connector:**
- [DataTrans] ADD 3DS Flow ([#6026](https://github.com/juspay/hyperswitch/pull/6026)) ([`4693d21`](https://github.com/juspay/hyperswitch/commit/4693d21b7c26055ed33fadd3f53943715ab71516))
- [DATATRANS] Add Support for External 3DS ([#7226](https://github.com/juspay/hyperswitch/pull/7226)) ([`45882bd`](https://github.com/juspay/hyperswitch/commit/45882bdb76f7f031776aa10692fabd792627b891))
- **opensearch:** Add amount and customer_id as filters and handle name for different indexes ([#7073](https://github.com/juspay/hyperswitch/pull/7073)) ([`df328c5`](https://github.com/juspay/hyperswitch/commit/df328c5e520b89b09e1b684d039f1d9613d78613))

### Refactors

- **connector:** Move connectors Aci, Braintree, Globalpay, Iatapay, Itaubank, Klarna, Mifinity and Nuvei from router to hyperswitch_connectors crate ([#7167](https://github.com/juspay/hyperswitch/pull/7167)) ([`7dfe400`](https://github.com/juspay/hyperswitch/commit/7dfe400401daf7081f9240ed52064281b302ba57))
- **router:** Add display_name field to connector feature api ([#7121](https://github.com/juspay/hyperswitch/pull/7121)) ([`50784ad`](https://github.com/juspay/hyperswitch/commit/50784ad1c13f0aa66a1da566ddd25e2621021538))

**Full Changelog:** [`2025.02.07.0...2025.02.10.0`](https://github.com/juspay/hyperswitch/compare/2025.02.07.0...2025.02.10.0)

- - -

## 2025.02.07.0

### Features

- **connector:** [COINGATE] Add Template PR ([#7052](https://github.com/juspay/hyperswitch/pull/7052)) ([`dddb1b0`](https://github.com/juspay/hyperswitch/commit/dddb1b06bea4ac89d838641508728d2da4326ba1))
- **core:** Add support for v2 payments get intent using merchant reference id ([#7123](https://github.com/juspay/hyperswitch/pull/7123)) ([`e17ffd1`](https://github.com/juspay/hyperswitch/commit/e17ffd1257adc1618ed60dee81ea1e7df84cb3d5))
- **router:** Add `organization_id` in authentication table and add it in authentication events ([#7168](https://github.com/juspay/hyperswitch/pull/7168)) ([`f211754`](https://github.com/juspay/hyperswitch/commit/f2117542a7dda4dbfa768fdb24229c113e25c93e))
- **routing:** Contract based routing integration ([#6761](https://github.com/juspay/hyperswitch/pull/6761)) ([`60ddddf`](https://github.com/juspay/hyperswitch/commit/60ddddf24a1625b8044c095c5d01754022102813))

### Bug Fixes

- **connector:** Handle unexpected error response from bluesnap connector ([#7120](https://github.com/juspay/hyperswitch/pull/7120)) ([`8ae5267`](https://github.com/juspay/hyperswitch/commit/8ae5267b91cfb37b14df1acf5fd7dfc2570b58ce))
- **dashboard_metadata:** Mask `poc_email` and `data_value` for DashboardMetadata ([#7130](https://github.com/juspay/hyperswitch/pull/7130)) ([`9b1b245`](https://github.com/juspay/hyperswitch/commit/9b1b2455643d7a5744a4084fc1916c84634cb48d))

### Refactors

- **customer:** Return redacted customer instead of error ([#7122](https://github.com/juspay/hyperswitch/pull/7122)) ([`97e9270`](https://github.com/juspay/hyperswitch/commit/97e9270ed4458a24207ea5434d65c54fb4b6237d))
- **dynamic_fields:** Dynamic fields for Adyen and Stripe, renaming klarnaCheckout, WASM for KlarnaCheckout ([#7015](https://github.com/juspay/hyperswitch/pull/7015)) ([`a6367d9`](https://github.com/juspay/hyperswitch/commit/a6367d92f629ef01cdb73aded8a81d2ba198f38c))
- **router:** Store `network_transaction_id` for `off_session` payments irrespective of the `is_connector_agnostic_mit_enabled` config ([#7083](https://github.com/juspay/hyperswitch/pull/7083)) ([`f9a4713`](https://github.com/juspay/hyperswitch/commit/f9a4713a60028e26b98143c6296d9969cd090163))

### Miscellaneous Tasks

- **connector:** [Fiuu] log keys in the PSync response ([#7189](https://github.com/juspay/hyperswitch/pull/7189)) ([`c044fff`](https://github.com/juspay/hyperswitch/commit/c044ffff0c47ee5d3ef5f905c3f590fae4ac9a24))
- **connectors:** [fiuu] update pm_filters for apple pay and google pay ([#7182](https://github.com/juspay/hyperswitch/pull/7182)) ([`2d0ac8d`](https://github.com/juspay/hyperswitch/commit/2d0ac8d46d2ecfd7287b67b646bc0b284ed838a9))
- **roles:** Remove redundant variant from PermissionGroup ([#6985](https://github.com/juspay/hyperswitch/pull/6985)) ([`775dcc5`](https://github.com/juspay/hyperswitch/commit/775dcc5a4e3b41dd1e4d0e4c47eccca15a8a4b3a))

**Full Changelog:** [`2025.02.06.0...2025.02.07.0`](https://github.com/juspay/hyperswitch/compare/2025.02.06.0...2025.02.07.0)

- - -

## 2025.02.06.0

### Features
Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

187 changes: 144 additions & 43 deletions api-reference-v2/openapi_spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -3076,6 +3076,79 @@
},
"additionalProperties": false
},
"AdyenSplitData": {
"type": "object",
"description": "Fee information for Split Payments to be charged on the payment being collected for Adyen",
"required": [
"split_items"
],
"properties": {
"store": {
"type": "string",
"description": "The store identifier",
"nullable": true
},
"split_items": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AdyenSplitItem"
},
"description": "Data for the split items"
}
},
"additionalProperties": false
},
"AdyenSplitItem": {
"type": "object",
"description": "Data for the split items",
"required": [
"amount",
"split_type",
"reference"
],
"properties": {
"amount": {
"type": "integer",
"format": "int64",
"description": "The amount of the split item",
"example": 6540
},
"split_type": {
"$ref": "#/components/schemas/AdyenSplitType"
},
"account": {
"type": "string",
"description": "The unique identifier of the account to which the split amount is allocated.",
"nullable": true
},
"reference": {
"type": "string",
"description": "Unique Identifier for the split item"
},
"description": {
"type": "string",
"description": "Description for the part of the payment that will be allocated to the specified account.",
"nullable": true
}
},
"additionalProperties": false
},
"AdyenSplitType": {
"type": "string",
"enum": [
"BalanceAccount",
"AcquiringFees",
"PaymentFee",
"AdyenFees",
"AdyenCommission",
"AdyenMarkup",
"Interchange",
"SchemeFee",
"Commission",
"TopUp",
"Vat"
]
},
"AirwallexData": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -6471,14 +6544,14 @@
"type": "object",
"required": [
"three_ds",
"non_three_ds",
"no_three_ds",
"supported_card_networks"
],
"properties": {
"three_ds": {
"$ref": "#/components/schemas/FeatureStatus"
},
"non_three_ds": {
"no_three_ds": {
"$ref": "#/components/schemas/FeatureStatus"
},
"supported_card_networks": {
Expand Down Expand Up @@ -6766,6 +6839,33 @@
"zsl"
]
},
"ConnectorChargeResponseData": {
"oneOf": [
{
"type": "object",
"required": [
"stripe_split_payment"
],
"properties": {
"stripe_split_payment": {
"$ref": "#/components/schemas/StripeChargeResponseData"
}
}
},
{
"type": "object",
"required": [
"adyen_split_payment"
],
"properties": {
"adyen_split_payment": {
"$ref": "#/components/schemas/AdyenSplitData"
}
}
}
],
"description": "Charge Information"
},
"ConnectorFeatureMatrixResponse": {
"type": "object",
"required": [
Expand All @@ -6776,6 +6876,10 @@
"name": {
"type": "string"
},
"display_name": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
Expand Down Expand Up @@ -12481,17 +12585,6 @@
}
}
},
{
"type": "object",
"required": [
"klarna_checkout"
],
"properties": {
"klarna_checkout": {
"type": "object"
}
}
},
{
"type": "object",
"required": [
Expand Down Expand Up @@ -19770,24 +19863,20 @@
"$ref": "#/components/schemas/StripeSplitPaymentRequest"
}
}
}
],
"description": "Fee information for Split Payments to be charged on the payment being collected"
},
"SplitPaymentsResponse": {
"oneOf": [
},
{
"type": "object",
"required": [
"stripe_split_payment"
"adyen_split_payment"
],
"properties": {
"stripe_split_payment": {
"$ref": "#/components/schemas/StripeSplitPaymentsResponse"
"adyen_split_payment": {
"$ref": "#/components/schemas/AdyenSplitData"
}
}
}
]
],
"description": "Fee information for Split Payments to be charged on the payment being collected"
},
"SplitRefund": {
"oneOf": [
Expand All @@ -19801,6 +19890,17 @@
"$ref": "#/components/schemas/StripeSplitRefundRequest"
}
}
},
{
"type": "object",
"required": [
"adyen_split_refund"
],
"properties": {
"adyen_split_refund": {
"$ref": "#/components/schemas/AdyenSplitData"
}
}
}
],
"description": "Charge specific fields for controlling the revert of funds from either platform or connected account. Check sub-fields for more details."
Expand Down Expand Up @@ -19875,66 +19975,67 @@
"propertyName": "type"
}
},
"StripeChargeType": {
"type": "string",
"enum": [
"direct",
"destination"
]
},
"StripeSplitPaymentRequest": {
"StripeChargeResponseData": {
"type": "object",
"description": "Fee information for Split Payments to be charged on the payment being collected for Stripe",
"description": "Fee information to be charged on the payment being collected via Stripe",
"required": [
"charge_type",
"application_fees",
"transfer_account_id"
],
"properties": {
"charge_id": {
"type": "string",
"description": "Identifier for charge created for the payment",
"nullable": true
},
"charge_type": {
"$ref": "#/components/schemas/PaymentChargeType"
},
"application_fees": {
"type": "integer",
"format": "int64",
"description": "Platform fees to be collected on the payment",
"description": "Platform fees collected on the payment",
"example": 6540
},
"transfer_account_id": {
"type": "string",
"description": "Identifier for the reseller's account to send the funds to"
"description": "Identifier for the reseller's account where the funds were transferred"
}
},
"additionalProperties": false
},
"StripeSplitPaymentsResponse": {
"StripeChargeType": {
"type": "string",
"enum": [
"direct",
"destination"
]
},
"StripeSplitPaymentRequest": {
"type": "object",
"description": "Fee information to be charged on the payment being collected",
"description": "Fee information for Split Payments to be charged on the payment being collected for Stripe",
"required": [
"charge_type",
"application_fees",
"transfer_account_id"
],
"properties": {
"charge_id": {
"type": "string",
"description": "Identifier for charge created for the payment",
"nullable": true
},
"charge_type": {
"$ref": "#/components/schemas/PaymentChargeType"
},
"application_fees": {
"type": "integer",
"format": "int64",
"description": "Platform fees collected on the payment",
"description": "Platform fees to be collected on the payment",
"example": 6540
},
"transfer_account_id": {
"type": "string",
"description": "Identifier for the reseller's account where the funds were transferred"
}
}
},
"additionalProperties": false
},
"StripeSplitRefundRequest": {
"type": "object",
Expand Down
Loading

0 comments on commit 644a8e5

Please sign in to comment.