Sample - Stripe API
GET/v1/tax/associations/find

Find a tax association

Retrieves the tax association tracked for a PaymentIntent. Supply payment_intent to identify the PaymentIntent and optionally use expand for related response fields. The response includes the associated tax calculation and attempts to create tax transactions for the PaymentIntent.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

2 parameters
expandarray<string>optional
Specifies which response fields to expand; each value can contain up to 5,000 characters.
payment_intentstringrequired
The valid PaymentIntent identifier whose tax association you want to retrieve. Maximum 5,000 characters.

2 status codes
200Returns a tax association containing its identifier, object type, linked PaymentIntent, included tax calculation, and tax transaction attempt details.
calculationstringrequired
The [Tax Calculation](https://docs.stripe.com/api/tax/calculations/object) that was included in PaymentIntent.
idstringrequired
Unique identifier for the object.
objectstringrequired
String representing the object's type. Objects of the same type share the same value.
Allowed:tax.association
payment_intentstringrequired
The [PaymentIntent](https://docs.stripe.com/api/payment_intents/object) that this Tax Association is tracking.
tax_transaction_attemptsarray<TaxProductResourceTaxAssociationTransactionAttempts>optional
Information about the tax transactions linked to this payment intent
defaultError response.
errorobjectrequired

Error handling

payment_intent is required and must identify a valid PaymentIntent. Each expand value must be no more than 5,000 characters.