Created
July 4, 2019 11:54
-
-
Save jbg/4d182911b646a1220f90f34a763cc663 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- old-openapi.json 2019-07-04 12:50:46.000000000 +0100 | |
+++ openapi.json 2019-07-04 12:50:33.000000000 +0100 | |
@@ -1417,21 +1417,27 @@ | |
"name": "id", | |
"description": "SumUp unique transaction ID or transaction code, e.g. TS7HDYLSKD.", | |
"required": true, | |
- "type": "string" | |
+ "schema": { | |
+ "type": "string" | |
+ } | |
}, | |
{ | |
"in": "query", | |
"name": "mid", | |
"description": "Merchant code.", | |
"required": true, | |
- "type": "string" | |
+ "schema": { | |
+ "type": "string" | |
+ } | |
}, | |
{ | |
"in": "query", | |
"name": "tx_event_id", | |
"description": "The ID of the transaction event (refund).", | |
"required": false, | |
- "type": "integer" | |
+ "schema": { | |
+ "type": "integer" | |
+ } | |
} | |
], | |
"responses": { | |
@@ -1452,7 +1458,7 @@ | |
"schemas": { | |
"Account": { | |
"type": "object", | |
- "decription": "Account information.", | |
+ "description": "Account information.", | |
"properties": { | |
"username": { | |
"type": "string", | |
@@ -2470,7 +2476,7 @@ | |
}, | |
"MerchantAccount": { | |
"type": "object", | |
- "decription": "Details of user account.", | |
+ "description": "Details of user account.", | |
"properties": { | |
"account": { | |
"$ref": "#/components/schemas/Account" | |
@@ -2774,9 +2780,8 @@ | |
"description": "If true, the merchant will not receive automatic payouts." | |
}, | |
"payout_on_demand_available": { | |
- "required": false, | |
- "type": "string", | |
- "description": "If true, the merchant will be able to manage payout_on_demand settings" | |
+ "type": "boolean", | |
+ "description": "If true, the merchant will be able to manage payout_on_demand settings" | |
}, | |
"expected_max_transaction_amount": { | |
"type": "number", | |
@@ -2886,7 +2891,7 @@ | |
}, | |
"PersonalProfile": { | |
"type": "object", | |
- "decription": "Account's personal profile.", | |
+ "description": "Account's personal profile.", | |
"properties": { | |
"first_name": { | |
"type": "string", | |
@@ -2914,7 +2919,7 @@ | |
}, | |
"PersonalProfilePayload": { | |
"type": "object", | |
- "decription": "Account's personal profile.", | |
+ "description": "Account's personal profile.", | |
"required": [ | |
"first_name", | |
"last_name", | |
@@ -3291,11 +3296,9 @@ | |
"events": { | |
"type": "array", | |
"description": "Events", | |
- "items": [ | |
- { | |
- "$ref": "#/components/schemas/ReceiptEvent" | |
- } | |
- ] | |
+ "items": { | |
+ "$ref": "#/components/schemas/ReceiptEvent" | |
+ } | |
}, | |
"receipt_no": { | |
"type": "string", | |
@@ -3860,7 +3863,7 @@ | |
}, | |
"VatRates": { | |
"type": "object", | |
- "decription": "Merchant VAT rates", | |
+ "description": "Merchant VAT rates", | |
"properties": { | |
"id": { | |
"type": "number", | |
@@ -4675,9 +4678,7 @@ | |
"ascending", | |
"descending" | |
], | |
- "default": [ | |
- "ascending" | |
- ] | |
+ "default": "ascending" | |
} | |
}, | |
"LimitFilter": { | |
@@ -4921,4 +4922,4 @@ | |
} | |
} | |
} | |
-} | |
\ No newline at end of file | |
+} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment