Customers
Retrieve voucher
Work with customer vouchers (prepaid card).Retrieves voucher by ID.
get/admin/customers/prepaid-cards/{id}
Request
- Base URL: https://demo.splynx.com/api/2.0
- URL: https://demo.splynx.com/api/2.0/admin/customers/prepaid-cards/{id}
- Auth: HTTP basic
Path parameters
idnumber double required
Example:120
The id of the desired voucher.
Response
Example response
{
"id": 120,
"type": "prepaid",
"status": "new",
"price": 5,
"pool_id": 2,
"partner_id": 1,
"location_id": 2,
"speed_download": 1024,
"speed_upload": 1024,
"traffic_in_total": 5000,
"traffic_in_used": 0,
"traffic_in_used_mb": 0,
"traffic_out_total": 5000,
"traffic_out_used": 0,
"traffic_out_used_mb": 0,
"traffic_all_total": 9000,
"traffic_all_used": 0,
"traffic_all_used_mb": 0,
"prefix": "SPLCP",
"short_login": "SomeRANdomGeneratedLogin",
"login": "SPLCPSomeRANdomGeneratedLogin",
"password": "dJHBdwu56R",
"seller_name": "seller name",
"full_name": "full name",
"email": "test@email.box",
"phone": "1234567",
"remark": "remark",
"activated_at": "0000-00-00 00:00:00",
"time_online": 48,
"time_online_selector": "hours",
"time_online_used": 0,
"valid_till": "2018-12-31",
"time_expired": 0,
"mac": "00:00:00:00:00:00",
"customer_id": 1,
"tariff_id": 1,
"invoice_id": 1,
"expired_by_selector": "NULL",
"time_expired_selector": "minutes",
"serie": "201801",
"changed": "Y",
"is_import": "1",
"created_at": "2018-01-22 14:09:26",
"expired_by": "valid_date"
}Changes
No recorded changes to this operation across all 1 revision of this API.