Skip to content

Commit 0546840

Browse files
author
appscisumup
committed
chore: synced local 'openapi.json' with remote 'specs/openapi.json'
1 parent 8340bbd commit 0546840

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

openapi.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -543,10 +543,10 @@
543543
]
544544
}
545545
},
546-
"/v0.1/checkouts/{id}": {
546+
"/v0.1/checkouts/{checkout_id}": {
547547
"parameters": [
548548
{
549-
"name": "id",
549+
"name": "checkout_id",
550550
"in": "path",
551551
"description": "Unique ID of the checkout resource.",
552552
"required": true,
@@ -1150,14 +1150,14 @@
11501150
]
11511151
}
11521152
},
1153-
"/v0.2/checkouts/{id}/apple-pay-session": {
1153+
"/v0.2/checkouts/{checkout_id}/apple-pay-session": {
11541154
"put": {
11551155
"operationId": "CreateApplePaySession",
11561156
"summary": "Create an Apple Pay session",
11571157
"description": "Creates an Apple Pay merchant session for the specified checkout.\n\nUse this endpoint after the customer selects Apple Pay and before calling\n`ApplePaySession.completeMerchantValidation(...)` in the browser.\nSumUp validates the merchant session request and returns the Apple Pay\nsession object that your frontend should pass to Apple's JavaScript API.\n",
11581158
"parameters": [
11591159
{
1160-
"name": "id",
1160+
"name": "checkout_id",
11611161
"in": "path",
11621162
"description": "Unique ID of the checkout resource.",
11631163
"required": true,
@@ -1900,7 +1900,7 @@
19001900
]
19011901
}
19021902
},
1903-
"/v1.0/merchants/{merchant_code}/payments/{id}/refunds": {
1903+
"/v1.0/merchants/{merchant_code}/payments/{transaction_id}/refunds": {
19041904
"parameters": [
19051905
{
19061906
"name": "merchant_code",
@@ -1913,7 +1913,7 @@
19131913
}
19141914
},
19151915
{
1916-
"name": "id",
1916+
"name": "transaction_id",
19171917
"in": "path",
19181918
"description": "Unique ID of the transaction.",
19191919
"required": true,
@@ -2658,14 +2658,14 @@
26582658
]
26592659
}
26602660
},
2661-
"/v1.1/receipts/{id}": {
2661+
"/v1.1/receipts/{transaction_id}": {
26622662
"get": {
26632663
"operationId": "GetReceipt",
26642664
"summary": "Retrieve receipt details",
26652665
"description": "Retrieves receipt specific data for a transaction.",
26662666
"parameters": [
26672667
{
2668-
"name": "id",
2668+
"name": "transaction_id",
26692669
"in": "path",
26702670
"description": "SumUp unique transaction ID or transaction code, e.g. TS7HDYLSKD.",
26712671
"required": true,
@@ -5403,7 +5403,7 @@
54035403
}
54045404
},
54055405
"CheckoutID": {
5406-
"name": "id",
5406+
"name": "checkout_id",
54075407
"in": "path",
54085408
"required": true,
54095409
"description": "Unique ID of the checkout resource.",
@@ -5541,7 +5541,7 @@
55415541
},
55425542
"TxnID": {
55435543
"in": "path",
5544-
"name": "txn_id",
5544+
"name": "transaction_id",
55455545
"required": true,
55465546
"description": "Unique ID of the transaction.",
55475547
"schema": {

0 commit comments

Comments
 (0)