LMS and Secure Payments authentication

This article explains the differences between the LMS and Secure Payments API authentication.

Key Differences in API Authentication

The primary differences are the type of credentials used and token rotations:

FeatureLoan Management System (LMS) APISecure Payments API
Credential TypeAPI Bearer Token and Tenant IDToken and Secret pair
Expiration/LifecycleTokens are subject to rotation policies and can be automatically rotated.The Token and Secret do not expire.
Management LocationManaged in the LMS UI: Settings > Company > API > Overview.Managed on the ‘Profile’ tab in Secure Payments, but password changes (which affect API access) must be done via LMS.

Secure Payments Token Rotation Requirement

While the Secure Payments token and secret do not expire, rotation is indirectly required due to linked security protocols:

  • The Secure Payments account password enforces expiration after 90 days (PCI compliance standard,
  • If this password expires, API requests using the valid token/secret will fail with a 401 Unauthorized response
  • To maintain access, the password must be reset, ideally through LMS to preserve the linked connection

Step-by-Step Guide for Automatic Token Rotation (LMS API)

For the LMS API, automatic rotation is a built-in feature managed in the UI, enhancing security:

  1. Navigate to Settings > Company > API > Overview
  2. Identify the desired API key.
  3. Click the "rotate icon" next to the key entry to automatically generate a new key, replacing the old one

For Secure Payments, rotation involves generating a completely new pair via the API if the existing credentials are lost or compromised, by sending a POST request to the /api/authenticate endpoint with the current username and password in the payload