For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
API StatusPartner Portal
HomeGuidesAPI ExplorerSDKsGitHubSupport
HomeGuidesAPI ExplorerSDKsGitHubSupport
  • Introduction
    • Welcome to Monite
    • Monite account structure
    • Postman collections
    • Support
  • Get started
    • Step 1. Get your credentials
    • Step 2. Implement server side
      • Overview
      • Payment methods
      • Payment links
      • Payment intents
      • Payment Web Component
      • Payment page customization
      • Payment reference normalization
      • Testing payments
      • MCC
LogoLogo
API StatusPartner Portal
On this page
  • Overview
  • Examples
Payments

Payment reference normalization

Learn how Monite handles payment references.
Was this page helpful?
Previous

Testing payments

Monite's sandbox environment lets you test both successful and unsuccessful payments without making actual charges.
Next
Built with
This information applies to only to Open Banking (SEPA Credit) payments.

Overview

The payment reference is an identifier used to identify a specific payment transaction. Monite payment links use one of the following as the payment reference:

  • invoice document number (if the payment link was created for a payable or receivable invoice),
  • payment_reference value (if the link was created for an external invoice or a one-off payment).

Most banks have rules for the format of payment reference. For example, the payment reference length is usually limited to 18 characters, and most special characters are forbidden.

When passing Open Banking payment details to the payment processing provider, Monite normalizes the payment reference value to make it compatible with common bank requirements. Keep this in mind when reconciling payments.

Normalization works as follows:

  • Leading and trailing spaces are removed.
  • Characters other than A-Z a-z 0-9 / - and spaces are replaced with spaces.
  • If the resulting string is longer than 18 characters:
    • Consecutive spaces are replaced with a single space.
    • The string is trimmed to 18 characters.
The payment reference value in Monite payment links remains unchanged. We only pass the modified value to the payment processing provider.

Examples

Payment references that do not require normalization:

00123
PRJ123-INV-2024
BILL/2024/12/0045
Repair work 05/12
INV 12345

Examples of normalized payment references:

Payment referenceNormalized value
INV#12345INV 12345
INV 12.05.2024INV 12 05 2024
INV_C1-6189-28INV C1-6189-28
 INV   12345 INV   12345
+++010/8068/17183+++010/8068/17183
Repair work 12th MayRepair work 12th M