Uploading Supporting Documents

Providing supporting documents is a key requirement for certain processes and transactions on Kora, ensuring they are legitimate and follow financial regulations. We have created an API that simplifies this process, helping you and your customers securely submit all the necessary documents.

This API will enable you to:

  • Upload: Submit single file to fulfill all document requirements for a transaction/action.
  • Confirm: Receive a secure confirmation that your documents have been uploaded.

Uploading Supporting documents

To upload a supporting document, make a POST request to the Upload document endpoint:

{{file_utility_baseurl}}/api/v1/files

The request body (multipart/form-data) should have the following parameters:

FieldData TypeRequired?Description
fileFile (Image or PDF)TrueThis is the file to be uploaded.
purposeStringTrueThis is the reason for which the upload is being made. For example, this can be payout_supporting_document, chargeback_supporting_document, etc.
referenceStringTrueThis is the unique file reference.

Here's an example of a response to this request:

{
    "status": true,
    "message": "File upload successful",
    "data": {
        "reference": "sample-file-reference",
        "purpose": "payout_supporting_document"
    }
}