Stripe.BankAccountService.VerifyAsync C# (CSharp) Method

VerifyAsync() public method

public VerifyAsync ( string customerId, string bankAccountId, BankAccountVerifyOptions verifyoptions, Stripe.StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task
customerId string
bankAccountId string
verifyoptions BankAccountVerifyOptions
requestOptions Stripe.StripeRequestOptions
cancellationToken CancellationToken
return Task
        public virtual async Task<CustomerBankAccount> VerifyAsync(string customerId, string bankAccountId, BankAccountVerifyOptions verifyoptions, StripeRequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
        {
            return Mapper<CustomerBankAccount>.MapFromJson(
                await Requestor.PostStringAsync(
                    this.ApplyAllParameters(verifyoptions, $"{Urls.BaseUrl}/customers/{customerId}/sources/{bankAccountId}/verify"),
                    SetupRequestOptions(requestOptions),
                    cancellationToken
                )
            );
        }
    }