bitbns-official / node-bitbns-api

This is Official Bitbns API nodeJs Library.
16 stars 19 forks source link

Order Id, Quantity & Price Missing in Response #38

Open samlocalguy opened 2 years ago

samlocalguy commented 2 years ago

Hi team,

We are creating an app using BITBNS api with NODE. We are looking for Order Id, Quantity & Price in response. But we are not getting all these. Please, let us know how we to get these?

Current Response Code { "data": "Successfully placed bid to purchase currency", "status": 1, "error": null, "id": 490 }

Required Response Code

{ "data": "Successfully placed bid to purchase currency", "status": 1, "error": null, "quantity": 200, "price": 25, "id": 490 }

Sample Place Buy Order

bitbns.placeBuyOrder('XRP', 200, 25, function(error, data){
 if(!error){
    console.log('Data ::', data);
  } else {
    console.log('Error ::', error);
  }
})
200 -> Quantity
25 -> Rate