Borrowers Endpoints
Applications Endpoints
Loan Agreements Endpoints
Facilities Endpoints
Coverage and Utilities
Applications Endpoints
Approve application
POST
/
applications
/
{application_id}
/
approve
curl --request POST \
--url https://production.pier-finance.com/api/applications/{application_id}/approve \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"type": "line_of_credit",
"amount": 1000000,
"apr": 0,
"annual_fee": 0,
"billing_cycle": 30,
"finance_charge": 0,
"grace_period": 21,
"grace_period_interest_rate": 0,
"interest_rate": 0,
"late_payment_fee": 0,
"origination_fee": 0,
"term": 24
}'
{
"id": "app_f0467657bba948e6a87292e182132848",
"borrower_id": "bor_d965bea9f47a4b108562642dbb1dae9f",
"credit_type": "revolving_line_of_credit",
"status": "approved",
"created_on": "2022-12-31T01:36:52.606Z",
"decisioned_on": "2023-01-17T05:31:52.955Z",
"offer": {
"type": "line_of_credit",
"amount": 1000000,
"apr": 0,
"annual_fee": 0,
"billing_cycle": 30,
"finance_charge": 0,
"grace_period": 21,
"grace_period_interest_rate": 0,
"interest_rate": 0,
"late_payment_fee": 0,
"origination_fee": 0,
"term": 24
}
}
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
.
curl --request POST \
--url https://production.pier-finance.com/api/applications/{application_id}/approve \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"type": "line_of_credit",
"amount": 1000000,
"apr": 0,
"annual_fee": 0,
"billing_cycle": 30,
"finance_charge": 0,
"grace_period": 21,
"grace_period_interest_rate": 0,
"interest_rate": 0,
"late_payment_fee": 0,
"origination_fee": 0,
"term": 24
}'
{
"id": "app_f0467657bba948e6a87292e182132848",
"borrower_id": "bor_d965bea9f47a4b108562642dbb1dae9f",
"credit_type": "revolving_line_of_credit",
"status": "approved",
"created_on": "2022-12-31T01:36:52.606Z",
"decisioned_on": "2023-01-17T05:31:52.955Z",
"offer": {
"type": "line_of_credit",
"amount": 1000000,
"apr": 0,
"annual_fee": 0,
"billing_cycle": 30,
"finance_charge": 0,
"grace_period": 21,
"grace_period_interest_rate": 0,
"interest_rate": 0,
"late_payment_fee": 0,
"origination_fee": 0,
"term": 24
}
}