Get Transaction
Description: Get Client Transaction.
- Sample Request
- Sample Response
Request Parameters
Parameter | Type | Description | Required |
---|---|---|---|
startDate | String | Filter start date | No |
endDate | String | Filter end date | No |
GET {base_url}/utility/transaction?startDate=23-01-2021&endDate=01-08-2021
curl `${base_url}/utility/transaction?startDate=23-01-2021&endDate=01-08-2021`
-H "Content-type: application/json"
-H "Authorization: Bearer YOUR_SECRET_KEY"
'
Response Parameters
Parameter | Type | Description | Required |
---|---|---|---|
status | Integer | HTTP status code | Yes |
message | String | Description of HTTP status code | Yes |
data | Object | Response data block for enquiry | Yes |
successCalls | Integer | Total count of successful calls | Yes |
failedCalls | Integer | Total count of failed calls | Yes |
serviceCost | Integer | Total transaction amount | Yes |
amountPaid | Integer | Total amount paid | Yes |
GET {base_url}/utility/transaction?startDate=23-01-2021&endDate=01-08-2021
{
"status": 200,
"message": "Transaction Details",
"data": {
" successCalls ": 10,
" failedCalls ": 20,
" serviceCost ": 50050,
" amountPaid ": 5000
}
}