Payment objects require providing 'type' when populated using array as argument on the constructor