Initiate-chimoney
https://live.chimoney.io/api/v0.1/payouts/initiate-chimoney
Initiating a chimoney payout is super easy, here is how to it, Chief π
POST https://live.chimoney.io/api/v0.1/payouts/initiate-chimoney
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\": 1,\n \"email\": \"uchi.uchibeke@gmail.com\",\n \"twitter\": \"\"\n }\n ]\n}";
var requestOptions = {
method: 'POST',
headers: myHeaders,
body: raw,
redirect: 'follow'
};
fetch("https://live.chimoney.io/api/v0.1/payouts/initiate-chimoney", 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