Close Batch Request to manually initiate closure of the acquirer batch. PUT https://test-gateway.mastercard.com/api/rest/version/100 / merchant / {merchantId} / batch Authentication This operation requires authentication via one of the following methods: Certificate authentication. Basic HTTP authentication as described at w3.org. Provide 'merchant.' in the userid portion and your API password in the password portion. Request URL Parameters {merchantId} Alphanumeric + additional characters REQUIRED The unique identifier issued to you by your payment provider. This identifier can be up to 12 characters in length. Data may consist of the characters 0-9, a-z, A-Z, '-', '_' Min length: 1 Max length: 40 Fields Show optional fields acquirer REQUIRED Information on acquirer fields required to determine which acquirer link closes the batch. acquirer.cardType String OPTIONAL The card types supported by the acquirer link. Data can consist of any characters Min length: 3 Max length: 50 acquirer.currency Upper case alphabetic text OPTIONAL The currencies supported by the acquirer link. Data must consist of the characters A-Z Min length: 3 Max length: 3 acquirer.id ASCII Text OPTIONAL The identifier of the acquirer for which the batch closure is to be performed by the gateway. You can look up the acquirer ID in the transaction response for the transactions processed using this acquirer. Data consists of ASCII characters Min length: 1 Max length: 40 correlationId String OPTIONAL A transient identifier for the request, that can be used to match the response to the request. The value provided is not validated, does not persist in the gateway, and is returned as provided in the response to the request. Data can consist of any characters Min length: 1 Max length: 100 Response Fields Show conditional fields acquirer.id ASCII Text ALWAYS PROVIDED The identifier of the acquirer used to perform the batch closure. Data consists of ASCII characters Min length: 1 Max length: 40 correlationId String CONDITIONAL A transient identifier for the request, that can be used to match the response to the request. The value provided is not validated, does not persist in the gateway, and is returned as provided in the response to the request. Data can consist of any characters Min length: 1 Max length: 100 result Enumeration ALWAYS PROVIDED A system-generated high level overall result of the operation. Value must be a member of the following list. The values are case sensitive. FAILURE The operation was declined or rejected by the gateway, acquirer or issuer PENDING The operation is currently in progress or pending processing SUCCESS The operation was successfully processed UNKNOWN The result of the operation is unknown Errors error Information on possible error conditions that may occur while processing an operation using the API. error.cause Enumeration Broadly categorizes the cause of the error. For example, errors may occur due to invalid requests or internal system failures. Value must be a member of the following list. The values are case sensitive. INVALID_REQUEST The request was rejected because it did not conform to the API protocol. REQUEST_REJECTED The request was rejected due to security reasons such as firewall rules, expired certificate, etc. SERVER_BUSY The server did not have enough resources to process the request at the moment. SERVER_FAILED There was an internal system failure. error.explanation String Textual description of the error based on the cause. This field is returned only if the cause is INVALID_REQUEST or SERVER_BUSY. Data can consist of any characters Min length: 1 Max length: 1000 error.field String Indicates the name of the field that failed validation. This field is returned only if the cause is INVALID_REQUEST and a field level validation error was encountered. Data can consist of any characters Min length: 1 Max length: 100 error.supportCode String Indicates the code that helps the support team to quickly identify the exact cause of the error. This field is returned only if the cause is SERVER_FAILED or REQUEST_REJECTED. Data can consist of any characters Min length: 1 Max length: 100 error.validationType Enumeration Indicates the type of field validation error. This field is returned only if the cause is INVALID_REQUEST and a field level validation error was encountered. Value must be a member of the following list. The values are case sensitive. INVALID The request contained a field with a value that did not pass validation. MISSING The request was missing a mandatory field. UNSUPPORTED The request contained a field that is unsupported. result Enumeration A system-generated high level overall result of the operation. Value must be a member of the following list. The values are case sensitive. ERROR The operation resulted in an error and hence cannot be processed.