@admin
Facing similar issue , although this is the first time I am trying to place order via SmartAPI.
Attaching curl request , replaced my sensitive credentials with placeholder values :
curl -X POST "https://apiconnect.angelone.in/rest/secure/angelbroking/order/v1/placeOrder" \
-H "Authorization: Bearer AUTH_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-UserType: USER" \
-H "X-SourceID: WEB" \
-H "X-ClientLocalIP: 127.0.0.1" \
-H "X-ClientPublicIP: PUBLIC_IP" \
-H "X-MACAddress: MAC_ADDRESS" \
-H "X-PrivateKey: PRIVATE_KEY" \
-d '{
"variety": "NORMAL",
"tradingsymbol": "BANKNIFTY30MAR2658300CE",
"symboltoken": "52534",
"transactiontype": "BUY",
"exchange": "NFO",
"ordertype": "MARKET",
"producttype": "CARRYFORWARD",
"duration": "DAY",
"quantity": "30",
"price": "0",
"triggerprice": "0",
"disclosedquantity": "0",
"ordertag": "test-order",
"scripconsent": "yes"
}'
Getting response as
{"success":false,"data":""}
No idea on what's wrong , no direction on debugging the same