Get Cancel Transaction
Get Cancel Transaction API is used to list the transactions that are waiting for cancel approval.
Endpoint
http://localhost:4041/rpc/VisaDirectService/GetCancelTransaction
Method
POST
Request
Payload Parameters
Parameter | Type | Description |
---|---|---|
pageNumber | integer (mandatory) | The page number of the page in which the transaction has to be listed. |
pageSize | integer (mandatory) | The number of transactions that can be listed per page. |
referenceNumber | string | The reference number of a particular transaction. |
endToEndId | string | The endToEndId of a particular transaction. |
batchId | string | The batchId of the transaction (applicable for file-initiated transactions, not for individual transactions). |
fromDate | string | The start date for listing transactions. |
toDate | string | The end date for listing transactions. |
status | string | The status of the transaction. |
transactionType | string | The 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_CANCEL_APPROVAL",
"createdDate": "2025-03-06T06:56:31.716Z",
"user": "xyzpgmaker@netxd.com"
},
{
"status": "WAITING_FOR_CANCEL_APPROVAL",
"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"
}
]
}