Fetch Transactions

Fetch list of all transactions done .

  • Deposit: These are simply transactions received in to any address you generated
  • Withrawal: These are transactions signed and sent out via Off-ramp.

Get all Business transactions.

const options = {
  method: 'GET',
  headers: {
    accept: 'application/json',
    'ngnc-sec-key': 'Bridge_Secret_Key',
    'content-type': 'application/json'
  },
};

let bus_id = "string"
fetch(`https://api.ngnc.online/transactions/v1/fetch_all_transactions?business_id=${bus_id}`, options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));
import requests
bus_id = "string" 
url = `https://api.ngnc.online/transactions/v1/fetch_all_transactions?business_id=${bus_id }` 

headers = {
    "accept": "application/json",
    "ngnc-sec-key": "Bridge_Secret_Key",
    "content-type": "application/json"
}

response = requests.post(url, headers=headers)

print(response.text)