Fetch Transactions
Fetch list of all transactions done .
Get all transactions on both test and live mode
curl --request GET\
--url https://api.ngnc.online/transactions/v1/fetch_all_transactions?business_id=Bus_ID\
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'ngnc-sec-key: NGNC_SECRET_KEY' \const options = {
method: 'GET',
headers: {
accept: 'application/json',
'ngnc-sec-key': 'NGNC_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": "NGNC_SECRET_KEY",
"content-type": "application/json"
}
response = requests.post(url, headers=headers)
print(response.text)Fetch all transactions on live or test mode
GET https://api.ngnc.online/transactions/v1/get_all_transactions
Query Parameters
Name
Type
Description
business_id*
String
Get your business id from Bridge App
Headers
Name
Type
Description
ngnc-sec-key*
String
Get Key from Bridge App
Last updated