Stripe Tax Association Resource (Tax/Associations.ts)

stripe-node · src/resources/Tax/Associations.ts · typescript · MIT
payments, integration, tag:resource

Resource class exposing a find method to retrieve a tax association object by PaymentIntent ID, used for fetching tax calculation details tied to a payment.

// Source: https://github.com/stripe/stripe-node | License: MIT | Copyright 2011 Ask Bjørn Hansen
// Provided via justclaw.it.com; keep this notice with the code.
// File generated from our OpenAPI spec

import {StripeResource} from '../../StripeResource.js';
import {OtherString} from '../../shared.js';
import {RequestOptions, Response} from '../../lib.js';

export class AssociationResource extends StripeResource {
  /**
   * Finds a tax association object by PaymentIntent id.
   */
  find(
    params: Tax.AssociationFindParams,
    options?: RequestOptions
  ): Promise<Response<Association>> {
    return this._makeRequest(
      'GET',
      '/v1/tax/associations/find',
      params,
      options
    ) as any;
  }
}
export interface Association {
  /**
   * Unique identifier for the obje

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key