Description
Request to this API will return all transactions count based on status of the transaction created by the selected merchants with limitations with timestamp
URL: https://secure1.sandbox.directpay.online/API/v7/index.php
Response:
The method will respond with the result of your request
Variables to send:
Parameter | Data type | Description |
|
Request | Text | getTransactionCount | Mandatory |
CompanyToken | Token | Token you got from 3G to operate this API | Mandatory |
allTrans |
| Status of transaction | Mandatory
|
startTimeStamp | timestamp | Timestamp of the start date | Mandatory |
userToken | Token | Token fo user who initiated refund | Optional |
Request Example:
<?xml version="1.0" encoding="utf-8"?> <API3G> <CompanyToken>DC6405AA-A025-4B8B-989B-A8921DD31094</CompanyToken> <Request>getTransactionCount</Request> <startTimeStamp>1579478429</startTimeStamp> <endTimeStamp>1585552085</endTimeStamp> <allTrans>1</allTrans> <userToken>26E692C5-4F6F-46CA-AE86-6007DBDE4DDA</userToken> </API3G>
Success Response Example
<?xml version="1.0" encoding="UTF-8"?> <API3G> <Code>000</Code> <Explanation>Results Found</Explanation> <TransactionCount>6</TransactionCount> </API3G>
Fail Response Example
<?xml version="1.0" encoding="UTF-8"?> <API3G> <Code>901</Code> <Explanation>No transactions found</Explanation> <TransactionCount></TransactionCount> </API3G>