Using the below method, a list of all due charges can be obtained.

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

Response

Variable NameDescriptionData Type
total_due_amountTotal due charges pending on user's accountNumber
total_recordsTotal number of due charge recordsNumber
filtered_recordsTotal number of records after filters are appliedNumber
page_recordsTotal number of records on current pageNumber
pageCurrent page numberNumber
dataList of due chargesObject
data.idUnique ID of due chargeNumber
data.chargeCharges appliedNumber
data.due_amountPending due amountNumber
data.descriptionDescription of due chargeString
data.payment_statusPayment status of due chargesString
data.due_dateDate till when due charge need to be settledString
Sample JSON
{
"total_due_amount":17
"total_records":503
"filtered_records":2
"page_records":2
"page":"1"
"data":[
0:{
"id":711
"charge":11
"due_amount":11
"description":"Bundle Bundle renewed by system"
"payment_status":"Pending"
"due_date":"2020-04-01 00:00:00"
}
1:{
"id":713
"charge":6
"due_amount":6
"description":"Extension License Test License 1 renewed by system"
"payment_status":"Pending"
"due_date":"2020-04-01 00:00:00"
}
]
}
Language
Click Try It! to start a request and see the response here!