Future Margin Type

I want to create a new order using Binance Future API. I want to choose marginType isolate and multiplier 1X in this order, but I could not find it in the document. Can you share an example PHP, Curl query?

  • POST /fapi/v1/marginType
  • POST /fapi/v1/leverage

Those are the endpoints used to change the margin type and the leverage, they’re usage is documented in Binance API Documentation. There’s no PHP or curl example for them that I’m aware of.