Electronically signs a loan document and updates the application’s status to accepted
accepted
1curl -X POST https://production.pier-finance.com/api/loan_agreements/doc_43da3b3f95c745e1985a71e9a00d6c27/sign \2 -H "Authorization: Bearer <token>"
1{2 "status": "signed",3 "id": "doc_96d13bec673c4eba8d44c9cda3bbb811",4 "application_id": "app_a9d2f388030d4f4296f80fc327e08d0d",5 "document_url": "https://example.com/document-endpoint-unique-hash",6 "created_on": "2022-12-31T21:07:16.642Z",7 "type": "credit_agreement",8 "signature_timestamp": "2022-12-31T21:10:47.610Z"9}