> For the complete documentation index, see [llms.txt](https://docs.umbcheckout.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.umbcheckout.net/payment-providers/payment-providers/stripe/object-reference/validation.md).

# Validation

The Validation object contains the below properties

| Property Name    | Type   | Use                              |
| ---------------- | ------ | -------------------------------- |
| Mandatory        | bool   | True if the property is required |
| MandatoryMessage | string | Error message displayed          |
| Pattern          | string | RegEx to validate value against  |
| PatternMessage   | string | Error message displayed          |
