Issue : A mandatory parameter was not sent, was empty/null, or malformed.

Hello Folks,
I am trying to access Binance Pay API.

And I got the postman collection that generate signature for me.

But when I hit the post request for create order I go this error. A mandatory parameter was not sent, was empty/null, or malformed. Though I have pass all the required parameters.

Can anyone please help me with this issue ?

Thanks.

Please check the Binance Pay document for which parameters are required for the endpoints.

I think these are the mandatory parameters that should be included.

{
   "env":
   {
      "terminalType":"MINI_PROGRAM"
   },
   "merchantTradeNo":"2223",
   "orderAmount": 1.00,
   "currency":"USDT",
   "goods":
   {
      "goodsType":"01",
      "goodsCategory":"0000",
      "referenceGoodsId":"abc001",
      "goodsName":"apple",
      "goodsUnitAmount":
      {
         "currency":"USDT",
         "amount":1.00
      }
   },
   "shipping":
   {
      "shippingName":
      {
         "firstName":"Joe",
         "lastName":"Don"
      },
      "shippingAddress":
      {
         "region":"NZ"
      }
   },
   "buyer":
   {
      "buyerName":
      {
         "firstName":"cz",
         "lastName":"zhao"
      }
   }
}


Nope, still showing that A mandatory parameter was not sent, was empty/null, or malformed.


If any parameters was required then response say that this parameter is required.