Notify Cardlytics of one or more transactions.
POST /v2/data/transactions
Input Parameters
This endpoint requires a JSON body be posted.
Property | Type | Required | Description |
---|---|---|---|
transactions | TransactionNotification[] | Required | Array of TransactionNotification objects. Max 50 per request. |
Output
This endpoint returns an HTTP response indicating success (200) or failure (500).
Example
Request
POST /v2/data/transactions
{
"transactions": [
{
"transactionId": "8179bea8-0d04-4d2b-bd78-b1ffbad3ec48",
"transactionType": "AUTHORIZED",
"sourceCustomerId": "2c6c3c2e-e531-46d7-a44e-F1487D4EDEEB",
"sourceAccountId": "002d3fcc-3108-48f1-9c73-c030924bcde9",
"paymentType": "DEBIT",
"paymentMethodEntryType": "APPLE_PAY",
"paymentProductId": "f6ef42cc-5fc8-4156-b159-4a9b977bdaac",
"transactionTimestamp": "2023-06-01T22:21:57.088Z",
"transactionPostingTimestamp": "2023-06-06T08:00:00.000Z",
"paymentNetworkMCC": "5432",
"paymentNetworkMerchantIdType": "MID",
"paymentNetworkMerchant": "Dunkin' Donuts 128",
"paymentNetworkMerchantAddress1": "901 Congress Ave",
"paymentNetworkMerchantAddress2": "Ste 200",
"paymentNetworkMerchantCity": "Austin",
"paymentNetworkMerchantState": "Texas",
"paymentNetworkMerchantPostal": "78701",
"paymentNetworkMerchantCountryCode": "US",
"paymentNetworkMerchantId": "93A934954789",
"paymentMethodBillingPostalCode": "78744",
"mobileIndicator": true,
"walletDescription": "40010030273",
"cardNetworkIdentifier": 4,
"iin": "4567",
"last4": "5555",
"cardPresentIndicator": 0,
"recurringTransactionIndicator": false,
"authorizationAmount": "2500",
"cashBackAtPointOfSaleAmount": "2500",
"postedAmount": "2500",
"currencyCode": "USD",
"onlineIndicator": "NOT_ONLINE",
"multipleClearingSequenceNumber": "2",
"multipleClearingSequenceCount": "10",
"authorizationApprovalCode": "A37BE3",
"acquirerReferenceNumber": "123451234512345"
}
]
}
Response
{
"requestId": "380052b4-3a64-4952-b640-ba696eb9f44b"
}