A Tax Association exposes the Tax Transactions that Stripe attempted to create on your behalf based on the PaymentIntent input
Endpoints
Attributes
- idstring
Unique identifier for the object.
- calculationstring
The Tax Calculation that was included in PaymentIntent.
- payment_
intentstring The PaymentIntent that this Tax Association is tracking.
- tax_
transaction_ attemptsnullable array of objects Information about the tax transactions linked to this payment intent
More attributes
- objectstring
The Tax Association object
{ "id": "taxa_1PYP5RRw02rhjhAjNemx66hC", "object": "tax.association", "calculation": "taxcalc_1PYP4vRw02rhjhAjPfzylM7p", "payment_intent": "pi_3PYP4zRw02rhjhAj1UotslTI", "tax_transaction_attempts": [ { "source": "pi_1PXmsSE5ebw4kUHWK7FIhQlS", "status": "committed", "committed": { "transaction": "tax_1PXmsRE5ebw4kUHWLyVEiMis" } }, { "source": "re_1PXmsSE5ebw4kUHWK7FIhQlS", "status": "committed", "committed": { "transaction": "tax_1PXmsgE5ebw4kUHW7Gg8jvpX" } } ]}Finds a tax association object by PaymentIntent id.
Parameters
- payment_
intentstringRequired Valid PaymentIntent id
Returns
A Tax Association object.
Response
{ "id": "taxa_1PYP5RRw02rhjhAjNemx66hC", "object": "tax.association", "calculation": "taxcalc_1PYP4vRw02rhjhAjPfzylM7p", "payment_intent": "pi_3PYP4zRw02rhjhAj1UotslTI", "tax_transaction_attempts": [ { "source": "pi_1PXmsSE5ebw4kUHWK7FIhQlS", "status": "committed", "committed": { "transaction": "tax_1PXmsRE5ebw4kUHWLyVEiMis" } }, { "source": "re_1PXmsSE5ebw4kUHWK7FIhQlS", "status": "committed", "committed": { "transaction": "tax_1PXmsgE5ebw4kUHW7Gg8jvpX" } } ]}