TF Fiscal
Documentation

Authentication

Echo test

Validates the whole signing pipeline and returns the identity of the calling application.

POST/openapi/demo/echo

Requires the token, timestamp and sign signature headers, see Authentication.

Recommended as the first call of every integration: when the signature is correct, the response echoes the message you sent together with the application appKey. Unlike the standard endpoints, echo responds with the platform envelope (success / data).

Parameters

Headers

  • Content-Typestringrequired

    Always application/json.

Request body

  • messagestringrequired

    Any text up to 512 characters; returned unchanged in data.echo.

    Example: hello tffiscal

Responses

200

Signature accepted. Platform envelope with the echoed message and the application identity.

  • successboolean

    Outcome of the call.

  • messagestring

    OK on success.

  • dataobject

    Response payload.

Errors

CodeHTTP
10009000401

Missing signature headers (token / timestamp / sign).

10009001401

Timestamp invalid or outside the ±300 s window.

10009002401

Invalid token.

10009003401

Signature mismatch. See the troubleshooting section under Authentication.

10009005403

Application not subscribed to the /openapi/demo/echo scope.

How to use it during integration

Make one call with a JSON body and one GET call to any standard endpoint with an empty body before moving on: the two cases cover both signing rules (body without CR/LF and empty body). The platform also offers a sign helper in the console: give it the path and the exact body and it returns the expected token / timestamp / sign plus a ready-to-run curl command.