get
https://demo-api.edfapay.com/api/v1/transactions/dashboard/soft-pos-summary/
Return Transaction SoftPOS Summary By TerminalId
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
This API allows you to retrieve a summary of SoftPOS terminal transactions.
Endpoint
GET https://demo-api.edfapay.com/api/v1/transactions/dashboard/soft-pos-summary/{terminalId}
Authentication
All requests must include a valid X-API-KEY in the request header.
The API key must be sent from the server side and should never be exposed on the client side.
Security Note
Always send API requests from your backend.
Do not expose your API Key in frontend applications.
Example Request
curl --location 'https://demo-api.edfapay.com/api/v1/transactions/dashboard/soft-pos-summary/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx?days=7' \
--header 'X-API-KEY: YOUR_API_KEY'Query Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| terminalId | String | Yes | The unique terminal identifier (UUID). |
| days | Integer | Yes | The number of days to retrieve the summary for. |
Important Note
You can obtain the terminalId from the Dashboard under Terminal Details.The
daysparameter must be one of the following values:1,7,30, or360.
Response Example
{
"code": 200,
"message": "Success",
"errorCode": null,
"data": {
"dashboardPaymentAmounts": [
{
"totalAmount": XX.XX,
"operationType": "PURCHASE",
"transactionCount": XX
}
],
"dashboardOperationType": null,
"dashboardTopMerchant": null
}
}{
"code": 500,
"message": "Days should be one of the following values: 1, 7, 30, 360",
"errorCode": "500",
"data": null
}