> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blink.store/llms.txt
> Use this file to discover all available pages before exploring further.

# Calculate Taxes Dynamically

> Calculates precise digital tax rates based on the buyer's IP and billing address before charging them.

**Usage:** Hybrid hardware/software companies building 100% custom checkout flows that need to show real-time tax line items to the user before they click 'Pay'.



## OpenAPI

````yaml post /taxes/calculate
openapi: 3.0.0
info:
  title: Blink API
  description: Comprehensive API documentation for Blink.
  version: 1.0.0
servers:
  - url: https://api.blink.store/v1
security: []
paths:
  /taxes/calculate:
    post:
      tags:
        - Taxes
      summary: Calculate Taxes Dynamically
      description: >-
        Calculates precise digital tax rates based on the buyer's IP and billing
        address before charging them.


        **Usage:** Hybrid hardware/software companies building 100% custom
        checkout flows that need to show real-time tax line items to the user
        before they click 'Pay'.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                amount:
                  type: number
                country:
                  type: string
                postal_code:
                  type: string
      responses:
        '200':
          description: Successful response
        '400':
          description: Bad Request
        '401':
          description: Unauthorized

````