Fetch Single Transaction
Fetch Single transactions done using trx refence
Use this Endpoint to get Specific Transaction
Get api.linkio.world/transactions/v1/fetch_transaction?business_id=${bus_id}&transaction_reference=${trans_ref}
- 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.linkio.world/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.linkio.world/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 about 2 months ago