Customers

Retrieve a history of Customer CAP

Work with Customers.Retrieves the history of Customer CAP with the given ID.

get/admin/customers/cap-history/{id}

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/customers/cap-history/{id}
  • Auth: HTTP basic

Path parameters

idnumber double required
Example:1

The ID of the desired Customer.

Response

service_idstring

ID of customer internet service

date_timestring

Date

actionstring

Actions: 'auto_top_up', 'manual_top_up', 'portal_top_up', 'api_top_up', 'rollover_to_next_month', 'rollover_to_new_service', 'end_of_period', 'end_of_validity', 'disable_top_ups', 'ended_quantity', 'delete', 'remove_cap'

amountnumber

amount of action (bytes)

total_amountnumber

total amount

Example response

[
  {
    "service_id": "34",
    "date_time": "2020-01-29 16:01:48",
    "action": "manual_top_up",
    "amount": 40480000,
    "total_amount": 40480000
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.