POST
/
loan_agreements
/
{loan_agreement_id}
/
sign
curl --request POST \
  --url https://production.pier-finance.com/api/loan_agreements/{loan_agreement_id}/sign \
  --header 'Authorization: Basic <encoded-value>'
{
  "status": "signed",
  "id": "doc_96d13bec673c4eba8d44c9cda3bbb811",
  "application_id": "app_a9d2f388030d4f4296f80fc327e08d0d",
  "signature_timestamp": "2022-12-31T21:10:47.610Z",
  "document_url": "https://production-formapi-docs.s3.amazonaws.com/store/acc_QqdcDH47A63qKZbK3S/templates/tpl_4zqGxezHzrfqDaxGr2/submissions/sub_jQRTtHgekEbdJTxtsR.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJESVN6QC4ACN3XSQ%2F20221231%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221231T210718Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&X-Amz-Signature=9ead57dba9e8e2179a3e9950f1c7c19fe8b10dfbc55f5ce09228bd216e4cdd73",
  "created_on": "2022-12-31T21:07:16.642Z"
}

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

loan_agreement_id
string
required

Response

200
application/json
status
enum<string>
required
Available options:
pending_signature,
signed,
expired
id
string
required
application_id
string
required
signature_timestamp
string
required
Example:

"2022-12-31T21:10:47.610Z"

document_url
string
required
Example:

"https://production-formapi-docs.s3.amazonaws.com/store/acc_QqdcDH47A63qKZbK3S/templates/tpl_4zqGxezHzrfqDaxGr2/submissions/sub_jQRTtHgekEbdJTxtsR.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJESVN6QC4ACN3XSQ%2F20221231%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221231T210718Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&X-Amz-Signature=9ead57dba9e8e2179a3e9950f1c7c19fe8b10dfbc55f5ce09228bd216e4cdd73"

created_on
string
required
Example:

"2022-12-31T21:07:16.642Z"