---
title: "Complete Pending Banks"
method: POST
path: "/api/cron/complete-pending-banks"
tags: ["cron"]
---

# Complete Pending Banks

`POST /api/cron/complete-pending-banks`

## Request

- Base URL: `https://api.earmarkiq.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.earmarkiq.app/api/cron/complete-pending-banks`
- Auth: none declared

Retry pending bank auths that Finexer hasn't completed yet.
Designed for every-1-minute Railway cron.
Protected by X-Cron-Secret header.

## Headers

- `X-Cron-Secret` string
- `x-cron-secret` string

## Response `200`

Successful Response

- PendingBankAuthResponse
  - `status` string, required
  - `completed` integer, required
  - `still_pending` integer, required
  - `expired` integer, required
  - `errors` integer, required
  - `first_sync_due` integer
  - `first_sync_attempted` integer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/earmarkiq/apis/earmark-api.md) · [All operations](https://skmtc.dev/earmarkiq/apis/earmark-api/llms.txt) · [OpenAPI document](https://skmtc.dev/earmarkiq/apis/earmark-api/revisions/4a2c41907105?raw)
