Validation

 

All fields in the Netaxept API are validated according to below mentioned validation rules.

 

Alpha

Characters from a-z and uppercase A-Z are supported.

 

Numeric

Characters between 0-9 are supported.

 

AlphaNumeric

Any of characters a-z, A-Z and 0-9 are supported.

 

Reference

Reference values are currently validated on length alone. The max length for the reference value is given in the max length field in API section.

 

Boolean

Boolean parameters need to be given in text form; a string set to either "true" or "false" is supported.

 

Base64

Valid base64-encoded values are supported.

 

Custom

The validation of the field is specific for the field and cannot be described in general. Custom fields typically map to enumerations, but can be anything.

 

URL

URLs that are max 256 characters and start with the string "http://" or "https://" are supported.

 

Timestamp

Timestamps are returned with the format YYYY-MM-DDTHH:MM:SS.milliseconds+TZ. Time zone is optional. For example: 2017-02-15T14:35:19.305+01:00

 

Printable

The field can contain any printable characters.