Transactions
You can retrieve a one or more footprinted transactions using the Transaction and Transactions endpoints. Let’s start by fetching a single transaction. Note: make sure you use an actual transaction id, which you can get by footprinting a product.
Get a Specific Transaction
Parameters
KEY
TYPE
DESCRIPTION
id
string
transaction id
Response
{
"id": "0f958fc5-e786-4d81-88ea-9bd8811d39e4",
"items": [
{
"id": "b4435ef8-f17e-480e-b247-3394f4befa78",
"submission": {
"id": "e30191b7-15fe-4dcd-aeaf-d9f5d96d61fa",
"zip": "02062",
"sku": null,
"currency": "USD",
"manufacturer": null,
"title": "Samsung A7 Galaxy",
"price": 500,
"category": null,
"description": "Samsung A7 Galaxy",
"isUsed": false
},
"footprint": {
"id": "27eb7a5c-10d2-4549-9abb-5a8142ff3e47",
"currency": "USD",
"expiresAt": "2025-01-15T21:11:19.401Z",
"carbonFootprint": 108,
"carbonFootprintSavings": null
}
}
],
"dateCreated": "2025-01-08T21:11:19.114Z",
"dateUpdated": "2025-01-08T21:11:19.114Z"
}
Code Examples
Javascript
Curl
Get Multiple Transactions
Get one or more transactions.
Parameters
KEY
TYPE
DESCRIPTION
skip
number
the number of transactions to skip before returning transactions
limit
number
the maximum number of transactions to return
env
string
dev environment; either “sandbox” or “production”
Response
Code Examples
Let’s try that in curl:
Last updated