Skip to content

Commit

Permalink
Merge branch 'main' of github.com:juspay/hyperswitch into add-auto-retry
Browse files Browse the repository at this point in the history
* '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
  • Loading branch information
pixincreate committed Aug 26, 2024
2 parents 7cb1b17 + 8b4d096 commit d81fcdb
Show file tree
Hide file tree
Showing 52 changed files with 2,452 additions and 532 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ All notable changes to HyperSwitch will be documented here.

- - -

## 2024.08.26.0

### Features

- **connector:** [Adyen] add dispute flows for adyen connector ([#5514](https://github.com/juspay/hyperswitch/pull/5514)) ([`ad9f91b`](https://github.com/juspay/hyperswitch/commit/ad9f91b37cc39c8fb594b48ac60c5e945a0f561f))

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

- - -

## 2024.08.23.0

### Features
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
openapi: post /v2/organization
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
openapi: get /v2/organization/{organization_id}
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
openapi: put /v2/organization/{organization_id}
---
8 changes: 8 additions & 0 deletions api-reference-v2/mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@
"essentials/go-live"
]
},
{
"group": "Organization",
"pages": [
"api-reference/organization/organization--create",
"api-reference/organization/organization--retrieve",
"api-reference/organization/organization--update"
]
},
{
"group": "Merchant Account",
"pages": [
Expand Down
52 changes: 30 additions & 22 deletions api-reference-v2/openapi_spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
],
"paths": {
"/organization": {
"/v2/organization": {
"post": {
"tags": [
"Organization"
Expand Down Expand Up @@ -67,7 +67,7 @@
]
}
},
"/organization/{organization_id}": {
"/v2/organization/{organization_id}": {
"get": {
"tags": [
"Organization"
Expand Down Expand Up @@ -3105,6 +3105,15 @@
"type": "object",
"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.",
"nullable": true
},
"tax_connector_id": {
"type": "string",
"description": "Merchant Connector id to be stored for tax_calculator connector",
"nullable": true
},
"is_tax_connector_enabled": {
"type": "boolean",
"description": "Indicates if tax_calculator connector is enabled or not.\nIf set to `true` tax_connector_id will be checked."
}
},
"additionalProperties": false
Expand All @@ -3116,7 +3125,8 @@
"id",
"profile_name",
"enable_payment_response_hash",
"redirect_to_merchant_with_http_post"
"redirect_to_merchant_with_http_post",
"is_tax_connector_enabled"
],
"properties": {
"merchant_id": {
Expand Down Expand Up @@ -3277,6 +3287,15 @@
}
],
"nullable": true
},
"tax_connector_id": {
"type": "string",
"description": "Merchant Connector id to be stored for tax_calculator connector",
"nullable": true
},
"is_tax_connector_enabled": {
"type": "boolean",
"description": "Indicates if tax_calculator connector is enabled or not.\nIf set to `true` tax_connector_id will be checked."
}
}
},
Expand Down Expand Up @@ -10283,17 +10302,6 @@
}
}
},
{
"type": "object",
"required": [
"paypal"
],
"properties": {
"paypal": {
"type": "object"
}
}
},
{
"type": "object",
"required": [
Expand Down Expand Up @@ -11723,11 +11731,12 @@
"PaymentsCreateResponseOpenApi": {
"type": "object",
"required": [
"payment_id",
"merchant_id",
"status",
"amount",
"net_amount",
"amount_capturable",
"amount_received",
"currency",
"payment_method",
"attempt_count"
Expand All @@ -11737,15 +11746,13 @@
"type": "string",
"description": "Unique identifier for the payment. This ensures idempotency for multiple payments\nthat have been done by a single merchant.",
"example": "pay_mbabizu24mvu3mela5njyhpit4",
"nullable": true,
"maxLength": 30,
"minLength": 30
},
"merchant_id": {
"type": "string",
"description": "This is an identifier for the merchant account. This is inferred from the API key\nprovided during the request",
"example": "merchant_1668273825",
"nullable": true,
"maxLength": 255
},
"status": {
Expand Down Expand Up @@ -11779,7 +11786,8 @@
"type": "integer",
"format": "int64",
"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.",
"example": 6540
"example": 6540,
"nullable": true
},
"connector": {
"type": "string",
Expand Down Expand Up @@ -12776,11 +12784,12 @@
"PaymentsResponse": {
"type": "object",
"required": [
"payment_id",
"merchant_id",
"status",
"amount",
"net_amount",
"amount_capturable",
"amount_received",
"currency",
"payment_method",
"attempt_count"
Expand All @@ -12790,15 +12799,13 @@
"type": "string",
"description": "Unique identifier for the payment. This ensures idempotency for multiple payments\nthat have been done by a single merchant.",
"example": "pay_mbabizu24mvu3mela5njyhpit4",
"nullable": true,
"maxLength": 30,
"minLength": 30
},
"merchant_id": {
"type": "string",
"description": "This is an identifier for the merchant account. This is inferred from the API key\nprovided during the request",
"example": "merchant_1668273825",
"nullable": true,
"maxLength": 255
},
"status": {
Expand Down Expand Up @@ -12832,7 +12839,8 @@
"type": "integer",
"format": "int64",
"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.",
"example": 6540
"example": 6540,
"nullable": true
},
"connector": {
"type": "string",
Expand Down
37 changes: 28 additions & 9 deletions api-reference/openapi_spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -7334,6 +7334,15 @@
"type": "object",
"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.",
"nullable": true
},
"tax_connector_id": {
"type": "string",
"description": "Merchant Connector id to be stored for tax_calculator connector",
"nullable": true
},
"is_tax_connector_enabled": {
"type": "boolean",
"description": "Indicates if tax_calculator connector is enabled or not.\nIf set to `true` tax_connector_id will be checked."
}
},
"additionalProperties": false
Expand All @@ -7345,7 +7354,8 @@
"profile_id",
"profile_name",
"enable_payment_response_hash",
"redirect_to_merchant_with_http_post"
"redirect_to_merchant_with_http_post",
"is_tax_connector_enabled"
],
"properties": {
"merchant_id": {
Expand Down Expand Up @@ -7515,6 +7525,15 @@
"type": "object",
"description": "These key-value pairs are sent as additional custom headers in the outgoing webhook request.",
"nullable": true
},
"tax_connector_id": {
"type": "string",
"description": "Merchant Connector id to be stored for tax_calculator connector",
"nullable": true
},
"is_tax_connector_enabled": {
"type": "boolean",
"description": "Indicates if tax_calculator connector is enabled or not.\nIf set to `true` tax_connector_id will be checked."
}
}
},
Expand Down Expand Up @@ -16292,11 +16311,12 @@
"PaymentsCreateResponseOpenApi": {
"type": "object",
"required": [
"payment_id",
"merchant_id",
"status",
"amount",
"net_amount",
"amount_capturable",
"amount_received",
"currency",
"payment_method",
"attempt_count"
Expand All @@ -16306,15 +16326,13 @@
"type": "string",
"description": "Unique identifier for the payment. This ensures idempotency for multiple payments\nthat have been done by a single merchant.",
"example": "pay_mbabizu24mvu3mela5njyhpit4",
"nullable": true,
"maxLength": 30,
"minLength": 30
},
"merchant_id": {
"type": "string",
"description": "This is an identifier for the merchant account. This is inferred from the API key\nprovided during the request",
"example": "merchant_1668273825",
"nullable": true,
"maxLength": 255
},
"status": {
Expand Down Expand Up @@ -16348,7 +16366,8 @@
"type": "integer",
"format": "int64",
"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.",
"example": 6540
"example": 6540,
"nullable": true
},
"connector": {
"type": "string",
Expand Down Expand Up @@ -17345,11 +17364,12 @@
"PaymentsResponse": {
"type": "object",
"required": [
"payment_id",
"merchant_id",
"status",
"amount",
"net_amount",
"amount_capturable",
"amount_received",
"currency",
"payment_method",
"attempt_count"
Expand All @@ -17359,15 +17379,13 @@
"type": "string",
"description": "Unique identifier for the payment. This ensures idempotency for multiple payments\nthat have been done by a single merchant.",
"example": "pay_mbabizu24mvu3mela5njyhpit4",
"nullable": true,
"maxLength": 30,
"minLength": 30
},
"merchant_id": {
"type": "string",
"description": "This is an identifier for the merchant account. This is inferred from the API key\nprovided during the request",
"example": "merchant_1668273825",
"nullable": true,
"maxLength": 255
},
"status": {
Expand Down Expand Up @@ -17401,7 +17419,8 @@
"type": "integer",
"format": "int64",
"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.",
"example": 6540
"example": 6540,
"nullable": true
},
"connector": {
"type": "string",
Expand Down
Loading

0 comments on commit d81fcdb

Please sign in to comment.