Getting started
Guides
Endpoints
- Accounts
- Broadcasts
- Custom Fields
- Forms
- Subscribers
- Tags
- Email Templates
- Purchases
- Segments
- Sequences
- Webhooks
Purchases
List purchases
GET
/
v4
/
purchases
Copy
Ask AI
curl --request GET \
--url https://api.kit.com/v4/purchases \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"purchases": [
{
"id": 1319,
"transaction_id": "512-41-4101",
"status": "paid",
"email_address": "[email protected]",
"currency": "USD",
"transaction_time": "2023-02-17T11:43:55Z",
"subtotal": 5,
"discount": 0,
"tax": 0,
"total": 5,
"products": [
{
"quantity": 1,
"lid": "000-13-0000",
"unit_price": 0.05,
"sku": null,
"name": "Tip",
"pid": "111-75-7524"
}
]
},
{
"id": 1318,
"transaction_id": "323-79-5320",
"status": "paid",
"email_address": "[email protected]",
"currency": "USD",
"transaction_time": "2023-02-17T11:43:55Z",
"subtotal": 10,
"discount": 0,
"tax": 1.05,
"total": 11.05,
"products": [
{
"quantity": 1,
"lid": "000-12-0000",
"unit_price": 0.1,
"sku": null,
"name": "Monthly Game Review",
"pid": "000-11-0000"
}
]
},
{
"id": 1317,
"transaction_id": "796-92-4892",
"status": "paid",
"email_address": "[email protected]",
"currency": "USD",
"transaction_time": "2023-02-17T11:43:55Z",
"subtotal": 78.66,
"discount": 5,
"tax": 7.87,
"total": 81.53,
"products": [
{
"quantity": 1,
"lid": "811-75-7900",
"unit_price": 23.22,
"sku": null,
"name": "Phantom Hourglass",
"pid": "804-02-4430"
},
{
"quantity": 1,
"lid": "766-49-1241",
"unit_price": 32.22,
"sku": null,
"name": "Twilight Princess",
"pid": "833-51-1151"
}
]
}
],
"pagination": {
"has_previous_page": false,
"has_next_page": false,
"start_cursor": "WzEzMTld",
"end_cursor": "WzEzMTdd",
"per_page": 500
}
}
Authorizations
Authenticate API requests via an OAuth token
Response
200
application/json
Returns a paginated list of all purchases for your account
The response is of type object
.
Copy
Ask AI
curl --request GET \
--url https://api.kit.com/v4/purchases \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"purchases": [
{
"id": 1319,
"transaction_id": "512-41-4101",
"status": "paid",
"email_address": "[email protected]",
"currency": "USD",
"transaction_time": "2023-02-17T11:43:55Z",
"subtotal": 5,
"discount": 0,
"tax": 0,
"total": 5,
"products": [
{
"quantity": 1,
"lid": "000-13-0000",
"unit_price": 0.05,
"sku": null,
"name": "Tip",
"pid": "111-75-7524"
}
]
},
{
"id": 1318,
"transaction_id": "323-79-5320",
"status": "paid",
"email_address": "[email protected]",
"currency": "USD",
"transaction_time": "2023-02-17T11:43:55Z",
"subtotal": 10,
"discount": 0,
"tax": 1.05,
"total": 11.05,
"products": [
{
"quantity": 1,
"lid": "000-12-0000",
"unit_price": 0.1,
"sku": null,
"name": "Monthly Game Review",
"pid": "000-11-0000"
}
]
},
{
"id": 1317,
"transaction_id": "796-92-4892",
"status": "paid",
"email_address": "[email protected]",
"currency": "USD",
"transaction_time": "2023-02-17T11:43:55Z",
"subtotal": 78.66,
"discount": 5,
"tax": 7.87,
"total": 81.53,
"products": [
{
"quantity": 1,
"lid": "811-75-7900",
"unit_price": 23.22,
"sku": null,
"name": "Phantom Hourglass",
"pid": "804-02-4430"
},
{
"quantity": 1,
"lid": "766-49-1241",
"unit_price": 32.22,
"sku": null,
"name": "Twilight Princess",
"pid": "833-51-1151"
}
]
}
],
"pagination": {
"has_previous_page": false,
"has_next_page": false,
"start_cursor": "WzEzMTld",
"end_cursor": "WzEzMTdd",
"per_page": 500
}
}
Assistant
Responses are generated using AI and may contain mistakes.