Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Validation Overview

Validation Type

Scenario

Requiredrequired

Mandatory parameter not sent in the request.

Invalidinvalid

Date with wrong Wrong format.

Typetype

Mismatch data type

Lengthlength

Data length exceeded.

Where we validate specific characters, a Regex is provided.

...

Case

Error Type

Value zero or negative.

invalid

Value with decimals.

invalid

Value with higher precision

length

Not sent

required

Value different to a number.

type

account_type

Case

Error Type

Value with higher length

length

Value different to a string.

type

Value different to available values

invalid

address_1

Case

Error Type

Value with higher length

length

Value different to a string.

type

Not sent

required

address_2

Case

Error Type

Value with higher length

length

Value different to a string.

type

Not sent

required

amount

Case

Error Type

Value different to a number.

type

Decimal point different to period.

invalid

Value zero or negative.

invalid

Value with higher precision and/or scale

length

Not sent

required

amount_requested

Case

Error Type

Decimal point different to period.

invalid

Value zero or negative.

invalid

Value with higher precision and/or scale

length

Value different to a number.

type

...

Case

Error Type

Value different to a number

invalid

Not sent

required

auto_capture

Case

Error Type

Different to the available values.

invalid

business_address_1

Case

Error Type

Value with higher length

length

Not sent

required

Value different to a string

type

business_address_2

Case

Error Type

Value with higher length

length

Not sent

required

Value different to a string.

type

business_city

Case

Error Type

Value with higher length

length

Not sent

required

Value different to a string.

type

business_name

Case

Error Type

Value with higher length

length

Not sent

required

Value different to a string.

type

business_postal_code

Case

Error Type

Value with higher length

length

Not sent

required

Value different to a string.

type

business_phone

Case

Error Type

Value with higher precision

length

Not sent

required

Value different to a number.

type

Regex

/^(?([0-9]{3}))?[-. ]?([0-9]{3})[-. ]?([0-9]{4})/

business_province

Case

Error Type

Different to the available values.

invalid

Not sent

required

Value different to a string.

type

capture_id

Case

Error Type

Client not valid.

invalid

Not sent

required

...

Case

Error Type

Value zero or negative.

invalid

Value with decimals.

invalid

Value with higher precision

invalid

Not sent

required

Value different to a number.

type

widget_session_id

Case

Error Type

Value zero or negative

invalid

Value with decimals

invalid

Value with higher precision

invalid

Not sent

required

Value different to a string

type

x-reference-id

Case

Error Type

Value zero or negative

invalid

Value with decimals

invalid

Value with higher precision

invalid

Not sent

required

Value different to a string

type