Skip to content

Stripe: Find a Tax Association

Stripe tax.getTaxAssociationsFind: arguments, response, policy and SDK examples.

← Tax operations · Get started

Operation stripe.gettaxassociationsfind

Provider route: GET /v1/tax/associations/find. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/stripe with npm, or alter-sdk-stripe with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { StripeIntegration } from "@alter-ai/stripe";
async function execute(input: Parameters<StripeIntegration["tax"]["getTaxAssociationsFind"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new StripeIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.tax.getTaxAssociationsFind(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_stripe import StripeIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = StripeIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.tax.get_tax_associations_find(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
queryobjectRequired within parentAdditional keys: not allowed
query.expandarrayOptional
query.expand[]stringEach itemMaximum length: 5000
query.payment_intentstringRequired within parentMaximum length: 5000

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$ModelRootExpand Find a Tax Association — response body

Referenced models: Find a Tax Association — response body

Find a Tax Association — response body
FieldTypePresenceDescription and constraints
$objectRootA Tax Association exposes the Tax Transactions that Stripe attempted to create on your behalf based on the PaymentIntent input
calculationstringRequired within parentThe [Tax Calculation](https://docs.stripe.com/api/tax/calculations/object) that was included in PaymentIntent.
Maximum length: 5000
idstringRequired within parentUnique identifier for the object.
Maximum length: 5000
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: tax.association
payment_intentstringRequired within parentThe [PaymentIntent](https://docs.stripe.com/api/payment_intents/object) that this Tax Association is tracking.
Maximum length: 5000
tax_transaction_attemptsJSONOptional
tax_transaction_attempts (anyOf 1)arrayAlternativeInformation about the tax transactions linked to this payment intent
tax_transaction_attempts (anyOf 1)[]ModelEach itemExpand Find a Tax Association — response body — tax transaction attempts array item
tax_transaction_attempts (anyOf 2)nullAlternative

Referenced models: Find a Tax Association — response body — tax transaction attempts array item

Find a Tax Association — response body — tax transaction attempts array item
FieldTypePresenceDescription and constraints
$objectRoot
committedModelOptionalExpand Find a Tax Association — response body — tax transaction attempts array item committed
erroredModelOptionalExpand Find a Tax Association — response body — tax transaction attempts array item errored
sourcestringRequired within parentThe source of the tax transaction attempt. This is either a refund or a payment intent.
Maximum length: 5000
statusstringRequired within parentThe status of the transaction attempt. This can be `errored` or `committed`.
Maximum length: 5000

Referenced models: Find a Tax Association — response body — tax transaction attempts array item committed, Find a Tax Association — response body — tax transaction attempts array item errored

Find a Tax Association — response body — tax transaction attempts array item committed
FieldTypePresenceDescription and constraints
$objectRoot
transactionstringRequired within parentThe [Tax Transaction](https://docs.stripe.com/api/tax/transaction/object)
Maximum length: 5000
Find a Tax Association — response body — tax transaction attempts array item errored
FieldTypePresenceDescription and constraints
$objectRoot
reasonstringRequired within parentDetails on why we couldn't commit the tax transaction.
Known values: another_payment_associated_with_calculation, calculation_expired, currency_mismatch, original_transaction_voided, unique_reference_violation

SDK function policy ID: stripe.gettaxassociationsfind. Catalog operation: GetTaxAssociationsFind. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

Pinned headers: {"Stripe-Version": "2026-09-30.endive"}

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.