Skip to content

Commit 8943a24

Browse files
docs(openapi): re-generate OpenAPI specification
1 parent d1f2cb7 commit 8943a24

File tree

2 files changed

+20
-8
lines changed

2 files changed

+20
-8
lines changed

api-reference-v2/openapi_spec.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@
863863
],
864864
"summary": "Profile - Connector Accounts List",
865865
"description": "List Connector Accounts for the profile",
866-
"operationId": "List all Merchant Connectors",
866+
"operationId": "List all Merchant Connectors for Profile",
867867
"parameters": [
868868
{
869869
"name": "id",
@@ -2151,7 +2151,7 @@
21512151
],
21522152
"summary": "Payments - Session token",
21532153
"description": "Creates a session object or a session token for wallets like Apple Pay, Google Pay, etc. These tokens are used by Hyperswitch's SDK to initiate these wallets' SDK.",
2154-
"operationId": "Create Session tokens for a Payment",
2154+
"operationId": "Create V2 Session tokens for a Payment",
21552155
"parameters": [
21562156
{
21572157
"name": "payment_id",
@@ -2921,7 +2921,7 @@
29212921
]
29222922
}
29232923
},
2924-
"/v2/payment-method-session/:id": {
2924+
"/v2/payment-method-session/{id}": {
29252925
"get": {
29262926
"tags": [
29272927
"Payment Method Session"
@@ -3018,7 +3018,7 @@
30183018
]
30193019
}
30203020
},
3021-
"/v2/payment-method-session/:id/list-payment-methods": {
3021+
"/v2/payment-method-session/{id}/list-payment-methods": {
30223022
"get": {
30233023
"tags": [
30243024
"Payment Method Session"
@@ -3059,7 +3059,7 @@
30593059
]
30603060
}
30613061
},
3062-
"/v2/payment-method-session/:id/update-saved-payment-method": {
3062+
"/v2/payment-method-session/{id}/update-saved-payment-method": {
30633063
"put": {
30643064
"tags": [
30653065
"Payment Method Session"
@@ -3122,7 +3122,7 @@
31223122
]
31233123
}
31243124
},
3125-
"/v2/payment-method-session/:id/confirm": {
3125+
"/v2/payment-method-session/{id}/confirm": {
31263126
"post": {
31273127
"tags": [
31283128
"Payment Method Session"
@@ -14225,6 +14225,9 @@
1422514225
},
1422614226
"OrganizationUpdateRequest": {
1422714227
"type": "object",
14228+
"required": [
14229+
"platform_merchant_id"
14230+
],
1422814231
"properties": {
1422914232
"organization_name": {
1423014233
"type": "string",
@@ -14243,8 +14246,7 @@
1424314246
},
1424414247
"platform_merchant_id": {
1424514248
"type": "string",
14246-
"description": "Platform merchant id is unique distiguisher for special merchant in the platform org",
14247-
"nullable": true
14249+
"description": "Platform merchant id is unique distiguisher for special merchant in the platform org"
1424814250
}
1424914251
},
1425014252
"additionalProperties": false

api-reference/openapi_spec.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,16 @@
622622
"description": "To list the *payments*",
623623
"operationId": "List all Payments",
624624
"parameters": [
625+
{
626+
"name": "customer_id",
627+
"in": "query",
628+
"description": "The identifier for the customer",
629+
"required": false,
630+
"schema": {
631+
"type": "string",
632+
"nullable": true
633+
}
634+
},
625635
{
626636
"name": "starting_after",
627637
"in": "query",

0 commit comments

Comments
 (0)