{
"id": 102212,
"custom_fields": null,
"customer": {
"id": 1,
"country_code": "966",
"username": "0534501056",
"mobile_number": "966534501056",
"email": "[email protected]",
"name": "Safwan Saigh",
"lang": "en",
"current_city_id": 1,
"is_email_verified": true,
"is_mobile_verified": true,
"is_blocked": false,
"is_deleted": false,
"is_verified": true,
"national_id": "1111782031",
"secondary_mobile_number": "0534501056",
"date_of_birth": "1999-02-25",
"avatar": "/media/uploads/customer/avatars/2024/07/29/12048986-a1b6-4e1d-9b8a-216331f3cd71.png",
"joined_at": "2022-03-12T14:51:15.115924Z",
"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
}