/services/webshop/v1/donations/list
Auth
The project's donations (orders from the site's donation form, Support\Donations): the totals of the paid ones and the latest donations with the donor's name, email and message. Paid = the payment came in at the owner's own provider; WEMASY never holds the money. Newest first.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
page |
integer|null
min: 1 |
No | ||
filter |
string|null
paid, all, |
No |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 60 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 57 |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 60 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 57 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 60 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 57 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 60 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 57 |
Retry-After |
integer | Seconds until the rate limit resets | 60 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string |
curl -X POST "https://api.wemasy.nl/api/services/webshop/v1/donations/list" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"page": "string",
"filter": "string"
}'
fetch('https://api.wemasy.nl/api/services/webshop/v1/donations/list', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
'Content-Type': 'application/json'
},
body: JSON.stringify({
"page": "string",
"filter": "string"
})})
.then(r => r.json())
.then(data => console.log(data));
$response = Http::withToken('YOUR_API_TOKEN')
->accept('application/json')
->post('https://api.wemasy.nl/api/services/webshop/v1/donations/list', {
"page": "string",
"filter": "string"
});
$data = $response->json();
import requests
headers = {
"Authorization": "Bearer YOUR_API_TOKEN",
"Accept": "application/json"
}
data = {
"page": "string",
"filter": "string"
}
r = requests.post("https://api.wemasy.nl/api/services/webshop/v1/donations/list", headers=headers, json=data)
print(r.json())
{
"error": false,
"data": {
"summary": {
"paid_total": 135,
"paid_count": 4,
"last_30_days_total": 60,
"average": 33.75,
"currency": "EUR"
},
"provider": "mollie",
"donations": [
{
"order_number": "D-1001",
"created_at": "2026-10-26T10:00:00+00:00",
"paid_at": "2026-10-26T10:01:00+00:00",
"name": "Anna de Vries",
"email": "anna@example.com",
"amount": 25,
"message": "Keep up the good work",
"paid": true,
"status": "payment_received"
}
],
"pagination": {
"page": 1,
"per_page": 25,
"total": 1,
"last_page": 1
}
}
}