Donations API
POST /services/webshop/v1/donations/list Auth

Donations overview

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.

Request Body

FieldTypeRequiredDescriptionExample
page integer|null
min: 1
No
filter string|null
paid, all,
No

Responses

200
401
403
429
Donations overview
Headers
HeaderTypeDescriptionExample
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
Unauthenticated โ€” missing or invalid Bearer token
Headers
HeaderTypeDescriptionExample
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
FieldTypeDescription
error boolean
message string
Forbidden โ€” insufficient permissions for this resource
Headers
HeaderTypeDescriptionExample
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
FieldTypeDescription
error boolean
message string
Too Many Requests โ€” rate limit exceeded
Headers
HeaderTypeDescriptionExample
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
FieldTypeDescription
error boolean
message string
Base URL
https://api.wemasy.nl/api
Authentication

Request Sample
cURL
JS
PHP
Python
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())
Response Example
{
    "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
        }
    }
}

Try It
Request Body Optional

Export