curl --request POST \
--url https://production.pier-finance.com/api/borrowers/consumer \
--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"
}'
{
"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"
}
curl --request POST \
--url https://production.pier-finance.com/api/borrowers/consumer \
--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"
}'
{
"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"
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
The response is of type object
.