Payment channel API. Let the client request the duration of a payment channel. Server can set allowed time window.