POST
/
applications
/
{application_id}
/
reject
curl --request POST \
  --url https://production.pier-finance.com/api/applications/{application_id}/reject \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "rejection_reason": "bank_balance_too_low"
}'
{
  "rejection_reasons": [
    "bank_balance_too_low"
  ],
  "id": "app_f0467657bba948e6a87292e182132848",
  "borrower_id": "bor_1677bbbaf21a4954bb114bd9c4348d8a",
  "credit_type": "installment_loan",
  "status": "rejected",
  "created_on": "2022-12-31T02:20:35.934Z",
  "decisioned_on": "2022-12-31T02:21:01.842Z"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

application_id
string
required

Body

application/json

Response

200
application/json

The response is of type object.