Get a transaction

/account/transaction

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

GET https://live.chimoney.io/api/v0.1/account/transaction?id=id

Get a transaction with the transaction id

Headers

Name
Type
Description

X-API-Key*

API_KEY_FROM_DEV_PORTAL

Request Body

Name
Type
Description

id*

id

{
    // transaction detail
}

#Javascript FETCH

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

var requestOptions = {
  method: 'GET',
  headers: myHeaders,
  redirect: 'follow'
};

fetch("https://live.chimoney.io/api/v0.1/account/transaction?id=id", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));var myHeaders = new Headers();
myHeaders.append("X-API-Key", "API_KEY_FROM_DEV_PORTAL");

var requestOptions = {
  method: 'GET',
  headers: myHeaders,
  redirect: 'follow'
};

fetch("https://live.chimoney.io/api/v0.1/account/transaction?id=id", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));

#Python REQUESTS

#PHP cURL

Last updated