This endpoint is used to upload and validate a batch of transactions for a specified merchant. The Request Body must include a json array. Each array item should contain a single transaction object.
It performs general validation and mandatory field checks on the transaction data. If all validations pass, a success message is returned. Otherwise, detailed error messages are provided for any validation failures.
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Path Parameters
Name
Description
merchantId
Merchant Id for transaction batch upload
Body
Name
Type
Required
Description
transactionReference
String
True
Merchant-supplied reference identifying this transaction
transactionDate
Datetime (ISO 8601 format)
True
Date and time when the order was placed.
paymentDescriptor
String
True
Payment descriptor as it appears on the customer's statement.
cardBin
String
True
First six digits of the credit card used for the transaction.
cardLast4
String
True
Last four digits of the credit card used for the transaction.
receipt
Object
True
Contains detailed information about the receipt
receipt.paymentInformation
Object
True
Contains detailed information about the payment information
receipt.paymentInformation.paymentTotalAmount
Object
True
Contains detailed information about the payment total amount
Contains detailed information about the merchant information
merchantInformation.merchantName
String
True
The merchant name
merchantInformation.merchantUrl
String
True
The merchant url
merchantInformation.merchantContactPhone
String
True
The merchant contact phone
merchantInformation.storeDetails.storeName
String
True
The store name
deliveryAddress
Object
True
Contains detailed information about the delivery address
deliveryAddress.address1
String
True
The delivery address
deliveryAddress.city
String
True
The delivery city
deliveryAddress.region
String
True
The delivery region
deliveryAddress.postalCode
String
True
The delivery postal code
deliveryAddress.country
String
True
The delivery country
device
Object
True
Contains detailed information about the device
device.deviceId
String
True
The device id
device.ipAddress
String
True
The device ip address
device.deviceFingerprint
String
True (Conditionally)
The device fingerprint
Upload Transaction Batch
post
Upload a batch of merchant transactions as JSON.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
merchantIdstringRequired
Merchant Id for transaction batch upload
Bodyobject[]
transactionReferencestring · max: 100Required
Merchant-supplied reference identifying this transaction. Leading/trailing whitespace is trimmed before storage. Must be unique per merchant - duplicates are rejected (single endpoint returns 409; batch endpoints mark the row as error). Echoed back (trimmed) in the response so the merchant can map their reference to the txShieldOICartReference.
Example: ORDER-2026-0001
cardBinstring · min: 6 · max: 8Required
First 6 or 8 digits of the card used in the transaction. Must be numeric.
Pattern: ^[0-9]+$
cardLast4string · min: 4 · max: 4Required
Last 4 digits of the card used in the transaction. Must be numeric.
Pattern: ^[0-9]+$
transactionDatestring · date-timeRequired
The date and time of the transaction in ISO 8601 format. Must be earlier than today.