Skip to content

Schema Validation

Ariel Rey edited this page Jan 20, 2017 · 1 revision

Automatic Schema Validation

Every time you make an operation that needs to send a JSON payload, like creating a payment, customer, etc... the payload is going to be automatically validated.

This functionality will let you save time and errors at integration time. The validations are the following:

  • Type Validations (Block)
  • Field name validations (Warning)
  • Extra Parameters (Warning)

Block Validations

This type of validations are going to throw an error, don't letting you execute the operation to prevent an error from the server.

Warning Validations

This type of validations are going to output a warning on console.