---
title: "Upload \"checking account\" file to customer"
method: POST
path: "/customers/{id}/files/checking-account"
---

# Upload "checking account" file to customer

`POST /customers/{id}/files/checking-account`

## Request

- Base URL: `https://api.open-finance.ai/v3/loans`
- URL: `https://api.open-finance.ai/v3/loans/customers/{id}/files/checking-account`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.open-finance.ai/oauth/token` scopes: `update:sessions`

## Path parameters

- `id` string, required

## Request body

- object
  - `providerId` string, required: The ID of the provider associated with the file
  - `file` object
    - `file` string: The file content encoded as a base64 string
    - `fileName` string: The name of the file being uploaded
    - `fileType` string: The type of the file (e.g., xlsx, xls)
  - `sfFiles` object[]: Optional list of Salesforce files to associate with the customer
    - `sfObjectId` string: The Salesforce object ID associated with the file
    - `sfObjectName` string: The Salesforce object name associated with the file
  - `useCrm` boolean: Flag indicating whether to use CRM for the process

## Response `204`

Uploaded successfully

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `500`: Internal server error

---

[API](https://skmtc.dev/open-finance/apis/loans.md) - [All operations](https://skmtc.dev/open-finance/apis/loans/llms.txt) - [OpenAPI document](https://skmtc.dev/open-finance/apis/loans/revisions/915c69e62042?raw)
