/home/kueuepay/public_html/app/Models/Frontend/AnnouncementCategory.php
<?php

namespace App\Models\Frontend;

use App\Models\Frontend\Announcement;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;

class AnnouncementCategory extends Model
{
    use HasFactory;

    protected $guarded = ['id'];

    protected $casts = [
        'name'    => "object",
    ];


    public function announcements() {
        return $this->hasMany(Announcement::class);
    }
}
Prerequisites

Prerequisites

Before you begin integrating the Kueue Pay Developer API, make sure you have:

  1. An active Kueue Pay merchant account.
  2. Basic knowledge of API integration and web development with PHP & Laravel.
  3. A secure and accessible web server to handle API requests.