TEOS User Guides
White Label Portal
White Label Portal
  • 👋Welcome!
  • Admin user guide
    • Portal configuration
      • Admin users management
      • Tenant configuration
      • Branding management
      • Asset configuration
      • Features configuration
        • Purchase assets and Featured asset
          • Collection methods configuration
          • Payment methods configuration
          • Templates for purchase details and invoice details
        • Redemption functionality
          • Template for redemption details
        • KYC checks
      • Reference Code Logic
      • How to get API keys of third party services
      • How to prepare custom HTML
    • Admin functionality
  • How your users interact with the portal
  • Partner Onboarding
    • Payrexx
    • Coinify
    • Shufti
  • WLP versions and changelog
    • Version 1.3
    • Version 1.2
    • Version 1.1
    • Version 1.0
    • Version 0.18
    • Version 0.17
    • Version 0.16
    • Earlier versions
  • ⁉️Troubleshooting
  • Glossary
  • WLP API documentation
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Admin user guide
  2. Portal configuration

Reference Code Logic

WLP v1.3 introduces new features for Reference Code Logic.

These changes ensure that customers can generate more flexible, readable, and customizable reference codes, improving the overall experience and making it easier to meet specific business requirements.

Variable Support:

  • New variables can now be used within reference codes to insert dynamic values such as the current year ({year}), month ({month}), day ({day}), and a constantly incrementing counter ({count}). These variables help automate the generation of reference codes that are both time-sensitive and unique.

  • It is possible to have a counter, which is constantly incremented in the data base and use it as a variable {count} = current order count The count starts with 1. Every time an order is actually created, the count is incremented.

Refined Symbol Interpretation:

  • The + symbol is now interpreted as exactly one random number (0-9)

  • The ! symbol now generates exactly one random character (a-Z)

  • The * symbol now produces exactly one random symbol, either a number (0-9) or a letter (a-Z)

  • An Escape Character (backslash) in front of one of the symbols means, that the symbol is printed as-is:

    • \+ is interpreted as "+"

    • \! is interpreted as "!"

    • \* is interpreted as "*"

Example Use Cases:

  • {year}{month}{day}-{count,4} could generate a reference code like 20250506-0023, where the date and an incrementing order number are combined.

  • {count,5}-{year} could generate a code like 00023-2025, where the order count is padded to a five-digit number and followed by the year.

PreviousKYC checksNextHow to get API keys of third party services

Last updated 11 days ago

Was this helpful?