v1
latestOpenAPI 3.0.02026-07-24103118224.7 KBPayment
Get VAT/Tax rate for a country
Retrieves the applicable tax rate based on country code and optional postal code. Useful for displaying tax information before payment.
get/api/tax/rate
Query parameters
amountInCentsHTnumber required
Example:10000
Amount in cents excluding tax (HT) to calculate tax for
countryCodestring required
Example:FR
Country code (ISO 3166-1 alpha-2)
purchasingAsBusinessboolean
Whether the purchase is for a business
postalCodestring
Example:75001
Postal code (required for some countries like US)
Response
Get VAT/Tax rate for a country successful
Example response
{
"amountWithTaxInCents": 12000,
"countryCode": "FR",
"postalCode": "75001",
"taxAmountInCents": 2000,
"taxRateInPercentage": 20,
"taxablePartInPercentage": 100
}