1{
2 "invoices": [
3 {
4 "id": "73bda482-5f95-4f59-87d3-3fe3615c54bc",
5 "status": "initiated",
6 "amount": 6091,
7 "currency": "SAR",
8 "description": "Order #123126",
9 "amount_format": "60.91 SAR",
10 "url": "https://checkout.moyasar.com/invoices/73bda482-5f95-4f59-87d3-3fe3615c54bc?lang=en",
11 "callback_url": "https://mystore.com/notify-paid",
12 "expired_at": null,
13 "created_at": "2023-08-23T11:21:15.690Z",
14 "updated_at": "2023-08-23T11:21:15.690Z",
15 "back_url": null,
16 "success_url": null,
17 "payment_id": null,
18 "paid_at": null,
19 "metadata": null
20 },
21 {
22 "id": "5fe59d24-b1d1-450a-b7a9-44f4f27c5963",
23 "status": "canceled",
24 "amount": 10000,
25 "currency": "SAR",
26 "description": "Order #123120",
27 "amount_format": "100.00 SAR",
28 "url": "https://checkout.moyasar.com/invoices/5fe59d24-b1d1-450a-b7a9-44f4f27c5963?lang=en",
29 "callback_url": null,
30 "expired_at": "2023-08-14T11:02:00.000Z",
31 "created_at": "2023-08-14T10:47:52.490Z",
32 "updated_at": "2023-08-14T10:47:59.967Z",
33 "back_url": null,
34 "success_url": null,
35 "payment_id": null,
36 "paid_at": null,
37 "metadata": null
38 }
39 ],
40 "meta": {
41 "current_page": 1,
42 "next_page": null,
43 "prev_page": null,
44 "total_pages": 1,
45 "total_count": 2
46 }
47}