Skip to main content

Validate Batch File Push Transaction

This API is used to validate the OCT batch transactions. The uploaded CSV file will be parsed, and individual transactions will be validated.

Method: POST

Endpoint:

http://localhost:4041/rpc/VisaDirectService/ValidateBatchFilePushTransaction


Request

Payload Parameters
ParameterTypeMandatoryDescription
contentStringYesIt is the base64 format of the CSV file.
fileNameStringNoIt is the name of the file.
batchIdStringYesIt is the ID given to the batch transaction. It should be unique.

Sample Request

{
"content": "U2VuZGVyQWNjb3VudE51bWJlcnxCdXNpbmVzc0FwcGxpY2F0aW9uSWR8TWVyY2hhbnRDYXRlZ29yeUNvZGV8QW1vdW50fFRyYW5zYWN0aW9uQ3VycmVuY3lDb2RlfFJlY2lwaWVudEFjY291bnROdW1iZXJ8UmVjaXBpZW50Q2FyZEV4cGlyeURhdGV8UmVjaXBpZW50TmFtZXxQdXJwb3NlT2ZQYXltZW50fEVuZFRvRW5kSUQKNDA2MDMyMDAwMDAwMDEyN3xDUHw2MDEyfDE4MHxVU0R8NDg5NTE0MjIzMjEyMDAwNnx8Y2hlbm5hYXxiaWxsaW5nfDEzOTQyNAo0MDYwMzIwMDAwMDAwMTI3fENQfDYwMTJ8MTgwfFVTRHw0ODk1MTQyMjMyMTIwMDA2fHxjaGVubmFhfGJpbGxpbmd8MTQ0NTc4CjQwNjAzMnxDUHw2MDEyfDE4MHxVU0R8NDg5NTE0MjIzMjEyMDAwNnx8Y2hlbm5hYXxiaWxsaW5nfDQ1NTY5MAoK",
"batchId": "23458"
}

Sample Response

{
"message": "BATCH FILE PROCESSING"
}