Borrowers Endpoints
Applications Endpoints
Loan Agreements Endpoints
Facilities Endpoints
Coverage and Utilities
Borrowers Endpoints
Update consumer borrower
PATCH
/
borrowers
/
consumer
/
{borrower_id}
Copy
curl --request PATCH \
--url https://production.pier-finance.com/api/borrowers/consumer/{borrower_id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"address": {
"line_1": "15 Main Street",
"line_2": "Unit 204",
"city": "Austin",
"state": "TX",
"zip": "73301"
},
"date_of_birth": "1991-12-18",
"email": "jdough@acme.co",
"first_name": "Jane",
"last_name": "Dough",
"ssn": "999888777",
"kyc_completion_date": "2022-11-15",
"phone": "2065886919"
}'
Copy
{
"address": {
"line_1": "15 Main Street",
"line_2": null,
"city": "Austin",
"state": "TX",
"zip": "73301"
},
"id": "bor_a1d0c30d77104f35b4c842b99132624e",
"date_of_birth": "1991-12-18",
"email": "jdough@acme.co",
"first_name": "Jane",
"last_name": "Dough",
"ssn": "999888777",
"kyc_completion_date": "2022-11-15",
"created_on": "2022-12-31T00:58:47.828Z",
"phone": "2065886919"
}
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
Body
application/json
Response
200
application/json
The response is of type object
.
Copy
curl --request PATCH \
--url https://production.pier-finance.com/api/borrowers/consumer/{borrower_id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"address": {
"line_1": "15 Main Street",
"line_2": "Unit 204",
"city": "Austin",
"state": "TX",
"zip": "73301"
},
"date_of_birth": "1991-12-18",
"email": "jdough@acme.co",
"first_name": "Jane",
"last_name": "Dough",
"ssn": "999888777",
"kyc_completion_date": "2022-11-15",
"phone": "2065886919"
}'
Copy
{
"address": {
"line_1": "15 Main Street",
"line_2": null,
"city": "Austin",
"state": "TX",
"zip": "73301"
},
"id": "bor_a1d0c30d77104f35b4c842b99132624e",
"date_of_birth": "1991-12-18",
"email": "jdough@acme.co",
"first_name": "Jane",
"last_name": "Dough",
"ssn": "999888777",
"kyc_completion_date": "2022-11-15",
"created_on": "2022-12-31T00:58:47.828Z",
"phone": "2065886919"
}
Assistant
Responses are generated using AI and may contain mistakes.