|
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, |
|
4549 | 4549 | "UpdateReaderByID": { |
4550 | 4550 | "operationId": "UpdateReader", |
4551 | 4551 | "parameters": { |
4552 | | - "id": "$response.body#/id" |
| 4552 | + "reader_id": "$response.body#/id" |
4553 | 4553 | }, |
4554 | 4554 | "description": "Update the reader object. This can be used to set a name after using this endpoint to verify the pairing code." |
4555 | 4555 | }, |
4556 | 4556 | "DeleteReaderByID": { |
4557 | 4557 | "operationId": "DeleteReader", |
4558 | 4558 | "parameters": { |
4559 | | - "id": "$response.body#/id" |
| 4559 | + "reader_id": "$response.body#/id" |
4560 | 4560 | }, |
4561 | 4561 | "description": "Delete the reader." |
4562 | 4562 | } |
|
4639 | 4639 | ] |
4640 | 4640 | } |
4641 | 4641 | }, |
4642 | | - "/v0.1/merchants/{merchant_code}/readers/{id}": { |
| 4642 | + "/v0.1/merchants/{merchant_code}/readers/{reader_id}": { |
4643 | 4643 | "get": { |
4644 | 4644 | "operationId": "GetReader", |
4645 | 4645 | "summary": "Retrieve a Reader", |
|
4677 | 4677 | } |
4678 | 4678 | }, |
4679 | 4679 | { |
4680 | | - "name": "id", |
| 4680 | + "name": "reader_id", |
4681 | 4681 | "in": "path", |
4682 | 4682 | "description": "The unique identifier of the reader.", |
4683 | 4683 | "required": true, |
|
4757 | 4757 | } |
4758 | 4758 | }, |
4759 | 4759 | { |
4760 | | - "name": "id", |
| 4760 | + "name": "reader_id", |
4761 | 4761 | "in": "path", |
4762 | 4762 | "description": "The unique identifier of the reader.", |
4763 | 4763 | "required": true, |
|
4830 | 4830 | } |
4831 | 4831 | }, |
4832 | 4832 | { |
4833 | | - "name": "id", |
| 4833 | + "name": "reader_id", |
4834 | 4834 | "in": "path", |
4835 | 4835 | "description": "The unique identifier of the reader.", |
4836 | 4836 | "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.", |
|
5539 | 5539 | "type": "string" |
5540 | 5540 | } |
5541 | 5541 | }, |
5542 | | - "TxnID": { |
5543 | | - "in": "path", |
5544 | | - "name": "txn_id", |
5545 | | - "required": true, |
5546 | | - "description": "Unique ID of the transaction.", |
5547 | | - "schema": { |
5548 | | - "type": "string" |
5549 | | - } |
5550 | | - }, |
5551 | 5542 | "TypesFilter": { |
5552 | 5543 | "name": "types", |
5553 | 5544 | "in": "query", |
|
9595 | 9586 | "UpdateReaderByID": { |
9596 | 9587 | "operationId": "UpdateReader", |
9597 | 9588 | "parameters": { |
9598 | | - "id": "$response.body#/id" |
| 9589 | + "reader_id": "$response.body#/id" |
9599 | 9590 | }, |
9600 | 9591 | "description": "Update the reader object. This can be used to set a name after using this endpoint to verify the pairing code." |
9601 | 9592 | }, |
9602 | 9593 | "DeleteReaderByID": { |
9603 | 9594 | "operationId": "DeleteReader", |
9604 | 9595 | "parameters": { |
9605 | | - "id": "$response.body#/id" |
| 9596 | + "reader_id": "$response.body#/id" |
9606 | 9597 | }, |
9607 | 9598 | "description": "Delete the reader." |
9608 | 9599 | } |
|
0 commit comments