toggle menu
crypto-trader-api
JVM
switch theme
search in API
crypto-trader-api
/
org.cryptotrader.api.controller
/
TradeController
Trade
Controller
@
RestController
@
RequestMapping
(
value
=
[
"/api/trade"
]
)
class
TradeController
(
tradeService
:
TradeService
,
authContextService
:
AuthContextService
)
Members
Constructors
Trade
Controller
Link copied to clipboard
constructor
(
tradeService
:
TradeService
,
authContextService
:
AuthContextService
)
Functions
checkout
Link copied to clipboard
@
PostMapping
(
value
=
[
"/checkout"
]
)
fun
checkout
(
@
RequestBody
tradeRequest
:
TradeRequest
)
:
ResponseEntity
<
OperationSuccessfulResponse
>