Merge pull request #2 from profee-com/feature/PROF-23562

PROF-23562 actualized api schema
pull/4/head
Ivan Koryakovsky 2023-10-10 13:26:07 +05:00 committed by GitHub
commit 2212c4b7ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 12 deletions

View File

@ -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)"