Export payment report
POSThttps://core-prod.malipopay.co.tz/api/v1/payment/report
Generates and exports a payment report for a given date range and filters.
Request
- application/json
- Body
- Example (auto)
Bodyrequired
fromdaterequired
Example:
2026-01-01todaterequired
Example:
2026-01-31{
"from": "2026-01-01",
"to": "2026-01-31"
}
Responses
- 200
- 400
- 401
- 500
Report export initiated successfully
- application/json
- Schema
- Example (auto)
Schema
successbooleanrequired
Example:
truecodeintegerrequired
MALIPOPAY-specific status code (see error codes reference)
Example:
800messagestringrequired
Example:
Operation completed successfullydata object
{
"success": true,
"code": 800,
"message": "Operation completed successfully",
"data": {}
}
Validation error
- application/json
- Schema
- Example (auto)
Schema
codeint32required
messagestringrequired
{
"code": 0,
"message": "string"
}
Unauthorized
- application/json
- Schema
- Example (auto)
Schema
codeint32required
messagestringrequired
{
"code": 0,
"message": "string"
}
Internal server error
- application/json
- Schema
- Example (auto)
Schema
codeint32required
messagestringrequired
{
"code": 0,
"message": "string"
}
Authorization: apiToken
name: apiTokentype: apiKeyin: headerdescription: Project API key. Get yours from the Malipopay dashboard under Settings → API Keys.
- curl
- python
- nodejs
- php
- java
- go
- CURL
curl -L 'https://core-prod.malipopay.co.tz/api/v1/payment/report' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'apiToken: <apiToken>' \
-d '{
"from": "2026-01-01",
"to": "2026-01-31"
}'
Response