v1

latestOpenAPI 3.1.02026-07-24680631.6 KB

Upload Doc - Bank Statement

This API needs to be called only after the confirmation on the payment received at Stockal's end and not prior to that. Bank statement should contain the transaction done as part of the payment. User can upload max of 4 documents at a stretch. This API could also be be used to be able to re-upload the document if the transaction is on hold due to unavailability of any document. Everytime a re-upload is being done - the transaction will need to be resubmitted using Submit Transaction API

post/fund/customer/transaction/upload-doc

Query parameters

customerId*string

Unique Customer Id

transactionId *string

Transaction Id

fileNamestring

Name of the file

fileType*string

This is the type of document uploaded. Bank Statement

docPasswordstring

Password if the document is password protected (Optional)

Headers

api-keystring

API Key

auth-keystring

Auth key generated using API key & secret

Request body

file*string binary

Accepts pdf, jpeg, png (form-data) Max size: 5MB

Response

200

statusinteger
messagestring

Example response

{
  "status": 200,
  "message": "Success",
  "doc": {
    "msg": "Document Uploaded Successfully",
    "docId": 3983,
    "docType": "YEAR_BANK_STATEMENT",
    "createdAt": "2022-12-06T17:36:39.909+00:00"
  }
}