Stripe

Clean up after a bridge Checkout Session completes

Call from your checkout.session.completed handler. Removes the Sphere-managed Tax Rates from the new subscription's items (the first invoice keeps its tax) and stamps the first invoice with the calculation id. Safe to call more than once.

post/stripe/checkout_sessions/{external_id}/complete

Request

  • Base URL: https://api.getsphere.com/v1
  • URL: https://api.getsphere.com/v1/stripe/checkout_sessions/{external_id}/complete
  • 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

stripe_account_idstring required

Changes

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