Skip to content

API Release Notes

One list for the whole API and the SDKs in all eight languages, whichever module a change concerns. Every operation has its own version, so a new version of one operation never touches the others; how versions, deprecation and retirement work is described in the API overview.

Java: the package now declares the Jackson annotations as a compile dependency. A project without Jackson on its compile classpath got a compiler warning for every model class of the SDK; the build and the behaviour were not affected. The other seven languages are unchanged.

The first stable release of the TrustComponent SDK for TypeScript / Node.js, PHP, Python, Java, .NET, Go, Ruby and Rust. One client with one API key reaches every module, and it calls these versions:

ModuleOperations
TrustCaptchagetResultV3
TrustAnalyticscreateServerEventBatchV1, getWebsitesV2, getWebsiteStatsOverviewV1, getWebsiteStatsTimeseriesV1, getWebsiteStatsBreakdownsV1, getWebsiteStatsConversionsV1, getWebsiteRealtimeV1
TrustMonitoringpingHeartbeatV2
Trust VAT CheckercreateValidationV2, createValidationBatchV2, createScheduleV2, deleteScheduleV2, getValidationResultV2
PlatformgetProjectsV1, getEventsOfProjectV1, getEventsOfAgencyV1
  • Changed: TrustCaptcha getResultV3: errors are problem details with a stable code: 409 result_not_released, 410 result_retrieval_limit_reached, 410 result_expired and 412 client_failover_rejected. The four booleans of the result start with is: isVerificationPassed, isGatewayFailoverActive, isRiskScoringEnabled, isMinimalDataModeEnabled (in v2 without is). getResultV2 keeps its earlier status codes and stays available under Legacy.
  • Added: Trust VAT Checker createValidationV2, createValidationBatchV2, createScheduleV2: the project is part of the path (/taxvalidation/v2/projects/{projectId}/…), so agency keys can work for each of their client projects. Invalid input answers 400, a locked project 423 project_locked. The v1 operations stay available under Legacy and accept project keys only; any other key answers 403 project_key_required.
  • Added: Trust VAT Checker deleteScheduleV2 and getValidationResultV2 (/taxvalidation/v2/schedules/{scheduleId}, /taxvalidation/v2/validation-results/{validationResultId}): the same calls as v1 with the answers of the current versions — a schedule or result of a project the key does not reach answers 403 access_denied, a locked project 423 project_locked on the delete, and both count against the rate limit of the key. Every Trust VAT Checker call of the SDK now uses v2; the v1 operations keep their answers as released and stay available under Legacy.
  • Added: TrustMonitoring pingHeartbeatV2: one URL per monitor (/monitoring/v2/monitors/{monitorId}/heartbeat), called by POST or GET, authenticated with an API key of the project or an agency, or with the heartbeat token of the monitor as bearer or as query parameter (?token=hbt_…) for tools that can only call a URL. A locked project answers 423 project_locked, an ended trial 402 trial_expired, a monitor that is no heartbeat monitor 404 monitor_not_heartbeat. The v1 heartbeat URLs stay available unchanged under Legacy.
  • Changed: TrustAnalytics createServerEventBatchV1 names the website in the path (/analytics/v1/websites/{websiteId}/server-events/batches) instead of in the body, like the statistics operations.
  • Added: TrustAnalytics getWebsitesV2: lists the websites of the project named in the path (/analytics/v2/projects/{projectId}/websites).
  • Added: Platform: the projects a key reaches (getProjectsV1), and the audit log of a project (getEventsOfProjectV1) and of an agency (getEventsOfAgencyV1), each named in the path.
  • Removed: Platform getEventsV1 (/platform/v1/events), which read the audit log of the key’s own project or agency without naming it. Read it with getEventsOfProjectV1 or getEventsOfAgencyV1 instead.
  • Added: Idempotency: every write of the SDK carries an Idempotency-Key header, a new one per call and the same one on its retries, so a retry after a timeout never creates or deletes twice. The Trust VAT Checker write operations accept the header; in createValidationV2 and createValidationBatchV2 it replaces the idempotencyKey body field of v1. See Idempotency.
  • Added: Rate limits: one budget per API key across every module, 600 requests per minute, refilled continuously. Heartbeat pings have a budget of their own, 2,000 per minute and API key, and do not count against the other calls. The TrustAnalytics statistics API and createServerEventBatchV1 count against the budget of the key. See Rate limits.
  • Added: A project holds up to 10 API keys and an agency up to 25. Existing keys keep working; to create another one beyond the limit, delete one first.