{
    "id": "be97e87c-fcfe-4e79-b9bc-26a74a46f94d",
    "status": "paid",
    "amount": 40000,
    "currency": "SAR",
    "description": "Subscription Payment",
    "logo_url": "https:\/\/api.moyasar.com\/rails\/active_storage\/blobs\/proxy\/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCSndSb2dNPSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--451a82f59da5eec3a4037db2dfc86dda2a8288de\/data",
    "amount_format": "400.00 SAR",
    "url": "https:\/\/checkout.moyasar.com\/invoices\/be97e87c-fcfe-4e79-b9bc-26a74a46f94d?lang=en",
    "callback_url": "https:\/\/coffee.alreyada.tech\/api\/payment\/callback",
    "expired_at": null,
    "created_at": "2026-10-25T13:55:31.014Z",
    "updated_at": "2026-10-25T13:55:52.069Z",
    "back_url": "http:\/\/motakamel-app.alreyada.tech\/subscribe\/failed",
    "success_url": "https:\/\/coffee.alreyada.tech\/api\/payment\/callback",
    "metadata": {
        "track_id": "moyasar_6ade0a52d49f25.54143668",
        "company_id": "78",
        "package_id": "3",
        "subscription_id": "160",
        "subscription_addition_id": ""
    },
    "payments": [
        {
            "id": "ee79a2f0-614c-4c59-9751-52dc8feceece",
            "status": "paid",
            "amount": 40000,
            "fee": 0,
            "currency": "SAR",
            "refunded": 0,
            "refunded_at": null,
            "captured": 0,
            "captured_at": null,
            "voided_at": null,
            "description": "Subscription Payment",
            "amount_format": "400.00 SAR",
            "fee_format": "0.00 SAR",
            "refunded_format": "0.00 SAR",
            "captured_format": "0.00 SAR",
            "invoice_id": "be97e87c-fcfe-4e79-b9bc-26a74a46f94d",
            "ip": "197.48.153.151",
            "callback_url": "https:\/\/checkout.moyasar.com\/invoices\/be97e87c-fcfe-4e79-b9bc-26a74a46f94d",
            "created_at": "2026-10-25T13:55:48.361Z",
            "updated_at": "2026-10-25T13:55:51.290Z",
            "metadata": null,
            "source": {
                "type": "creditcard",
                "company": "visa",
                "name": "Ebrahem Rashed",
                "number": "4111-11XX-XXXX-1111",
                "gateway_id": "moyasar_cc_gAzkxRwsk2LhrEDXKuP3FrJ",
                "reference_number": "992629847615",
                "token": null,
                "message": "APPROVED",
                "transaction_url": null,
                "response_code": "00",
                "authorization_code": "001381",
                "issuer_name": "MOYASAR PAY SANDBOX",
                "issuer_country": "SA",
                "issuer_card_type": "credit",
                "issuer_card_category": "PREPAID"
            }
        }
    ]
}