Fetch Single Transaction
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 a single 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_transaction?business_id=${bus_id}&transaction_reference=${Trans_Ref}, 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_transaction?business_id=${bus_id}&transaction_reference=${Trans_Ref}`
headers = {
"accept": "application/json",
"ngnc-sec-key": "Bridge_Secret_Key",
"content-type": "application/json"
}
response = requests.post(url, headers=headers)
print(response.text)
Updated 6 months ago