Skip to main content
GET
/
v1
/
taxes
/
{taxId}
Get tax
curl --request GET \
  --url https://app.blinksale.test/api/v1/taxes/{taxId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Tax retrieved successfully",
  "data": {
    "id": "01jtbf0c9zaraqx3swthf88n5y",
    "organization_id": "01jtbf0c9zaraqx3swthf88n5y",
    "name": "Sales Tax",
    "percent": 8.5,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Access token obtained from the /v1/auth/login endpoint

Path Parameters

taxId
string<uuid>
required

The ID of the tax to retrieve

Response

Tax retrieved successfully

success
boolean
Example:

true

message
string
Example:

"Tax retrieved successfully"

data
object