//Sync public virtual StripeTopup Create(StripeTopupCreateOptions createOptions, StripeRequestOptions requestOptions = null) { return(Mapper <StripeTopup> .MapFromJson( Requestor.PostString(this.ApplyAllParameters(createOptions, Urls.Topups, false), SetupRequestOptions(requestOptions)) )); }
//Async public virtual async Task <StripeTopup> CreateAsync(StripeTopupCreateOptions createOptions, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken)) { return(Mapper <StripeTopup> .MapFromJson( await Requestor.PostStringAsync(this.ApplyAllParameters(createOptions, Urls.Topups, false), SetupRequestOptions(requestOptions), cancellationToken) )); }