curl -X GET "https://heimdall.qa.zoniqx.com/payments" \
-H "Authorization: Bearer <accessToken>" \
-H "x-tenant-id: <your-tenant-id>"
const response = await fetch("https://heimdall.qa.zoniqx.com/payments", {
method: "GET",
headers: {
"Authorization": "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
},
});
const data = await response.json();type PaymentsController_getPaymentsResponse = Record<string, unknown>;
const response = await fetch("https://heimdall.qa.zoniqx.com/payments", {
method: "GET",
headers: {
Authorization: "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
},
});
const data: PaymentsController_getPaymentsResponse = await response.json();import requests
url = "https://heimdall.qa.zoniqx.com/payments"
headers = {
"Authorization": "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
}
response = requests.get(url, headers=headers)
data = response.json()