GET /api/v1/apps/:appUuid/payment-providers/:paymentProvider/tax-rates
Returns a tax rates resource.
This endpoint documentation is generated from the current Fastify route implementation and should be treated as the implementation-level contract for this version of the API.
Source route file:
src/api/routes/external/private/apiKey/app/paymentProviders/tax-rates/get.ts
Request Method
GET
Base URL
https://api.userdocks.local:5000
Endpoint
/api/v1/apps/:appUuid/payment-providers/:paymentProvider/tax-rates
Path Variables
| Variable | Type | Required | Description |
|---|---|---|---|
appUuid | string | true | Path variable from route pattern. |
paymentProvider | string | true | Path variable from route pattern. |
Query Parameters
No query parameters.
HTTP Headers
| Variable | Type | Required | Description |
|---|---|---|---|
x-api-key | string | true | API key value for the app. |
x-client-id | string | true | Must match :appUuid path variable. |
x-api-key-type | string | true | Use read for GET and write for POST/PUT/DELETE. |
Content-Type | string | false | Use application/json for JSON request bodies. |
Successful Response
Success status code(s): 200.
{
"kind": "taxRates",
"totalItems": 1,
"itemsLength": 1,
"items": [
{
"id": 1,
"uuid": "tax_11111111-1111-1111-1111-111111111111",
"taxRateId": "txr_12345",
"appUuid": "app_11111111-1111-1111-1111-111111111111",
"paymentProviderUuid": "pp_11111111-1111-1111-1111-111111111111",
"countryUuid": "country_11111111-1111-1111-1111-111111111111",
"name": "VAT 19%",
"percentage": 19,
"inclusive": false,
"state": null,
"jurisdiction": "DE",
"description": "German VAT",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z",
"deletedAt": null,
"country": {
"id": 1,
"uuid": "country_11111111-1111-1111-1111-111111111111",
"name": "Germany",
"alpha2": "DE",
"alpha3": "DEU",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z",
"deletedAt": null
}
}
]
}
Error Responses
| HTTP Status | Example Error |
|---|---|
401 | {"errors":[{"validation":"error","code":"[E4010]","message":"Unauthorized Token or API key"}]} |
401 | {"errors":[{"validation":"error","code":"[E4011]","message":"Unauthorized API key type"}]} |
403 | {"errors":[{"validation":"error","code":"[E4030]","message":"App Is Disabled"}]} |
400 | {"errors":[{"validation":"error","code":"[E4000]","message":"Bad Request / validation error"}]} |
500 | {"errors":[{"validation":"error","code":"[E0000]","message":"Internal Server Error"}]} |
Example
const url = `https://api.userdocks.local:5000/api/v1/apps/appUuid-value/payment-providers/stripe/tax-rates`;
const response = await fetch(url, {
method: 'GET',
headers: {
'x-api-key': '<api-key>',
'x-client-id': 'appUuid-value',
'x-api-key-type': 'read',
},
});
const data = await response.json();
console.log(response.status, data);