cnpRequest

This is the root element for all cnpAPI Batch requests.

Parent Elements:

None

Attributes:

Attribute Name

Type

Required?

Description

version

String

Yes

Defines the cnpAPI schema version against which the XML is validated.

minLength = N/A maxLength = 10

xmlns

String

Yes

Defines the URI of the schema definition. This is a fixed location and must be specified as: http://www.vantivcnp.com/schema.

minLength = N/A maxLength = 38

id

String

No

A unique string to identify the session within the system.

minLength = N/A maxLength = 25

numBatchRequests

Integer

Yes

Defines the total number of batchRequest children included in the cnpRequest. If the cnpRequest contains only an RFRRequest, then set this attribute to “0”.

Child Elements:

Required: authentication

One of the following required: batchRequest, RFRRequest