Skip to content

Request

POST https://parse.mooola.co.za/v1/parse
Authorization: Bearer mpk_…
Content-Type: application/pdf

Reads one statement PDF and answers with a JSON response, a CSV response or an error response. The API is also described as OpenAPI 3.1 at parse.mooola.co.za/openapi.json; see the generated operation page, or try requests in the API explorer.

Send the PDF in one of two ways:

Content-Type Body
application/pdf The PDF itself.
multipart/form-data A form whose file field is the PDF.
Option Meaning
?format=csv or Accept: text/csv Answer with CSV instead of JSON.
?currency=ZAR The ISO 4217 currency to assume where the statement prints none. Without it such an account’s currency is XXX.
X-Statement-Password The password of a protected PDF. It is used to open the file and never kept.
?unverified=include or X-Unverified: include When a statement cannot be verified, return its transactions anyway with status unverified and the reason, instead of refusing it. Without this, such a statement is refused with NOT_VERIFIED. See Handling results.
Header Meaning
x-request-id The request’s ID. Quote it when you contact us about a request.
x-quota-limit, x-quota-remaining, x-quota-reset Where your account stands this month. See Limits and quota.