How to use PagerDuty plugin to insert data into pagerduty payload

I haven't used PageDuty and don't have .conf which you are using.

Have you tried to use rename or copy:
mutate { copy => { "details" => "payload" } }