Verify a Mobile Money Payment

collections/mobile-money/verify

You might want to verify a particular transaction , here is how to it, Chief πŸ˜‰

POST https://live.chimoney.io/api/v0.1/collections/mobile-money/verify

Verify a transaction with the transaction id

Headers

Name
Type
Description

X-API-Key*

API_KEY_FROM_DEV_PORTAL

Request Body

Name
Type
Description

id*

paymentID

{
    // transaction detail
}

#Javascript FETCH

var myHeaders = new Headers();
myHeaders.append("X-API-Key", "API_KEY_FROM_DEV_PORTAL");

var raw = "{\n    \"id\": \"PaymentID\"\n}";

var requestOptions = {
  method: 'POST',
  headers: myHeaders,
  body: raw,
  redirect: 'follow'
};

fetch("https://live.chimoney.io/api/v0.1/collections/mobile-money/verify", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));

#Python REQUESTS

#PHP cURL

Last updated