Skip to content

Commit d81fcdb

Browse files
committed
Merge branch 'main' of github.com:juspay/hyperswitch into add-auto-retry
* 'main' of github.com:juspay/hyperswitch: feat(customer_v2): added list customer v2 end point (#5517) feat(business_profile): add tax_connector_id column in business_profile table (#5576) chore: create v2 route for organization (#5679) refactor(payments_response): remove setter from payments response (#5676) feat(payment_methods_v2): Payment methods v2 API models (#5564) chore(version): 2024.08.26.0
2 parents 7cb1b17 + 8b4d096 commit d81fcdb

File tree

52 files changed

+2452
-532
lines changed

Some content is hidden

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

52 files changed

+2452
-532
lines changed

CHANGELOG.md

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

55
- - -
66

7+
## 2024.08.26.0
8+
9+
### Features
10+
11+
- **connector:** [Adyen] add dispute flows for adyen connector ([#5514](https://github.com/juspay/hyperswitch/pull/5514)) ([`ad9f91b`](https://github.com/juspay/hyperswitch/commit/ad9f91b37cc39c8fb594b48ac60c5e945a0f561f))
12+
13+
**Full Changelog:** [`2024.08.23.0...2024.08.26.0`](https://github.com/juspay/hyperswitch/compare/2024.08.23.0...2024.08.26.0)
14+
15+
- - -
16+
717
## 2024.08.23.0
818

919
### Features
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
openapi: post /v2/organization
3+
---
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
openapi: get /v2/organization/{organization_id}
3+
---
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
openapi: put /v2/organization/{organization_id}
3+
---

api-reference-v2/mint.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@
3434
"essentials/go-live"
3535
]
3636
},
37+
{
38+
"group": "Organization",
39+
"pages": [
40+
"api-reference/organization/organization--create",
41+
"api-reference/organization/organization--retrieve",
42+
"api-reference/organization/organization--update"
43+
]
44+
},
3745
{
3846
"group": "Merchant Account",
3947
"pages": [

api-reference-v2/openapi_spec.json

Lines changed: 30 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
}
2121
],
2222
"paths": {
23-
"/organization": {
23+
"/v2/organization": {
2424
"post": {
2525
"tags": [
2626
"Organization"
@@ -67,7 +67,7 @@
6767
]
6868
}
6969
},
70-
"/organization/{organization_id}": {
70+
"/v2/organization/{organization_id}": {
7171
"get": {
7272
"tags": [
7373
"Organization"
@@ -3105,6 +3105,15 @@
31053105
"type": "object",
31063106
"description": "These key-value pairs are sent as additional custom headers in the outgoing webhook request. It is recommended not to use more than four key-value pairs.",
31073107
"nullable": true
3108+
},
3109+
"tax_connector_id": {
3110+
"type": "string",
3111+
"description": "Merchant Connector id to be stored for tax_calculator connector",
3112+
"nullable": true
3113+
},
3114+
"is_tax_connector_enabled": {
3115+
"type": "boolean",
3116+
"description": "Indicates if tax_calculator connector is enabled or not.\nIf set to `true` tax_connector_id will be checked."
31083117
}
31093118
},
31103119
"additionalProperties": false
@@ -3116,7 +3125,8 @@
31163125
"id",
31173126
"profile_name",
31183127
"enable_payment_response_hash",
3119-
"redirect_to_merchant_with_http_post"
3128+
"redirect_to_merchant_with_http_post",
3129+
"is_tax_connector_enabled"
31203130
],
31213131
"properties": {
31223132
"merchant_id": {
@@ -3277,6 +3287,15 @@
32773287
}
32783288
],
32793289
"nullable": true
3290+
},
3291+
"tax_connector_id": {
3292+
"type": "string",
3293+
"description": "Merchant Connector id to be stored for tax_calculator connector",
3294+
"nullable": true
3295+
},
3296+
"is_tax_connector_enabled": {
3297+
"type": "boolean",
3298+
"description": "Indicates if tax_calculator connector is enabled or not.\nIf set to `true` tax_connector_id will be checked."
32803299
}
32813300
}
32823301
},
@@ -10283,17 +10302,6 @@
1028310302
}
1028410303
}
1028510304
},
10286-
{
10287-
"type": "object",
10288-
"required": [
10289-
"paypal"
10290-
],
10291-
"properties": {
10292-
"paypal": {
10293-
"type": "object"
10294-
}
10295-
}
10296-
},
1029710305
{
1029810306
"type": "object",
1029910307
"required": [
@@ -11723,11 +11731,12 @@
1172311731
"PaymentsCreateResponseOpenApi": {
1172411732
"type": "object",
1172511733
"required": [
11734+
"payment_id",
11735+
"merchant_id",
1172611736
"status",
1172711737
"amount",
1172811738
"net_amount",
1172911739
"amount_capturable",
11730-
"amount_received",
1173111740
"currency",
1173211741
"payment_method",
1173311742
"attempt_count"
@@ -11737,15 +11746,13 @@
1173711746
"type": "string",
1173811747
"description": "Unique identifier for the payment. This ensures idempotency for multiple payments\nthat have been done by a single merchant.",
1173911748
"example": "pay_mbabizu24mvu3mela5njyhpit4",
11740-
"nullable": true,
1174111749
"maxLength": 30,
1174211750
"minLength": 30
1174311751
},
1174411752
"merchant_id": {
1174511753
"type": "string",
1174611754
"description": "This is an identifier for the merchant account. This is inferred from the API key\nprovided during the request",
1174711755
"example": "merchant_1668273825",
11748-
"nullable": true,
1174911756
"maxLength": 255
1175011757
},
1175111758
"status": {
@@ -11779,7 +11786,8 @@
1177911786
"type": "integer",
1178011787
"format": "int64",
1178111788
"description": "The amount which is already captured from the payment, this helps in the cases where merchants can't capture all capturable amount at once.",
11782-
"example": 6540
11789+
"example": 6540,
11790+
"nullable": true
1178311791
},
1178411792
"connector": {
1178511793
"type": "string",
@@ -12776,11 +12784,12 @@
1277612784
"PaymentsResponse": {
1277712785
"type": "object",
1277812786
"required": [
12787+
"payment_id",
12788+
"merchant_id",
1277912789
"status",
1278012790
"amount",
1278112791
"net_amount",
1278212792
"amount_capturable",
12783-
"amount_received",
1278412793
"currency",
1278512794
"payment_method",
1278612795
"attempt_count"
@@ -12790,15 +12799,13 @@
1279012799
"type": "string",
1279112800
"description": "Unique identifier for the payment. This ensures idempotency for multiple payments\nthat have been done by a single merchant.",
1279212801
"example": "pay_mbabizu24mvu3mela5njyhpit4",
12793-
"nullable": true,
1279412802
"maxLength": 30,
1279512803
"minLength": 30
1279612804
},
1279712805
"merchant_id": {
1279812806
"type": "string",
1279912807
"description": "This is an identifier for the merchant account. This is inferred from the API key\nprovided during the request",
1280012808
"example": "merchant_1668273825",
12801-
"nullable": true,
1280212809
"maxLength": 255
1280312810
},
1280412811
"status": {
@@ -12832,7 +12839,8 @@
1283212839
"type": "integer",
1283312840
"format": "int64",
1283412841
"description": "The amount which is already captured from the payment, this helps in the cases where merchants can't capture all capturable amount at once.",
12835-
"example": 6540
12842+
"example": 6540,
12843+
"nullable": true
1283612844
},
1283712845
"connector": {
1283812846
"type": "string",

api-reference/openapi_spec.json

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7334,6 +7334,15 @@
73347334
"type": "object",
73357335
"description": "These key-value pairs are sent as additional custom headers in the outgoing webhook request. It is recommended not to use more than four key-value pairs.",
73367336
"nullable": true
7337+
},
7338+
"tax_connector_id": {
7339+
"type": "string",
7340+
"description": "Merchant Connector id to be stored for tax_calculator connector",
7341+
"nullable": true
7342+
},
7343+
"is_tax_connector_enabled": {
7344+
"type": "boolean",
7345+
"description": "Indicates if tax_calculator connector is enabled or not.\nIf set to `true` tax_connector_id will be checked."
73377346
}
73387347
},
73397348
"additionalProperties": false
@@ -7345,7 +7354,8 @@
73457354
"profile_id",
73467355
"profile_name",
73477356
"enable_payment_response_hash",
7348-
"redirect_to_merchant_with_http_post"
7357+
"redirect_to_merchant_with_http_post",
7358+
"is_tax_connector_enabled"
73497359
],
73507360
"properties": {
73517361
"merchant_id": {
@@ -7515,6 +7525,15 @@
75157525
"type": "object",
75167526
"description": "These key-value pairs are sent as additional custom headers in the outgoing webhook request.",
75177527
"nullable": true
7528+
},
7529+
"tax_connector_id": {
7530+
"type": "string",
7531+
"description": "Merchant Connector id to be stored for tax_calculator connector",
7532+
"nullable": true
7533+
},
7534+
"is_tax_connector_enabled": {
7535+
"type": "boolean",
7536+
"description": "Indicates if tax_calculator connector is enabled or not.\nIf set to `true` tax_connector_id will be checked."
75187537
}
75197538
}
75207539
},
@@ -16292,11 +16311,12 @@
1629216311
"PaymentsCreateResponseOpenApi": {
1629316312
"type": "object",
1629416313
"required": [
16314+
"payment_id",
16315+
"merchant_id",
1629516316
"status",
1629616317
"amount",
1629716318
"net_amount",
1629816319
"amount_capturable",
16299-
"amount_received",
1630016320
"currency",
1630116321
"payment_method",
1630216322
"attempt_count"
@@ -16306,15 +16326,13 @@
1630616326
"type": "string",
1630716327
"description": "Unique identifier for the payment. This ensures idempotency for multiple payments\nthat have been done by a single merchant.",
1630816328
"example": "pay_mbabizu24mvu3mela5njyhpit4",
16309-
"nullable": true,
1631016329
"maxLength": 30,
1631116330
"minLength": 30
1631216331
},
1631316332
"merchant_id": {
1631416333
"type": "string",
1631516334
"description": "This is an identifier for the merchant account. This is inferred from the API key\nprovided during the request",
1631616335
"example": "merchant_1668273825",
16317-
"nullable": true,
1631816336
"maxLength": 255
1631916337
},
1632016338
"status": {
@@ -16348,7 +16366,8 @@
1634816366
"type": "integer",
1634916367
"format": "int64",
1635016368
"description": "The amount which is already captured from the payment, this helps in the cases where merchants can't capture all capturable amount at once.",
16351-
"example": 6540
16369+
"example": 6540,
16370+
"nullable": true
1635216371
},
1635316372
"connector": {
1635416373
"type": "string",
@@ -17345,11 +17364,12 @@
1734517364
"PaymentsResponse": {
1734617365
"type": "object",
1734717366
"required": [
17367+
"payment_id",
17368+
"merchant_id",
1734817369
"status",
1734917370
"amount",
1735017371
"net_amount",
1735117372
"amount_capturable",
17352-
"amount_received",
1735317373
"currency",
1735417374
"payment_method",
1735517375
"attempt_count"
@@ -17359,15 +17379,13 @@
1735917379
"type": "string",
1736017380
"description": "Unique identifier for the payment. This ensures idempotency for multiple payments\nthat have been done by a single merchant.",
1736117381
"example": "pay_mbabizu24mvu3mela5njyhpit4",
17362-
"nullable": true,
1736317382
"maxLength": 30,
1736417383
"minLength": 30
1736517384
},
1736617385
"merchant_id": {
1736717386
"type": "string",
1736817387
"description": "This is an identifier for the merchant account. This is inferred from the API key\nprovided during the request",
1736917388
"example": "merchant_1668273825",
17370-
"nullable": true,
1737117389
"maxLength": 255
1737217390
},
1737317391
"status": {
@@ -17401,7 +17419,8 @@
1740117419
"type": "integer",
1740217420
"format": "int64",
1740317421
"description": "The amount which is already captured from the payment, this helps in the cases where merchants can't capture all capturable amount at once.",
17404-
"example": 6540
17422+
"example": 6540,
17423+
"nullable": true
1740517424
},
1740617425
"connector": {
1740717426
"type": "string",

0 commit comments

Comments
 (0)