{
"amount": 20,
"price": 10,
"currency": "USD",
"customer": {
"name": "Rema divine1",
"email": "rema2@yopmail.com"
},
"meta": {
"tokens": 2
}
}
{
"status": "success",
"message": "Buy order is being processed",
"data": null
}
Trade
Buy token
Allows an api client purchase token on the GE platform
POST
api
/
token
/
{id}
/
buy
{
"amount": 20,
"price": 10,
"currency": "USD",
"customer": {
"name": "Rema divine1",
"email": "rema2@yopmail.com"
},
"meta": {
"tokens": 2
}
}
{
"status": "success",
"message": "Buy order is being processed",
"data": null
}
string
required
The id of the token to buy
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": "Buy order is being processed",
"data": null
}
Was this page helpful?
