Skip to content

Commit 8299650

Browse files
docs(openapi): re-generate OpenAPI specification
1 parent 84d04e4 commit 8299650

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

api-reference/v1/openapi_spec_v1.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,7 @@
10891089
"Payments"
10901090
],
10911091
"summary": "Payments - Cancel Post Capture",
1092-
"description": "A Payment could can be cancelled when it is in one of these statuses: `requires_payment_method`, `requires_capture`, `requires_confirmation`, `requires_customer_action`.",
1092+
"description": "A Payment could can be cancelled when it is in one of these statuses: `succeeded`, `partially_captured`, `partially_captured_and_capturable`.",
10931093
"operationId": "Cancel a Payment Post Capture",
10941094
"parameters": [
10951095
{
@@ -1124,7 +1124,7 @@
11241124
},
11251125
"responses": {
11261126
"200": {
1127-
"description": "Payment canceled"
1127+
"description": "Payment canceled post capture"
11281128
},
11291129
"400": {
11301130
"description": "Missing mandatory fields",
@@ -22003,6 +22003,7 @@
2200322003
},
2200422004
"PaymentsCancelPostCaptureRequest": {
2200522005
"type": "object",
22006+
"description": "Request to cancel a payment when the payment is already captured",
2200622007
"properties": {
2200722008
"cancellation_reason": {
2200822009
"type": "string",

api-reference/v2/openapi_spec_v2.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18269,6 +18269,7 @@
1826918269
},
1827018270
"PaymentsCancelPostCaptureRequest": {
1827118271
"type": "object",
18272+
"description": "Request to cancel a payment when the payment is already captured",
1827218273
"properties": {
1827318274
"cancellation_reason": {
1827418275
"type": "string",

0 commit comments

Comments
 (0)