Skip to main content

Upload transaction related documents

Upload supporting document with respect to ongoing transactions.

URL
POST https://api-test.instarem.com:4803/api/v1/transaction/document

Header Parameters:

ParameterDescriptionTypeRequired
authorizationAuthentication tokenStringYES
content-typeThe Content-Type entity header is used to indicate the media type of the resource. Expected values could be multipart/form-dataStringYES
X-CLIENT-IDUnique id for client generated by Nium, Required only in case of partner based model (E.g. 593feb7c7c52bb2357b2df6c).StringNo

Example Request:

curl --request post \\
--url "https://api-test.instarem.com:4803/api/v1/transaction/document" \\
--header 'authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0OTgxMzQ4OTQsImRhdGEiOnsic3ViIjoiNTk0MjNmMzZjZWEyMTQ2OTI2ODczOWE1IiwiY2xpZW50IjoiNTk0MjNmMzZjZWEyMTQ2OTI2ODczOWExIn0sImlhdCI6MTQ5ODA0ODQ5NH0.pevwSDpk-JDNtVIpqFu_m0Xu1UnDVumrAYStcrxf8sM' \\
--header 'content-type: multipart/form-data' \\
--form "document=" \\

Body Parameters:

ParameterDescriptionTypeRequired
documentThese documents could be transaction related proof which needs to be in zip format.FileYES

Example Response:

{
"document": {
"id": "6012a81b11c68700c02ef11b"
}
}

Response Parameters:

ParameterDescriptionType
document.idUnique document IDString