Add a compliance document
Compliance
Add a compliance document
Attach a compliance document to a user or to an associated party — exactly one of
userId or associatedPartyId must be provided. The type and subType values
accepted depend on whether the document belongs to an individual or a business
(associated parties are always individuals). The document file must first be
uploaded via the files API; reference it here by its file public ID.
POST
Add a compliance document
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Available options:
DRIVERS, ID_CARD, PASSPORT, INCOME_SOURCE, INVESTOR_DOC, PAYMENT_SOURCE, RESIDENCE_PERMIT, OTHER, PROOF_OF_ADDRESS, AUTH_LETTER, UTILITY_BILL, BANK_STATEMENT, RENTAL_AGREEMENT, TAX_DOCUMENT, VOTER_REGISTRATION_CARD, BANK_REFERENCE_LETTER, LEASE_OR_TENANCY_AGREEMENT Available options:
FRONT_SIDE, BACK_SIDE, SINGLE_SIDE Required string length:
3Pattern:
^file.*Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Maximum string length:
255Pattern:
^[\x20-\x7E\n]*$Maximum string length:
255Pattern:
^[\x20-\x7E\n]*$Pattern:
^usr.*Pattern:
^ap.*Response
A compliance document.
Available options:
DRIVERS, ID_CARD, PASSPORT, INCOME_SOURCE, INVESTOR_DOC, PAYMENT_SOURCE, RESIDENCE_PERMIT, OTHER, PROOF_OF_ADDRESS, AUTH_LETTER, UTILITY_BILL, BANK_STATEMENT, RENTAL_AGREEMENT, TAX_DOCUMENT, VOTER_REGISTRATION_CARD, BANK_REFERENCE_LETTER, LEASE_OR_TENANCY_AGREEMENT Available options:
FRONT_SIDE, BACK_SIDE, SINGLE_SIDE Required string length:
3Pattern:
^file.*Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Maximum string length:
255Pattern:
^[\x20-\x7E\n]*$Maximum string length:
255Pattern:
^[\x20-\x7E\n]*$Pattern:
^usr.*Pattern:
^ap.*