code: public TaxId delete(Map<String, Object> params, RequestOptions options) throws StripeException {
      String url;
      if (this.getCustomer() != null) {
        url =
            String.format(
                "%s%s",
                Stripe.getApiBase(),
                String.format(
                    "/v1/customers/%s/tax_ids/%s",
                    ApiResource.urlEncodeId(this.getCustomer()),
                    ApiResource.urlEncodeId(this.getId())));
      } else {
        throw new InvalidRequestException(
            "Unable to construct url because [customer] field(s) are all null",
            null,
            null,
            null,
            0,
            null);
      }
      return request(ApiResource.RequestMethod.DELETE, url, params, TaxId.class, options);
    }
docs: Deletes an existing <code>TaxID</code> object.