PATCH
/
api
/
integrations
/
pdfs
/
{heron_id}
/
processed
curl --request PATCH \
  --url https://app.herondata.io/api/integrations/pdfs/{heron_id}/processed \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "exclude": true,
  "index": 123,
  "summary": {
    "account_number": "<string>",
    "bank_name": "<string>",
    "company": "<string>",
    "currency": "<string>",
    "end_balance": 123,
    "fraud_reasons": [
      "<string>"
    ],
    "fraud_score": 123,
    "start_balance": 123,
    "statement_end_date": "2023-11-07T05:31:56Z",
    "statement_start_date": "2023-11-07T05:31:56Z"
  },
  "transactions": [
    {
      "amount": 123,
      "balance": 123,
      "bounds": {
        "page": 123,
        "x_max": 123,
        "x_min": 123,
        "y_max": 123,
        "y_min": 123
      },
      "currency": "<string>",
      "description": "<string>",
      "ocr_suspect": true,
      "reference_id": "<string>",
      "timestamp": "2023-11-07T05:31:56Z",
      "transaction_code": "<string>"
    }
  ]
}'
{
  "ok": true
}

Authorizations

x-api-key
string
header
required

Path Parameters

heron_id
string
required

heron_id of the pdf

Body

application/json

Response

200 - application/json
Ok

The response is of type object.