REST API

REST Example: Checking Enrollment for 3RI Multi-Party Commerce Transaction (Mastercard)

Request
{ "orderInformation": { "amountDetails": { "currency": "eur", "totalAmount": "100.00" }, "lineItems": [ { "unitPrice": "120.00" } ], "billTo": { "address1": "201 S. Division St.", "administrativeArea": "MI", "country": "US", "locality": "Ann Arbor", "firstName": "RTS", "lastName": "VDP", "email": "test@cybs.com", "postalCode": "48104-2201" } }, "paymentInformation": { "card": { "type": "002", "expirationMonth": "12", "expirationYear": "2027", "number": "5200000000002805" } }, "deviceInformation": { "httpAcceptContent": "all", "httpBrowserLanguage": "en", "httpBrowserJavaEnabled": "y", "httpBrowserColorDepth": 1, "httpBrowserScreenHeight": 1, "httpBrowserScreenWidth": 1, "httpBrowserTimeDifference": 5, "userAgentBrowserValue": "chrome" }, "recurringPaymentInformation": { "endDate": "20240906", "frequency": "31", "numberOfPayments": "1", "originalPurchaseDate": "2024080511243877", "sequenceNumber": "1" }, "consumerAuthenticationInformation": { "strongAuthentication": { "authenticationIndicator": "85" }, "challengeCode": "03", "deviceChannel": "Browser", "messageCategory": "01", "priorAuthenticationMethod": "02", "priorAuthenticationReferenceId": "74fd3b64-5abb-4ac2-b090-1fba79996123", "priorAuthenticationTime": "202408051124", "referenceId": "CybsCruiseTester-500582d1" } }
Response to a Successful Request
{ "clientReferenceInformation": { "code": "RTS-Auth" }, "consumerAuthenticationInformation": { "challengeRequired": "N", "authenticationTransactionId": "UjGENvX5ALCk1Yov31m0", "strongAuthentication": { "OutageExemptionIndicator": "0" }, "token": "AxjzbwSTiS7ruvMgAiEDABECT34jGqAX0h04ghLLtaSZV0ekj0yAsAAAwQTD", "acsUrl": "https://0merchantacsstag.cardinalcommerce.com/MerchantACSWeb/creq.jsp", "acsReferenceNumber": "Cardinal ACS", "pareq": "eyJtZXNzYWdlVHlwZSI6IkNSZXEiLCJtZXNzYWdlVmVyc2lvbiI6IjIuMi4wIiwidGhyZWVEU1NlcnZlclRyYW5zSUQiOiI3ODc3MjhmNy1iYzczLTQ0NzAtYTNlMC05ZDE1MjRlN2NhMTQiLCJhY3NUcmFuc0lEIjoiMDYzMzg2ODItYWYzMi00OWEwLWI4NWItZTViMjI1NzlmZmJjIiwiY2hhbGxlbmdlV2luZG93U2l6ZSI6IjAyIn0", "directoryServerTransactionId": "b25e6688-6b10-4942-a8a1-cc5b5f7ad9af", "veresEnrolled": "Y", "threeDSServerTransactionId": "787728f7-bc73-4470-a3e0-9d1524e7ca14", "acsOperatorID": "MerchantACS", "specificationVersion": "2.2.0", "acsTransactionId": "06338682-af32-49a0-b85b-e5b22579ffbc" }, "errorInformation": { "reason": "CONSUMER_AUTHENTICATION_REQUIRED", "message": "The cardholder is enrolled in Payer Authentication. Please authenticate the cardholder before continuing with the transaction." }, "id": "7252951422466502304003", "paymentInformation": { "card": { "bin": "520000", "type": "MASTERCARD" } }, "status": "PENDING_AUTHENTICATION", "submitTimeUtc": "2024-09-02T16:39:02Z" }
Response to a Successful Request
{ "clientReferenceInformation": { "code": "1675288043120" }, "consumerAuthenticationInformation": { "indicator": "internet", "ucafCollectionIndicator": "0", "strongAuthentication": { "OutageExemptionIndicator": "0" }, "token": "AxjzbwSTbhMKrRswWTYSABECT9u+QBvfSB84gL2IZNJMvRiyubWAOAAA+Qxb" }, "id": "6752880430346470503954", "status": "AUTHENTICATION_SUCCESSFUL", "submitTimeUtc": "2023-02-01T21:47:23Z" }