public async Task <EmptyResponse> SetCurrencyBalance(SandboxSetCurrencyBalanceRequest request, CancellationToken cancellationToken = default) { return(await _rest.Post <SandboxSetCurrencyBalanceRequest, EmptyResponse>( "sandbox/currencies/balance", request, cancellationToken)); }
public async Task Should_set_currency_balance() { var request = new SandboxSetCurrencyBalanceRequest() { Currency = Currency.Usd, Balance = 100000 }; var response = await _sandboxService.SetCurrencyBalance(request, CancellationToken.None); ValidateRestResponse(response); }