---
updatedAt: 2026-08-27T13:52:09.000Z
agentTools:
  projectIndex: https://docs.youlend.com/llms.txt
---

# Submit account information.

Using this endpoint, partners can submit merchant bank account details directly to YouLend. YouLend will fund to this account.

It is recommended to submit these details as soon as possible after creating the lead to allow YouLend to verify them, and ensure no delays in payout.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Onboarding",
    "description": "Through this API you can can initiate the process of onboarding a borrower with YouLend",
    "contact": {
      "name": "Mark Ufland",
      "email": "mark.ufland@youlend.com"
    },
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://partners.staging-youlendapi.com/onboarding"
    }
  ],
  "paths": {
    "/Leads/{leadId}/accountinfo": {
      "post": {
        "tags": [
          "Enrich an Application"
        ],
        "summary": "Submit account information.",
        "parameters": [
          {
            "name": "leadId",
            "in": "path",
            "description": "The lead id .",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "api-version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The account information model.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountInfoModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AccountInfoModel": {
        "required": [
          "currencyISOCode",
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 255,
            "minLength": 1,
            "type": "string",
            "description": "Gets or sets the Account Name."
          },
          "currencyISOCode": {
            "minLength": 1,
            "type": "string",
            "description": "Gets or sets the Currency ISO Code."
          },
          "accountNo": {
            "type": "string",
            "description": "Gets or sets the Account Number. Required if Iban is null.",
            "nullable": true
          },
          "sortCode": {
            "type": "string",
            "description": "Gets or sets the Sort Code. Required if Iban is null.",
            "nullable": true
          },
          "iban": {
            "type": "string",
            "description": "Gets or sets the Iban. Required if Account Number is null.",
            "nullable": true
          },
          "bic": {
            "type": "string",
            "description": "Gets or sets the Swift Code. Required if Account Number is null.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "AccountInfoModel."
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": {}
      }
    },
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://youlend-stag.eu.auth0.com/oauth/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "oauth2": []
    }
  ],
  "tags": [
    {
      "name": "Enrich an Application"
    }
  ]
}
```