User Account

List user accounts

Changed on

List User Accounts, filtered by the client_account_id you assigned in an Account file. Use it to find the id of User Accounts you created through Account files. The filter is required, and objects has at most one User Account.

get/v2/user_accounts

Request

  • Base URL
    https://api.sandbox.lead.bank
  • URL
    https://api.sandbox.lead.bank/v2/user_accounts
  • Auth
    HTTP bearer

Query parameters

client_account_idstring required

Return only user accounts with this client_account_id.

Response

A list of User Account objects.

has_moreboolean required

Always false. At most one user account matches a client_account_id.

Example response

{
  "objects": [
    {
      "id": "user_account_xyz123",
      "application_id": "application_xyz123",
      "details": {
        "underwriting": {
          "currency_code": "USD"
        }
      },
      "documents": [
        {
          "file_id": "file_7RwQ2mK9pL4xT1vN8jS5",
          "timestamp": "2026-09-14T14:20:11Z",
          "version": "v2"
        }
      ],
      "legacy_documents": [
        {
          "document_id": "loan_agreement_01_2026.pdf",
          "version": "v1"
        }
      ],
      "product_config_id": "product_config_xyz123"
    }
  ]
}

Changes