batchResponse

The batchResponse element is the parent element for information returned to you in response to a batch you submitted for processing. It is a child of a cnpResponse element.

Parent Elements:

cnpResponse

Attributes:

Attribute Name

Type

Required?

Description

id

String

No

The response returns the same value submitted in the Batch Request.

minLength = N/A maxLength = 36

cnpBatchId

Long

Yes

A unique value assigned by Worldpay to identify the batch.

minLength = N/A maxLength = 19

merchantId

String

Yes

The response returns the same value submitted in the Batch Request.

minLength = 1maxLength = 50

Child Elements:

Required: accountUpdateResponse, activateResponse, authorizationResponse, authReversalResponse, captureResponse, captureGivenAuthResponse, createPlanResponse, creditResponse, deactivateResponse, echeckCreditResponse, echeckPreNoteCreditResponse, echeckPreNoteSaleResponse, echeckRedepositResponse, echeckSalesResponse, echeckVerificationResponse, fastAccessFundingResponse, forceCaptureResponse, giftCardAuthReversalResponse, giftCardCaptureResponse, giftCardCreditResponse, loadResponse, registerTokenResponse, saleResponse, depositTransactionReversalResponse, unloadResponse, updateCardValidationNumOnTokenRespone, cancelSubscriptionResponse, updatePlanResponse, updateSubscriptionResponse, payFacCreditResponse, payFacDebitResponse, physicalCheckCreditResponse, physicalCheckDebitResponse, reserveCreditResponse, reserveDebitResponse, submerchantCreditResponse, submerchantDebitResponse, vendorCreditResponse, vendorDebitResponse, customerCreditResponse, customerDebitResponse, payoutOrgCreditResponse, payoutOrgDebitResponse

The batchResponse contains child elements corresponding to the requests submitted in the batchRequest. For example, if the batchRequest contained 10 authorization and 8 capture transactions, the batchResponse would contain 10 authorizationResponse and 8 captureResponse transactions.