Request
Add parameter in header Authorization
Example:Authorization: ********************
or
Body Params application/json-patch+json
{
"portfolioId": 123,
"symbol": "VAS",
"exchange": "ASX",
"tradeDate": "2023-04-25",
"tradeType": "Buy",
"quantity": "23",
"price": "104.23",
"brokerage": "9.95",
"brokerageCurrencyCode": "AUD",
"exchangeRate": "1.234",
"notes": "string",
"externalTradeId": "BRK-TXN-123456789"
}
Request Code Samples
curl --location --request POST '/v1/trades' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json-patch+json' \
--data-raw '{
"portfolioId": 123,
"symbol": "VAS",
"exchange": "ASX",
"tradeDate": "2023-04-25",
"tradeType": "Buy",
"quantity": "23",
"price": "104.23",
"brokerage": "9.95",
"brokerageCurrencyCode": "AUD",
"exchangeRate": "1.234",
"notes": "string",
"externalTradeId": "BRK-TXN-123456789"
}'
Responses
This response does not have a body.
Modified at 2025-10-24 04:35:20