Remove the response parameter
Route::get('payments/confirmation/', 'PaymentController@confirm')->name('payments.confirm');
And check request instead
public function confirm(Request $request)
{
dd($request->all());
}
Parameter binding like you would need an actual parameter (here I added 222 as an example)
http://127.0.0.1:8000/payments/confirmation/222?status=approved&code=000&reason=Transaction