---
title: "Report a failed bank authorization"
method: POST
path: "/api/finances/bank/callback/failure"
tags: ["Finances - Bank"]
---

# Report a failed bank authorization

`POST /api/finances/bank/callback/failure`

## Request

- Base URL: `https://api.typless.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.typless.com/api/finances/bank/callback/failure`
- Auth: none declared

## Request body

- BankAuthFailureRequest
  - `state` string, required
  - `error_class` string, nullable
  - `provider_connection_id` string, nullable

## Response `200`

Successful Response

- BankAuthFailureDTO: What the UI needs to start the failed bank authorization again.
  - `aspsp_name` string, required
  - `aspsp_country` string, required
  - `bank_display_name` string, nullable
  - `psu_type` string, nullable
  - `business_unit_id` string, uuid, nullable
  - `reauth_connection_id` string, uuid, nullable

## Other responses

- `422`: Validation Error

---

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