Skip to main content

Lending Programs

To offer lending products like Charge Cards, you'll need to get a Lending Program approved by the Bank.

Think of your Lending Program as a credit line set by the Bank. This size of the credit line determines the total amount you can lend to your customers through lending products connected to the particular Lending Program.

The total credit issued to customers cannot exceed your Lending Program's size. This ensures responsible lending practices.

The Bank may approve several Lending Programs, each tailored to specific lending products you offer to your customers.

Besides program limit size the Lending Program also includes other essential attributes, such as type, name, and date of creation.

Lending Program Types

Currently you can open several Lending Programs types with the Bank, depending on the type of the Lending products you plan to offer to your customers. Later other types of Lending Program Types will be introduced.

typeDescription
BankSponsoredBusinessChargeCardBusiness Charge Card with the capital for lending purposes is provided by the Bank
ClientSponsoredBusinessChargeCardBusiness Charge Card with the capital for lending purposes is provided by the Client

Lending Program Extended Information

At any point of time an extended information on the current status of the Lending Program can be extracted. It contains the data on utilized and available part of the Lending Program size.

Extra information for the lending program Lending Program Extra Information

Get by Id

Get a lending program resource by id.

VerbGET
Urlhttps://api.s.unit.sh/lending-programs/{id}
Required Scopelending-programs
Timeout (Seconds)5

Response

Response is a JSON:API document.

200 OK

FieldTypeDescription
dataLending ProgramA lending-program resource.
curl -X GET 'https://api.s.unit.sh/lending-programs/1' \
-H "Authorization: Bearer ${TOKEN}"

Get Extended Information by Id

Get lending program extended information resource by id.

VerbGET
Urlhttps://api.s.unit.sh/lending-programs/{id}/extended
Required Scopelending-programs
Timeout (Seconds)5

Response

Response is a JSON:API document.

200 OK

FieldTypeDescription
dataLending Program Extended InformationA lending-program extended information resource.
curl -X GET 'https://api.s.unit.sh/lending-programs/1/extended' \
-H "Authorization: Bearer ${TOKEN}"

List

List lending program resources. Paging can be applied.

VerbGET
Urlhttps://api.s.unit.sh/lending-programs
Required Scopelending-programs
Timeout (Seconds)5

Query Parameters

NameTypeDefaultDescription
page[limit]integer100Optional. Maximum number of resources that will be returned. Maximum is 1000 resources. See Pagination.
page[offset]integer0Optional. Number of resources to skip. See Pagination.
filter[name]string(empty)Optional. Filters the results by the specified program name.
filter[programType]string(empty)Optional. Filters the results by the specified Lending Program Type.
filter[minProgramLimit]string(empty)Optional. Filters the results by a minimum value of programSizeLimit.
filter[minProgramLimit]string(empty)Optional. Filters the results by a maximum value of programSizeLimit.
filter[orgId]string(empty)Optional. Filters the results by the specified org id.
filter[bankId]string(empty)Optional. Filters the results by the specified bank id.
curl -X GET 'https://api.s.unit.sh/lending-programs?page[limit]=20&page[offset]=10' \
-H "Authorization: Bearer ${TOKEN}"

Response

Response is a JSON:API document.

200 OK

FieldTypeDescription
dataArray of Lending ProgramsArray of lending-program resources.
Example Response:
{
"data": [
{
"type": "bankSponsoredChargeCardProgram",
"id": "12",
"attributes": {
"createdAt": "2024-02-16T16:32:11.741Z",
"name": "Unit Finance Inc - MyBank BankSponsored Lending Program",
"programSizeLimit": 10900000
}
},
{
"type": "bankSponsoredChargeCardProgram",
"id": "13",
"attributes": {
"createdAt": "2024-02-16T16:32:12.307Z",
"name": "Unit Finance Inc - MyBank Lending Program",
"programSizeLimit": 10900000
}
},
{
"type": "clientSponsoredChargeCardProgram",
"id": "15",
"attributes": {
"createdAt": "2024-02-16T20:29:46.920Z",
"name": "Unit Finance Inc - MyBank ClientSponsored Lending Program",
"programSizeLimit": 10900000
}
}
],
"meta": {
"pagination": {
"total": 3,
"limit": 100,
"offset": 0
}
}
}