get https://api.acefone.co.uk/v1/billing/payments/online
Using the below method, all online payment logs can be retrieved.
curl --request GET \
--url https://api.acefone.co.uk/v1/billing/payments/online \
--header 'accept: application/json' \
--header 'authorization: Authorization'
Response
| Variable Name | Description | Data Type |
|---|---|---|
| total_records | Total number of online payments records | Number |
| filtered_records | Total number of records after filters are applied | Number |
| page_records | Total number of records on current page | Number |
| page | Current page number | Number |
| data | List of online payments | Object |
| id | ||
| amount | ||
| type | ||
| comment | ||
| date_time |
| Sample JSON |
|---|
| { "total_records":"1" "filtered_records":"1" "page_records":"1" "page":"1" "data":[ 0:{ "id":"2665" "amount":"2" "type":"Manual Payment" "comment":"test" "date_time":"31-Mar-2020 13:58:25" } ] } |
