Skip to content

Create customer transactions

Notify Cardlytics of one or more transactions.

1
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

1
POST /v2/data/transactions
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
    "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

1
2
3
{
    "requestId": "380052b4-3a64-4952-b640-ba696eb9f44b"
}