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 NameDescriptionData Type
total_recordsTotal number of online payments recordsNumber
filtered_recordsTotal number of records after filters are appliedNumber
page_recordsTotal number of records on current pageNumber
pageCurrent page numberNumber
dataList of online paymentsObject
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"
}
]
}
Language
Click Try It! to start a request and see the response here!