Borrowers

Retrieve a borrower by id

GET
Retrieve one borrower by id

Path parameters

borrower_idstringRequired

Response

This endpoint returns an object
address
object
The address of the borrower
date_of_birth
string
The borrower's date of birth (YYYY-MM-DD)
id
string
The ID of the borrower
email
string
The borrower's valid email address
first_name
string
The borrower's first name
last_name
string
The borrower's last name
kyc_completion_date
string
Date kyc completed on the borrower (YYYY-MM-DD)
created_on
datetime
The date the borrower was created

Errors

GET
1curl https://production.pier-finance.com/api/borrowers/bor_a1d0c30d77104f35b4c842b99132624e \
2 -H "Authorization: Bearer <token>"
1{
2 "address": {
3 "line_1": "15 Main Street",
4 "city": "Austin",
5 "state": "TX",
6 "zip": "73301",
7 "line_2": null
8 },
9 "date_of_birth": "1991-12-18",
10 "id": "bor_a1d0c30d77104f35b4c842b99132624e",
11 "email": "jdough@acme.co",
12 "first_name": "Jane",
13 "last_name": "Dough",
14 "kyc_completion_date": "2022-11-15",
15 "created_on": "2022-12-31T00:58:47.828Z"
16}