GET /v1/settlements
use Getsolaris\LaravelTossPayments\TossPayments;
use Getsolaris\LaravelTossPayments\Attributes\Settlement;
$settlements = TossPayments::for(Settlement::class)
->startDate($startDate)
->endDate($endDate)
->get();
return $settlements->json();
POST /v1/settlements
use Getsolaris\LaravelTossPayments\TossPayments;
use Getsolaris\LaravelTossPayments\Attributes\Settlement;
$settlement = TossPayments::for(Settlement::class)
->paymentKey($paymentKey)
->request();
return $settlement->json();