# Get positive tradelines

Returns a list of positive tradelines

Endpoint: GET /v1/sessions/{sessionId}/positive-tradelines
Version: 1.0
Security: keycloakAuthLive, keycloakAuthTest

## Security:

  - `keycloakAuthLive` (unknown)
    oauth2

  - `keycloakAuthTest` (unknown)
    oauth2

## Path parameters:

  - `sessionId` (string, required)

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `sources` (null | array, required)
    Data providers from which the response data was obtained.

  - `sources.sourceId` (null | string, required)
    Identifier of the data provider that supplied the information.

  - `sources.status` (string, required)
    Processing status of the data provider (e.g. successful, failed).
    Enum: "UNKNOWN", "SUCCESS", "ERROR", "FORBIDDEN", "UNSUPPORTED_COUNTRY", "WAITING_FOR_CUSTOMER", "WAITING_FOR_PROVIDER", "PACKAGE_UPGRADE_REQUIRED", "SOME_DATA_MISSING", "ID_TAX_ONLY", "ID_INACTIVE", "PERSON_PROTECTED", "NOT_FOUND", "NAME_INVALID", "GENDER_INVALID", "DOB_INVALID", "ID_CODE_INVALID", "ADDRESS_INVALID", "NO_RESIDENCE", "AMBIGUOUS", "SERVICE_DOWN_RETRY", "INTEGRATION_ERROR"

  - `sources.countryCode` (null | string)
    ISO 3166-1 alpha-3 country code of the data provider.

  - `sources.contextDataPackage` (string)
    Data package under which the data was obtained from this provider with the given status.
    Enum: "CREDIT_HISTORY", "SCORE", "BANK_ACCOUNT_CATEGORIZATION", "IDENTIFICATION"

  - `positiveTradelines` (null | array, required)
    Positive tradelines, such as active credit products with a satisfactory repayment history.

  - `positiveTradelines.sourceId` (null | string, required)
    Identifier of the data provider that supplied the credit product (tradeline) record.

  - `positiveTradelines.amount` (object)
    Original principal amount of the credit product at issuance.

  - `positiveTradelines.amount.amount` (number, required)
    Amount as a decimal number.

  - `positiveTradelines.amount.currencyCode` (null | string, required)
    ISO 4217 currency code (e.g. EUR, GBP).

  - `positiveTradelines.contractType` (string, required)
    Type of credit product (e.g. loan, mortgage, credit card).
    Enum: "UNKNOWN", "UNSECURED_LOAN", "SECURED_LOAN", "CO_BORROWER_LOAN", "CREDIT_CARD", "LEASING", "MORTGAGE_LOAN", "OVERDRAFT", "RENTAL_AGREEMENT", "OTHER"

  - `positiveTradelines.creditor` (object)
    Creditor that issued the credit product.

  - `positiveTradelines.creditor.sector` (string, required)
    Industry sector of the creditor (e.g. finance, telecommunications).
    Enum: "UNKNOWN", "FINANCE", "TELECOM", "COURT_AUTHORITY", "OTHER", "PUBLIC", "PRIVATE"

  - `positiveTradelines.creditor.name` (null | string)
    Name of the creditor (organization or individual).

  - `positiveTradelines.agreementOriginationDate` (null | string)
    Date on which the credit agreement was concluded.

  - `positiveTradelines.expectedRepaymentDate` (null | string)
    Date by which the credit product is due to be fully repaid.

  - `positiveTradelines.responsibility` (string)
    Indicates whether the data subject is solely or jointly liable for the credit product.
    Enum: "UNKNOWN", "BORROWER", "CO_BORROWER", "GUARANTOR", "HEIR", "OTHER"

  - `positiveTradelines.repaidAmount` (object)
    Total amount repaid to date on this credit product.

  - `positiveTradelines.currentMonthlyPayment` (object)
    Current monthly instalment amount.

  - `positiveTradelines.currentBalance` (object)
    Outstanding balance.

  - `positiveTradelines.agreementEndDate` (null | string)
    Scheduled or expected end date of the credit agreement.

## Response 400:

  - `400` (unknown)
    Bad Request

## Response 400 fields (application/json):

  - `type` (null | string)

  - `title` (null | string)

  - `status` (null | integer)

  - `detail` (null | string)

  - `instance` (null | string)

  - `errors` (null | object)

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 404:

  - `404` (unknown)
    Not Found

## Response 500:

  - `500` (unknown)
    Internal Server Error

