Metadata

The metadata field is a flexible attribute available on select objects, allowing merchants to attach custom key-value pairs for internal use. This is particularly useful for associating additional contextual information—such as an order number or customer reference ID—to streamline backend operations and integrations.
Note: Moment does not use metadata for any business logic. This field is solely intended for merchants to pass supplementary information.

Usage Restrictions

Each metadata object is subject to the following constraints:
  • Maximum number of key-value pairs: 10
  • Key: Minimum 1 character, maximum 50 characters
  • Value: Minimum 1 character, maximum 500 characters
  • Data type: Both key and value must be strings
Do not include any sensitive information in metadata, such as credit card numbers, bank account details, or personally identifiable information (PII).