DFS v26.1
Loading

DFS Lender Services API (latest)

Download OpenAPI specification:

Contains functionality around lenders.

For endpoints that support localization the language can be passed either as a query string parameter (using the name 'language') or in the 'accept-language' header.
If no language is passed to such endpoints then the default configured language will be used.

Lender

Delete lender

Deletes an existing lender.

Authorizations:
Bearer
path Parameters
id
required
integer <int32>

Lender id

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Responses

Response samples

Content type
application/json
{
  • "code": "BadRequest",
  • "subCode": "NA",
  • "message": "The request was not in the required format",
  • "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}

Get lender by id

Gets lender with provided id.

Authorizations:
Bearer
path Parameters
id
required
integer <int32>
header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "participantUid": "string",
  • "isActive": true,
  • "externalId": "string",
  • "data": "string",
  • "dynamicSchemaId": 0,
  • "creditFacilityIds": [
    ]
}

Modify a lender

Modifies an existing lender.

Authorizations:
Bearer
path Parameters
id
required
integer <int32>

LenderId of the lender that will be modified

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Request Body schema:

Patch lender request

object (UpdateableProperty<>)

Wrapper around properties used in patch requests

object (UpdateableProperty<>)

Wrapper around properties used in patch requests

object (Api.Common.UpdateableProperty<System.Nullable<Boolean>>)

Wrapper around properties used in patch requests

object (UpdateableProperty<>)

Wrapper around properties used in patch requests

object (UpdateableProperty<>)

Wrapper around properties used in patch requests

object (Api.Common.UpdateableProperty<System.Nullable<Int32>>)

Wrapper around properties used in patch requests

Responses

Request samples

Content type
{
  • "name": {
    },
  • "participantUid": {
    },
  • "isActive": {
    },
  • "externalId": {
    },
  • "data": {
    },
  • "dynamicSchemaId": {
    }
}

Response samples

Content type
application/json
{
  • "code": "BadRequest",
  • "subCode": "NA",
  • "message": "The request was not in the required format",
  • "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}

Get lenders

Gets lenders.

Authorizations:
Bearer
header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create a new lender

Creates a new lender.

Authorizations:
Bearer
header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Request Body schema:

Create lender request

name
required
string non-empty
participantUid
required
string non-empty
isActive
required
boolean
externalId
string or null
data
string or null
dynamicSchemaId
integer or null <int32>

Responses

Request samples

Content type
{
  • "name": "string",
  • "participantUid": "string",
  • "isActive": true,
  • "externalId": "string",
  • "data": "string",
  • "dynamicSchemaId": 0
}

Response samples

Content type
application/json
{
  • "code": "BadRequest",
  • "subCode": "NA",
  • "message": "The request was not in the required format",
  • "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}