|
543 | 543 | ] |
544 | 544 | } |
545 | 545 | }, |
546 | | - "/v0.1/checkouts/{id}": { |
| 546 | + "/v0.1/checkouts/{checkout_id}": { |
547 | 547 | "parameters": [ |
548 | 548 | { |
549 | | - "name": "id", |
| 549 | + "name": "checkout_id", |
550 | 550 | "in": "path", |
551 | 551 | "description": "Unique ID of the checkout resource.", |
552 | 552 | "required": true, |
|
1150 | 1150 | ] |
1151 | 1151 | } |
1152 | 1152 | }, |
1153 | | - "/v0.2/checkouts/{id}/apple-pay-session": { |
| 1153 | + "/v0.2/checkouts/{checkout_id}/apple-pay-session": { |
1154 | 1154 | "put": { |
1155 | 1155 | "operationId": "CreateApplePaySession", |
1156 | 1156 | "summary": "Create an Apple Pay session", |
1157 | 1157 | "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", |
1158 | 1158 | "parameters": [ |
1159 | 1159 | { |
1160 | | - "name": "id", |
| 1160 | + "name": "checkout_id", |
1161 | 1161 | "in": "path", |
1162 | 1162 | "description": "Unique ID of the checkout resource.", |
1163 | 1163 | "required": true, |
|
1900 | 1900 | ] |
1901 | 1901 | } |
1902 | 1902 | }, |
1903 | | - "/v1.0/merchants/{merchant_code}/payments/{id}/refunds": { |
| 1903 | + "/v1.0/merchants/{merchant_code}/payments/{transaction_id}/refunds": { |
1904 | 1904 | "parameters": [ |
1905 | 1905 | { |
1906 | 1906 | "name": "merchant_code", |
|
1913 | 1913 | } |
1914 | 1914 | }, |
1915 | 1915 | { |
1916 | | - "name": "id", |
| 1916 | + "name": "transaction_id", |
1917 | 1917 | "in": "path", |
1918 | 1918 | "description": "Unique ID of the transaction.", |
1919 | 1919 | "required": true, |
|
2658 | 2658 | ] |
2659 | 2659 | } |
2660 | 2660 | }, |
2661 | | - "/v1.1/receipts/{id}": { |
| 2661 | + "/v1.1/receipts/{transaction_id}": { |
2662 | 2662 | "get": { |
2663 | 2663 | "operationId": "GetReceipt", |
2664 | 2664 | "summary": "Retrieve receipt details", |
2665 | 2665 | "description": "Retrieves receipt specific data for a transaction.", |
2666 | 2666 | "parameters": [ |
2667 | 2667 | { |
2668 | | - "name": "id", |
| 2668 | + "name": "transaction_id", |
2669 | 2669 | "in": "path", |
2670 | 2670 | "description": "SumUp unique transaction ID or transaction code, e.g. TS7HDYLSKD.", |
2671 | 2671 | "required": true, |
|
5403 | 5403 | } |
5404 | 5404 | }, |
5405 | 5405 | "CheckoutID": { |
5406 | | - "name": "id", |
| 5406 | + "name": "checkout_id", |
5407 | 5407 | "in": "path", |
5408 | 5408 | "required": true, |
5409 | 5409 | "description": "Unique ID of the checkout resource.", |
|
5541 | 5541 | }, |
5542 | 5542 | "TxnID": { |
5543 | 5543 | "in": "path", |
5544 | | - "name": "txn_id", |
| 5544 | + "name": "transaction_id", |
5545 | 5545 | "required": true, |
5546 | 5546 | "description": "Unique ID of the transaction.", |
5547 | 5547 | "schema": { |
|
0 commit comments