{
"invoice": {
"id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"amount": "100.00",
"currency": "EGP",
"status": "pending",
"customer_email": "customer@example.com",
"customer_name": "Ahmed Ali",
"customer_phone": "01012345678",
"customer_metadata": {
"order_id": "1001"
},
"external_reference": "ORD-1001",
"success_url": "https://merchant.example/orders/1001/success",
"cancel_url": "https://merchant.example/orders/1001/cancel",
"webhook_url": "https://merchant.example/webhooks/autopay",
"expires_at": "2026-08-19T10:00:00+00:00",
"completed_at": null,
"cancelled_at": null,
"created_at": "2026-08-17T10:00:00+00:00",
"updated_at": "2026-08-17T10:00:00+00:00",
"active_transaction": null
}
}