---
title: "Submit JSON bank statements."
method: POST
path: "/Leads/{leadId}/bankstatements"
tags: ["Create an Application"]
---

# Submit JSON bank statements.

`POST /Leads/{leadId}/bankstatements`

## Request

- Base URL: `https://partners.staging-youlendapi.com/onboarding`
- URL: `https://partners.staging-youlendapi.com/onboarding/Leads/{leadId}/bankstatements`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://youlend-stag.eu.auth0.com/oauth/token`

## Path parameters

- `leadId` string, uuid, required

## Headers

- `api-version` string

## Request body

- BankStatementModel: Model containing Bank Statement.
  - `name` string, required: Gets or sets the Account Name.
  - `currency` string, required: Gets or sets the Currency.
  - `accountNo` string, nullable: Gets or sets the Account Number. Required if Iban is null.
  - `sortCode` string, nullable: Gets or sets the Sort Code. Required if Iban is null.
  - `iban` string, nullable: Gets or sets the Iban. Required if Account Number is null.
  - `bic` string, nullable: Gets or sets the Swift Code. Required if Account Number is null.
  - `institutionName` string, nullable: Gets or sets the Institution Name.
  - `startingBalance` number, double, nullable: Gets or sets the Starting Balance.
  - `transactions` TransactionModel[], nullable: Gets or sets the list of Transactions.
    - `date` string, date-time, required: Gets or sets the Date.
    - `description` string, required: Gets or sets the Description.
    - `credit` number, double, nullable: Gets or sets the Credit. Required if Debit is null.
    - `debit` number, double, nullable: Gets or sets the Debit. Required if Credit is null.
    - `balance` number, double, nullable: Gets or sets the Balance.
    - `plaidCategoryId` string, nullable: Gets or sets the Plaid Category Id.
    - `plaidCategory` string, nullable: Gets or sets the Plaid Category.

## Response `200`

OK

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/youlend/apis/onboarding.md) - [All operations](https://skmtc.dev/youlend/apis/onboarding/llms.txt) - [OpenAPI document](https://skmtc.dev/youlend/apis/onboarding/revisions/32aa9c8d752a?raw)
