POST
Accept legal documents

Authorizations

Authorization
string
header
required

The user's id_token from authentication — the ID token, not the access_token. The program and environment (sandbox/prod) are read from the token.

Path Parameters

applicationId
string
required

The application id from create / get.

Body

application/json
documentSetVersion
string
required

Must match the current program document set version returned by the legal-document GET endpoint.

Example:

"1.0.0"

acceptedDocuments
object[]
required

Accepted documents copied from the legal-document GET response. Must include every required document for the account type.

Minimum array length: 1

Response

Legal documents accepted and persisted

success
boolean
Example:

true

data
object