Using the below method, details of transactions can be retrieved.

curl --request GET \
  --url https://api.acefone.co.uk/v1/billing/transactions \
  --header 'accept: application/json' \
  --header 'authorization: Authorization'

Response

Variable NameDescriptionData Type
total_recordsTotal number of recordsNumber
filtered_recordsTotal number of records after filters are appliedNumber
page_recordsNumber of records on current pageNumber
pageCurrent page numberNumber
dataTransaction logsObject
data[].idUnique ID of transactionNumber
data[].amountAmount charged in transactionNumber
data[].balanceAccount balance after transactionNumber
data[].typeType of TransactionString
data[].descriptionDescription transactionString
data[].pro_data_amountPro-data - proportionate allocation of the amountNumber
data[].commentComment associated with to a transactionString
data[].date_timeTimestamp of transactionString
Sample JSON
{
"total_records":"2"
"filtered_records":"2"
"page_records":"2"
"page":"1"
"data":[
0:{
"id":"1025"
"amount":0
"balance":0
"type":"Tollfree Charge"
"description":"Tollfree number (4420XXXXX021) assigned"
"pro_rata_amount":0
"comment":"Tollfree number charge"
"date_time":"2020-02-21 07:06:16"
}
1:{
"id":"1021"
"amount":0
"balance":0
"type":"Product Applied"
"description":"Default for customer"
"pro_rata_amount":0
"comment":"The Plan Default for customer has been applied"
"date_time":"2020-02-21 05:35:29"
}
]
}
Language
Click Try It! to start a request and see the response here!