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.

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