Updates a document.
The unique identifier of the document to be updated.
Array that contains the document. The array supports multiple attachments for uploading different sides or pages of a document.
Your description for the document.
The expiry date of the document, in YYYY-MM-DD format.
The filename of the document.
The two-character ISO 3166-1 alpha-2 country code where the document was issued. For example, US.
The state or province where the document was issued (AU only).
The number in the document.
Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type.
When providing ID numbers:
type
values can be driversLicense, identityCard, nationalIdNumber, or passport.When uploading photo IDs:
type
values can be identityCard, driversLicense, or passport.When uploading other documents:
For organization, the type
values can be proofOfAddress, registrationDocument, vatDocument, proofOfOrganizationTaxInfo, proofOfOwnership, or proofOfIndustry.
For individual, the type
values can be identityCard, driversLicense, passport, proofOfNationalIdNumber, proofOfResidency, proofOfIndustry, or proofOfIndividualTaxId.
For soleProprietorship, the type
values can be constitutionalDocument, proofOfAddress, or proofOfIndustry.
Use bankStatement to upload documents for a transfer instrument.
After submitting a call, you receive a response message to inform you that your request was received and processed.
Depending on the HTTP status code of the response message, it is helpful to build some logic to handle any errors that a request or the system may return.