Reputation: 11
may i know how to get merchantId or whats the process to request merchantId from binance ? https://developers.binance.com/docs/binance-pay/api-order-create
thanks in advance.
cheers Miguel
Upvotes: 1
Views: 1815
Reputation: 43491
The POST /binancepay/openapi/order
endpoint that you're referencing, creates a P2P merchant order. You can get the ID in your Merchant profile of the P2P platform (after Binance has confirmed you as a P2P merchant).
If this is not what you're looking for and you just want to submit a (regular) spot order (e.g. to buy BTC to USDT), you can use the POST /api/v3/order endpoint. It only requires your API key and API secret that you can generate in the API management section of your profile.
Upvotes: 1