{
"count": 22,
"next": "http://localhost/order/v1/subscriptions/?page=2&page_size=2",
"previous": null,
"results": [
{
"id": 102212,
"custom_fields": null,
"invoices": [
{
"id": 192,
"serial": "-",
"amount": 100,
"status": "unpaid",
"payment_url": "http://localhost:8000/order/v1/checkout/192/?entity=invoice",
"created_at": "2025-05-13 01:54:39.076673+00:00",
"due_date": "2025-05-13 01:54:39.076389+00:00",
"payment_method": null,
"payment_provider": null
},
{
"id": 186,
"serial": "INV-202500064",
"amount": 0,
"status": "paid",
"payment_url": null,
"created_at": "2025-05-12 06:55:01.018092+00:00",
"due_date": "2025-05-12 06:55:01.017499+00:00",
"payment_method": "free",
"payment_provider": "techrar"
}
],
"next_invoice": {
"id": 192,
"serial": "-",
"amount": 100,
"status": "unpaid",
"payment_url": "http://localhost:8000/order/v1/checkout/192/?entity=invoice",
"created_at": "2025-05-13 01:54:39.076673+00:00",
"due_date": "2025-05-13 01:54:39.076389+00:00",
"payment_method": null,
"payment_provider": null
},
"name_en": "Trial",
"name_ar": "Trial",
"item_id": 109,
"app_id": 86,
"created_at": "2025-05-12T09:55:01.343826+03:00",
"customer_id": 1,
"duration": 1,
"duration_unit": "day",
"start_date": "2025-05-12",
"end_date": "2025-05-12",
"status": "suspended",
"in_trial": false,
"trial_start_date": "2025-05-12",
"trial_end_date": "2025-05-13",
"paused_at": null,
"total_billing_cycles": 0,
"remaining_billing_cycles": 0,
"auto_renew": true,
"current_period_start_date": "2025-05-12",
"current_period_end_date": "2025-05-12",
"last_billing_date": "2025-05-12",
"next_billing_date": "2025-05-13",
"usage_counter": 0,
"usage_limit": null,
"usage_unit": "credit",
"auto_increment_usage": false,
"order": 257
},
{
"id": 102211,
"custom_fields": null,
"invoices": [
{
"id": 185,
"serial": "INV-202500063",
"amount": 0,
"status": "paid",
"payment_url": null,
"created_at": "2025-05-12 06:54:00.076216+00:00",
"due_date": "2025-05-12 06:54:00.075512+00:00",
"payment_method": "free",
"payment_provider": "techrar"
},
{
"id": 201,
"serial": "-",
"amount": 100,
"status": "unpaid",
"payment_url": "http://localhost:8000/order/v1/checkout/201/?entity=invoice",
"created_at": "2025-05-13 16:02:16.321041+00:00",
"due_date": "2025-05-13 16:02:16.285731+00:00",
"payment_method": null,
"payment_provider": null
}
],
"next_invoice": {
"id": 201,
"serial": "-",
"amount": 100,
"status": "unpaid",
"payment_url": "http://localhost:8000/order/v1/checkout/201/?entity=invoice",
"created_at": "2025-05-13 16:02:16.321041+00:00",
"due_date": "2025-05-13 16:02:16.285731+00:00",
"payment_method": null,
"payment_provider": null
},
"name_en": "Trial",
"name_ar": "Trial",
"item_id": 109,
"app_id": 86,
"created_at": "2025-05-12T09:54:00.406305+03:00",
"customer_id": 1,
"duration": 1,
"duration_unit": "day",
"start_date": "2025-05-12",
"end_date": "2025-05-12",
"status": "suspended",
"in_trial": false,
"trial_start_date": "2025-05-12",
"trial_end_date": "2025-05-13",
"paused_at": null,
"total_billing_cycles": 0,
"remaining_billing_cycles": 0,
"auto_renew": true,
"current_period_start_date": "2025-05-12",
"current_period_end_date": "2025-05-12",
"last_billing_date": "2025-05-12",
"next_billing_date": "2025-05-13",
"usage_counter": 0,
"usage_limit": null,
"usage_unit": "credit",
"auto_increment_usage": false,
"order": 256
}
]
}