PROF-24570 правки по v3 api
parent
3d5314f800
commit
6e5959e0cd
|
@ -28,7 +28,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/ExternalPrecalcRequestDto"
|
"$ref": "#/components/schemas/RequestV3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -363,6 +363,49 @@
|
||||||
},
|
},
|
||||||
"description": "Request for payment calculation (either 'fromAmount' or 'toAmount' must be specified)"
|
"description": "Request for payment calculation (either 'fromAmount' or 'toAmount' must be specified)"
|
||||||
},
|
},
|
||||||
|
"RequestV3": {
|
||||||
|
"required": [
|
||||||
|
"merchantId",
|
||||||
|
"fromCurrency",
|
||||||
|
"toCurrency"
|
||||||
|
],
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"merchantId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Merchant ID"
|
||||||
|
},
|
||||||
|
"methodId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Payment method type id"
|
||||||
|
},
|
||||||
|
"fromCountry": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Source country (ISO Alpha2 code)"
|
||||||
|
},
|
||||||
|
"fromCurrency": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Source currency (ISO code)"
|
||||||
|
},
|
||||||
|
"fromAmount": {
|
||||||
|
"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)"
|
||||||
|
},
|
||||||
|
"toAmount": {
|
||||||
|
"type": "number",
|
||||||
|
"description": "Destination amount (one of fromAmount and toAmount must be specified)"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"description": "Request for payment calculation (either 'fromAmount' or 'toAmount' must be specified)"
|
||||||
|
},
|
||||||
"CorridorDescriptorDto": {
|
"CorridorDescriptorDto": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
Loading…
Reference in New Issue