Skip to main content

Metadata for the context of an execution. Includes Payrails-defined structures for most common fields used in workflows, but can also be extended by merchant or provider-specific fields. For more information, visit our Meta Fields guide.

order
object

The order being placed on your system.

customer
object

The customer placing the order.

clientContext
object

Data describing the customer's device or browser.

vendor
object

Description of a vendor that provides the order.

risk
object

Configuration values for the risk prevention check.

subscription
object

Configuration of a subscription process.

tags
object

Additional meta fields to be sent to the payment providers which support metadata / tags. For example, sent to Stripe as metadata. Because these will always be PSP-specific, we do NOT recommend using these fields if they can actually be mapped to a generic field above.

paymentMethods
object

Per-payment-method shopper input, namespaced by payment method code so each method's fields stay isolated. Only the entry matching the payment method being charged is read.

threeDSOptions
object

Options for 3DS authentication. Use integrationMode: api to receive the bank's raw fingerprint and challenge forms in requiredAction instead of a link to the Payrails hosted 3DS page. API mode must be enabled for the merchant, is only supported for Netcetera, and only applies to modular workflows that run a 3DS step. methodTimeoutSeconds and challengeNotificationUrl only apply in API mode. API mode also needs the shopper's browser data in clientContext (userAgent, acceptHeader, ipAddress, language, colorDepth, screenHeight, screenWidth, timeZoneOffset, javaEnabled, javaScriptEnabled), because the Payrails 3DS page that collects it in hosted mode is not used.

upi
object
deprecated

Deprecated. Use paymentMethods.upi instead; this location is still read as a fallback and will be removed once integrations have migrated.

Last modified on October 1, 2026