The Tax Association object
Attributes
- id string Unique identifier for the object.
- calculation string The Tax Calculation that was included in PaymentIntent.
- payment _ intent string The PaymentIntent that this Tax Association is tracking.
- tax _ transaction _ attempts nullable array of objects Information about the tax transactions linked to this payment intent
More attributes
- object string, value is "tax.association"
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" } } ]}
Find a Tax Association
GET / v1 / tax / associations / find
Finds a tax association object by PaymentIntent id.
Parameters
- payment _ intent string Required 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" } } ]}
