payments
Calculate Tax
Calculate tax for a project quote based on shipping address.
Uses the Stripe Tax Calculation API to compute destination-based sales tax. The returned calculation_id must be passed to create-intent or purchase-order to attach tax to the payment.
Handles deposit quotes: if the quote requires a deposit, tax is calculated on the deposit portion of each line item.
post/api/v1/payments/calculate-tax
Request
- Base URLhttps://api.prototyping.io (the document declares no server; this is the origin it was published from)
- AuthOAuth 2PasswordToken URLtoken
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.