public virtual Task <Order> PayAsync(string orderId, OrderPayOptions options, RequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken)) { return(this.RequestAsync(HttpMethod.Post, $"{this.InstanceUrl(orderId)}/pay", options, requestOptions, cancellationToken)); }
public virtual Order Pay(string orderId, OrderPayOptions options, RequestOptions requestOptions = null) { return(this.Request(HttpMethod.Post, $"{this.InstanceUrl(orderId)}/pay", options, requestOptions)); }