Wallet
Wallet

Calculate Tax

Calculate tax for a top-up or subscription based on country code.

post/api/v1/wallet/calculate-tax

Request

  • Base URL
    https://backend.caspr.ai (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: token

Request body

country_codestring required

ISO country code (e.g. IN, US)

amount_in_usdnumber required

Amount in USD to calculate tax on

Response

Successful Response

successboolean
country_codestring required
currencystring required
amount_in_currencynumber required
tokens_per_monthinteger required
tax_percentagenumber required
tax_amountnumber required
total_amountnumber required
tax_detailsobject[] nullable
errorstring nullable

Changes

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