Get Transactions Within a Batch
Get a List of Transactions Within a Batch
Get the details of all transactions within a given Batch. Availability of this feature in production depends on your allowed live configuration. Please contact Global Payments before coding this feature to confirm it will be available to you when you go live.
Authorization
bearerAuth Access token from POST /accesstoken, sent as Authorization: Bearer <token>.
In: header
Path Parameters
A unique identifier for the object created by Global Payments. The first 3 characters identifies the resource an id relates to.
1 <= length <= 50Header Parameters
The version of the API to execute the request.
1 <= length <= 50"2021-03-22"Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/batches/BAT_855049-899/transactions" \ -H "X-GP-Version: 2021-03-22"{ "total_record_count": 1000, "batch_transaction_count": 126, "merchant_id": "MER_A6A1EC44522F96630ABEA17A", "merchant_name": "ABC INDUSTRIES", "account_id": "TRA_86920f927028745yt34d077d88beb29b", "account_name": "transaction_processing", "site_reference": "string", "device_reference": "string", "filter": { "batch_id": "BAT_855049-899" }, "transactions": [ { "id": "TRN_uzFr7t4VOqxdLDI44hHmXIjHtOOE8d", "time_created": "2026-05-03T21:23:39.718Z", "status": "BATCHED", "type": "SALE", "amount": "11099", "tax_amount": "string", "currency": "USD", "gratuity_amount": "11099", "surcharge_amount": "500", "cashback_amount": "11099", "reference": "becf9f3e-4d33-459c-8ed2-0c4affc9555e", "payment_method": { "name": "JANE DOE", "entry_mode": "ECOM", "card": { "funding": "CREDIT", "brand": "VISA", "masked_number_first6last4": "426397xxxxxx5262", "authcode": "string", "cvv_result": "MATCHED", "avs_address": "string", "avs_address_result": "MATCHED", "avs_postal_code_result": "MATCHED" } } } ], "action": { "id": "ACT_uzFr7t4VOqxdLDI44hHmXIjHtOOE8d", "type": "BATCH_LIST", "time_created": "2021-05-03T21:23:39.718Z", "result_code": "SUCCESS", "app_id": "uzFr7t4VOqxdLDI44hHmXIjHtOOE8d", "app_name": "my_lovely_app" }}Close a Batch POST
Close a Batch using the Global Payments Batch id. Closing a batch results in commencement of funding to the merchant all the transactions in that batch. Availability of this feature in production depends on your allowed live configuration. Please contact Global Payments before coding this feature to confirm it will be available to you when you go live.
Close a Batch POST
Close a Batch without using the Global Payments Batch id Closing a batch results in commencement of funding to the merchant all the transactions in that batch. Here you can close the current open batch without the unique batch id. Availability of this feature in production depends on your allowed live configuration. Please contact Global Payments before coding this feature to confirm it will be available to you when you go live.