Get a gift card order
curl --request GET \
--url https://app.churningtracker.com/api/v1/gift-card-orders/{id} \
--header 'x-api-key: <api-key>' \
--header 'x-api-secret: <api-key>'const options = {
method: 'GET',
headers: {'x-api-key': '<api-key>', 'x-api-secret': '<api-key>'}
};
fetch('https://app.churningtracker.com/api/v1/gift-card-orders/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.churningtracker.com/api/v1/gift-card-orders/{id}"
headers = {
"x-api-key": "<api-key>",
"x-api-secret": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"id": "0b6f3c1e-8f4a-4c2e-9d55-2f1a7e3b9c10",
"source": "api",
"orderDate": "2026-10-01",
"orderTime": null,
"retailer": "Staples",
"orderNumber": "STP-8812345",
"retailerAccount": null,
"subtotal": 101190,
"shipping": 0,
"tax": 0,
"discount": 0,
"total": 101190,
"creditCardId": null,
"subCreditCardId": null,
"cardEarnRate": 0,
"notes": null,
"cashback": null,
"createdAt": "2026-10-01T18:30:00.000Z",
"status": "purchased",
"expectedPayout": 100000,
"orderLineItems": [
{
"id": "c2d0a8f4-1b7e-4f0a-8a3e-5b6c7d8e9f01",
"description": "Visa gift card",
"model": null,
"unitPrice": 50595,
"quantity": 2,
"expectedUnitPayout": 50000,
"unitValue": 50000
}
],
"platform": "card_cash"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"issues": [
{
"path": "orderLineItems.0.unitPrice",
"message": "<string>"
}
]
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"issues": [
{
"path": "orderLineItems.0.unitPrice",
"message": "<string>"
}
]
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"issues": [
{
"path": "orderLineItems.0.unitPrice",
"message": "<string>"
}
]
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"issues": [
{
"path": "orderLineItems.0.unitPrice",
"message": "<string>"
}
]
}
}Gift card orders
Get a gift card order
GET
/
gift-card-orders
/
{id}
Get a gift card order
curl --request GET \
--url https://app.churningtracker.com/api/v1/gift-card-orders/{id} \
--header 'x-api-key: <api-key>' \
--header 'x-api-secret: <api-key>'const options = {
method: 'GET',
headers: {'x-api-key': '<api-key>', 'x-api-secret': '<api-key>'}
};
fetch('https://app.churningtracker.com/api/v1/gift-card-orders/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.churningtracker.com/api/v1/gift-card-orders/{id}"
headers = {
"x-api-key": "<api-key>",
"x-api-secret": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"id": "0b6f3c1e-8f4a-4c2e-9d55-2f1a7e3b9c10",
"source": "api",
"orderDate": "2026-10-01",
"orderTime": null,
"retailer": "Staples",
"orderNumber": "STP-8812345",
"retailerAccount": null,
"subtotal": 101190,
"shipping": 0,
"tax": 0,
"discount": 0,
"total": 101190,
"creditCardId": null,
"subCreditCardId": null,
"cardEarnRate": 0,
"notes": null,
"cashback": null,
"createdAt": "2026-10-01T18:30:00.000Z",
"status": "purchased",
"expectedPayout": 100000,
"orderLineItems": [
{
"id": "c2d0a8f4-1b7e-4f0a-8a3e-5b6c7d8e9f01",
"description": "Visa gift card",
"model": null,
"unitPrice": 50595,
"quantity": 2,
"expectedUnitPayout": 50000,
"unitValue": 50000
}
],
"platform": "card_cash"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"issues": [
{
"path": "orderLineItems.0.unitPrice",
"message": "<string>"
}
]
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"issues": [
{
"path": "orderLineItems.0.unitPrice",
"message": "<string>"
}
]
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"issues": [
{
"path": "orderLineItems.0.unitPrice",
"message": "<string>"
}
]
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"issues": [
{
"path": "orderLineItems.0.unitPrice",
"message": "<string>"
}
]
}
}