Skip to main content

UnifiedTransactionDto

amount objectrequired
amountnumberrequired
currencystringrequired
authCodestring
channelChannelrequired

Possible values: [IN_STORE, CHECKOUT_SESSION, SUBSCRIPTION, INVOICE, DIRECT_API, VIRTUAL_TERMINAL]

correlationIds objectrequired
gatewayTransactionIdstring
posTransactionIdstring
createdAtstring<date-time>required
customer object
customerIdstringrequired
firstNamestring
lastNamestring
idstringrequired
payment object
approvalCodestring
cardBrandstring
cardLast4string
feeAmountnumber
gatewayTransactionIdstringrequired
paymentMethodstring
processorReferenceIdstring
retail object
amountPaidCardnumberrequired
amountPaidCashnumberrequired
cashierUserIdstring
discountTotalnumberrequired
storeIdstringrequired
subtotalnumberrequired
taxAppliednumberrequired
terminalIdstring
tipAmountnumberrequired
transactionRefinteger<int32>required
transactionTypestringrequired
statusstringrequired
syncStatusSyncStatusrequired

Possible values: [IN_SYNC, POS_ONLY, CASH_ONLY, CARD_CORRELATION_MISSING, GATEWAY_BINDING_UNAVAILABLE, SYNC_PENDING, GATEWAY_UNREACHABLE, ORPHAN_POS]

UnifiedTransactionDto
{
"amount": {
"amount": 0,
"currency": "string"
},
"authCode": "string",
"channel": "IN_STORE",
"correlationIds": {
"gatewayTransactionId": "string",
"posTransactionId": "string"
},
"createdAt": "2024-07-29T15:51:28.071Z",
"customer": {
"customerId": "string",
"firstName": "string",
"lastName": "string"
},
"id": "string",
"payment": {
"approvalCode": "string",
"cardBrand": "string",
"cardLast4": "string",
"feeAmount": 0,
"gatewayTransactionId": "string"
},
"paymentMethod": "string",
"processorReferenceId": "string",
"retail": {
"amountPaidCard": 0,
"amountPaidCash": 0,
"cashierUserId": "string",
"discountTotal": 0,
"storeId": "string",
"subtotal": 0,
"taxApplied": 0,
"terminalId": "string",
"tipAmount": 0,
"transactionRef": 0,
"transactionType": "string"
},
"status": "string",
"syncStatus": "IN_SYNC"
}