---
title: "Finalize a connection to open banking"
method: GET
path: "/connect/open-banking-finalize"
---

# Finalize a connection to open banking

`GET /connect/open-banking-finalize`

## Query parameters

- `code` string
- `state` string, required
- `error` string

## Response `200`

Response

- ConnectOBFinalizeResponse
  - `connectionId` string — Unique identifier for the connection
  - `connectionStatus` string — Status of the connection (e.g., CONNECTED)
  - `paymentStatus` string — Status of the payment (e.g., ACTC)
  - `orgId` string — Organization identifier
  - `userId` string — User identifier
  - `paymentId` string — Payment identifier
  - `token` string — Token value
  - `isIframe` boolean — Indicates if the connection is using iframe
  - `isPayment` boolean — Indicates if finalizing a payment
  - `psuId` string — PSU (Payment Service User) identifier
  - `redirectUrl` string — The URL to redirect to after finalizing the connection

## Other responses

- `400` — state is required
- `401` — Unauthorized access - Invalid access token
- `403` — Forbidden - Access token missing the required permissions to preform this action
- `404` — Not found - The route or resource were not found
- `500` — Internal server error

---

[API](https://skmtc.net/open-finance/apis/auth.md) · [All operations](https://skmtc.net/open-finance/apis/auth/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/open-finance/auth/versions/b4d401b65c3d/schema)
