Esempio n. 1
0
 public Task <EmptyResponse> Cancel(string orderId, CancellationToken cancellationToken = default)
 {
     return(_rest.Post <object, EmptyResponse>($"orders/cancel?orderId={orderId}", null,
                                               cancellationToken));
 }
Esempio n. 2
0
 public async Task <EmptyResponse> Register(CancellationToken cancellationToken = default)
 {
     return(await _rest.Post <object, EmptyResponse>($"sandbox/register",
                                                     null, cancellationToken));
 }