A common carrier is entitled to a reasonable compensation which the common carrier may require to be paid in advance. If payment is refused, the common carrier may refuse to carry.