ok, it was the java object log and not json format, but they are of right type. I can post the json format request payload shortly. Java object is serialised to json a bit later just before hitting fyers
public class FyersNewOrderRequest {
private String symbol;
private int qty;
private int type;
private int side;
private ProductType productType;
private BigDecimal limitPrice;
private BigDecimal stopPrice;
private int disclosedQty;
private String validity;
private String offlineOrder;
private BigDecimal stopLoss;
private BigDecimal takeProfit;
public enum ProductType {
CNC,
Intraday,
Margin,
CO,
BO
}
}