Transactions
Read a workspace's transactions across all of its entities, read a single transaction, and update one.
Transactions are read across every entity in a workspace, so every endpoint is nested under the workspace uuid. startDate and endDate are inclusive calendar days.
Updates are partial: fields left out of the body keep their current value, and classIds replaces the class assignments as a whole. Inside a locked bookkeeping period only memo can change, and anything else is rejected with 409.
Returns the workspace's transactions across all of its entities. startDate/endDate are inclusive calendar days. Results are paged with limit/offset.
Organization access token issued by Kick, sent as Authorization: Bearer kick_org_....
1000200
400
401
404
429
GET /api/platform/v1/workspaces/{workspaceId}/transactions HTTP/1.1
Host: use.kick.co
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"accountId": "123e4567-e89b-12d3-a456-426614174000",
"accrualAccountId": "123e4567-e89b-12d3-a456-426614174000",
"amount": 1,
"bankDescription": "text",
"classIds": [
"123e4567-e89b-12d3-a456-426614174000"
],
"date": "text",
"entityId": "123e4567-e89b-12d3-a456-426614174000",
"id": "123e4567-e89b-12d3-a456-426614174000",
"isBusiness": true,
"memo": "text",
"status": "pending",
"type": "external"
}
],
"pagination": {
"limit": 1,
"offset": 1,
"total": 1
}
}Returns a single transaction of the workspace. A transaction outside the organization's book of business reads as not found.
Organization access token issued by Kick, sent as Authorization: Bearer kick_org_....
200
400
401
404
429
GET /api/platform/v1/workspaces/{workspaceId}/transactions/{transactionId} HTTP/1.1
Host: use.kick.co
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"transaction": {
"accountId": "123e4567-e89b-12d3-a456-426614174000",
"accrualAccountId": "123e4567-e89b-12d3-a456-426614174000",
"amount": 1,
"bankDescription": "text",
"classIds": [
"123e4567-e89b-12d3-a456-426614174000"
],
"date": "text",
"entityId": "123e4567-e89b-12d3-a456-426614174000",
"id": "123e4567-e89b-12d3-a456-426614174000",
"isBusiness": true,
"memo": "text",
"status": "pending",
"type": "external"
}
}Updates the fields present in the body and leaves the others untouched. classIds replaces the class assignments as a whole — the full desired set, at most one class per root dimension. memo, accountId and accrualAccountId accept null to clear the current value; the two account ids must reference accounts of the transaction's entity. Inside a locked bookkeeping period only memo can be changed; anything else is rejected with 409.
Organization access token issued by Kick, sent as Authorization: Bearer kick_org_....
A unique key that makes the request idempotent. Retrying with the same key within 24 hours replays the original response (marked with Idempotent-Replayed: true) instead of executing again.
Chart of accounts account the transaction is categorized to on the cash basis. Must belong to the transaction's entity and cannot be the account of the transaction's own financial account. Pass null to uncategorize.
Chart of accounts account the transaction is categorized to on the accrual basis. Must belong to the transaction's entity and cannot be the account of the transaction's own financial account. Pass null to uncategorize.
Full desired set of classes for the transaction, at most one per root dimension. Pass an empty array to clear all assignments.
Free-form note on the transaction. Pass null to clear it.
200
400
401
404
409
429
PATCH /api/platform/v1/workspaces/{workspaceId}/transactions/{transactionId} HTTP/1.1
Host: use.kick.co
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 176
{
"accountId": "123e4567-e89b-12d3-a456-426614174000",
"accrualAccountId": "123e4567-e89b-12d3-a456-426614174000",
"classIds": [
"123e4567-e89b-12d3-a456-426614174000"
],
"memo": "text"
}{
"transaction": {
"accountId": "123e4567-e89b-12d3-a456-426614174000",
"accrualAccountId": "123e4567-e89b-12d3-a456-426614174000",
"amount": 1,
"bankDescription": "text",
"classIds": [
"123e4567-e89b-12d3-a456-426614174000"
],
"date": "text",
"entityId": "123e4567-e89b-12d3-a456-426614174000",
"id": "123e4567-e89b-12d3-a456-426614174000",
"isBusiness": true,
"memo": "text",
"status": "pending",
"type": "external"
}
}Last updated
Was this helpful?
