Retrieves the details of an existing tax code. Supply the unique tax code ID and Stripe will return the corresponding tax code information.
Parameters
No parameters.
Returns
Returns a tax code object if a valid identifier was provided.
{ "id": "txcd_99999999", "object": "tax_code", "description": "Any tangible or physical good. For jurisdictions that impose a tax, the standard rate is applied.", "name": "General - Tangible Goods"}
A list of all tax codes available to add to Products in order to allow specific tax calculations.
Parameters
No parameters.
More parameters
- ending_
beforestring - limitinteger
- starting_
afterstring
Returns
A dictionary with a data property that contains an array of up to limit tax codes, starting after tax code starting_after. Each entry in the array is a separate tax code object. If no more tax codes are available, the resulting array will be empty. This request should never return an error.
{ "object": "list", "url": "/v1/tax_codes", "has_more": false, "data": [ { "id": "txcd_99999999", "object": "tax_code", "description": "Any tangible or physical good. For jurisdictions that impose a tax, the standard rate is applied.", "name": "General - Tangible Goods" } ]}
Tax rates can be applied to invoices, subscriptions and Checkout Sessions to collect tax.
Related guide: Tax rates
Shipping rates describe the price of shipping presented to your customers and applied to a purchase. For more information, see Charge for shipping.
A Checkout Session represents your customer’s session as they pay for one-time purchases or subscriptions through Checkout or Payment Links. We recommend creating a new Session each time your customer attempts to pay.
Once payment is successful, the Checkout Session will contain a reference to the Customer, and either the successful PaymentIntent or an active Subscription.
You can create a Checkout Session on your server and redirect to its URL to begin Checkout.
Related guide: Checkout quickstart