Batch Bulk Query
Overview
This operation is used to get the status of the bulk transaction for the bulk payment that is sent in bulkTransfer.
For Information on what SOAP parameters to pass kindly refer to “SwitchIT SOAP xml samples and test parameters”.
BATCH BULK QUERY
- Sample Request
- Sample Response
POST / bulk-query
curl `${baseurl}/bulk-query`
-H "Content-type: application/json"
-X POST
-d '{
"action": "BQ",
"terminalId": "7000000001",
"transaction": {
"companyId": "TestCompanyID",
"pin": "kghxqwveJ3eSQJip/cmaMQ==",
"amount": 15,
"reference": "BQTestBT002",
"senderName": "Test Accounts",
"endPoint": "B",
"terminalCard": false,
"bulkItems": {
"bulkItem": [
{
"uniqueId": "BTTestBT04"
},
{
"uniqueId": "BTTestBT05"
},
]
}
}
}
POST / bulk-query
{
"direction": "response",
"reference": "09FG2110141524400822WKY9A",
"companyId": null,
"date": null,
"amount": 0,
"totalFailed": 0,
"totalSuccess": 0,
"error": "0",
"message": "Transaction Successful",
"bulkItems": {
"bulkItem": [
{
"uniqueId": "BTTestBT04",
"merchantCode": null,
"bankCode": null,
"terminalId": "7000000001",
"accountId": "3028875212",
"sortCode": null,
"beneficiaryName": "Etranzact Test",
"narration": "narration",
"status": "0",
"amount": "200",
"message": "Successful"
},
{
"uniqueId": "BTTestBT04",
"merchantCode": null,
"bankCode": null,
"terminalId": "7000000001",
"accountId": "2125347370",
"sortCode": null,
"beneficiaryName": "Etranzact Test",
"narration": "narration",
"status": "0",
"amount": "200",
"message": "Successful"
}
]
},
"otherReference": "reference-958239",
"action": "BQ",
"records": null,
"openingBalance": 0,
"closingBalance": 0
}