Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The real-time transaction API (POST Make a live card transaction) remains the same, except there are now two new fields that it supports which become mandatory for merchants that have 3DS v2 enabled. The new fields are “CallbackUrl” and “BrowserInfo” - see sample below:

Code Block
languagejson
{
  "ProcessType": "COMPLETE",
  "Reference": "REAL-TIME-TXN-20200403-0083DS Test1",
  "Description": "This is an example real-time transaction",
  "Amount": 100,
  "CurrencyCode": "AUD",
  "CardToken": null,
  "Card": {
    "CardNumber": "4111111111111111",
    "CardholderName": "TEST Card",
    "ExpiryYear": 2023,
    "ExpiryMonth": 10,
    "Ccv": "123"
  },
  "Payer": null,
  "CallbackUrl" : "https://www.integrapay.com/3ds",
  "BrowserInfo" : {
        "UserAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.106 Safari/537.36",
        "AcceptHeader": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
        "Language": "en-US",
        "TimeZone": "0",
        "ColorDepth": 24,
        "ScreenHeight": 768,
        "ScreenWidth": 1024,
        "JavaEnabled": true
  },
  "Audit": {
  "Username": "Example-User",
  "UserIP": "1.2.3.4"
  }
}