Skip to main content

GetAllTransactions

This API will list all the transactions done by the program user.

Method: POST

Endpoint:

http://localhost:4041/rpc/VisaDirectService/GetAllTransactions


Request

Payload Parameters
ParameterTypeMandatoryDescription
pageNumberintegerYesIt is the page number of the page in which the transaction has to be listed.
pageSizeintegerYesIt is the field in which you can set the number of transactions that can be listed per page.
referenceNumberstringNoThe reference number of a particular transaction.
endToEndIdstringNoThe endToEndId of a particular transaction.
batchIdstringNoThis is the batchId of the transaction if initiated by a file. Not applicable for individual transactions.
fromDatestringNoThe date from which the transaction is to be listed.
toDatestringNoThe date to which the transactions have to be listed.
statusstringNoThe status of the transaction.
transactionTypestringNoThe type of transaction.

Sample Request

{
"pageNumber": 1,
"pageSize": 10
}

Sample Response

{
"count": "1",
"transactions": [
{
"id": "ObjectID(\"67c9471ff399ed2a1cbf9a01\")",
"createdDate": "2025-03-06T06:56:31.709Z",
"status": "WAITING_FOR_CANCEL_APPROVAL",
"referenceNumber": "76dd6710a9304b2c8a5522cee3e65ab9",
"endToEndID": "314222",
"transactionStatusHistory": [
{
"status": "WAITING_FOR_APPROVAL",
"createdDate": "2025-03-06T06:56:31.716Z",
"user": "xyzpgmaker@netxd.com"
},
{
"status": "APPROVED",
"createdDate": "2025-03-06T06:58:09.235Z",
"user": "xyzpgchecker@netxd.com"
}
],
"acquirerCountryCode": "840",
"acquiringBin": "409999",
"amount": 85,
"businessApplicationId": "CP",
"cardAcceptor": {
"address": {
"city": "ATLANTA",
"country": "USA",
"addressLine": "rfefre",
"state": "CA",
"zipCode": "55678"
},
"idCode": "22003",
"name": "xyzprogram",
"terminalId": "TD000009"
},
"localTransactionDateTime": "2025-03-06T12:26:31+05:30",
"merchantCategoryCode": "6012",
"retrievalReferenceNumber": "506512314222",
"systemsTraceAuditNumber": "314222",
"purposeOfPayment": "billing",
"settlementServiceIndicator": "9",
"sourceOfFundsCode": "05",
"transactionCurrencyCode": "USD",
"recipientCardExpiryDate": "2027-03",
"recipientName": "siva",
"recipientPrimaryAccountNumber": "************0006",
"senderAccountNumber": "************0127",
"pushServiceProcessingType": {
"requestType": "02"
},
"sourceAmount": 85,
"sourceCurrencyCode": "840",
"transactionIdentifier": "234234322342343",
"userEmailId": "xyzpgmaker@netxd.com",
"approver": "xyzpgcheckfalser@netxd.com",
"transactionType": "OCT",
"bankId": "22001",
"programId": "22003",
"validateResponse": {
"accountInquiryResponse": [
{
"billingCurrency": "840",
"issuerCountryCode": "840",
"issuerName": "Visa Test Bank",
"moneyTransferPushFundsDomestic": "Y"
}
],
"cardValidationResponse": {
"actionCode": "00",
"responseCode": "5",
"transactionIdentifier": "132700219447373",
"approvalCode": "00309H"
}
},
"plTransactionNumber": "QA00000001561001",
"lastupdatedDate": "2025-03-06T07:09:01.344Z",
"cancelBy": "xyzpgmaker@netxd.com",
"cancelledDate": "2025-03-06T07:09:05.424Z",
"cancelApprovedBy": "xyzpgchecker@netxd.com",
"deferredDate": "2025-03-06T06:59:00Z"
}
]
}