Tax

Get tax configuration

Retrieve the merchant's tax configuration. Returns defaults when no configuration exists yet.

GET
/tax/config

Authorization

bearerAuth
AuthorizationBearer <token>

Use your secret API key as the bearer token

In: header

Response Body

application/json

application/json

curl -X GET "https://api.getlumen.dev/v1/tax/config"
{
  "id": "mer_tax_cfg_6FJ7xXk8Qp9zR2tSa1BcDe",
  "merchantId": "mer_4aExPpQ7R3tSa1BcDe9LmN",
  "autoTaxCalculation": true,
  "defaultTaxRate": null,
  "createdAt": "2025-01-15T19:22:14.000Z",
  "updatedAt": "2025-02-10T05:11:43.000Z"
}
{
  "error": "Internal server error"
}