{
"id": 102193,
"custom_fields": null,
"invoices": [
{
"id": 123,
"serial": "-",
"amount": 5,
"status": "unpaid",
"payment_url": "http://localhost:8000/order/v1/checkout/123/?entity=invoice",
"created_at": "2025-04-24 07:57:42.402783+00:00",
"due_date": "2025-04-24 07:57:42.401808+00:00",
"payment_method": null,
"payment_provider": null
},
{
"id": 122,
"serial": "INV-202500017",
"amount": 5,
"status": "paid",
"payment_url": null,
"created_at": "2025-04-24 07:56:41.730828+00:00",
"due_date": "2025-04-24 07:56:41.730196+00:00",
"payment_method": "visa_master",
"payment_provider": "myfatoorah"
}
],
"next_invoice": {
"id": 123,
"serial": "-",
"amount": 5,
"status": "unpaid",
"payment_url": "http://localhost:8000/order/v1/checkout/123/?entity=invoice",
"created_at": "2025-04-24 07:57:42.402783+00:00",
"due_date": "2025-04-24 07:57:42.401808+00:00",
"payment_method": null,
"payment_provider": null
},
"name_en": "Sa",
"name_ar": "لافة",
"item_id": 107,
"app_id": 86,
"created_at": "2025-04-24T10:57:06.918778+03:00",
"customer_id": 1,
"duration": 1,
"duration_unit": "day",
"start_date": "2025-04-24",
"end_date": "2025-04-24",
"status": "suspended",
"in_trial": false,
"trial_start_date": null,
"trial_end_date": null,
"paused_at": null,
"total_billing_cycles": 1,
"remaining_billing_cycles": 1,
"auto_renew": true,
"current_period_start_date": "2025-04-24",
"current_period_end_date": "2025-04-24",
"last_billing_date": "2025-04-24",
"next_billing_date": "2025-04-24",
"usage_counter": 0,
"usage_limit": null,
"usage_unit": "credit",
"auto_increment_usage": false,
"order": 231
}