List the documents uploaded to a verification
The newest document of each type is the one reviewed.
Authorization
personalKeyAuth Your personal API key, sent as Authorization: Bearer <key>. Generate
it in the SautiKit console under Account > API key. It acts as you,
not as a workspace, so it reaches what belongs to you as a person:
your KYC verification. Workspace API keys don't work here.
In: header
Path Parameters
The KYC profile id.
uuidResponse Body
application/json
curl -X GET "https://example.com/v1/kyc/profiles/497f6eca-6276-4993-bfeb-53cbbbba6f08/documents"{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "profile_id": "bfcb6779-b1f9-41fc-92d7-88f8bc1d12e8", "doc_type": "id_front", "filename": "string", "content_type": "application/pdf", "size_bytes": 5242880, "created_at": "2019-08-24T14:15:22Z" } ]}Save details without sending them for review PUT
Saves the account type and the details typed so far. Nothing is checked or reviewed until you submit. Saving replaces the details stored before, so send every field you want kept. Only Kenya is supported for now: `country` must be `Kenya` or left out (`400 kyc.country_unsupported` otherwise). A profile waiting for review can't be changed (`409 kyc.pending_review`).
Upload a document POST
Uploads one document as `multipart/form-data` with a `doc_type` field and a `file` field: a PDF, JPEG or PNG of at most 5 MB. What each account type needs: - **Individual**: `id_front` and `id_back` (photos of the national ID, passport or alien ID). - **Business**: `cr12`, plus the director's `id_front` and `id_back`. - **Reseller**: as a business, plus the signed `reseller_agreement` (download it from sautikit.com/legal/sautikit-reseller-agreement.pdf). Uploading again replaces the document of that type for the review. A profile waiting for review can't take new documents (`409 kyc.pending_review`).