Calculate product price including tax
Return an indicative price for an offer including the tax that applies to a customer in the given country. Intended for storefront display (e.g. showing gross prices on a product page). The result is a **quote**, not a settled charge: the authoritative tax is always recomputed at checkout from full billing details. Amounts are returned in the smallest currency unit (e.g. 1099 = 10.99 in a 2-decimal currency). For business (B2B) buyers, pass customerType=company with taxId + taxNumber. The quote always returns the standard destination rate; if the buyer is eligible for reverse charge, reverseChargeEligible is true, but the 0% rate is only applied at checkout once the VAT-ID is validated.
Authorization
Public key In: header
Request Body
application/json
POST /v0/tax/calculate Request body
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v0/tax/calculate" \ -H "Content-Type: application/json" \ -d '{ "offerId": "42da58f8-9040-4cf5-98ce-bce9965cca0d", "country": "AF" }'{ "status": "success", "data": { "object": "tax_calculation", "offerId": "42da58f8-9040-4cf5-98ce-bce9965cca0d", "quantity": -9007199254740991, "currency": "AFN", "customerType": "individual", "taxBehavior": "exclusive", "amountSubtotal": -1.7976931348623157e+308, "amountTax": -1.7976931348623157e+308, "amountTotal": -1.7976931348623157e+308, "reverseChargeEligible": true, "taxBreakdown": [ { "taxType": null, "country": null, "state": null, "percentage": null, "amount": -1.7976931348623157e+308, "inclusive": true } ] }}End Subscription Trial PATCH
End a Subscription's trial immediately and start the paid subscription. The Subscription must be in trialing status. The first Invoice is created and charged right away using the payment method on file. The outcome (emails, webhooks, orders) is identical to the trial ending naturally.
List and filter Users GET
Retrieve a paginated list of Users with powerful filtering options. Results are sorted by creation date (newest first) by default. Note: Timestamps can be provided in either seconds or milliseconds since Unix epoch.