Merge pull request #5 from profee-com/feature/PROF-24570

PROF-24570 актуализация ответа для v3
master
Ivan Koryakovsky 2024-01-30 14:26:21 +03:00 committed by GitHub
commit 509776676a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 48 additions and 2 deletions

View File

@ -257,14 +257,60 @@
},
"description": "Payment calculation result"
},
"ResponseDtoV3": {
"type": "object",
"properties": {
"precalcId": {
"type": "string",
"description": "Calculation ID"
},
"fromCurrency": {
"type": "string",
"description": "Source currency"
},
"fromAmount": {
"type": "number",
"description": "Source amount"
},
"toCurrency": {
"type": "string",
"description": "Destination currency"
},
"toAmount": {
"type": "number",
"description": "Destination amount"
},
"feeCurrency": {
"type": "string",
"description": "Fee currency"
},
"feeAmount": {
"type": "number",
"description": "Fee amount"
},
"rateFromCurrency": {
"type": "string",
"description": "Rate source currency"
},
"rateToCurrency": {
"type": "string",
"description": "Rate destination currency"
},
"rateAmount": {
"type": "number",
"description": "Currency rate amount"
}
},
"description": "Payment calculation result V3"
},
"PrecalcResponseDtoV3": {
"type": "object",
"properties": {
"promotion": {
"$ref": "#/components/schemas/ResponseDto"
"$ref": "#/components/schemas/ResponseDtoV3"
},
"standard": {
"$ref": "#/components/schemas/ResponseDto"
"$ref": "#/components/schemas/ResponseDtoV3"
}
}
},