Banking

Upload a proof-of-address document

Attaches a proof-of-address document to the banking application, for the cases where the partner asks for one. The application must already exist and have an individual on it, so complete the application first.

Two things reject uploads that otherwise look fine. A .jpg file must be sent as fileType: "jpeg" — "jpg" is refused. And the partner caps the decoded size at 10MB, even though their own upload page advertises 20MB; oversized files are rejected here before the round-trip.

fileContent accepts either a bare base64 string or a data: URL, so a browser FileReader.readAsDataURL result can be passed through unchanged.

A Firebase callable. Callables wrap the request in {"data": ...} and the reply in {"result": ...}. Send the id_token from /auth as a Bearer token. Free.

post/uploadBankingDocument

Request

  • Base URL: https://laso.finance
  • URL: https://laso.finance/uploadBankingDocument
  • Auth: API key in header Authorization

Request body

Example request

{
  "data": {
    "userId": "usr_7aff81763cae58c936aa6de67dd5a95e",
    "documentType": "utility_bill",
    "fileType": "jpeg",
    "country": "US",
    "filename": "utility-bill.pdf"
  }
}

Response

The created document id and its review status.

Changes

No recorded changes to this operation across all 2 revisions of this API.