PROF-23562 actualized api schema
parent
e05f1ffcd2
commit
61b0f4514e
|
@ -224,6 +224,10 @@
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Merchant ID"
|
"description": "Merchant ID"
|
||||||
},
|
},
|
||||||
|
"methodId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Payment method type id"
|
||||||
|
},
|
||||||
"fromCountry": {
|
"fromCountry": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Source country (ISO Alpha2 code)"
|
"description": "Source country (ISO Alpha2 code)"
|
||||||
|
@ -269,9 +273,9 @@
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Merchant ID"
|
"description": "Merchant ID"
|
||||||
},
|
},
|
||||||
"fromCountry": {
|
"methodId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Source country (ISO Alpha2 code)"
|
"description": "Payment method type id"
|
||||||
},
|
},
|
||||||
"fromCurrency": {
|
"fromCurrency": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -281,10 +285,6 @@
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "Source amount (one of fromAmount and toAmount must be specified)"
|
"description": "Source amount (one of fromAmount and toAmount must be specified)"
|
||||||
},
|
},
|
||||||
"toCountry": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "Destination country (ISO Alpa2 code)"
|
|
||||||
},
|
|
||||||
"toCurrency": {
|
"toCurrency": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Destination currency (ISO code)"
|
"description": "Destination currency (ISO code)"
|
||||||
|
@ -292,12 +292,6 @@
|
||||||
"toAmount": {
|
"toAmount": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "Destination amount (one of fromAmount and toAmount must be specified)"
|
"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)"
|
"description": "Request for payment calculation (either 'fromAmount' or 'toAmount' must be specified)"
|
||||||
|
|
Loading…
Reference in New Issue