/v3/statements/upload
statements:write
Upload Statement (PDF)
Upload a PDF statement for authenticity scoring + transaction extraction.
This endpoint accepts a multipart file upload. Use the SDK or a multipart client to try it.
Body parameters
| Field | Type | Description |
|---|---|---|
filerequired |
file | The statement PDF (multipart/form-data field "file"). |
Example responses
200 · Result
{
"request_id": "req_8f2c1a9b7d3e4f60",
"ok": true,
"data": {
"authenticity_confidence": 0.98,
"tamper_flags": [],
"transactions_extracted": 342
}
}
400 · Bad request
{
"error": "invalid_request",
"message": "file is required (multipart/form-data)"
}
401 · Unauthorized
{
"error": "unauthorized",
"message": "API credentials required. Send Authorization: Bearer <client_id>:<secret>."
}
Runs use your signed-in session. For system-to-system integration, issue a keypair in the
Console and send
Authorization: Bearer <client_id>:<secret> against
https://credit.farmsky.africa (Sandbox https://sandbox.credit.farmsky.africa).