Stripe

Add tax to a Stripe Checkout Session

One call for a merchant who builds their own session: Sphere reads the cart back off it, prices the buyer's address, and attaches the rates. The session must still be open. Nothing is stored.

post/stripe/checkout_sessions/{external_id}/tax

Request

  • Base URL: https://api.getsphere.com/v1
  • URL: https://api.getsphere.com/v1/stripe/checkout_sessions/{external_id}/tax
  • Auth: API key in header X-API-KEY

Path parameters

external_idstring required

The Stripe Checkout Session id, e.g. cs_test_a1B2c3.

Request body

stripe_account_idstring nullable

Response

external_idstring required
stripe_account_idstring required
status'applied' | 'no_tax' required
reasonstring required
tax_calculation_idstring nullable
taxability_reasonstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.