Security and data handling

Protect Roots credentials and end-customer data in your integration.

Protect Roots credentials and end-customer data throughout your integration.

See API availability for the published production security contract.

Protect credentials

Server-to-server calls carry an API key created in the Client Portal:

Authorization: Bearer rts_live_...
  • The key is shown once, when it is created. Roots stores only a hash of it, so a lost token cannot be recovered; create a new one.
  • Each token carries scopes. Grant only the scopes the integration uses.
  • A key created in the Client Portal does not expire.
  • Revoking a key stops it working immediately.

Store tokens in a secret manager and restrict access to the service that needs them. Use a separate key for each application. Rotate by creating a replacement token, deploying it, and then revoking the old one.

Do not place tokens in source code, browser applications, support tickets, chat messages, or application logs.

What Roots returns

DataHow it is returned
Counterparty account_number and ibanMasked to the last four characters (****1234). The full value is accepted on create and never returned.
Identity documentsGET /api/v1/documents returns metadata only. GET /api/v1/documents/{document_id}/content streams the file, and every fetch is recorded in the Roots audit log.
Transfer failure.messageA short client-safe sentence for a person to read, not the bank's raw text. Any URL is removed. Branch on failure.code, not on the message.
Another client's idsRead as 404, never 403, so probing ids reveals nothing.

Document uploads

POST /api/v1/documents checks each file's type from its content, not its filename or declared type. Accepted types are PDF, PNG, and JPEG, each up to 10 MB. Another type is a 415 with code unsupported_media_type, and a larger file is a 413 with code payload_too_large.

Protect customer data

Roots integrations process personal, business, payment, and compliance information. Collect only the data the workflow needs, restrict who can view it, and redact it from logs, monitoring tools, and error reports.

At a minimum, do not log:

  • API tokens or webhook signing secrets.
  • Full bank account numbers or IBANs.
  • Identity documents or their contents.
  • Tax numbers, dates of birth, or other sensitive personal information, unless your secure audit process requires it.

Send X-Request-ID on each request and log it instead of request bodies; Roots echoes it back, so one id correlates your logs with Roots support.

Use secure transport

Use HTTPS for every call to the Roots sandbox API:

https://api.sandbox.roots.finance

Validate certificates with your standard HTTP client behavior. Do not disable TLS certificate validation.

Prepare incident handling

If you suspect that a token is exposed:

  1. Create and deploy a replacement token.
  2. Revoke the exposed token.
  3. Review access and application logs for unexpected use.
  4. Record the incident according to your security process.
  5. Contact Roots through your approved support channel when the exposure can affect an active integration.

Data residency and retention

Roots has not published commitments for data residency, retention, deletion, encryption details, audit-log export, or production security controls. Confirm these requirements with Roots before you process production personal or payment data.

Next steps


Did this page help you?