Skip to content
Statement Analysis

Upload Statement (PDF)

POST https://credit.farmsky.africa/v3/statements/upload

Upload a PDF statement for authenticity scoring + transaction extraction.

statements:write

Headers

Authorization string required Defaults to Bearer {CLIENT_ID}:{CLIENT_SECRET}
Your API client id and secret, joined by a colon. Manage credentials in the Console.
x-api-key string optional Defaults to {API_KEY}
Alternative single-value secret key header (equivalent to X-Api-Secret). Never expose it in client-side code.
Content-Type string required Defaults to application/json
All request bodies are JSON unless the endpoint accepts multipart/form-data (file uploads).
Content-Type string required Defaults to multipart/form-data
This endpoint accepts a file upload, not JSON.

Body Params multipart/form-data

statementfilerequired
The statement document to analyse (PDF or CSV).