{
    "id": "976212e9-ddaa-46d8-b7bb-5f6ed967b4f4",
    "status": "paid",
    "amount": 30300,
    "currency": "SAR",
    "description": "Subscription Payment",
    "logo_url": "https:\/\/api.moyasar.com\/rails\/active_storage\/blobs\/proxy\/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCSndSb2dNPSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--451a82f59da5eec3a4037db2dfc86dda2a8288de\/data",
    "amount_format": "303.00 SAR",
    "url": "https:\/\/checkout.moyasar.com\/invoices\/976212e9-ddaa-46d8-b7bb-5f6ed967b4f4?lang=en",
    "callback_url": "https:\/\/coffee.alreyada.tech\/api\/payment\/callback\/dashboard",
    "expired_at": null,
    "created_at": "2026-09-30T09:24:17.857Z",
    "updated_at": "2026-09-30T09:24:24.381Z",
    "back_url": "https:\/\/motakamel.alreyada.tech\/dashboard\/subscriptions?payment=failed",
    "success_url": "https:\/\/coffee.alreyada.tech\/api\/payment\/callback\/dashboard",
    "metadata": {
        "track_id": "moyasar_6abcd541b0b4b3.18225380",
        "company_id": "6",
        "package_id": "9",
        "subscription_id": "44",
        "subscription_addition_id": ""
    },
    "payments": [
        {
            "id": "b8c68415-1c30-405e-ba45-d613471a6446",
            "status": "paid",
            "amount": 30300,
            "fee": 0,
            "currency": "SAR",
            "refunded": 0,
            "refunded_at": null,
            "captured": 0,
            "captured_at": null,
            "voided_at": null,
            "description": "Subscription Payment",
            "amount_format": "303.00 SAR",
            "fee_format": "0.00 SAR",
            "refunded_format": "0.00 SAR",
            "captured_format": "0.00 SAR",
            "invoice_id": "976212e9-ddaa-46d8-b7bb-5f6ed967b4f4",
            "ip": "41.40.161.62",
            "callback_url": "https:\/\/checkout.moyasar.com\/invoices\/976212e9-ddaa-46d8-b7bb-5f6ed967b4f4",
            "created_at": "2026-09-30T09:24:21.404Z",
            "updated_at": "2026-09-30T09:24:23.537Z",
            "metadata": null,
            "source": {
                "type": "creditcard",
                "company": "visa",
                "name": "Ebrahem Rashed",
                "number": "4111-11XX-XXXX-1111",
                "gateway_id": "moyasar_cc_5ePLqH4JzgSMyLst1RSteaC",
                "reference_number": "992627330215",
                "token": null,
                "message": "APPROVED",
                "transaction_url": null,
                "response_code": "00",
                "authorization_code": "00486",
                "issuer_name": "MOYASAR PAY SANDBOX",
                "issuer_country": "SA",
                "issuer_card_type": "credit",
                "issuer_card_category": "PREPAID"
            }
        }
    ]
}