switch extraParams to customData, use custom field of payload