---
updatedAt: 2026-05-27T07:43:30.000Z
agentTools:
  projectIndex: https://developers.getdefacto.com/llms.txt
---

# /loans

List loans with pagination. Returns a paginated list of loans filterable by borrower, status, dates, and loan type.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "API Reference",
    "version": "v1.0.0"
  },
  "paths": {
    "/loans": {
      "get": {
        "description": "List loans with pagination. Returns a paginated list of loans filterable by borrower, status, dates, and loan type.",
        "parameters": [
          {
            "description": "Search by borrower company number (e.g. SIREN or NIF)",
            "in": "query",
            "name": "borrower",
            "required": false,
            "explode": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "description": "Filter by one or more borrower financial product UUIDs.",
            "in": "query",
            "name": "borrower_financial_product_id",
            "required": false,
            "explode": true,
            "schema": {
              "type": "array",
              "items": {
                "format": "uuid",
                "type": "string"
              }
            }
          },
          {
            "description": "Returns loans where contractual_repayment_date field is greater or equal to this date.",
            "in": "query",
            "name": "contractual_repayment_date_from",
            "required": false,
            "x-nullable": true,
            "schema": {
              "type": "string",
              "format": "date-time",
              "default": null
            }
          },
          {
            "description": "Returns loans where contractual_repayment_date field is lower to this date.",
            "in": "query",
            "name": "contractual_repayment_date_to",
            "required": false,
            "x-nullable": true,
            "schema": {
              "type": "string",
              "format": "date-time",
              "default": null
            }
          },
          {
            "description": "Pagination cursor from the previous response's next_page field. Omit to get the first page.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "x-nullable": true,
            "schema": {
              "type": "string",
              "default": null
            }
          },
          {
            "description": "Returns loans for which the guarantee was called",
            "in": "query",
            "name": "guarantee_called",
            "required": false,
            "x-nullable": true,
            "schema": {
              "type": "boolean",
              "default": null
            }
          },
          {
            "description": "Entity legally responsible to payback the loan",
            "in": "query",
            "name": "guarantor",
            "required": false,
            "x-nullable": true,
            "schema": {
              "type": "string",
              "default": null
            }
          },
          {
            "description": "Filter by one or more loan UUIDs.",
            "in": "query",
            "name": "id",
            "required": false,
            "explode": true,
            "schema": {
              "type": "array",
              "items": {
                "format": "uuid",
                "type": "string"
              }
            }
          },
          {
            "in": "query",
            "name": "loan_type",
            "required": false,
            "explode": true,
            "schema": {
              "type": "array",
              "items": {
                "enum": [
                  "CREDIT_CARD_FINANCING",
                  "FUNDING_OBLIGATION_CONSOLIDATION",
                  "INVENTORY_FINANCING",
                  "INVOICE_BASED_FINANCING",
                  "WALLET_FINANCING"
                ],
                "type": "string"
              }
            }
          },
          {
            "description": "Maximum number of items to return per page.",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 100
            }
          },
          {
            "description": "Returns loans that have been postponed",
            "in": "query",
            "name": "postponed",
            "required": false,
            "x-nullable": true,
            "schema": {
              "type": "boolean",
              "default": null
            }
          },
          {
            "description": "Search for loans based on one or more of the following fields: loan ID, invoice number, amount, estimated fees, status, or counterparty name.",
            "in": "query",
            "name": "query",
            "required": false,
            "x-nullable": true,
            "schema": {
              "type": "string",
              "default": null
            }
          },
          {
            "description": "Specify the sorting field and order. Default sorting: created_at DESC. Possible values: ['created_at:asc', 'created_at:desc', 'to_repay_at:asc', 'to_repay_at:desc', 'to_pay_at:asc', 'to_pay_at:desc']",
            "in": "query",
            "name": "sort_by",
            "required": false,
            "x-nullable": true,
            "schema": {
              "type": "string",
              "enum": [
                "created_at:asc",
                "created_at:desc",
                "to_pay_at:asc",
                "to_pay_at:desc",
                "to_repay_at:asc",
                "to_repay_at:desc",
                null
              ],
              "default": null
            }
          },
          {
            "description": "Loan statuses. Possible values: ['SUBMITTED', 'PENDING_VALIDATION', 'TO_VALIDATE', 'DECLINED', 'VALIDATED', 'CANCELED', 'SCHEDULED', 'INITIATED', 'TO_REPAY', 'TO_REPAY_FEES', 'CLOSED', 'ISSUE_DETECTED', 'DELETED']",
            "in": "query",
            "name": "status",
            "required": false,
            "explode": true,
            "schema": {
              "type": "array",
              "items": {
                "enum": [
                  "CANCELED",
                  "CLOSED",
                  "DECLINED",
                  "DELETED",
                  "INITIATED",
                  "ISSUE_DETECTED",
                  "PENDING_VALIDATION",
                  "SCHEDULED",
                  "SUBMITTED",
                  "TO_REPAY",
                  "TO_REPAY_FEES",
                  "TO_VALIDATE",
                  "VALIDATED"
                ],
                "type": "string"
              }
            }
          },
          {
            "description": "Returns loans where pay_at field is greater or equal to this date.",
            "in": "query",
            "name": "to_pay_at_from",
            "required": false,
            "x-nullable": true,
            "schema": {
              "type": "string",
              "format": "date-time",
              "default": null
            }
          },
          {
            "description": "Returns loans where pay_at field is lower to this date.",
            "in": "query",
            "name": "to_pay_at_to",
            "required": false,
            "x-nullable": true,
            "schema": {
              "type": "string",
              "format": "date-time",
              "default": null
            }
          },
          {
            "description": "Returns loans where repay_at field is greater or equal to this date.",
            "in": "query",
            "name": "to_repay_at_from",
            "required": false,
            "x-nullable": true,
            "schema": {
              "type": "string",
              "format": "date-time",
              "default": null
            }
          },
          {
            "description": "Returns loans where repay_at field is lower to this date.",
            "in": "query",
            "name": "to_repay_at_to",
            "required": false,
            "x-nullable": true,
            "schema": {
              "type": "string",
              "format": "date-time",
              "default": null
            }
          },
          {
            "description": "Shorthand alias for to_repay_at_from=now() and to_repay_at_to=now().plus(x, 'days'). Mutually exclusive with to_repay_at_from & to_repay_at_to.",
            "in": "query",
            "name": "to_repay_at_within_days",
            "required": false,
            "x-nullable": true,
            "schema": {
              "type": "integer",
              "default": null
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/TypedApiPage1"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "tags": [
          "Loan"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://api-sandbox.getdefacto.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "Bearer": {
        "in": "header",
        "name": "Authorization",
        "type": "apiKey"
      }
    },
    "schemas": {
      "APILightAccountDetails": {
        "properties": {
          "account_number": {
            "description": "The account identifier. Only IBANs are supported at the moment.",
            "type": "string"
          },
          "account_number_type": {
            "description": "The type of account number (e.g. IBAN).",
            "enum": [
              "account_number",
              "iban",
              "internal_id"
            ],
            "type": "string"
          },
          "bank_identifier": {
            "description": "The identifier of the bank.",
            "type": "string"
          },
          "bank_identifier_type": {
            "description": "The type of bank identifier (e.g. BIC).",
            "enum": [
              "bic",
              "name",
              "routing_number",
              "undefined"
            ],
            "type": "string"
          }
        },
        "required": [
          "account_number",
          "account_number_type",
          "bank_identifier",
          "bank_identifier_type"
        ],
        "type": "object"
      },
      "APILoanPricing": {
        "properties": {
          "chargeback_penalty_amount": {
            "description": "Penalty charged when a repayment attempt is rejected, in cents.",
            "type": "integer"
          },
          "interests_daily_rate": {
            "description": "Daily interests rate, in percentage (e.g. 0.0505 means 0.0505% per day). Interests for a period are: loan_amount * (interests_daily_rate / 100) * duration_in_days. Example: a 120 000 cents loan at a 0.0505 daily rate over 30 days accrues 120 000 * 0.000505 * 30 = 1 818 cents (18.18 €) of interests.",
            "type": "number"
          },
          "late_daily_rate": {
            "description": "Daily interests rate once loan is late. Specified in percentage.",
            "type": "number"
          },
          "rate_discount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/APIRateDiscount"
              }
            ],
            "default": null,
            "nullable": true
          }
        },
        "required": [
          "chargeback_penalty_amount",
          "interests_daily_rate",
          "late_daily_rate"
        ],
        "type": "object"
      },
      "APIRateDiscount": {
        "properties": {
          "multiplier": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "public_interests_daily_rate": {
            "type": "number"
          }
        },
        "required": [
          "multiplier",
          "name",
          "public_interests_daily_rate"
        ],
        "type": "object"
      },
      "Address": {
        "properties": {
          "address_line_1": {
            "type": "string",
            "nullable": true
          },
          "address_line_2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "postal_code": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          }
        },
        "type": "object"
      },
      "IndustryCodes": {
        "properties": {
          "nace_rev_2": {
            "default": null,
            "description": "Industry class of the business in the European NACE Rev. 2 nomenclature, e.g. 62.01.",
            "type": "string",
            "nullable": true
          },
          "nace_rev_2_1": {
            "default": null,
            "description": "Industry class of the business in the European NACE Rev. 2.1 nomenclature, e.g. 62.10.",
            "type": "string",
            "nullable": true
          },
          "naf_2025": {
            "default": null,
            "description": "Industry sub-class of a French business in the NAF 2025 nomenclature, which replaces NAF Rev. 2 on 2027-01-01, e.g. 62.10Y.",
            "type": "string",
            "nullable": true
          },
          "naf_rev_2": {
            "default": null,
            "description": "Industry sub-class of a French business in the NAF Rev. 2 nomenclature, e.g. 62.01Z.",
            "type": "string",
            "nullable": true
          }
        },
        "type": "object"
      },
      "LightBusiness": {
        "properties": {
          "activity_description": {
            "default": null,
            "type": "string",
            "nullable": true
          },
          "activity_type": {
            "default": null,
            "type": "string",
            "nullable": true
          },
          "address": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Address"
              }
            ],
            "default": null,
            "nullable": true
          },
          "capital": {
            "default": null,
            "type": "integer",
            "nullable": true
          },
          "creation_date": {
            "default": null,
            "format": "date",
            "type": "string",
            "nullable": true
          },
          "has_ongoing_insolvency_procedure": {
            "default": null,
            "type": "boolean",
            "nullable": true
          },
          "id": {
            "default": null,
            "format": "uuid",
            "type": "string",
            "nullable": true
          },
          "identifier": {
            "description": "Legal identifier of the business, such as its SIRET or SIREN in France. Must not contain spaces.",
            "type": "string"
          },
          "identifier_type": {
            "default": null,
            "description": "Type of legal business identifier of the business, such as the SIRET in France.",
            "enum": [
              "belgium_registration_number",
              "bsn",
              "cif",
              "hr_nummer",
              "kvk",
              "name",
              "nif",
              "siren",
              "siret",
              "steuernummer",
              "vat_number",
              null
            ],
            "type": "string",
            "nullable": true
          },
          "industry_codes": {
            "allOf": [
              {
                "$ref": "#/components/schemas/IndustryCodes"
              }
            ],
            "default": {},
            "description": "Industry codes of the business, one per nomenclature and version (NACE, French NAF)."
          },
          "is_active": {
            "default": null,
            "type": "boolean",
            "nullable": true
          },
          "is_diffusible": {
            "default": null,
            "type": "boolean",
            "nullable": true
          },
          "is_registered": {
            "default": null,
            "type": "boolean",
            "nullable": true
          },
          "last_insolvency_procedure_closing_date": {
            "default": null,
            "format": "date",
            "type": "string",
            "nullable": true
          },
          "last_insolvency_procedure_open_date": {
            "default": null,
            "format": "date",
            "type": "string",
            "nullable": true
          },
          "last_insolvency_procedure_type": {
            "default": null,
            "type": "string",
            "nullable": true
          },
          "legal_form": {
            "default": null,
            "description": "Legal form of the business.",
            "type": "string",
            "nullable": true
          },
          "nace_code": {
            "default": null,
            "type": "string",
            "nullable": true
          },
          "name": {
            "default": null,
            "description": "Legal name of the business.",
            "type": "string",
            "nullable": true
          },
          "registration_body": {
            "default": null,
            "description": "Name of the national organization where the business is registered. For example the RCS of Paris in France",
            "type": "string",
            "nullable": true
          },
          "registration_date": {
            "default": null,
            "format": "date",
            "type": "string",
            "nullable": true
          },
          "registry_radiation_date": {
            "default": null,
            "format": "date",
            "type": "string",
            "nullable": true
          },
          "share_capital": {
            "default": null,
            "description": "The part of the capital of a company that comes from the issue of shares, in cents.",
            "type": "integer",
            "nullable": true
          },
          "termination_date": {
            "default": null,
            "format": "date",
            "type": "string",
            "nullable": true
          },
          "vat_number": {
            "default": null,
            "description": "VatNumber",
            "type": "string",
            "nullable": true
          }
        },
        "required": [
          "identifier"
        ],
        "type": "object"
      },
      "LoanDepositedAmounts": {
        "properties": {
          "amount": {
            "type": "integer"
          },
          "deposit_id": {
            "default": null,
            "format": "uuid",
            "type": "string",
            "nullable": true
          },
          "paid_amount": {
            "type": "integer"
          }
        },
        "required": [
          "amount",
          "paid_amount"
        ],
        "type": "object"
      },
      "MinimalLoanAPI": {
        "properties": {
          "amount": {
            "description": "Loan amount in cents. Maximum: 200,000 €.",
            "type": "integer"
          },
          "beneficiary": {
            "allOf": [
              {
                "$ref": "#/components/schemas/LightBusiness"
              }
            ],
            "description": "Entity receiving the money"
          },
          "borrower": {
            "allOf": [
              {
                "$ref": "#/components/schemas/LightBusiness"
              }
            ],
            "description": "Entity legally contracting the loan"
          },
          "borrower_financial_product_id": {
            "default": null,
            "description": "Specify your borrower financial product to use. This field is required only if you propose multiple financial products (which is rare)",
            "format": "uuid",
            "type": "string",
            "nullable": true
          },
          "closed_at": {
            "default": null,
            "description": "Loan full repayment date",
            "format": "date-time",
            "type": "string",
            "nullable": true
          },
          "contract_url": {
            "default": null,
            "type": "string",
            "nullable": true
          },
          "contractual_repayment_date": {
            "default": null,
            "description": "Loan repayment date at the time the loan contract was signed",
            "format": "date-time",
            "type": "string",
            "nullable": true
          },
          "currency": {
            "description": "ISO 4217 currency code.",
            "enum": [
              "EUR",
              "GBP"
            ],
            "type": "string"
          },
          "denial_reason": {
            "default": null,
            "enum": [
              "ACTIVITY_DOCUMENTS_REQUIRED",
              "ACTIVITY_NOT_ELIGIBLE_BORROWER",
              "ALREADY_USING_FACTORING_OR_DAILLY",
              "AMOUNT_SUPERIOR_TO_AVAILABLE_BALANCE",
              "AVERAGE_INVOICE_SIZE_TOO_HIGH",
              "BLACKLISTED_ACTIVITY_NOT_ELIGIBLE_BORROWER",
              "BLACKLISTED_ACTIVITY_SUSPECTED_BORROWER",
              "BLACKLISTED_ACTIVITY_SUSPECTED_COUNTERPARTY",
              "BLACKLISTED_FACTORED_COUNTERPARTY",
              "BORROWER_AND_COUNTERPARTY_HAVE_COMMON_DIRECTOR",
              "BORROWER_CHURNED",
              "BORROWER_DEFAULTED",
              "BORROWER_NOT_WHITELISTED",
              "BORROWER_STATUS",
              "BORROWER_TO_SIGN",
              "BUSINESS_AGE_BELOW_THRESHOLD",
              "BUSINESS_AML_EXTREME_RISK",
              "BUSINESS_COMPLIANCE_ISSUE_DETECTED",
              "BUSINESS_HARD_COLLECTION",
              "BUSINESS_HAS_NO_PROFESSIONAL_EMAIL",
              "BUSINESS_INSOLVENCY_PROCEDURE_EXISTS",
              "BUSINESS_INSOLVENCY_PROCEDURE_UNKNOWN_STATUS",
              "BUSINESS_LEGAL_FORM_NOT_ELIGIBLE",
              "BUSINESS_MISSING_INFORMATION",
              "BUSINESS_NOT_DIFFUSIBLE",
              "BUSINESS_NOT_REGISTERED",
              "BUSINESS_NOT_REGISTERED_TO_RCS",
              "BUSINESS_NOT_REGISTERED_TO_RCS_OR_RNE",
              "BUSINESS_RADIATED",
              "BUSINESS_REGION_NOT_COVERED",
              "BUSINESS_UNKNOWN",
              "BUSINESS_UNKNOWN_BUYER",
              "BUSINESS_UNKNOWN_SELLER",
              "CAPPING_EXCEEDED",
              "CARD_PAYMENT_DELINQUENCY_DETECTED",
              "CASHED_IN_NOT_REPAID",
              "CCSF_TRANSACTION_DETECTED",
              "CCSF_TRANSACTION_PENDING_DATA_REQUEST",
              "CCSF_TRANSACTION_WAITING_END_INSTALLMENT_PLAN",
              "COUNTERPARTY_DATA_MISSING",
              "COUNTERPARTY_INSOLVENCY_PROCEDURE_EXISTS",
              "COUNTERPARTY_INSOLVENCY_PROCEDURE_UNKNOWN_STATUS",
              "COUNTERPARTY_KPI_MISSING",
              "COUNTERPARTY_NOT_REGISTERED",
              "COUNTERPARTY_NOT_SELECTED_FOR_FINANCING",
              "COUNTRY_CAPPING_EXCEEDED",
              "COUNTRY_DATA_MISSING_BORROWER",
              "COUNTRY_DATA_MISSING_COUNTERPARTY",
              "COUNTRY_NOT_ELIGIBLE_BORROWER",
              "COUNTRY_NOT_ELIGIBLE_COUNTERPARTY",
              "CREDIT_RISK_NOT_ELIGIBLE",
              "CREDIT_RISK_NOT_ELIGIBLE_COUNTERPARTY",
              "DATA_STILL_REFRESHING",
              "DEBT_ARREARS_PENDING_GRACE_PERIOD",
              "DEPRECATED_LATE_REPAYMENT",
              "DOES_NOT_MATCH_ELIGIBILITY_CRITERIA",
              "DOUBLE_MOBILIZATION",
              "DPD_15_LATE_REPAYMENT_BORROWER",
              "DPD_15_LATE_REPAYMENT_BUYER",
              "DPD_15_LATE_REPAYMENT_SELLER",
              "ELLISPHERE_RISK_INDEX",
              "EMAIL_DATA_MISSING_BORROWER",
              "ESSENTIAL_CLIENT_HAS_INSOLVENCY_PROCEDURE",
              "EXCEEDED_PARTNER_CREDIT_LINE",
              "EXCESSIVE_AMOUNT_LOAN_REQUEST",
              "EXCESSIVE_DURATION_LOAN_REQUEST",
              "EXPOSURE_TOO_OLD",
              "FILL_INVOICE_BUYER_INFORMATION",
              "FILL_INVOICE_SELLER_INFORMATION",
              "FINANCIAL_PRODUCT_DEACTIVATED",
              "FINANCIAL_PRODUCT_NOT_IN_RELEASE",
              "FINANCIAL_STATEMENT_BAD_KPI",
              "FINANCIAL_STATEMENT_PARSING_ISSUE",
              "HIGH_BUSINESS_RISK_INDEX",
              "HIGH_LOAN_DEFAULT_INDEX",
              "HIGH_LYSTA_RISK_INDEX",
              "INDUSTRY_CODE_DATA_MISSING_BORROWER",
              "INDUSTRY_CODE_DATA_MISSING_COUNTERPARTY",
              "INDUSTRY_CODE_NOT_ELIGIBLE_BORROWER",
              "INDUSTRY_CODE_NOT_ELIGIBLE_COUNTERPARTY",
              "INSOLVENCY_EARLY_SIGNAL_DETECTED",
              "INSOLVENCY_PROCEDURE_EXISTS_BORROWER",
              "INSOLVENCY_PROCEDURE_EXISTS_BUYER",
              "INSOLVENCY_PROCEDURE_EXISTS_SELLER",
              "INSTALLMENT_PLAN_DETECTED_FOR_TAX",
              "INSTALLMENT_PLAN_DETECTED_FOR_URSSAF",
              "INSURANCE_QUOTE_EXPIRED",
              "INVOICE_ALREADY_FINANCED",
              "INVOICE_AMOUNT_INCOHERENT",
              "INVOICE_AUTO_LIQUIDATION",
              "INVOICE_BLACKLIST_WORDS",
              "INVOICE_COMPLIANCE_ISSUE_DETECTED",
              "INVOICE_CONSOLIDATION_DETECTED",
              "INVOICE_DOCUMENTS_REJECTED",
              "INVOICE_DOCUMENTS_REQUIRED",
              "INVOICE_DOES_NOT_MATCH_ELIGIBILITY_CRITERIA",
              "INVOICE_INPUT_BANK_ACCOUNT_MISMATCH",
              "INVOICE_INPUT_BUYER_IDENTIFIER_MISMATCH",
              "INVOICE_INPUT_BUYER_NAME_MISMATCH",
              "INVOICE_INPUT_BUYER_VAT_NUMBER_MISMATCH",
              "INVOICE_INPUT_CURRENCY_MISMATCH",
              "INVOICE_INPUT_DUE_AT_MISMATCH",
              "INVOICE_INPUT_INCOHERENT",
              "INVOICE_INPUT_INVOICE_NUMBER_MISMATCH",
              "INVOICE_INPUT_ISSUED_AT_MISMATCH",
              "INVOICE_INPUT_NET_AMOUNT_MISMATCH",
              "INVOICE_INPUT_SELLER_BUYER_SWAP",
              "INVOICE_INPUT_SELLER_IDENTIFIER_MISMATCH",
              "INVOICE_INPUT_SELLER_NAME_MISMATCH",
              "INVOICE_INPUT_SELLER_VAT_NUMBER_MISMATCH",
              "INVOICE_INPUT_TAX_AMOUNT_MISMATCH",
              "INVOICE_INPUT_TOTAL_AMOUNT_MISMATCH",
              "INVOICE_LME_NON_COMPLIANT",
              "INVOICE_MISSING_ACCOUNT_NUMBER",
              "INVOICE_MISSING_LEGAL_MENTION",
              "INVOICE_MULTIPLE_STAGE",
              "INVOICE_NON_ELIGIBLE_USE_CASE",
              "INVOICE_NOT_ELIGIBLE_TO_CREDIT_INSURANCE",
              "INVOICE_NOT_ISSUED_YET",
              "INVOICE_NOT_RELATED_TO_WCR",
              "INVOICE_OVERDUE",
              "INVOICE_PAYABLE_BORROWER_IS_ACCOUNT_HOLDER",
              "INVOICE_RECEIVABLE_ACCOUNT_MISSING_LIVE_CONNECTION",
              "INVOICE_RECEIVABLE_ACCOUNT_MISSING_MANDATE",
              "INVOICE_RECEIVABLE_BORROWER_IS_NOT_ACCOUNT_HOLDER",
              "INVOICE_REPAYMENT_DATE_TOO_FAR_60D",
              "KPI_MISSING",
              "KPI_SCREENING_NOT_ELIGIBLE_BORROWER",
              "KYB_PENDING",
              "KYB_PENDING_USER_ACTION",
              "KYC_PENDING",
              "KYC_PENDING_USER_ACTION",
              "LATE_REPAYMENT_BORROWER",
              "LEGAL_FORM_DATA_MISSING_BORROWER",
              "LEGAL_FORM_DATA_MISSING_COUNTERPARTY",
              "LEGAL_FORM_NOT_ELIGIBLE_BORROWER",
              "LEGAL_FORM_NOT_ELIGIBLE_BUYER",
              "LEGAL_FORM_NOT_ELIGIBLE_COUNTERPARTY",
              "LINKED_BUSINESS_IS_BLOCKED",
              "LOAN_REQUEST_EXPIRED",
              "LOW_CASH_BALANCE",
              "LOW_FREE_CASH_FLOW",
              "MAX_AMOUNT_EXCEEDED",
              "MAX_AMOUNT_EXCEEDED_BORROWER",
              "MAX_AMOUNT_EXCEEDED_BUYER",
              "MAX_AMOUNT_EXCEEDED_SELLER",
              "MISSING_COUNTERPARTY_CONTACT_INFORMATION",
              "MISSING_PUBLIC_PROCUREMENT_DOCUMENT",
              "NEED_BANKING_INTEGRATION",
              "NOT_AN_INVOICE",
              "NOT_DIFFUSIBLE_BUYER",
              "NOT_DIFFUSIBLE_SELLER",
              "NOT_ENOUGH_DATA",
              "NOT_PRE_ELIGIBLE_SPV",
              "NOT_REGISTERED_BUYER",
              "NOT_REGISTERED_SELLER",
              "NO_B2B_CUSTOMER",
              "NO_CONNECTED_ACCOUNT_WITH_REQUIRED_BANK_IDENTIFIER",
              "NO_TAX_PAYMENT_FOUND",
              "NO_URSSAF_PAYMENTS_FOUND",
              "NO_URSSAF_PAYMENT_FOUND",
              "OFFBOARDED",
              "ORANGE_FLAG_TRANSACTIONS",
              "OTHER_BUSINESS_FROM_DIRECTOR_HAS_INSOLVENCY_PROCEDURE",
              "OUTDATED_DATA",
              "OUTDATED_INVOICE",
              "OUTDATED_INVOICE_2WEEKS",
              "OUTDATED_INVOICE_3WEEKS",
              "OUTDATED_INVOICE_CALF",
              "OVERDRAFT_REQUIRED",
              "PARTIAL_FINANCING_NOT_ALLOWED",
              "PLEASE_RECONNECT_BANK_ACCOUNTS",
              "POSTAL_CODE_DATA_MISSING_BORROWER",
              "POSTAL_CODE_DATA_MISSING_COUNTERPARTY",
              "POSTAL_CODE_NOT_ELIGIBLE_BORROWER",
              "POSTAL_CODE_NOT_ELIGIBLE_COUNTERPARTY",
              "PROACTIVE_RECOLLECTION",
              "PRUDENTIAL_EXPOSURE_EXCEEDED",
              "QONTO_INTEGRATION_GERMAN_USER_DOES_NOT_HAVE_4_MONTHS_OF_HISTORY",
              "QONTO_INTEGRATION_USER_DOES_NOT_HAVE_6_MONTHS_OF_HISTORY",
              "QONTO_INTEGRATION_USER_DOES_NOT_MEET_MINIMUM_REQUIREMENT_FOR_CREDIT_LINE",
              "RECENT_DEBT_ARREARS_KO",
              "RECENT_DEBT_ARREARS_PENDING_DATA_REQUEST",
              "RECENT_REVENUE_DROP",
              "RECENT_SEIZURE_DETECTED",
              "RECENT_TAX_ARREARS_PENDING_DATA_REQUEST",
              "RECENT_UNPAID_PRIVILEGED_TRANSACTIONS",
              "RECENT_UNPAID_PRIVILEGED_TRANSACTIONS_PENDING_DATA_REQUEST",
              "RECENT_URSSAF_ARREARS_PENDING_DATA_REQUEST",
              "RED_FLAG_TRANSACTIONS",
              "RELATED_COUNTERPARTY_HAS_FLAG",
              "RELATED_COUNTERPARTY_IS_LATE",
              "REMOVED_FROM_COMMERCIAL_REGISTER_BORROWER",
              "REMOVED_FROM_COMMERCIAL_REGISTER_BUSINESS",
              "REMOVED_FROM_COMMERCIAL_REGISTER_BUYER",
              "REMOVED_FROM_COMMERCIAL_REGISTER_SELLER",
              "REPAYMENT_CONCENTRATION_IS_TOO_HIGH",
              "REQUESTED_AMOUNT_EXCEEDS_REPAYMENT_CAPACITY",
              "REQUIRED_FINANCIAL_STATEMENT",
              "RISK_SCORE_DOWNGRADING",
              "SHARE_CAPITAL_DATA_MISSING_BORROWER",
              "SHARE_CAPITAL_NOT_ELIGIBLE_BORROWER",
              "SMALL_RECURRING_AMOUNT_DETECTED_FOR_URSSAF",
              "SUBSCRIPTION_NOT_ACTIVE",
              "TOO_LONG",
              "UNAUTHORIZED_LOAN_PAYMENT_ACCOUNT",
              "UNAUTHORIZED_LOAN_PAYMENT_ACCOUNT_BANK_IDENTIFIER",
              "UNAUTHORIZED_LOAN_PAYMENT_BENEFICIARY",
              "URSSAF_PAYMENTS_STOPPED",
              "USER_DOES_NOT_MEET_MINIMUM_MAX_AMOUNT_SIZE",
              "USER_DOES_NOT_MEET_MINIMUM_REQUIREMENT_FOR_CREDIT_LINE",
              "WAITING_FOR_THIRD_PARTY_PROVIDER",
              "WAIT_FOR_REPAYMENT",
              null
            ],
            "type": "string",
            "nullable": true
          },
          "deposits": {
            "additionalProperties": {
              "$ref": "#/components/schemas/LoanDepositedAmounts"
            },
            "description": "List of deposits made and/or pending on the loan. Deposits can be funded by borrower, loan beneficiary or guarantor and serves as safety measures in case of default.",
            "type": "object"
          },
          "earliest_to_repay_at": {
            "description": "Loan reimbursement earliest possible date",
            "format": "date-time",
            "type": "string"
          },
          "fees_estimated": {
            "default": null,
            "description": "In cents (estimated loan duration * interest * amount)",
            "type": "integer",
            "nullable": true
          },
          "fees_ongoing": {
            "default": null,
            "description": "Fees if you repay today. In cents (current duration * interest * amount)",
            "type": "integer",
            "nullable": true
          },
          "guarantor": {
            "allOf": [
              {
                "$ref": "#/components/schemas/LightBusiness"
              }
            ],
            "default": null,
            "description": "Entity legally responsible to payback the loan",
            "nullable": true
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "invoice_ids": {
            "description": "Invoices already uploaded that the loan should finance",
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "loan_from": {
            "allOf": [
              {
                "$ref": "#/components/schemas/APILightAccountDetails"
              }
            ],
            "description": "Bank account used to transfer the amount of the loan to the borrower"
          },
          "loan_from_references": {
            "description": "References in the transfer of the loan payment, on the account sending the money",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "loan_to": {
            "allOf": [
              {
                "$ref": "#/components/schemas/APILightAccountDetails"
              }
            ],
            "description": "Bank account receiving the money of the loan"
          },
          "loan_to_references": {
            "description": "References in the transfer of the loan payment, on the account receiving the money",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "loan_type": {
            "enum": [
              "CREDIT_CARD_FINANCING",
              "FUNDING_OBLIGATION_CONSOLIDATION",
              "INVENTORY_FINANCING",
              "INVOICE_BASED_FINANCING",
              "WALLET_FINANCING"
            ],
            "type": "string"
          },
          "metadata": {
            "additionalProperties": {
              "nullable": true
            },
            "default": null,
            "type": "object",
            "nullable": true
          },
          "notification_emails": {
            "items": {
              "format": "email",
              "type": "string"
            },
            "type": "array"
          },
          "paid_at": {
            "default": null,
            "description": "Loan disbursement date",
            "format": "date-time",
            "type": "string",
            "nullable": true
          },
          "paid_interests_amount": {
            "description": "Amount of interests that has been paid in cents.",
            "type": "integer"
          },
          "pricing": {
            "allOf": [
              {
                "$ref": "#/components/schemas/APILoanPricing"
              }
            ],
            "default": null,
            "description": "Rates and penalties applied to this loan. Null until the loan's pricing has been determined.",
            "nullable": true
          },
          "repaid_amount": {
            "description": "Sum of all amounts repaid by the borrower for both principal and interests, in cents",
            "type": "integer"
          },
          "repaid_nominal_amount": {
            "description": "Amount of the loan principal that has been repaid in cents.",
            "type": "integer"
          },
          "repaid_nominal_at": {
            "default": null,
            "format": "date-time",
            "type": "string",
            "nullable": true
          },
          "repayment_from": {
            "allOf": [
              {
                "$ref": "#/components/schemas/APILightAccountDetails"
              }
            ],
            "default": null,
            "description": "Bank account repaying the loan",
            "nullable": true
          },
          "repayment_from_references": {
            "description": "References in the transfer of the loan repayment, on the account sending the money",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "repayment_method": {
            "enum": [
              "DIRECT_DEBIT",
              "P2P",
              "SCT"
            ],
            "type": "string"
          },
          "repayment_to": {
            "allOf": [
              {
                "$ref": "#/components/schemas/APILightAccountDetails"
              }
            ],
            "description": "Bank account to send the loan repayment to"
          },
          "repayment_to_references": {
            "description": "References in the transfer of the loan repayment, on the account receiving the money",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "status": {
            "enum": [
              "CANCELED",
              "CLOSED",
              "DECLINED",
              "DELETED",
              "INITIATED",
              "ISSUE_DETECTED",
              "PENDING_VALIDATION",
              "SCHEDULED",
              "SUBMITTED",
              "TO_REPAY",
              "TO_REPAY_FEES",
              "TO_VALIDATE",
              "VALIDATED"
            ],
            "type": "string"
          },
          "submitted_at": {
            "format": "date-time",
            "type": "string"
          },
          "to_pay_at": {
            "description": "Loan disbursement estimated date",
            "format": "date-time",
            "type": "string"
          },
          "to_repay_at": {
            "description": "Loan reimbursement estimated date",
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "amount",
          "beneficiary",
          "borrower",
          "currency",
          "deposits",
          "earliest_to_repay_at",
          "id",
          "invoice_ids",
          "loan_from",
          "loan_from_references",
          "loan_to",
          "loan_to_references",
          "loan_type",
          "paid_interests_amount",
          "repaid_amount",
          "repaid_nominal_amount",
          "repayment_from_references",
          "repayment_method",
          "repayment_to",
          "repayment_to_references",
          "status",
          "submitted_at",
          "to_pay_at",
          "to_repay_at"
        ],
        "type": "object"
      },
      "TypedApiPage1": {
        "properties": {
          "count": {
            "type": "integer"
          },
          "data": {
            "items": {
              "$ref": "#/components/schemas/MinimalLoanAPI"
            },
            "type": "array"
          },
          "next_page": {
            "default": null,
            "type": "string",
            "nullable": true
          },
          "page_size": {
            "type": "integer"
          },
          "previous_page": {
            "default": null,
            "type": "string",
            "nullable": true
          },
          "total": {
            "default": null,
            "type": "integer",
            "nullable": true
          }
        },
        "required": [
          "count",
          "page_size"
        ],
        "type": "object"
      }
    }
  }
}
```