Looking for ePay classic docs? Go to docs.epay.dk
ePay documentationDocsePay documentation

MitBatchResultRow

Outcome for a single entry in a MIT batch request. Only one of transaction or error is populated.

referencestring
Nullable

The transaction.reference value sent in the request for the transaction. This can be used to link the returned result to the original transaction request in the batch. If you do not send the transaction.reference field in the request, this will be null.

Created MIT transaction when the entry is accepted. Null when validation or ownership checks fail. For error reason see error which will always be present when transaction is null.

Error payload explaining why the batch entry could not be created. Is always null when transaction is not null and is always not-null when transaction is null.

MitBatchResultRow
{  "reference": "string",  "transaction": {    "id": "LDG7M4WW44G",    "subscriptionId": "0197c07b-3f6d-7be2-b848-702b08958128",    "billingAgreementChargeId": "019a727b-987f-7768-a59e-71af920ef81f",    "state": "PENDING",    "errorCode": "string",    "externalStatusCodes": {      "terminal": "string",      "acquirer": "string",      "network": "string",      "sca": "string"    },    "createdAt": "2019-08-24T14:15:22Z",    "sessionId": "string",    "paymentMethodId": "b6df8625-cd25-4123-b345-638aa7b5d011",    "paymentMethodType": "CARD",    "paymentMethodSubType": "Visa",    "paymentMethodExpiry": "2019-08-24",    "paymentMethodDisplayText": "string",    "paymentMethodHolderName": "string",    "scaMode": "SKIP",    "customerId": "string",    "amount": 0,    "fee": 0,    "currency": "string",    "instantCapture": "OFF",    "notificationUrl": "http://example.com",    "pointOfSaleId": "be6bff4f-7fac-43c0-9f6b-cf2cd45ed7d1",    "reference": "string",    "textOnStatement": "string",    "exemptions": [      "LVT",      "TRA"    ],    "attributes": {      "property1": null,      "property2": null    },    "clientIp": "52.212.176.122",    "clientCountry": "DK",    "type": "PAYMENT"  },  "error": {    "success": false,    "errorCode": "MODEL_NOT_FOUND",    "message": "The requested model was not found."  }}