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"
}
id
string
required
The id of the token to sell
amount
integer
required
The quantity of token to buy
price
integer
required
The price per unit of each token
currency
string
required
The currency to use for the transaction. It must be one of the following: USD, NGN,KES
customer
object
required
Object containing customer details
meta
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"
}