{
"amount": 20,
"price": 10,
"currency": "USD",
"customer": {
"name": "Rema divine1",
"email": "rema2@yopmail.com"
},
"meta": {
"tokens": 2
}
}
{
"status": "success",
"message": "Sell order is being processed"
}
Trade
Sell token
This endpoint allows you to sell a token with the specified ID
POST
api
/
token
/
{id}
/
sell
{
"amount": 20,
"price": 10,
"currency": "USD",
"customer": {
"name": "Rema divine1",
"email": "rema2@yopmail.com"
},
"meta": {
"tokens": 2
}
}
{
"status": "success",
"message": "Sell order is being processed"
}
string
required
The id of the token to sell
integer
required
The quantity of token to buy
integer
required
The price per unit of each token
string
required
The currency to use for the transaction. It must be one of the following:
USD, NGN,KESobject
required
Object containing customer details
object
Object containing additional information like
tokens and amount{
"amount": 20,
"price": 10,
"currency": "USD",
"customer": {
"name": "Rema divine1",
"email": "rema2@yopmail.com"
},
"meta": {
"tokens": 2
}
}
{
"status": "success",
"message": "Sell order is being processed"
}
Was this page helpful?
