Skip to content

Commit 1c3a43d

Browse files
Sayak BhattacharyaSayak Bhattacharya
authored andcommitted
Merge remote-tracking branch 'origin/main' into orderId/fix/nexixpay
2 parents 1dc3135 + 5f7055f commit 1c3a43d

File tree

97 files changed

+4394
-1966
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+4394
-1966
lines changed

.github/CODEOWNERS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ crates/router/src/routes/ @juspay/hyperswitch-framework
2020
migrations/ @juspay/hyperswitch-framework
2121
v2_migrations/ @juspay/hyperswitch-framework
2222
api-reference/ @juspay/hyperswitch-framework
23-
api-reference-v2/ @juspay/hyperswitch-framework
2423
Cargo.toml @juspay/hyperswitch-framework
2524
Cargo.lock @juspay/hyperswitch-framework
2625

.github/workflows/pr-convention-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ jobs:
158158
migration_and_schema_changes='true'
159159
fi
160160
161-
if echo "${files_changed}" | grep --quiet --extended-regexp '^(api-reference|api-reference-v2)/openapi_spec.json$'; then
161+
if echo "${files_changed}" | grep --quiet --extended-regexp '^api-reference/(v1/openapi_spec_v1\.json|v2/openapi_spec_v2\.json)$'; then
162162
openapi_changes='true'
163163
fi
164164

CHANGELOG.md

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,87 @@ All notable changes to HyperSwitch will be documented here.
44

55
- - -
66

7+
## 2025.06.19.0
8+
9+
### Bug Fixes
10+
11+
- **connector:** [STRIPE] Retrieving Connect Account Id from Mandate Metadata in MITs ([#8326](https://github.com/juspay/hyperswitch/pull/8326)) ([`17c30b6`](https://github.com/juspay/hyperswitch/commit/17c30b6105d9086585edac0c89432b1f4568c3de))
12+
- **router:** Move Customer PML endpoint to OLAP (v2) ([#8303](https://github.com/juspay/hyperswitch/pull/8303)) ([`aee3f64`](https://github.com/juspay/hyperswitch/commit/aee3f6441f83d0641f0f38be79d4790303271d92))
13+
14+
**Full Changelog:** [`2025.06.18.0...2025.06.19.0`](https://github.com/juspay/hyperswitch/compare/2025.06.18.0...2025.06.19.0)
15+
16+
- - -
17+
18+
## 2025.06.18.0
19+
20+
### Features
21+
22+
- **core:** Accept merchant_connector_details in Payments and Psync flow ([#8199](https://github.com/juspay/hyperswitch/pull/8199)) ([`b8b1960`](https://github.com/juspay/hyperswitch/commit/b8b19605d83b94d248bb68a3fc7d83e22187a5b1))
23+
- **payment_methods:** Populate connector_customer during customer creation step in payment methods migrate flow ([#8319](https://github.com/juspay/hyperswitch/pull/8319)) ([`3899ddd`](https://github.com/juspay/hyperswitch/commit/3899ddd52941aa6ba756f9a00b078245d7b47532))
24+
25+
### Bug Fixes
26+
27+
- **connector:** [ARCHIPEL] Make card_holder_name as none if cardholder field is none ([#8359](https://github.com/juspay/hyperswitch/pull/8359)) ([`7f6f4c4`](https://github.com/juspay/hyperswitch/commit/7f6f4c47fe0610196b19ce730a0cfd0da405d775))
28+
29+
### Refactors
30+
31+
- **routing:** Routing events core refactor ([#8323](https://github.com/juspay/hyperswitch/pull/8323)) ([`4d36be8`](https://github.com/juspay/hyperswitch/commit/4d36be87ec090ae57f8568d33c99cc1108ecc2b8))
32+
33+
**Full Changelog:** [`2025.06.17.0...2025.06.18.0`](https://github.com/juspay/hyperswitch/compare/2025.06.17.0...2025.06.18.0)
34+
35+
- - -
36+
37+
## 2025.06.17.0
38+
39+
### Features
40+
41+
- **core:**
42+
- Fix Wasm changes for Tokenio Open Banking ([#8347](https://github.com/juspay/hyperswitch/pull/8347)) ([`800c5e6`](https://github.com/juspay/hyperswitch/commit/800c5e68dad47425c4d527f4362cef8557cb2953))
43+
- Consume card details from billing connectors and first error codes and store them in payment intent table ([#8250](https://github.com/juspay/hyperswitch/pull/8250)) ([`abe9708`](https://github.com/juspay/hyperswitch/commit/abe9708d1c078b830de439ab54d17fa7340fbef5))
44+
- **router:** Add retry support for debit routing ([#8220](https://github.com/juspay/hyperswitch/pull/8220)) ([`b5b7cfa`](https://github.com/juspay/hyperswitch/commit/b5b7cfafcf7602f7e9be46914514adf16a4ee83d))
45+
- Add nix shell environments ([#8329](https://github.com/juspay/hyperswitch/pull/8329)) ([`e3233c6`](https://github.com/juspay/hyperswitch/commit/e3233c67fc0194f3e487be97f84a7be83408ac16))
46+
47+
### Bug Fixes
48+
49+
- **ci:** Update api-reference path in pr_labeler job ([#8344](https://github.com/juspay/hyperswitch/pull/8344)) ([`0eab55d`](https://github.com/juspay/hyperswitch/commit/0eab55d17aef3caa160878bc9b2be29deb37711d))
50+
- Correct error for env not found ([#8320](https://github.com/juspay/hyperswitch/pull/8320)) ([`71bed12`](https://github.com/juspay/hyperswitch/commit/71bed12edce154b65f5cdd48270af8b4b1234ad9))
51+
52+
### Refactors
53+
54+
- Add compatibility for decision-engine rules ([#8346](https://github.com/juspay/hyperswitch/pull/8346)) ([`1ed2f21`](https://github.com/juspay/hyperswitch/commit/1ed2f210b2fec95696b98cfbe67c620c8fe716ff))
55+
56+
**Full Changelog:** [`2025.06.16.0...2025.06.17.0`](https://github.com/juspay/hyperswitch/compare/2025.06.16.0...2025.06.17.0)
57+
58+
- - -
59+
60+
## 2025.06.16.0
61+
62+
### Features
63+
64+
- **connector:** [trustpay] introduce instant bank_transfer, finland and poland ([#7925](https://github.com/juspay/hyperswitch/pull/7925)) ([`61c2e2c`](https://github.com/juspay/hyperswitch/commit/61c2e2c75fabdb03c5599df97240a030cb7b5b6a))
65+
- Migration api for migrating routing rules to decision_engine ([#8233](https://github.com/juspay/hyperswitch/pull/8233)) ([`9045eb5`](https://github.com/juspay/hyperswitch/commit/9045eb5b65c21ee0c9746ee591b5f00bbce3b890))
66+
67+
### Bug Fixes
68+
69+
- **connector:** [ARCHIPEL] Change connector fields that are currently implemented as required in the code to optional ([#8342](https://github.com/juspay/hyperswitch/pull/8342)) ([`cfd0b07`](https://github.com/juspay/hyperswitch/commit/cfd0b0795e8d33f4d963861c22e1ba9ceba7c716))
70+
- **postman:** Fix `stripe` test cases failures ([#8339](https://github.com/juspay/hyperswitch/pull/8339)) ([`535a927`](https://github.com/juspay/hyperswitch/commit/535a927e426f90bb6334e949d3f03fd1d190b714))
71+
72+
### Refactors
73+
74+
- **dynamic_routing:** Add support for shuffle on tie flag to success_based routing ([#8241](https://github.com/juspay/hyperswitch/pull/8241)) ([`c72d365`](https://github.com/juspay/hyperswitch/commit/c72d365fdeac13e3aa65b4c3d1f876b9c419168e))
75+
76+
### Documentation
77+
78+
- **openapi:** Show API version selection dropdown in Mintlify ([#8333](https://github.com/juspay/hyperswitch/pull/8333)) ([`ce85b83`](https://github.com/juspay/hyperswitch/commit/ce85b838f49d616335462e701e93ded2c6c58936))
79+
80+
### Miscellaneous Tasks
81+
82+
- **postman:** Update Postman collection files ([`94c32c8`](https://github.com/juspay/hyperswitch/commit/94c32c8e546134666eb98b3d5546152c1613ea5a))
83+
84+
**Full Changelog:** [`2025.06.13.0...2025.06.16.0`](https://github.com/juspay/hyperswitch/compare/2025.06.13.0...2025.06.16.0)
85+
86+
- - -
87+
788
## 2025.06.13.0
889

990
### Features

api-reference/v2/openapi_spec_v2.json

Lines changed: 138 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6780,6 +6780,23 @@
67806780
}
67816781
}
67826782
},
6783+
"BillingConnectorAdditionalCardInfo": {
6784+
"type": "object",
6785+
"required": [
6786+
"card_network"
6787+
],
6788+
"properties": {
6789+
"card_network": {
6790+
"$ref": "#/components/schemas/CardNetwork"
6791+
},
6792+
"card_issuer": {
6793+
"type": "string",
6794+
"description": "Card Issuer",
6795+
"example": "JP MORGAN CHASE",
6796+
"nullable": true
6797+
}
6798+
}
6799+
},
67836800
"BillingConnectorPaymentDetails": {
67846801
"type": "object",
67856802
"required": [
@@ -6797,6 +6814,31 @@
67976814
}
67986815
}
67996816
},
6817+
"BillingConnectorPaymentMethodDetails": {
6818+
"oneOf": [
6819+
{
6820+
"type": "object",
6821+
"required": [
6822+
"type",
6823+
"value"
6824+
],
6825+
"properties": {
6826+
"type": {
6827+
"type": "string",
6828+
"enum": [
6829+
"card"
6830+
]
6831+
},
6832+
"value": {
6833+
"$ref": "#/components/schemas/BillingConnectorAdditionalCardInfo"
6834+
}
6835+
}
6836+
}
6837+
],
6838+
"discriminator": {
6839+
"propertyName": "type"
6840+
}
6841+
},
68006842
"BlikBankRedirectAdditionalData": {
68016843
"type": "object",
68026844
"properties": {
@@ -13400,16 +13442,17 @@
1340013442
},
1340113443
"MerchantConnectorDetails": {
1340213444
"type": "object",
13445+
"required": [
13446+
"connector_name",
13447+
"merchant_connector_creds"
13448+
],
1340313449
"properties": {
13404-
"connector_account_details": {
13405-
"type": "object",
13406-
"description": "Account details of the Connector. You can specify up to 50 keys, with key names up to 40 characters long and values up to 500 characters long. Useful for storing additional, structured information on an object.",
13407-
"nullable": true
13450+
"connector_name": {
13451+
"$ref": "#/components/schemas/Connector"
1340813452
},
13409-
"metadata": {
13453+
"merchant_connector_creds": {
1341013454
"type": "object",
13411-
"description": "Metadata is useful for storing additional, unstructured information on an object.",
13412-
"nullable": true
13455+
"description": "The merchant connector credentials used for the payment"
1341313456
}
1341413457
}
1341513458
},
@@ -17854,7 +17897,8 @@
1785417897
"billing_connector_payment_details",
1785517898
"payment_method_type",
1785617899
"payment_method_subtype",
17857-
"connector"
17900+
"connector",
17901+
"billing_connector_payment_method_details"
1785817902
],
1785917903
"properties": {
1786017904
"total_retry_count": {
@@ -17894,11 +17938,32 @@
1789417938
"connector": {
1789517939
"$ref": "#/components/schemas/Connector"
1789617940
},
17941+
"billing_connector_payment_method_details": {
17942+
"$ref": "#/components/schemas/BillingConnectorPaymentMethodDetails"
17943+
},
1789717944
"invoice_next_billing_time": {
1789817945
"type": "string",
1789917946
"format": "date-time",
1790017947
"description": "Invoice Next billing time",
1790117948
"nullable": true
17949+
},
17950+
"first_payment_attempt_pg_error_code": {
17951+
"type": "string",
17952+
"description": "First Payment Attempt Payment Gateway Error Code",
17953+
"example": "card_declined",
17954+
"nullable": true
17955+
},
17956+
"first_payment_attempt_network_decline_code": {
17957+
"type": "string",
17958+
"description": "First Payment Attempt Network Error Code",
17959+
"example": "05",
17960+
"nullable": true
17961+
},
17962+
"first_payment_attempt_network_advice_code": {
17963+
"type": "string",
17964+
"description": "First Payment Attempt Network Advice Code",
17965+
"example": "02",
17966+
"nullable": true
1790217967
}
1790317968
}
1790417969
},
@@ -18027,6 +18092,14 @@
1802718092
"type": "string",
1802818093
"example": "187282ab-40ef-47a9-9206-5099ba31e432",
1802918094
"nullable": true
18095+
},
18096+
"merchant_connector_details": {
18097+
"allOf": [
18098+
{
18099+
"$ref": "#/components/schemas/MerchantConnectorDetails"
18100+
}
18101+
],
18102+
"nullable": true
1803018103
}
1803118104
},
1803218105
"additionalProperties": false
@@ -18224,6 +18297,14 @@
1822418297
"type": "boolean",
1822518298
"description": "Indicates if 3ds challenge is forced",
1822618299
"nullable": true
18300+
},
18301+
"merchant_connector_details": {
18302+
"allOf": [
18303+
{
18304+
"$ref": "#/components/schemas/MerchantConnectorDetails"
18305+
}
18306+
],
18307+
"nullable": true
1822718308
}
1822818309
},
1822918310
"additionalProperties": false
@@ -19010,6 +19091,14 @@
1901019091
"type": "boolean",
1901119092
"description": "Indicates if the redirection has to open in the iframe",
1901219093
"nullable": true
19094+
},
19095+
"merchant_connector_details": {
19096+
"allOf": [
19097+
{
19098+
"$ref": "#/components/schemas/MerchantConnectorDetails"
19099+
}
19100+
],
19101+
"nullable": true
1901319102
}
1901419103
},
1901519104
"additionalProperties": false
@@ -19186,12 +19275,20 @@
1918619275
"type": "boolean",
1918719276
"description": "Indicates if the redirection has to open in the iframe",
1918819277
"nullable": true
19278+
},
19279+
"merchant_reference_id": {
19280+
"type": "string",
19281+
"description": "Unique identifier for the payment. This ensures idempotency for multiple payments\nthat have been done by a single merchant.",
19282+
"example": "pay_mbabizu24mvu3mela5njyhpit4",
19283+
"nullable": true,
19284+
"maxLength": 30,
19285+
"minLength": 30
1918919286
}
1919019287
}
1919119288
},
1919219289
"PaymentsRetrieveRequest": {
1919319290
"type": "object",
19194-
"description": "Request for Payment Status",
19291+
"description": "Request body for Payment Status",
1919519292
"properties": {
1919619293
"force_sync": {
1919719294
"type": "boolean",
@@ -19210,6 +19307,14 @@
1921019307
"type": "boolean",
1921119308
"description": "If enabled, provides whole connector response",
1921219309
"nullable": true
19310+
},
19311+
"merchant_connector_details": {
19312+
"allOf": [
19313+
{
19314+
"$ref": "#/components/schemas/MerchantConnectorDetails"
19315+
}
19316+
],
19317+
"nullable": true
1921319318
}
1921419319
}
1921519320
},
@@ -19244,6 +19349,30 @@
1924419349
}
1924519350
}
1924619351
},
19352+
"PaymentsStatusRequest": {
19353+
"type": "object",
19354+
"description": "Request for Payment Status",
19355+
"properties": {
19356+
"force_sync": {
19357+
"type": "boolean",
19358+
"description": "A boolean used to indicate if the payment status should be fetched from the connector\nIf this is set to true, the status will be fetched from the connector"
19359+
},
19360+
"expand_attempts": {
19361+
"type": "boolean",
19362+
"description": "A boolean used to indicate if all the attempts needs to be fetched for the intent.\nIf this is set to true, attempts list will be available in the response."
19363+
},
19364+
"param": {
19365+
"type": "string",
19366+
"description": "These are the query params that are sent in case of redirect response.\nThese can be ingested by the connector to take necessary actions.",
19367+
"nullable": true
19368+
},
19369+
"all_keys_required": {
19370+
"type": "boolean",
19371+
"description": "If enabled, provides whole connector response",
19372+
"nullable": true
19373+
}
19374+
}
19375+
},
1924719376
"PaymentsUpdateIntentRequest": {
1924819377
"type": "object",
1924919378
"properties": {

config/config.example.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ wellsfargopayout.base_url = "https://api-sandbox.wellsfargo.com/"
297297
wise.base_url = "https://api.sandbox.transferwise.tech/"
298298
worldline.base_url = "https://eu.sandbox.api-ingenico.com/"
299299
worldpay.base_url = "https://try.access.worldpay.com/"
300-
worldpayvantiv.base_url = "https://payments.vantivprelive.com/vap/communicator/online"
300+
worldpayvantiv.base_url = "https://transact.vantivprelive.com/vap/communicator/online"
301301
worldpayxml.base_url = "https://secure-test.worldpay.com/jsp/merchant/xml/paymentService.jsp"
302302
xendit.base_url = "https://api.xendit.co"
303303
zsl.base_url = "https://api.sitoffalb.net/"

config/deployments/integration_test.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ wellsfargopayout.base_url = "https://api-sandbox.wellsfargo.com/"
132132
wise.base_url = "https://api.sandbox.transferwise.tech/"
133133
worldline.base_url = "https://eu.sandbox.api-ingenico.com/"
134134
worldpay.base_url = "https://try.access.worldpay.com/"
135-
worldpayvantiv.base_url = "https://payments.vantivprelive.com/vap/communicator/online"
135+
worldpayvantiv.base_url = "https://transact.vantivprelive.com/vap/communicator/online"
136136
worldpayxml.base_url = "https://secure-test.worldpay.com/jsp/merchant/xml/paymentService.jsp"
137137
xendit.base_url = "https://api.xendit.co"
138138
zen.base_url = "https://api.zen-test.com/"

config/deployments/production.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ wellsfargopayout.base_url = "https://api.wellsfargo.com/"
136136
wise.base_url = "https://api.wise.com/"
137137
worldline.base_url = "https://eu.api-ingenico.com/"
138138
worldpay.base_url = "https://access.worldpay.com/"
139-
worldpayvantiv.base_url = "https://payments.vantivcnp.com/vap/communicator/online"
139+
worldpayvantiv.base_url = "https://transact.vantivcnp.com/vap/communicator/online"
140140
worldpayxml.base_url = "https://secure.worldpay.com/jsp/merchant/xml/paymentService.jsp"
141141
xendit.base_url = "https://api.xendit.co"
142142
zen.base_url = "https://api.zen.com/"

config/deployments/sandbox.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ wellsfargopayout.base_url = "https://api-sandbox.wellsfargo.com/"
136136
wise.base_url = "https://api.sandbox.transferwise.tech/"
137137
worldline.base_url = "https://eu.sandbox.api-ingenico.com/"
138138
worldpay.base_url = "https://try.access.worldpay.com/"
139-
worldpayvantiv.base_url = "https://payments.vantivprelive.com/vap/communicator/online"
139+
worldpayvantiv.base_url = "https://transact.vantivprelive.com/vap/communicator/online"
140140
worldpayxml.base_url = "https://secure-test.worldpay.com/jsp/merchant/xml/paymentService.jsp"
141141
xendit.base_url = "https://api.xendit.co"
142142
zen.base_url = "https://api.zen-test.com/"

config/development.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ stripe.base_url_file_upload = "https://files.stripe.com/"
321321
wise.base_url = "https://api.sandbox.transferwise.tech/"
322322
worldline.base_url = "https://eu.sandbox.api-ingenico.com/"
323323
worldpay.base_url = "https://try.access.worldpay.com/"
324-
worldpayvantiv.base_url = "https://payments.vantivprelive.com/vap/communicator/online"
324+
worldpayvantiv.base_url = "https://transact.vantivprelive.com/vap/communicator/online"
325325
worldpayxml.base_url = "https://secure-test.worldpay.com/jsp/merchant/xml/paymentService.jsp"
326326
xendit.base_url = "https://api.xendit.co"
327327
trustpay.base_url = "https://test-tpgw.trustpay.eu/"

config/docker_compose.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ wellsfargopayout.base_url = "https://api-sandbox.wellsfargo.com/"
223223
wise.base_url = "https://api.sandbox.transferwise.tech/"
224224
worldline.base_url = "https://eu.sandbox.api-ingenico.com/"
225225
worldpay.base_url = "https://try.access.worldpay.com/"
226-
worldpayvantiv.base_url = "https://payments.vantivprelive.com/vap/communicator/online"
226+
worldpayvantiv.base_url = "https://transact.vantivprelive.com/vap/communicator/online"
227227
worldpayxml.base_url = "https://secure-test.worldpay.com/jsp/merchant/xml/paymentService.jsp"
228228
xendit.base_url = "https://api.xendit.co"
229229
zen.base_url = "https://api.zen-test.com/"

0 commit comments

Comments
 (0)