Rename buildpayload to request