Send
/send
Sending chimoney is super easy, here is how to it, Chief π
POST https://live.chimoney.io/api/v0.1/payouts/mobile-money
Sending chimoney
Headers
Name
Type
Description
X-API-Key*
API_KEY_FROM_DEV_PORTAL
Request Body
Name
Type
Description
valueInUSD*
37
email*
email_to_send_to
twitter*
{
// transaction detail
}#Javascript FETCH
var myHeaders = new Headers();
myHeaders.append("X-API-Key", "API_KEY_FROM_DEV_PORTAL");
var raw = "{\n \"description\": \"\",\n \"chimoneys\": [\n {\n \"valueInUSD\": 37,\n \"email\": \"email_to_send_to\",\n \"twitter\": \"\"\n }\n ]\n}";
var requestOptions = {
method: 'POST',
headers: myHeaders,
body: raw,
redirect: 'follow'
};
fetch("https://live.chimoney.io/api/v0.1/send", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));#Python REQUESTS
#PHP cURL
Yay! It's done.
Last updated