-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Hi,
I'm experiencing an issue with the Payouts API endpoint that makes it currently unusable for production.
Issue:
When calling GET https://api.sumup.com/v1.0/merchants/MERCHANT_ID/payouts?start_date=2025-09-01&end_date=2025-12-05, the endpoint returns all individual transactions instead of consolidated payouts.
For example, on 2025-12-05, instead of getting 1 payout entry with the total amount for that day, I receive 20+ transaction entries with the same reference SUMUP PID1449450 PAYOUT 051225 but different amounts and transaction codes.
Example
[ { "amount": 0.98, "currency": "EUR", "date": "2025-12-05", "fee": 0.02, "id": $, "reference": "SUMUP PID1449450 PAYOUT 051225", "status": "SUCCESSFUL", "transaction_code": "$", "type": "PAYOUT" }, { "amount": 0.98, "currency": "EUR", "date": "2025-12-05", "fee": 0.02, "id": $, "reference": "SUMUP PID1449450 PAYOUT 051225", "status": "SUCCESSFUL", "transaction_code": "$", "type": "PAYOUT" }, // ... more identical duplicates ]
Expected behavior:
The endpoint should return consolidated payouts (one entry per payout per day/period) with aggregated amounts, not individual transaction records.
Impact:
This makes the endpoint unsuitable for syncing payouts into our database, as we cannot reliably identify and consolidate payouts on our end.
Could you please investigate and clarify the intended behavior of this endpoint? I've also opened a support ticket on developer.sumup.com for tracking.
Thanks,