bankstract
Api

Poll a parse job

JSON snapshot of a job, the polling fallback to SSE. result appears once state is done; the error fields once failed.

GET
/v1/parse/jobs/{job_id}

Path Parameters

job_id*Job Id

Header Parameters

authorization?string|null

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/parse/jobs/string"
{  "job_id": "string",  "state": "queued",  "result_kind": "json",  "progress": {    "stage": "string",    "current": 0,    "total": 0  },  "result": {    "format_version": "string",    "metadata": {      "bank": "string",      "account_holder": "string",      "account_number_masked": "string",      "statement_period_start": "2019-08-24T14:15:22Z",      "statement_period_end": "2019-08-24T14:15:22Z",      "opening_balance": "string",      "closing_balance": "string"    },    "totals": {      "credit": "string",      "debit": "string"    },    "row_wise_reconcilable": true,    "transactions": [      {        "date": "2019-08-24T14:15:22Z",        "narration": "string",        "debit": "string",        "credit": "string",        "balance": "string",        "reference": "string",        "currency": "string"      }    ]  },  "result_url": "string",  "format_version": "string",  "redactions": 0,  "error": "string",  "error_class": "string"}
{  "error": "string",  "error_class": "string",  "format_version": "string",  "marker_coverage": 0}
{  "error": "string",  "error_class": "string",  "format_version": "string",  "marker_coverage": 0}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}