diff --git a/precalc-api.json b/precalc-api.json index 1e70fb5..1a1a724 100644 --- a/precalc-api.json +++ b/precalc-api.json @@ -224,6 +224,10 @@ "type": "string", "description": "Merchant ID" }, + "methodId": { + "type": "string", + "description": "Payment method type id" + }, "fromCountry": { "type": "string", "description": "Source country (ISO Alpha2 code)" @@ -269,9 +273,9 @@ "type": "string", "description": "Merchant ID" }, - "fromCountry": { + "methodId": { "type": "string", - "description": "Source country (ISO Alpha2 code)" + "description": "Payment method type id" }, "fromCurrency": { "type": "string", @@ -281,10 +285,6 @@ "type": "number", "description": "Source amount (one of fromAmount and toAmount must be specified)" }, - "toCountry": { - "type": "string", - "description": "Destination country (ISO Alpa2 code)" - }, "toCurrency": { "type": "string", "description": "Destination currency (ISO code)" @@ -292,12 +292,6 @@ "toAmount": { "type": "number", "description": "Destination amount (one of fromAmount and toAmount must be specified)" - }, - "externalId": { - "maxLength": 1000, - "minLength": 0, - "type": "string", - "description": "Merchant's marketing ID (this ID will be placed at utm_campaign further)" } }, "description": "Request for payment calculation (either 'fromAmount' or 'toAmount' must be specified)"