Buy/Sell
Method
POST https://api.ninjapay.me/tapi/v1/placeOrder
Parameters
Body (application/json)
{
amount: string, // The amount in asset currency
asset: string; // Symbol of the asset or token
type: string; // Select "buy" or "sell" type order
price?: string; // Optional limit price, if left empty, order excutes at market price
note?: string; // Optional note for extra info
}
Other info
Parameters
Input options
Response
Code Example
Last updated