List transactions
curl --request GET \
--url https://api.scoutworks.app/api/v1/transactions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.scoutworks.app/api/v1/transactions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.scoutworks.app/api/v1/transactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"date": "2023-12-25",
"type": "income",
"amount": "<string>",
"bankAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"categoryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"eventId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"restrictedFundId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"budgetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"paymentMethod": "bank_transfer",
"source": "csv",
"reconciliationStatus": "unreconciled",
"isReconciled": true,
"isTransfer": true,
"isGiftAidEligible": true,
"giftAidType": "declaration",
"giftAidAmount": "<string>",
"splits": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": "<string>",
"categoryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"eventId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"restrictedFundId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"budgetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isGiftAidEligible": true,
"giftAidType": "declaration",
"giftAidAmount": "<string>",
"description": "<string>"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"counterparty": "<string>",
"description": "<string>",
"reference": "<string>",
"memberId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"nextCursor": "<string>",
"nextUpdatedSince": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "invalid_api_key",
"message": "<string>"
},
"errorRef": "<string>",
"retryAfter": 0,
"matchingIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}{
"error": {
"code": "invalid_api_key",
"message": "<string>"
},
"errorRef": "<string>",
"retryAfter": 0,
"matchingIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}{
"error": {
"code": "invalid_api_key",
"message": "<string>"
},
"errorRef": "<string>",
"retryAfter": 0,
"matchingIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}{
"error": {
"code": "invalid_api_key",
"message": "<string>"
},
"errorRef": "<string>",
"retryAfter": 0,
"matchingIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}{
"error": {
"code": "invalid_api_key",
"message": "<string>"
},
"errorRef": "<string>",
"retryAfter": 0,
"matchingIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}Accounting
List transactions
The lines the Transactions tab shows, oldest record first: everything in the books, transfers between the group’s own accounts included. Bank lines still in the reconciliation inbox are not, though a bank account’s balance counts them, so the lines here need not add up to it. With accounting.people:read too, each line also carries the payer or payee: counterparty, description, reference, memberId, and a split line’s description. To keep a copy in sync, pass updatedSince with includeDeleted=true: a deleted line then comes back with deletedAt set.
GET
/
transactions
List transactions
curl --request GET \
--url https://api.scoutworks.app/api/v1/transactions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.scoutworks.app/api/v1/transactions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.scoutworks.app/api/v1/transactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"date": "2023-12-25",
"type": "income",
"amount": "<string>",
"bankAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"categoryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"eventId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"restrictedFundId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"budgetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"paymentMethod": "bank_transfer",
"source": "csv",
"reconciliationStatus": "unreconciled",
"isReconciled": true,
"isTransfer": true,
"isGiftAidEligible": true,
"giftAidType": "declaration",
"giftAidAmount": "<string>",
"splits": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": "<string>",
"categoryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"eventId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"restrictedFundId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"budgetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isGiftAidEligible": true,
"giftAidType": "declaration",
"giftAidAmount": "<string>",
"description": "<string>"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"counterparty": "<string>",
"description": "<string>",
"reference": "<string>",
"memberId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"nextCursor": "<string>",
"nextUpdatedSince": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "invalid_api_key",
"message": "<string>"
},
"errorRef": "<string>",
"retryAfter": 0,
"matchingIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}{
"error": {
"code": "invalid_api_key",
"message": "<string>"
},
"errorRef": "<string>",
"retryAfter": 0,
"matchingIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}{
"error": {
"code": "invalid_api_key",
"message": "<string>"
},
"errorRef": "<string>",
"retryAfter": 0,
"matchingIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}{
"error": {
"code": "invalid_api_key",
"message": "<string>"
},
"errorRef": "<string>",
"retryAfter": 0,
"matchingIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}{
"error": {
"code": "invalid_api_key",
"message": "<string>"
},
"errorRef": "<string>",
"retryAfter": 0,
"matchingIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}Authorizations
Query Parameters
Response
OK