Initiate payment
Initiate payment with an order
Authorizations:
path Parameters
mid required | integer The merchant id |
orderId required | string The order id |
Request Body schema: application/json
Request body describing the payment
orderDescription | string <= 100 characters The OrderDescription can be used in some Soft Descriptor scenarios. |
orderDetailDescription | string <= 100 characters Can sometimes be used in Soft Descriptor scenarios. |
paymentMethodId | integer Default: 1000 The payment method Id. Examples of acceptable values are 1 = 'Nordea', 10 = 'Bank Austria'. |
required | object Currency may be represented by either currency or numericCurrency, not both. |
object Additional data related to payment processing. | |
Array of objects[ items ] Line items in an order. | |
autoCapture | boolean Defaults to false. If set to true the system will automatically capture the payment of the order for card payments. For redirect payments this is simply an indicator to the partner bank whether to withdraw funds automatically or not. Not all partner banks support this. |
transactionChannel required | string Enum: "Web Online" "Cash Register" "Telephone" "Mail" "FaceToFace" "Digital Wallet" "In-app" "Voice Recognition" "MOTO" A String with the name of transaction channel used to process the transaction. Case sensitive, space must be included where applicable. |
object Card related information. Although all elements are optional in this data type, some elements are mandatory for some transaction types and for some card types. | |
object | |
object | |
object Billing information, such as the invoicing address to a card holder. | |
object Shipping information, such as the invoicing address to a card holder. | |
object | |
object | |
requestId | string <= 50 characters [A-Za-z0-9_-]{0,50} Request identifier, set by the merchant. Evaluated against [A-Za-z0-9_-]{0,50} |
createToken | boolean Default: false Should a token be created for the passed PAN |
token | string <= 64 characters Payment instrument Token. Referring to a previously stored payment instrument such as a card number. |
orderScopeReferenceTransactionId | number Use to indicate that this request is to be processed in the same order scope as the transaction id provided. |
object Information relating to browser and traffic routing. | |
object | |
object | |
object | |
object | |
object Additional data related to fraud screening | |
object | |
object | |
authenticationVerificationData | string The verification data of the authentication. To be used in InitiatePaymentRequest. |
authenticationApplication | string The used authentication method. To be used in InitiatePaymentRequest. |
object Contains data regarding credentials on file feature | |
schemeToken | boolean Default: false Defaults to false. Set to true if network or scheme token like MDES or VTS will be used. |
cardServiceCryptogram | string This field will be used to pass the cryptogram we receive in case of scheme tokenization or wallet. |
Responses
Request samples
- Payload
{- "orderDescription": "description",
- "orderDetailDescription": "detailed desc",
- "paymentMethodId": 1,
- "amount": {
- "currency": "EUR",
- "numericCurrency": 978,
- "amount": 10.5
}, - "payInfo": {
- "tax": {
- "taxAmount": 2.1,
- "taxRate": 0.25
}, - "paymentPlanCode": 58
}, - "lineItems": [
- {
- "productId": "X-AE-707-XII",
- "description": "product description",
- "quantity": 2,
- "price": {
- "currency": "EUR",
- "numericCurrency": 978,
- "amount": 10.5
}, - "tax": {
- "taxAmount": 2.1,
- "taxRate": 0.25
}, - "discount": 0
}
], - "autoCapture": true,
- "transactionChannel": "Web Online",
- "cardInfo": {
- "cardNumber": "4111111111111111",
- "cardExpiryDate": "12-2024",
- "expirationDate": "12-2024",
- "issue": 1,
- "startDate": "05-2018",
- "cardHolderName": "Jane Doe",
- "originatingAccountType": "CHEQUE_ACCOUNT",
- "authorizationType": "PRE_AUTHORIZATION"
}, - "cardVerificationInfo": {
- "cvCode": "786",
- "cvCodeState": "USED",
- "useAvs": false
}, - "cardAuthenticationInfo": {
- "xid": "MDAwMDAwMDAwMTAwNDI5NTkzNDY=",
- "cavv": "QUNTRU1Vd1BTV28kOj1Xe2VRSUc=",
- "eci": "2",
- "authRequired": "Y",
- "authenticationResult": "C",
- "acsVerificationFlavor": "2",
- "authenticationProtocolVersion": "3DS2.1.0",
- "authenticationDsTransId": "9913d29b-c02f-5f24-8000-00000000f01d",
- "md": "TUVSQ0hBTlRfREFUQQ==",
- "tDSMethodContent": "<iframe id=\"tdsMmethodTgtFrame\" name=\"tdsMmethodTgtFrame\" style=\"width: 1px; height: 1px; display: none;\" src=\"javascript:false;\" xmlns=\"http://www.w3.org/1999/xhtml\">\n <!--.-->\n</iframe><form id=\"tdsMmethodForm\" name=\"tdsMmethodForm\" action=\"https://dsx.modirum.com/dstests/ACSEmu2?handshake=1\" method=\"post\" target=\"tdsMmethodTgtFrame\" xmlns=\"http://www.w3.org/1999/xhtml\">\n <input type=\"hidden\" name=\"3DSMethodData\" value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjIwM2QxZmE3LWQ1NmItNTRmOC04MDAwLTAwMDAwMDAwZjAxZiIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovLzM1LjIyOC44My4xNTcvL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD02MTQ3MSZkaWdlc3Q9M0M3VWdNcFlwMWJSOW82cEpRd20lMkZOZU0xT2lqVXNMNm1BTXdhdTlCQlhBJTNEIiB9\"/>\n <input type=\"hidden\" name=\"threeDSMethodData\" value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjIwM2QxZmE3LWQ1NmItNTRmOC04MDAwLTAwMDAwMDAwZjAxZiIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovLzM1LjIyOC44My4xNTcvL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD02MTQ3MSZkaWdlc3Q9M0M3VWdNcFlwMWJSOW82cEpRd20lMkZOZU0xT2lqVXNMNm1BTXdhdTlCQlhBJTNEIiB9\"/>\n</form><script type=\"text/javascript\" xmlns=\"http://www.w3.org/1999/xhtml\">\ndocument.getElementById(\"tdsMmethodForm\").submit();\n</script>"
}, - "billingInfo": {
- "contactInfo": {
- "firstName": "Jane",
- "lastName": "Doe",
- "fullName": "Jane Doe",
- "addressLine1": "Textilgatan 31",
- "addressLine2": "Hammarby",
- "addressLine3": "Sjöstad",
- "city": "Stockholm",
- "stateProvince": "STO",
- "zipCode": "120 30",
- "countryCode": "SE",
- "phone": "08 633397177",
- "mobilePhone": "+46 771793336",
- "emailAddress": "jane.doe@email.com",
- "companyName": "Worldline",
- "careOf": "John Doe",
- "streetName": "Textilgatan 31",
- "houseNumber": "31",
- "houseExtension": "1202",
- "automaticNumberIdentification": "1337",
- "telephoneCallType": "CALL_TYPE_CELLULAR",
- "birthDate": "1990-06-06",
- "language": "EN",
- "gender": "FEMALE"
}, - "ssn": "19900606-4711",
- "driversLicenseEnding": "1729",
- "driversLicenseState": "01",
- "buyerVATNumber": "10",
- "buyerType": "BUSINESS",
- "companyTaxId": "ISENTO",
- "companyResponsibleFullName": "Jane Doe",
- "companyResponsibleBirthDate": "1990-06-06",
- "companyResponsibleVATNumber": "13310",
- "newCustomer": true
}, - "shippingInfo": {
- "contactInfo": {
- "firstName": "Jane",
- "lastName": "Doe",
- "fullName": "Jane Doe",
- "addressLine1": "Textilgatan 31",
- "addressLine2": "Hammarby",
- "addressLine3": "Sjöstad",
- "city": "Stockholm",
- "stateProvince": "STO",
- "zipCode": "120 30",
- "countryCode": "SE",
- "phone": "08 633397177",
- "mobilePhone": "+46 771793336",
- "emailAddress": "jane.doe@email.com",
- "companyName": "Worldline",
- "careOf": "John Doe",
- "streetName": "Textilgatan 31",
- "houseNumber": "31",
- "houseExtension": "1202",
- "automaticNumberIdentification": "1337",
- "telephoneCallType": "CALL_TYPE_CELLULAR",
- "birthDate": "1990-06-06",
- "language": "EN",
- "gender": "FEMALE"
}, - "shippingMethod": "SHIP_SAME_DAY"
}, - "bankBillingInfo": {
- "iban": "SE45 5000 0000 1990 4711 1337",
- "swiftBIC": "ESSESESS"
}, - "fraudControl": {
- "fraudScreening": "Screen",
- "fraudScreeningPreAuth": false,
- "fraudScreeningOn3DSLiabilityShift": true,
- "fraudScreeningActionOnHold": "PASSED"
}, - "requestId": "request-id-101",
- "createToken": true,
- "token": "9000033649121111",
- "orderScopeReferenceTransactionId": 10059432245,
- "browserInfo": {
- "ipAddress": "172.77.32.11",
- "httpAccept": "application/json",
- "httpAcceptLanguage": "en",
- "httpUserAgent": "Mozilla",
- "deviceOs": "iOS",
- "siteHostName": "somehost.com",
- "aciDeviceFingerprint": "32e12jlkp0416",
- "ebanxDeviceFingerprint": "619dfs12f",
- "walletName": "applepay",
- "walletId": "12345Abc"
}, - "merchantInfo": {
- "posId": "0",
- "posDescription": "pos description",
- "mcc": "44",
- "subMerchantId": "6552"
}, - "subMerchantInfo": {
- "sellerId": "16552",
- "dbaName": "17",
- "addressLine1": "Stjarntorget 1",
- "addressLine2": "Solna",
- "city": "Stockholm",
- "zipCode": "169 79",
- "stateProvince": "STO",
- "countryCode": "SE",
- "phone": "+46 708667788",
- "emailAddress": "somemerchant@email.se"
}, - "cardPresentAuthInfo": {
- "pointOfServiceDataCode": "50010150114C",
- "terminalId": "T3RM1NA1000",
- "track1": "",
- "track2": "374245455400001=150620113051234500000",
- "onlinePINData": "",
- "emvData": "9F260829ACEDC583F36F509F1007060201036434009F3704705805EF9F36020001950500000080009A031409109C01009F02060000000022229F03060000000000005F2A0208269F1A02075282025C005F3401009F270180"
}, - "recurringInfo": {
- "recurringIndicator": "FIRST_RECURRING",
- "subscriptionId": "20191212112738"
}, - "fraudScreeningData": {
- "userData": [
- {
- "fieldName": "1",
- "fieldValue": "customData1"
}
]
}, - "redirectInfo": {
}, - "threeDSecureInfo": {
- "purchaseInstallment": "2",
- "md": "MERCHANT_DATA",
- "acctId": "AReq3DS2",
- "acctType": "03",
- "addrMatch": "Y",
- "messageCategory": "01",
- "purchaseDate": "20191212112734",
- "transType": "01",
- "threeRIInd": "01",
- "threeDSRequestorAuthenticationInd": "02",
- "threeDSRequestorChallengeInd": "03",
- "challengeWindowSize": "01",
- "shipIndicator": "01",
- "deliveryTimeframe": "04",
- "deliveryEmailAddress": "dane.joe@email.com",
- "reorderItemsInd": "01",
- "preOrderPurchaseInd": "01",
- "preOrderDate": "20191210",
- "giftCardAmount": {
- "currency": "EUR",
- "numericCurrency": 978,
- "amount": 10.5
}, - "giftCardCount": "00",
- "chAccAgeInd": "02",
- "chAccDate": "20191212",
- "chAccChangeInd": "03",
- "chAccChange": "20191105",
- "chAccPwChangeInd": "04",
- "chAccPwChange": "20191105",
- "nbPurchaseAccount": "4",
- "provisionAttemptsDay": "1",
- "txnActivityDay": "1",
- "txnActivityYear": "3",
- "shipAddressUsageInd": "04",
- "shipAddressUsage": "20180622",
- "shipNameIndicator": "01",
- "paymentAccInd": "05",
- "paymentAccAge": "20180515",
- "suspiciousAccActivity": "02",
- "threeDSReqAuthMethod": "05",
- "threeDSReqAuthTimestamp": "201912121128",
- "threeDSReqPriorRef": "3DS-Ref-10042959346",
- "threeDSReqPriorAuthMethod": "02",
- "threeDSReqPriorAuthTimestamp": "201911051645",
- "sdkTransID": "3DS-5986908782",
- "sdkReferenceNumber": "3DS-Ref-10042958338",
- "sdkAppID": "AA97B177-9383-4934-8543-0F91A7A02836",
- "sdkEncData": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2NTUyIiwibmFtZSI6IkphbmUgRG9lIiwiaWF0IjoiMTU3MDYxNjU1MiJ9.39FZH3eqMd8eXPe3x8U9jtMYfjcv0meAcHImFvQRNWg",
- "sdkMaxTimeout": "05",
- "deviceRenderOptions": "eyAic2RrSW50ZXJmYWNlIjoiMDMiLCAic2RrVWlUeXBlIjpb4oCdMDEiLCDigJwwMuKAnSwg4oCcMDPigJ0sIOKAnDA04oCdLCDigJwwNeKAnV0gfQ==",
- "sdkEphemPubKey": "ewogICJrdHkiIDogIkVDIiwKICAiY3J2IiA6ICJQLTI1NiIsCiAgIngiICAgOiAiU1ZxQjRKY1VENmxzZnZxTXItT0tVTlVwaGRObjY0RWF5NjA5NzhabEw3NCIsCiAgInkiICAgOiAibGYwdTBwTWo0bEdBelppeDV1NENtNUNNUUlnTU5wa3d5MTYzd3RLWVZLSSIsCiAgImQiICAgOiAiMGc1dkFFS3p1Z3JYYVJiZ0tHMFRqMnFKNWxNUDRCZXpkczFfc1R5YmtmayIKfQ=="
}, - "authenticationVerificationData": "string",
- "authenticationApplication": "string",
- "storedCredentialInfo": {
- "storedCredentialIndicator": "CIT_FIRST_TIME",
- "storedCredentialReason": "RECURRING",
- "schemeReferenceId": "schemeRef2020"
}, - "schemeToken": true,
- "cardServiceCryptogram": "string"
}
Response samples
- 201
- 400
- 401
- 403
{- "mid": 1570616552,
- "orderId": "order_example_1",
- "orderDetailDescription": "detailed desc",
- "orderDescription": "description",
- "orderAmount": 10.5,
- "fulfilmentAmount": 10.5,
- "capturedAmount": 0,
- "refundedAmount": 0,
- "currency": "EUR",
- "baseCurrency": "EUR",
- "baseOrderAmount": 10.5,
- "baseFulfilmentAmount": 10.5,
- "baseCapturedAmount": 0,
- "baseRefundedAmount": 0,
- "capturable": true,
- "cancelable": true,
- "refundable": false,
- "completable": false,
- "dccIndicator": false,
- "timestamp": "2019-11-05T10:05:43.569Z",
- "transactionReferences": [
- {
- "transactionId": 5986908782,
- "transactionTypeId": 1,
- "mid": 1570616552,
- "orderId": "order_example_1",
- "transactionType": "Authorize",
- "transactionDate": "2019-12-12T11:27:34.279Z",
- "refTransactionId": 1234567890,
- "transactionDesc": "Transaction Accepted",
- "statusCode": 0,
- "status": "Processed",
- "amount": 10.5,
- "currency": "EUR",
- "baseAmount": 10.5,
- "baseCurrency": "EUR",
- "paymentMethod": "Visa",
- "paymentMethodId": 1001,
- "acquirerAuthorizationCode": "123456",
- "acquirerReferenceId": "622135",
- "acquirerAnswerDescription": "acquirer ans desc",
- "acquirerAnswerCode": "00",
- "schemeAnswerCode": "100",
- "schemeReferenceId": "CIT_ID_PAYON_2010",
- "bankReferenceId": "622135",
- "bankAnswerCode": "00",
- "token": "9000033649121111",
- "maskedAccountNumber": "411111xxxxxx1111",
- "cardExpiryDate": "12-2024",
- "cvResponse": "",
- "cvAnswerCode": 2,
- "fraudStatus": "HOLD",
- "fraudCode": "fraudScreeningActionOnHold",
- "fraudMessage": "Override when the fraud screening provider returns HOLD.",
- "avsResponse": "",
- "avsAnswerCode": 3,
- "redirectMethod": "POST",
- "redirectParameters": "<INPUT TYPE=HIDDEN NAME=\"NB_VERSION\" VALUE=\"0002\">\n<INPUT TYPE=HIDDEN NAME=\"NB_RCV_ID\" VALUE=\"83832893\">\n<INPUT TYPE=HIDDEN NAME=\"NB_STAMP\" VALUE=\"10442995701\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_AMOUNT\" VALUE=\"10,50\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_CUR\" VALUE=\"SEK\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_REF\" VALUE=\"10442995701\">\n<INPUT TYPE=HIDDEN NAME=\"NB_RETURN\" VALUE=\"https:/www.example.com/capture-response-from-bank\">\n<INPUT TYPE=HIDDEN NAME=\"NB_REJECT\" VALUE=\"https://www.example.com/capture-response-from-bank?STATUS=1&NB_STAMP=5230970501\">\n<INPUT TYPE=HIDDEN NAME=\"NB_CANCEL\" VALUE=\"https://www.example.com/capture-response-from-bank?STATUS=2&NB_STAMP=5230970501\">\n<INPUT TYPE=HIDDEN NAME=\"NB_HMAC\" VALUE=\"644BDB24EF29B48B9275B851567522DC\">\n<INPUT TYPE=HIDDEN NAME=\"NB_KVV\" VALUE=\"FF365893D899291C3BF505FB3175E880\">\n",
- "qrCodeUrl": "",
- "qrCodeEncodedAsText": "",
- "qrCodeMode": "",
- "cardAuthenticationInfo": {
- "xid": "MDAwMDAwMDAwMTAwNDI5NTkzNDY=",
- "cavv": "QUNTRU1Vd1BTV28kOj1Xe2VRSUc=",
- "eci": "2",
- "authRequired": "Y",
- "authenticationResult": "C",
- "acsVerificationFlavor": "2",
- "authenticationProtocolVersion": "3DS2.1.0",
- "authenticationDsTransId": "9913d29b-c02f-5f24-8000-00000000f01d",
- "md": "TUVSQ0hBTlRfREFUQQ==",
- "tDSMethodContent": "<iframe id=\"tdsMmethodTgtFrame\" name=\"tdsMmethodTgtFrame\" style=\"width: 1px; height: 1px; display: none;\" src=\"javascript:false;\" xmlns=\"http://www.w3.org/1999/xhtml\">\n <!--.-->\n</iframe><form id=\"tdsMmethodForm\" name=\"tdsMmethodForm\" action=\"https://dsx.modirum.com/dstests/ACSEmu2?handshake=1\" method=\"post\" target=\"tdsMmethodTgtFrame\" xmlns=\"http://www.w3.org/1999/xhtml\">\n <input type=\"hidden\" name=\"3DSMethodData\" value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjIwM2QxZmE3LWQ1NmItNTRmOC04MDAwLTAwMDAwMDAwZjAxZiIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovLzM1LjIyOC44My4xNTcvL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD02MTQ3MSZkaWdlc3Q9M0M3VWdNcFlwMWJSOW82cEpRd20lMkZOZU0xT2lqVXNMNm1BTXdhdTlCQlhBJTNEIiB9\"/>\n <input type=\"hidden\" name=\"threeDSMethodData\" value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjIwM2QxZmE3LWQ1NmItNTRmOC04MDAwLTAwMDAwMDAwZjAxZiIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovLzM1LjIyOC44My4xNTcvL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD02MTQ3MSZkaWdlc3Q9M0M3VWdNcFlwMWJSOW82cEpRd20lMkZOZU0xT2lqVXNMNm1BTXdhdTlCQlhBJTNEIiB9\"/>\n</form><script type=\"text/javascript\" xmlns=\"http://www.w3.org/1999/xhtml\">\ndocument.getElementById(\"tdsMmethodForm\").submit();\n</script>"
}, - "authenticationStatus": "SUCCESSFUL",
- "authenticationStatusDescription": "",
- "authenticationVerificationValue": "",
- "authenticationVerificationData": "",
- "authenticationApplication": "",
- "authenticationUrl": "",
- "authenticationRedirectParameters": "",
- "authenticationRedirectMethod": "",
}
]
}
Completes one order given merchant id and order id
Completes a redirect transactions of a payment order given a merchant id and order id. If the Payment Method is returning data, this must be passed on in this call.
Authorizations:
path Parameters
mid required | integer The merchant id |
orderId required | string The order id |
Request Body schema: application/json
Request body describing the complete
redirectParameterString | string Parameter string that may be needed in order to successfully complete payment |
Responses
Request samples
- Payload
{- "redirectParameterString": "A=X&B=Y"
}
Response samples
- 201
- 400
- 401
- 403
{- "mid": 1570616552,
- "orderId": "order_example_1",
- "orderDetailDescription": "detailed desc",
- "orderDescription": "description",
- "orderAmount": 10.5,
- "fulfilmentAmount": 10.5,
- "capturedAmount": 0,
- "refundedAmount": 0,
- "currency": "EUR",
- "baseCurrency": "EUR",
- "baseOrderAmount": 10.5,
- "baseFulfilmentAmount": 10.5,
- "baseCapturedAmount": 0,
- "baseRefundedAmount": 0,
- "capturable": true,
- "cancelable": true,
- "refundable": false,
- "completable": false,
- "dccIndicator": false,
- "timestamp": "2019-11-05T10:05:43.569Z",
- "transactionReferences": [
- {
- "transactionId": 5986908782,
- "transactionTypeId": 1,
- "mid": 1570616552,
- "orderId": "order_example_1",
- "transactionType": "Authorize",
- "transactionDate": "2019-12-12T11:27:34.279Z",
- "refTransactionId": 1234567890,
- "transactionDesc": "Transaction Accepted",
- "statusCode": 0,
- "status": "Processed",
- "amount": 10.5,
- "currency": "EUR",
- "baseAmount": 10.5,
- "baseCurrency": "EUR",
- "paymentMethod": "Visa",
- "paymentMethodId": 1001,
- "acquirerAuthorizationCode": "123456",
- "acquirerReferenceId": "622135",
- "acquirerAnswerDescription": "acquirer ans desc",
- "acquirerAnswerCode": "00",
- "schemeAnswerCode": "100",
- "schemeReferenceId": "CIT_ID_PAYON_2010",
- "bankReferenceId": "622135",
- "bankAnswerCode": "00",
- "token": "9000033649121111",
- "maskedAccountNumber": "411111xxxxxx1111",
- "cardExpiryDate": "12-2024",
- "cvResponse": "",
- "cvAnswerCode": 2,
- "fraudStatus": "HOLD",
- "fraudCode": "fraudScreeningActionOnHold",
- "fraudMessage": "Override when the fraud screening provider returns HOLD.",
- "avsResponse": "",
- "avsAnswerCode": 3,
- "redirectMethod": "POST",
- "redirectParameters": "<INPUT TYPE=HIDDEN NAME=\"NB_VERSION\" VALUE=\"0002\">\n<INPUT TYPE=HIDDEN NAME=\"NB_RCV_ID\" VALUE=\"83832893\">\n<INPUT TYPE=HIDDEN NAME=\"NB_STAMP\" VALUE=\"10442995701\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_AMOUNT\" VALUE=\"10,50\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_CUR\" VALUE=\"SEK\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_REF\" VALUE=\"10442995701\">\n<INPUT TYPE=HIDDEN NAME=\"NB_RETURN\" VALUE=\"https:/www.example.com/capture-response-from-bank\">\n<INPUT TYPE=HIDDEN NAME=\"NB_REJECT\" VALUE=\"https://www.example.com/capture-response-from-bank?STATUS=1&NB_STAMP=5230970501\">\n<INPUT TYPE=HIDDEN NAME=\"NB_CANCEL\" VALUE=\"https://www.example.com/capture-response-from-bank?STATUS=2&NB_STAMP=5230970501\">\n<INPUT TYPE=HIDDEN NAME=\"NB_HMAC\" VALUE=\"644BDB24EF29B48B9275B851567522DC\">\n<INPUT TYPE=HIDDEN NAME=\"NB_KVV\" VALUE=\"FF365893D899291C3BF505FB3175E880\">\n",
- "qrCodeUrl": "",
- "qrCodeEncodedAsText": "",
- "qrCodeMode": "",
- "cardAuthenticationInfo": {
- "xid": "MDAwMDAwMDAwMTAwNDI5NTkzNDY=",
- "cavv": "QUNTRU1Vd1BTV28kOj1Xe2VRSUc=",
- "eci": "2",
- "authRequired": "Y",
- "authenticationResult": "C",
- "acsVerificationFlavor": "2",
- "authenticationProtocolVersion": "3DS2.1.0",
- "authenticationDsTransId": "9913d29b-c02f-5f24-8000-00000000f01d",
- "md": "TUVSQ0hBTlRfREFUQQ==",
- "tDSMethodContent": "<iframe id=\"tdsMmethodTgtFrame\" name=\"tdsMmethodTgtFrame\" style=\"width: 1px; height: 1px; display: none;\" src=\"javascript:false;\" xmlns=\"http://www.w3.org/1999/xhtml\">\n <!--.-->\n</iframe><form id=\"tdsMmethodForm\" name=\"tdsMmethodForm\" action=\"https://dsx.modirum.com/dstests/ACSEmu2?handshake=1\" method=\"post\" target=\"tdsMmethodTgtFrame\" xmlns=\"http://www.w3.org/1999/xhtml\">\n <input type=\"hidden\" name=\"3DSMethodData\" value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjIwM2QxZmE3LWQ1NmItNTRmOC04MDAwLTAwMDAwMDAwZjAxZiIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovLzM1LjIyOC44My4xNTcvL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD02MTQ3MSZkaWdlc3Q9M0M3VWdNcFlwMWJSOW82cEpRd20lMkZOZU0xT2lqVXNMNm1BTXdhdTlCQlhBJTNEIiB9\"/>\n <input type=\"hidden\" name=\"threeDSMethodData\" value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjIwM2QxZmE3LWQ1NmItNTRmOC04MDAwLTAwMDAwMDAwZjAxZiIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovLzM1LjIyOC44My4xNTcvL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD02MTQ3MSZkaWdlc3Q9M0M3VWdNcFlwMWJSOW82cEpRd20lMkZOZU0xT2lqVXNMNm1BTXdhdTlCQlhBJTNEIiB9\"/>\n</form><script type=\"text/javascript\" xmlns=\"http://www.w3.org/1999/xhtml\">\ndocument.getElementById(\"tdsMmethodForm\").submit();\n</script>"
}, - "authenticationStatus": "SUCCESSFUL",
- "authenticationStatusDescription": "",
- "authenticationVerificationValue": "",
- "authenticationVerificationData": "",
- "authenticationApplication": "",
- "authenticationUrl": "",
- "authenticationRedirectParameters": "",
- "authenticationRedirectMethod": "",
}
]
}
Get one order given merchant id and order id
Get one order given merchant id and order id
Authorizations:
path Parameters
mid required | integer The merchant id |
orderId required | string The order id |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "mid": 1570616552,
- "orderId": "order_example_1",
- "orderDetailDescription": "detailed desc",
- "orderDescription": "description",
- "orderAmount": 10.5,
- "fulfilmentAmount": 10.5,
- "capturedAmount": 0,
- "refundedAmount": 0,
- "currency": "EUR",
- "baseCurrency": "EUR",
- "baseOrderAmount": 10.5,
- "baseFulfilmentAmount": 10.5,
- "baseCapturedAmount": 0,
- "baseRefundedAmount": 0,
- "capturable": true,
- "cancelable": true,
- "refundable": false,
- "completable": false,
- "dccIndicator": false,
- "timestamp": "2019-11-05T10:05:43.569Z",
- "transactionReferences": [
- {
- "transactionId": 5986908782,
- "transactionTypeId": 1,
- "mid": 1570616552,
- "orderId": "order_example_1",
- "transactionType": "Authorize",
- "transactionDate": "2019-12-12T11:27:34.279Z",
- "refTransactionId": 1234567890,
- "transactionDesc": "Transaction Accepted",
- "statusCode": 0,
- "status": "Processed",
- "amount": 10.5,
- "currency": "EUR",
- "baseAmount": 10.5,
- "baseCurrency": "EUR",
- "paymentMethod": "Visa",
- "paymentMethodId": 1001,
- "acquirerAuthorizationCode": "123456",
- "acquirerReferenceId": "622135",
- "acquirerAnswerDescription": "acquirer ans desc",
- "acquirerAnswerCode": "00",
- "schemeAnswerCode": "100",
- "schemeReferenceId": "CIT_ID_PAYON_2010",
- "bankReferenceId": "622135",
- "bankAnswerCode": "00",
- "token": "9000033649121111",
- "maskedAccountNumber": "411111xxxxxx1111",
- "cardExpiryDate": "12-2024",
- "cvResponse": "",
- "cvAnswerCode": 2,
- "fraudStatus": "HOLD",
- "fraudCode": "fraudScreeningActionOnHold",
- "fraudMessage": "Override when the fraud screening provider returns HOLD.",
- "avsResponse": "",
- "avsAnswerCode": 3,
- "redirectMethod": "POST",
- "redirectParameters": "<INPUT TYPE=HIDDEN NAME=\"NB_VERSION\" VALUE=\"0002\">\n<INPUT TYPE=HIDDEN NAME=\"NB_RCV_ID\" VALUE=\"83832893\">\n<INPUT TYPE=HIDDEN NAME=\"NB_STAMP\" VALUE=\"10442995701\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_AMOUNT\" VALUE=\"10,50\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_CUR\" VALUE=\"SEK\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_REF\" VALUE=\"10442995701\">\n<INPUT TYPE=HIDDEN NAME=\"NB_RETURN\" VALUE=\"https:/www.example.com/capture-response-from-bank\">\n<INPUT TYPE=HIDDEN NAME=\"NB_REJECT\" VALUE=\"https://www.example.com/capture-response-from-bank?STATUS=1&NB_STAMP=5230970501\">\n<INPUT TYPE=HIDDEN NAME=\"NB_CANCEL\" VALUE=\"https://www.example.com/capture-response-from-bank?STATUS=2&NB_STAMP=5230970501\">\n<INPUT TYPE=HIDDEN NAME=\"NB_HMAC\" VALUE=\"644BDB24EF29B48B9275B851567522DC\">\n<INPUT TYPE=HIDDEN NAME=\"NB_KVV\" VALUE=\"FF365893D899291C3BF505FB3175E880\">\n",
- "qrCodeUrl": "",
- "qrCodeEncodedAsText": "",
- "qrCodeMode": "",
- "cardAuthenticationInfo": {
- "xid": "MDAwMDAwMDAwMTAwNDI5NTkzNDY=",
- "cavv": "QUNTRU1Vd1BTV28kOj1Xe2VRSUc=",
- "eci": "2",
- "authRequired": "Y",
- "authenticationResult": "C",
- "acsVerificationFlavor": "2",
- "authenticationProtocolVersion": "3DS2.1.0",
- "authenticationDsTransId": "9913d29b-c02f-5f24-8000-00000000f01d",
- "md": "TUVSQ0hBTlRfREFUQQ==",
- "tDSMethodContent": "<iframe id=\"tdsMmethodTgtFrame\" name=\"tdsMmethodTgtFrame\" style=\"width: 1px; height: 1px; display: none;\" src=\"javascript:false;\" xmlns=\"http://www.w3.org/1999/xhtml\">\n <!--.-->\n</iframe><form id=\"tdsMmethodForm\" name=\"tdsMmethodForm\" action=\"https://dsx.modirum.com/dstests/ACSEmu2?handshake=1\" method=\"post\" target=\"tdsMmethodTgtFrame\" xmlns=\"http://www.w3.org/1999/xhtml\">\n <input type=\"hidden\" name=\"3DSMethodData\" value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjIwM2QxZmE3LWQ1NmItNTRmOC04MDAwLTAwMDAwMDAwZjAxZiIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovLzM1LjIyOC44My4xNTcvL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD02MTQ3MSZkaWdlc3Q9M0M3VWdNcFlwMWJSOW82cEpRd20lMkZOZU0xT2lqVXNMNm1BTXdhdTlCQlhBJTNEIiB9\"/>\n <input type=\"hidden\" name=\"threeDSMethodData\" value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjIwM2QxZmE3LWQ1NmItNTRmOC04MDAwLTAwMDAwMDAwZjAxZiIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovLzM1LjIyOC44My4xNTcvL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD02MTQ3MSZkaWdlc3Q9M0M3VWdNcFlwMWJSOW82cEpRd20lMkZOZU0xT2lqVXNMNm1BTXdhdTlCQlhBJTNEIiB9\"/>\n</form><script type=\"text/javascript\" xmlns=\"http://www.w3.org/1999/xhtml\">\ndocument.getElementById(\"tdsMmethodForm\").submit();\n</script>"
}, - "authenticationStatus": "SUCCESSFUL",
- "authenticationStatusDescription": "",
- "authenticationVerificationValue": "",
- "authenticationVerificationData": "",
- "authenticationApplication": "",
- "authenticationUrl": "",
- "authenticationRedirectParameters": "",
- "authenticationRedirectMethod": "",
}
]
}
Cancels one order given merchant id and order id
Cancels one order given merchant id and order id
Authorizations:
path Parameters
mid required | integer The merchant id |
orderId required | string The order id |
Responses
Response samples
- 201
- 400
- 401
- 403
{- "mid": 1570616552,
- "orderId": "order_example_1",
- "orderDetailDescription": "detailed desc",
- "orderDescription": "description",
- "orderAmount": 10.5,
- "fulfilmentAmount": 10.5,
- "capturedAmount": 0,
- "refundedAmount": 0,
- "currency": "EUR",
- "baseCurrency": "EUR",
- "baseOrderAmount": 10.5,
- "baseFulfilmentAmount": 10.5,
- "baseCapturedAmount": 0,
- "baseRefundedAmount": 0,
- "capturable": true,
- "cancelable": true,
- "refundable": false,
- "completable": false,
- "dccIndicator": false,
- "timestamp": "2019-11-05T10:05:43.569Z",
- "transactionReferences": [
- {
- "transactionId": 5986908782,
- "transactionTypeId": 1,
- "mid": 1570616552,
- "orderId": "order_example_1",
- "transactionType": "Authorize",
- "transactionDate": "2019-12-12T11:27:34.279Z",
- "refTransactionId": 1234567890,
- "transactionDesc": "Transaction Accepted",
- "statusCode": 0,
- "status": "Processed",
- "amount": 10.5,
- "currency": "EUR",
- "baseAmount": 10.5,
- "baseCurrency": "EUR",
- "paymentMethod": "Visa",
- "paymentMethodId": 1001,
- "acquirerAuthorizationCode": "123456",
- "acquirerReferenceId": "622135",
- "acquirerAnswerDescription": "acquirer ans desc",
- "acquirerAnswerCode": "00",
- "schemeAnswerCode": "100",
- "schemeReferenceId": "CIT_ID_PAYON_2010",
- "bankReferenceId": "622135",
- "bankAnswerCode": "00",
- "token": "9000033649121111",
- "maskedAccountNumber": "411111xxxxxx1111",
- "cardExpiryDate": "12-2024",
- "cvResponse": "",
- "cvAnswerCode": 2,
- "fraudStatus": "HOLD",
- "fraudCode": "fraudScreeningActionOnHold",
- "fraudMessage": "Override when the fraud screening provider returns HOLD.",
- "avsResponse": "",
- "avsAnswerCode": 3,
- "redirectMethod": "POST",
- "redirectParameters": "<INPUT TYPE=HIDDEN NAME=\"NB_VERSION\" VALUE=\"0002\">\n<INPUT TYPE=HIDDEN NAME=\"NB_RCV_ID\" VALUE=\"83832893\">\n<INPUT TYPE=HIDDEN NAME=\"NB_STAMP\" VALUE=\"10442995701\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_AMOUNT\" VALUE=\"10,50\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_CUR\" VALUE=\"SEK\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_REF\" VALUE=\"10442995701\">\n<INPUT TYPE=HIDDEN NAME=\"NB_RETURN\" VALUE=\"https:/www.example.com/capture-response-from-bank\">\n<INPUT TYPE=HIDDEN NAME=\"NB_REJECT\" VALUE=\"https://www.example.com/capture-response-from-bank?STATUS=1&NB_STAMP=5230970501\">\n<INPUT TYPE=HIDDEN NAME=\"NB_CANCEL\" VALUE=\"https://www.example.com/capture-response-from-bank?STATUS=2&NB_STAMP=5230970501\">\n<INPUT TYPE=HIDDEN NAME=\"NB_HMAC\" VALUE=\"644BDB24EF29B48B9275B851567522DC\">\n<INPUT TYPE=HIDDEN NAME=\"NB_KVV\" VALUE=\"FF365893D899291C3BF505FB3175E880\">\n",
- "qrCodeUrl": "",
- "qrCodeEncodedAsText": "",
- "qrCodeMode": "",
- "cardAuthenticationInfo": {
- "xid": "MDAwMDAwMDAwMTAwNDI5NTkzNDY=",
- "cavv": "QUNTRU1Vd1BTV28kOj1Xe2VRSUc=",
- "eci": "2",
- "authRequired": "Y",
- "authenticationResult": "C",
- "acsVerificationFlavor": "2",
- "authenticationProtocolVersion": "3DS2.1.0",
- "authenticationDsTransId": "9913d29b-c02f-5f24-8000-00000000f01d",
- "md": "TUVSQ0hBTlRfREFUQQ==",
- "tDSMethodContent": "<iframe id=\"tdsMmethodTgtFrame\" name=\"tdsMmethodTgtFrame\" style=\"width: 1px; height: 1px; display: none;\" src=\"javascript:false;\" xmlns=\"http://www.w3.org/1999/xhtml\">\n <!--.-->\n</iframe><form id=\"tdsMmethodForm\" name=\"tdsMmethodForm\" action=\"https://dsx.modirum.com/dstests/ACSEmu2?handshake=1\" method=\"post\" target=\"tdsMmethodTgtFrame\" xmlns=\"http://www.w3.org/1999/xhtml\">\n <input type=\"hidden\" name=\"3DSMethodData\" value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjIwM2QxZmE3LWQ1NmItNTRmOC04MDAwLTAwMDAwMDAwZjAxZiIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovLzM1LjIyOC44My4xNTcvL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD02MTQ3MSZkaWdlc3Q9M0M3VWdNcFlwMWJSOW82cEpRd20lMkZOZU0xT2lqVXNMNm1BTXdhdTlCQlhBJTNEIiB9\"/>\n <input type=\"hidden\" name=\"threeDSMethodData\" value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjIwM2QxZmE3LWQ1NmItNTRmOC04MDAwLTAwMDAwMDAwZjAxZiIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovLzM1LjIyOC44My4xNTcvL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD02MTQ3MSZkaWdlc3Q9M0M3VWdNcFlwMWJSOW82cEpRd20lMkZOZU0xT2lqVXNMNm1BTXdhdTlCQlhBJTNEIiB9\"/>\n</form><script type=\"text/javascript\" xmlns=\"http://www.w3.org/1999/xhtml\">\ndocument.getElementById(\"tdsMmethodForm\").submit();\n</script>"
}, - "authenticationStatus": "SUCCESSFUL",
- "authenticationStatusDescription": "",
- "authenticationVerificationValue": "",
- "authenticationVerificationData": "",
- "authenticationApplication": "",
- "authenticationUrl": "",
- "authenticationRedirectParameters": "",
- "authenticationRedirectMethod": "",
}
]
}
Captures one order given merchant id and order id
Captures one order given merchant id and order id
Authorizations:
path Parameters
mid required | integer The merchant id |
orderId required | string The order id |
Request Body schema: application/json
Request body describing the capture
object Currency may be represented by either currency or numericCurrency, not both. | |
executionDate | string Later execution date for the capture. Evaluated in UTC as ISO datetime |
Responses
Request samples
- Payload
{- "amount": {
- "currency": "EUR",
- "numericCurrency": 978,
- "amount": 10.5
}, - "executionDate": "2019-12-13T11:59:34.320Z"
}
Response samples
- 201
- 400
- 401
- 403
{- "mid": 1570616552,
- "orderId": "order_example_1",
- "orderDetailDescription": "detailed desc",
- "orderDescription": "description",
- "orderAmount": 10.5,
- "fulfilmentAmount": 10.5,
- "capturedAmount": 0,
- "refundedAmount": 0,
- "currency": "EUR",
- "baseCurrency": "EUR",
- "baseOrderAmount": 10.5,
- "baseFulfilmentAmount": 10.5,
- "baseCapturedAmount": 0,
- "baseRefundedAmount": 0,
- "capturable": true,
- "cancelable": true,
- "refundable": false,
- "completable": false,
- "dccIndicator": false,
- "timestamp": "2019-11-05T10:05:43.569Z",
- "transactionReferences": [
- {
- "transactionId": 5986908782,
- "transactionTypeId": 1,
- "mid": 1570616552,
- "orderId": "order_example_1",
- "transactionType": "Authorize",
- "transactionDate": "2019-12-12T11:27:34.279Z",
- "refTransactionId": 1234567890,
- "transactionDesc": "Transaction Accepted",
- "statusCode": 0,
- "status": "Processed",
- "amount": 10.5,
- "currency": "EUR",
- "baseAmount": 10.5,
- "baseCurrency": "EUR",
- "paymentMethod": "Visa",
- "paymentMethodId": 1001,
- "acquirerAuthorizationCode": "123456",
- "acquirerReferenceId": "622135",
- "acquirerAnswerDescription": "acquirer ans desc",
- "acquirerAnswerCode": "00",
- "schemeAnswerCode": "100",
- "schemeReferenceId": "CIT_ID_PAYON_2010",
- "bankReferenceId": "622135",
- "bankAnswerCode": "00",
- "token": "9000033649121111",
- "maskedAccountNumber": "411111xxxxxx1111",
- "cardExpiryDate": "12-2024",
- "cvResponse": "",
- "cvAnswerCode": 2,
- "fraudStatus": "HOLD",
- "fraudCode": "fraudScreeningActionOnHold",
- "fraudMessage": "Override when the fraud screening provider returns HOLD.",
- "avsResponse": "",
- "avsAnswerCode": 3,
- "redirectMethod": "POST",
- "redirectParameters": "<INPUT TYPE=HIDDEN NAME=\"NB_VERSION\" VALUE=\"0002\">\n<INPUT TYPE=HIDDEN NAME=\"NB_RCV_ID\" VALUE=\"83832893\">\n<INPUT TYPE=HIDDEN NAME=\"NB_STAMP\" VALUE=\"10442995701\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_AMOUNT\" VALUE=\"10,50\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_CUR\" VALUE=\"SEK\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_REF\" VALUE=\"10442995701\">\n<INPUT TYPE=HIDDEN NAME=\"NB_RETURN\" VALUE=\"https:/www.example.com/capture-response-from-bank\">\n<INPUT TYPE=HIDDEN NAME=\"NB_REJECT\" VALUE=\"https://www.example.com/capture-response-from-bank?STATUS=1&NB_STAMP=5230970501\">\n<INPUT TYPE=HIDDEN NAME=\"NB_CANCEL\" VALUE=\"https://www.example.com/capture-response-from-bank?STATUS=2&NB_STAMP=5230970501\">\n<INPUT TYPE=HIDDEN NAME=\"NB_HMAC\" VALUE=\"644BDB24EF29B48B9275B851567522DC\">\n<INPUT TYPE=HIDDEN NAME=\"NB_KVV\" VALUE=\"FF365893D899291C3BF505FB3175E880\">\n",
- "qrCodeUrl": "",
- "qrCodeEncodedAsText": "",
- "qrCodeMode": "",
- "cardAuthenticationInfo": {
- "xid": "MDAwMDAwMDAwMTAwNDI5NTkzNDY=",
- "cavv": "QUNTRU1Vd1BTV28kOj1Xe2VRSUc=",
- "eci": "2",
- "authRequired": "Y",
- "authenticationResult": "C",
- "acsVerificationFlavor": "2",
- "authenticationProtocolVersion": "3DS2.1.0",
- "authenticationDsTransId": "9913d29b-c02f-5f24-8000-00000000f01d",
- "md": "TUVSQ0hBTlRfREFUQQ==",
- "tDSMethodContent": "<iframe id=\"tdsMmethodTgtFrame\" name=\"tdsMmethodTgtFrame\" style=\"width: 1px; height: 1px; display: none;\" src=\"javascript:false;\" xmlns=\"http://www.w3.org/1999/xhtml\">\n <!--.-->\n</iframe><form id=\"tdsMmethodForm\" name=\"tdsMmethodForm\" action=\"https://dsx.modirum.com/dstests/ACSEmu2?handshake=1\" method=\"post\" target=\"tdsMmethodTgtFrame\" xmlns=\"http://www.w3.org/1999/xhtml\">\n <input type=\"hidden\" name=\"3DSMethodData\" value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjIwM2QxZmE3LWQ1NmItNTRmOC04MDAwLTAwMDAwMDAwZjAxZiIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovLzM1LjIyOC44My4xNTcvL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD02MTQ3MSZkaWdlc3Q9M0M3VWdNcFlwMWJSOW82cEpRd20lMkZOZU0xT2lqVXNMNm1BTXdhdTlCQlhBJTNEIiB9\"/>\n <input type=\"hidden\" name=\"threeDSMethodData\" value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjIwM2QxZmE3LWQ1NmItNTRmOC04MDAwLTAwMDAwMDAwZjAxZiIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovLzM1LjIyOC44My4xNTcvL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD02MTQ3MSZkaWdlc3Q9M0M3VWdNcFlwMWJSOW82cEpRd20lMkZOZU0xT2lqVXNMNm1BTXdhdTlCQlhBJTNEIiB9\"/>\n</form><script type=\"text/javascript\" xmlns=\"http://www.w3.org/1999/xhtml\">\ndocument.getElementById(\"tdsMmethodForm\").submit();\n</script>"
}, - "authenticationStatus": "SUCCESSFUL",
- "authenticationStatusDescription": "",
- "authenticationVerificationValue": "",
- "authenticationVerificationData": "",
- "authenticationApplication": "",
- "authenticationUrl": "",
- "authenticationRedirectParameters": "",
- "authenticationRedirectMethod": "",
}
]
}
Refunds one order given merchant id and order id
Refunds one order given merchant id and order id
Authorizations:
path Parameters
mid required | integer The merchant id |
orderId required | string The order id |
Request Body schema: application/json
Request body describing the refund
object Currency may be represented by either currency or numericCurrency, not both. | |
object Currency may be represented by either currency or numericCurrency, not both. | |
unlimitedRefund | boolean Set to true only if unlimited refund is intended. |
transactionChannel | string Enum: "Web Online" "Cash Register" "Telephone" "Mail" "FaceToFace" "Digital Wallet" "In-app" "Voice Recognition" "MOTO" A String with the name of transaction channel used to process the transaction. Case sensitive, space must be included where applicable. |
object Billing information, such as the invoicing address to a card holder. | |
object | |
object Card related information. Although all elements are optional in this data type, some elements are mandatory for some transaction types and for some card types. | |
token | string <= 64 characters Payment instrument Token. Referring to a previously stored payment instrument such as a card number. |
Responses
Request samples
- Payload
{- "amount": {
- "currency": "EUR",
- "numericCurrency": 978,
- "amount": 10.5
}, - "baseAmount": {
- "currency": "EUR",
- "numericCurrency": 978,
- "amount": 10.5
}, - "unlimitedRefund": true,
- "transactionChannel": "Web Online",
- "billingInfo": {
- "contactInfo": {
- "firstName": "Jane",
- "lastName": "Doe",
- "fullName": "Jane Doe",
- "addressLine1": "Textilgatan 31",
- "addressLine2": "Hammarby",
- "addressLine3": "Sjöstad",
- "city": "Stockholm",
- "stateProvince": "STO",
- "zipCode": "120 30",
- "countryCode": "SE",
- "phone": "08 633397177",
- "mobilePhone": "+46 771793336",
- "emailAddress": "jane.doe@email.com",
- "companyName": "Worldline",
- "careOf": "John Doe",
- "streetName": "Textilgatan 31",
- "houseNumber": "31",
- "houseExtension": "1202",
- "automaticNumberIdentification": "1337",
- "telephoneCallType": "CALL_TYPE_CELLULAR",
- "birthDate": "1990-06-06",
- "language": "EN",
- "gender": "FEMALE"
}, - "ssn": "19900606-4711",
- "driversLicenseEnding": "1729",
- "driversLicenseState": "01",
- "buyerVATNumber": "10",
- "buyerType": "BUSINESS",
- "companyTaxId": "ISENTO",
- "companyResponsibleFullName": "Jane Doe",
- "companyResponsibleBirthDate": "1990-06-06",
- "companyResponsibleVATNumber": "13310",
- "newCustomer": true
}, - "bankBillingInfo": {
- "iban": "SE45 5000 0000 1990 4711 1337",
- "swiftBIC": "ESSESESS"
}, - "cardInfo": {
- "cardNumber": "4111111111111111",
- "cardExpiryDate": "12-2024",
- "expirationDate": "12-2024",
- "issue": 1,
- "startDate": "05-2018",
- "cardHolderName": "Jane Doe",
- "originatingAccountType": "CHEQUE_ACCOUNT",
- "authorizationType": "PRE_AUTHORIZATION"
}, - "token": "9000033649121111"
}
Response samples
- 201
- 400
- 401
- 403
{- "mid": 1570616552,
- "orderId": "order_example_1",
- "orderDetailDescription": "detailed desc",
- "orderDescription": "description",
- "orderAmount": 10.5,
- "fulfilmentAmount": 10.5,
- "capturedAmount": 0,
- "refundedAmount": 0,
- "currency": "EUR",
- "baseCurrency": "EUR",
- "baseOrderAmount": 10.5,
- "baseFulfilmentAmount": 10.5,
- "baseCapturedAmount": 0,
- "baseRefundedAmount": 0,
- "capturable": true,
- "cancelable": true,
- "refundable": false,
- "completable": false,
- "dccIndicator": false,
- "timestamp": "2019-11-05T10:05:43.569Z",
- "transactionReferences": [
- {
- "transactionId": 5986908782,
- "transactionTypeId": 1,
- "mid": 1570616552,
- "orderId": "order_example_1",
- "transactionType": "Authorize",
- "transactionDate": "2019-12-12T11:27:34.279Z",
- "refTransactionId": 1234567890,
- "transactionDesc": "Transaction Accepted",
- "statusCode": 0,
- "status": "Processed",
- "amount": 10.5,
- "currency": "EUR",
- "baseAmount": 10.5,
- "baseCurrency": "EUR",
- "paymentMethod": "Visa",
- "paymentMethodId": 1001,
- "acquirerAuthorizationCode": "123456",
- "acquirerReferenceId": "622135",
- "acquirerAnswerDescription": "acquirer ans desc",
- "acquirerAnswerCode": "00",
- "schemeAnswerCode": "100",
- "schemeReferenceId": "CIT_ID_PAYON_2010",
- "bankReferenceId": "622135",
- "bankAnswerCode": "00",
- "token": "9000033649121111",
- "maskedAccountNumber": "411111xxxxxx1111",
- "cardExpiryDate": "12-2024",
- "cvResponse": "",
- "cvAnswerCode": 2,
- "fraudStatus": "HOLD",
- "fraudCode": "fraudScreeningActionOnHold",
- "fraudMessage": "Override when the fraud screening provider returns HOLD.",
- "avsResponse": "",
- "avsAnswerCode": 3,
- "redirectMethod": "POST",
- "redirectParameters": "<INPUT TYPE=HIDDEN NAME=\"NB_VERSION\" VALUE=\"0002\">\n<INPUT TYPE=HIDDEN NAME=\"NB_RCV_ID\" VALUE=\"83832893\">\n<INPUT TYPE=HIDDEN NAME=\"NB_STAMP\" VALUE=\"10442995701\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_AMOUNT\" VALUE=\"10,50\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_CUR\" VALUE=\"SEK\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_REF\" VALUE=\"10442995701\">\n<INPUT TYPE=HIDDEN NAME=\"NB_RETURN\" VALUE=\"https:/www.example.com/capture-response-from-bank\">\n<INPUT TYPE=HIDDEN NAME=\"NB_REJECT\" VALUE=\"https://www.example.com/capture-response-from-bank?STATUS=1&NB_STAMP=5230970501\">\n<INPUT TYPE=HIDDEN NAME=\"NB_CANCEL\" VALUE=\"https://www.example.com/capture-response-from-bank?STATUS=2&NB_STAMP=5230970501\">\n<INPUT TYPE=HIDDEN NAME=\"NB_HMAC\" VALUE=\"644BDB24EF29B48B9275B851567522DC\">\n<INPUT TYPE=HIDDEN NAME=\"NB_KVV\" VALUE=\"FF365893D899291C3BF505FB3175E880\">\n",
- "qrCodeUrl": "",
- "qrCodeEncodedAsText": "",
- "qrCodeMode": "",
- "cardAuthenticationInfo": {
- "xid": "MDAwMDAwMDAwMTAwNDI5NTkzNDY=",
- "cavv": "QUNTRU1Vd1BTV28kOj1Xe2VRSUc=",
- "eci": "2",
- "authRequired": "Y",
- "authenticationResult": "C",
- "acsVerificationFlavor": "2",
- "authenticationProtocolVersion": "3DS2.1.0",
- "authenticationDsTransId": "9913d29b-c02f-5f24-8000-00000000f01d",
- "md": "TUVSQ0hBTlRfREFUQQ==",
- "tDSMethodContent": "<iframe id=\"tdsMmethodTgtFrame\" name=\"tdsMmethodTgtFrame\" style=\"width: 1px; height: 1px; display: none;\" src=\"javascript:false;\" xmlns=\"http://www.w3.org/1999/xhtml\">\n <!--.-->\n</iframe><form id=\"tdsMmethodForm\" name=\"tdsMmethodForm\" action=\"https://dsx.modirum.com/dstests/ACSEmu2?handshake=1\" method=\"post\" target=\"tdsMmethodTgtFrame\" xmlns=\"http://www.w3.org/1999/xhtml\">\n <input type=\"hidden\" name=\"3DSMethodData\" value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjIwM2QxZmE3LWQ1NmItNTRmOC04MDAwLTAwMDAwMDAwZjAxZiIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovLzM1LjIyOC44My4xNTcvL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD02MTQ3MSZkaWdlc3Q9M0M3VWdNcFlwMWJSOW82cEpRd20lMkZOZU0xT2lqVXNMNm1BTXdhdTlCQlhBJTNEIiB9\"/>\n <input type=\"hidden\" name=\"threeDSMethodData\" value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjIwM2QxZmE3LWQ1NmItNTRmOC04MDAwLTAwMDAwMDAwZjAxZiIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovLzM1LjIyOC44My4xNTcvL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD02MTQ3MSZkaWdlc3Q9M0M3VWdNcFlwMWJSOW82cEpRd20lMkZOZU0xT2lqVXNMNm1BTXdhdTlCQlhBJTNEIiB9\"/>\n</form><script type=\"text/javascript\" xmlns=\"http://www.w3.org/1999/xhtml\">\ndocument.getElementById(\"tdsMmethodForm\").submit();\n</script>"
}, - "authenticationStatus": "SUCCESSFUL",
- "authenticationStatusDescription": "",
- "authenticationVerificationValue": "",
- "authenticationVerificationData": "",
- "authenticationApplication": "",
- "authenticationUrl": "",
- "authenticationRedirectParameters": "",
- "authenticationRedirectMethod": "",
}
]
}
Initiate an original credit
Initiate an original credit
Authorizations:
path Parameters
mid required | integer The merchant id |
orderId required | string The order id |
Request Body schema: application/json
Request body describing the original credit
orderDescription | string <= 100 characters The OrderDescription can be used in some Soft Descriptor scenarios. |
orderDetailDescription | string <= 100 characters Can sometimes be used in Soft Descriptor scenarios. |
paymentMethodId | integer Default: 1000 The payment method Id. Examples of acceptable values are 1 = 'Nordea', 10 = 'Bank Austria'. |
required | object Currency may be represented by either currency or numericCurrency, not both. |
object Tax, if set, either of them may be used, not both. | |
transactionChannel | string Enum: "Web Online" "Cash Register" "Telephone" "Mail" "FaceToFace" "Digital Wallet" "In-app" "Voice Recognition" "MOTO" A String with the name of transaction channel used to process the transaction. Case sensitive, space must be included where applicable. |
object | |
object Card related information. Although all elements are optional in this data type, some elements are mandatory for some transaction types and for some card types. | |
object Billing information, such as the invoicing address to a card holder. | |
token | string <= 64 characters Payment instrument Token. Referring to a previously stored payment instrument such as a card number. |
object | |
object |
Responses
Request samples
- Payload
{- "orderDescription": "description",
- "orderDetailDescription": "detail desc",
- "paymentMethodId": 1001,
- "amount": {
- "currency": "EUR",
- "numericCurrency": 978,
- "amount": 10.5
}, - "tax": {
- "taxAmount": 2.1,
- "taxRate": 0.25
}, - "transactionChannel": "Web Online",
- "bankBillingInfo": {
- "iban": "SE45 5000 0000 1990 4711 1337",
- "swiftBIC": "ESSESESS"
}, - "cardInfo": {
- "cardNumber": "4111111111111111",
- "cardExpiryDate": "12-2024",
- "expirationDate": "12-2024",
- "issue": 1,
- "startDate": "05-2018",
- "cardHolderName": "Jane Doe",
- "originatingAccountType": "CHEQUE_ACCOUNT",
- "authorizationType": "PRE_AUTHORIZATION"
}, - "billingInfo": {
- "contactInfo": {
- "firstName": "Jane",
- "lastName": "Doe",
- "fullName": "Jane Doe",
- "addressLine1": "Textilgatan 31",
- "addressLine2": "Hammarby",
- "addressLine3": "Sjöstad",
- "city": "Stockholm",
- "stateProvince": "STO",
- "zipCode": "120 30",
- "countryCode": "SE",
- "phone": "08 633397177",
- "mobilePhone": "+46 771793336",
- "emailAddress": "jane.doe@email.com",
- "companyName": "Worldline",
- "careOf": "John Doe",
- "streetName": "Textilgatan 31",
- "houseNumber": "31",
- "houseExtension": "1202",
- "automaticNumberIdentification": "1337",
- "telephoneCallType": "CALL_TYPE_CELLULAR",
- "birthDate": "1990-06-06",
- "language": "EN",
- "gender": "FEMALE"
}, - "ssn": "19900606-4711",
- "driversLicenseEnding": "1729",
- "driversLicenseState": "01",
- "buyerVATNumber": "10",
- "buyerType": "BUSINESS",
- "companyTaxId": "ISENTO",
- "companyResponsibleFullName": "Jane Doe",
- "companyResponsibleBirthDate": "1990-06-06",
- "companyResponsibleVATNumber": "13310",
- "newCustomer": true
}, - "token": "9000033649121111",
- "merchantInfo": {
- "posId": "0",
- "posDescription": "pos description",
- "mcc": "44",
- "subMerchantId": "6552"
}, - "subMerchantInfo": {
- "sellerId": "16552",
- "dbaName": "17",
- "addressLine1": "Stjarntorget 1",
- "addressLine2": "Solna",
- "city": "Stockholm",
- "zipCode": "169 79",
- "stateProvince": "STO",
- "countryCode": "SE",
- "phone": "+46 708667788",
- "emailAddress": "somemerchant@email.se"
}
}
Response samples
- 201
- 400
- 401
- 403
{- "mid": 1570616552,
- "orderId": "order_example_1",
- "orderDetailDescription": "detailed desc",
- "orderDescription": "description",
- "orderAmount": 10.5,
- "fulfilmentAmount": 10.5,
- "capturedAmount": 0,
- "refundedAmount": 0,
- "currency": "EUR",
- "baseCurrency": "EUR",
- "baseOrderAmount": 10.5,
- "baseFulfilmentAmount": 10.5,
- "baseCapturedAmount": 0,
- "baseRefundedAmount": 0,
- "capturable": true,
- "cancelable": true,
- "refundable": false,
- "completable": false,
- "dccIndicator": false,
- "timestamp": "2019-11-05T10:05:43.569Z",
- "transactionReferences": [
- {
- "transactionId": 5986908782,
- "transactionTypeId": 1,
- "mid": 1570616552,
- "orderId": "order_example_1",
- "transactionType": "Authorize",
- "transactionDate": "2019-12-12T11:27:34.279Z",
- "refTransactionId": 1234567890,
- "transactionDesc": "Transaction Accepted",
- "statusCode": 0,
- "status": "Processed",
- "amount": 10.5,
- "currency": "EUR",
- "baseAmount": 10.5,
- "baseCurrency": "EUR",
- "paymentMethod": "Visa",
- "paymentMethodId": 1001,
- "acquirerAuthorizationCode": "123456",
- "acquirerReferenceId": "622135",
- "acquirerAnswerDescription": "acquirer ans desc",
- "acquirerAnswerCode": "00",
- "schemeAnswerCode": "100",
- "schemeReferenceId": "CIT_ID_PAYON_2010",
- "bankReferenceId": "622135",
- "bankAnswerCode": "00",
- "token": "9000033649121111",
- "maskedAccountNumber": "411111xxxxxx1111",
- "cardExpiryDate": "12-2024",
- "cvResponse": "",
- "cvAnswerCode": 2,
- "fraudStatus": "HOLD",
- "fraudCode": "fraudScreeningActionOnHold",
- "fraudMessage": "Override when the fraud screening provider returns HOLD.",
- "avsResponse": "",
- "avsAnswerCode": 3,
- "redirectMethod": "POST",
- "redirectParameters": "<INPUT TYPE=HIDDEN NAME=\"NB_VERSION\" VALUE=\"0002\">\n<INPUT TYPE=HIDDEN NAME=\"NB_RCV_ID\" VALUE=\"83832893\">\n<INPUT TYPE=HIDDEN NAME=\"NB_STAMP\" VALUE=\"10442995701\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_AMOUNT\" VALUE=\"10,50\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_CUR\" VALUE=\"SEK\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_REF\" VALUE=\"10442995701\">\n<INPUT TYPE=HIDDEN NAME=\"NB_RETURN\" VALUE=\"https:/www.example.com/capture-response-from-bank\">\n<INPUT TYPE=HIDDEN NAME=\"NB_REJECT\" VALUE=\"https://www.example.com/capture-response-from-bank?STATUS=1&NB_STAMP=5230970501\">\n<INPUT TYPE=HIDDEN NAME=\"NB_CANCEL\" VALUE=\"https://www.example.com/capture-response-from-bank?STATUS=2&NB_STAMP=5230970501\">\n<INPUT TYPE=HIDDEN NAME=\"NB_HMAC\" VALUE=\"644BDB24EF29B48B9275B851567522DC\">\n<INPUT TYPE=HIDDEN NAME=\"NB_KVV\" VALUE=\"FF365893D899291C3BF505FB3175E880\">\n",
- "qrCodeUrl": "",
- "qrCodeEncodedAsText": "",
- "qrCodeMode": "",
- "cardAuthenticationInfo": {
- "xid": "MDAwMDAwMDAwMTAwNDI5NTkzNDY=",
- "cavv": "QUNTRU1Vd1BTV28kOj1Xe2VRSUc=",
- "eci": "2",
- "authRequired": "Y",
- "authenticationResult": "C",
- "acsVerificationFlavor": "2",
- "authenticationProtocolVersion": "3DS2.1.0",
- "authenticationDsTransId": "9913d29b-c02f-5f24-8000-00000000f01d",
- "md": "TUVSQ0hBTlRfREFUQQ==",
- "tDSMethodContent": "<iframe id=\"tdsMmethodTgtFrame\" name=\"tdsMmethodTgtFrame\" style=\"width: 1px; height: 1px; display: none;\" src=\"javascript:false;\" xmlns=\"http://www.w3.org/1999/xhtml\">\n <!--.-->\n</iframe><form id=\"tdsMmethodForm\" name=\"tdsMmethodForm\" action=\"https://dsx.modirum.com/dstests/ACSEmu2?handshake=1\" method=\"post\" target=\"tdsMmethodTgtFrame\" xmlns=\"http://www.w3.org/1999/xhtml\">\n <input type=\"hidden\" name=\"3DSMethodData\" value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjIwM2QxZmE3LWQ1NmItNTRmOC04MDAwLTAwMDAwMDAwZjAxZiIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovLzM1LjIyOC44My4xNTcvL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD02MTQ3MSZkaWdlc3Q9M0M3VWdNcFlwMWJSOW82cEpRd20lMkZOZU0xT2lqVXNMNm1BTXdhdTlCQlhBJTNEIiB9\"/>\n <input type=\"hidden\" name=\"threeDSMethodData\" value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjIwM2QxZmE3LWQ1NmItNTRmOC04MDAwLTAwMDAwMDAwZjAxZiIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovLzM1LjIyOC44My4xNTcvL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD02MTQ3MSZkaWdlc3Q9M0M3VWdNcFlwMWJSOW82cEpRd20lMkZOZU0xT2lqVXNMNm1BTXdhdTlCQlhBJTNEIiB9\"/>\n</form><script type=\"text/javascript\" xmlns=\"http://www.w3.org/1999/xhtml\">\ndocument.getElementById(\"tdsMmethodForm\").submit();\n</script>"
}, - "authenticationStatus": "SUCCESSFUL",
- "authenticationStatusDescription": "",
- "authenticationVerificationValue": "",
- "authenticationVerificationData": "",
- "authenticationApplication": "",
- "authenticationUrl": "",
- "authenticationRedirectParameters": "",
- "authenticationRedirectMethod": "",
}
]
}
Creates or returns a token for provided data
Creates or returns a token for provided data
Authorizations:
path Parameters
mid required | integer The merchant id |
Request Body schema: application/json
Request body describing the token
orderId | string <= 50 characters |
token | string <= 35 characters Payment instrument Token. |
object Card related information. Although all elements are optional in this data type, some elements are mandatory for some transaction types and for some card types. | |
encryptedCardPayload | string Base64-encoded encrypted card information. If present, this element takes precedence over any other card information elements in the request. |
Responses
Request samples
- Payload
{- "orderId": "order_example_1",
- "token": "9000033649121111",
- "cardInfo": {
- "cardNumber": "4111111111111111",
- "cardExpiryDate": "12-2024",
- "expirationDate": "12-2024",
- "issue": 1,
- "startDate": "05-2018",
- "cardHolderName": "Jane Doe",
- "originatingAccountType": "CHEQUE_ACCOUNT",
- "authorizationType": "PRE_AUTHORIZATION"
}, - "encryptedCardPayload": "ewogICAgImtleU1hbmFnZW1lbnQiOiAKICAgIHsKICAgICAgICAibWFzdGVyS2V5SWQiOiAiVEFDQ01LMSIsCiAgICAgICAgIm1hc3RlcktleVZlcnNpb24iOiAiTUtWMSIsCiAgICAgICAgInNlc3Npb25LZXlFbmNyeXB0aW9uQWxnb3JpdGhtIjogIkFFUyIsCiAgICAgICAgImluaXRpYWxpemF0aW9uVmVjdG9yIjogIm1qLXVfZ1lUckZHMVQzV3pfNE9YN3c9PSIsCiAgICAgICAgImVuY3J5cHRlZFNlc3Npb25LZXkiOiAiTXpjeU16TkZPRGt3UWpBeE1EUkZPVUpET1RRelJEQkZORFZGUVVVMVFUYz0iCiAgICB9LAogICAgImRhdGFFbmNyeXB0aW9uIjogCiAgICB7CiAgICAgICAgImRhdGFFbmNyeXB0aW9uQWxnb3JpdGhtIjogIkFFUyIsCiAgICAgICAgImtleVNpemUiOiAxMjgsCiAgICAgICAgImluaXRpYWxpemF0aW9uVmVjdG9yIjogIl9tS3ltb181UE16VDRza3VNYjh4Rnc9PSIsCiAgICAgICAgImJ5dGVQYWRkaW5nIjogIk5VTDgiLAogICAgICAgICJlbmNyeXB0ZWREYXRhIjogImFyY08tWjhkNm4zS05qYlp0MWJhNVVPLUE1bHRKdHk0N3BuQkV0WF9aM009IgogICAgfQp9"
}
Response samples
- 201
- 400
- 401
- 403
{- "transactionReferences": [
- {
- "transactionId": 5986908782,
- "transactionTypeId": 1,
- "mid": 1570616552,
- "orderId": "order_example_1",
- "transactionType": "Authorize",
- "transactionDate": "2019-12-12T11:27:34.279Z",
- "refTransactionId": 1234567890,
- "transactionDesc": "Transaction Accepted",
- "statusCode": 0,
- "status": "Processed",
- "amount": 10.5,
- "currency": "EUR",
- "baseAmount": 10.5,
- "baseCurrency": "EUR",
- "paymentMethod": "Visa",
- "paymentMethodId": 1001,
- "acquirerAuthorizationCode": "123456",
- "acquirerReferenceId": "622135",
- "acquirerAnswerDescription": "acquirer ans desc",
- "acquirerAnswerCode": "00",
- "schemeAnswerCode": "100",
- "schemeReferenceId": "CIT_ID_PAYON_2010",
- "bankReferenceId": "622135",
- "bankAnswerCode": "00",
- "token": "9000033649121111",
- "maskedAccountNumber": "411111xxxxxx1111",
- "cardExpiryDate": "12-2024",
- "cvResponse": "",
- "cvAnswerCode": 2,
- "fraudStatus": "HOLD",
- "fraudCode": "fraudScreeningActionOnHold",
- "fraudMessage": "Override when the fraud screening provider returns HOLD.",
- "avsResponse": "",
- "avsAnswerCode": 3,
- "redirectMethod": "POST",
- "redirectParameters": "<INPUT TYPE=HIDDEN NAME=\"NB_VERSION\" VALUE=\"0002\">\n<INPUT TYPE=HIDDEN NAME=\"NB_RCV_ID\" VALUE=\"83832893\">\n<INPUT TYPE=HIDDEN NAME=\"NB_STAMP\" VALUE=\"10442995701\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_AMOUNT\" VALUE=\"10,50\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_CUR\" VALUE=\"SEK\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_REF\" VALUE=\"10442995701\">\n<INPUT TYPE=HIDDEN NAME=\"NB_RETURN\" VALUE=\"https:/www.example.com/capture-response-from-bank\">\n<INPUT TYPE=HIDDEN NAME=\"NB_REJECT\" VALUE=\"https://www.example.com/capture-response-from-bank?STATUS=1&NB_STAMP=5230970501\">\n<INPUT TYPE=HIDDEN NAME=\"NB_CANCEL\" VALUE=\"https://www.example.com/capture-response-from-bank?STATUS=2&NB_STAMP=5230970501\">\n<INPUT TYPE=HIDDEN NAME=\"NB_HMAC\" VALUE=\"644BDB24EF29B48B9275B851567522DC\">\n<INPUT TYPE=HIDDEN NAME=\"NB_KVV\" VALUE=\"FF365893D899291C3BF505FB3175E880\">\n",
- "qrCodeUrl": "",
- "qrCodeEncodedAsText": "",
- "qrCodeMode": "",
- "cardAuthenticationInfo": {
- "xid": "MDAwMDAwMDAwMTAwNDI5NTkzNDY=",
- "cavv": "QUNTRU1Vd1BTV28kOj1Xe2VRSUc=",
- "eci": "2",
- "authRequired": "Y",
- "authenticationResult": "C",
- "acsVerificationFlavor": "2",
- "authenticationProtocolVersion": "3DS2.1.0",
- "authenticationDsTransId": "9913d29b-c02f-5f24-8000-00000000f01d",
- "md": "TUVSQ0hBTlRfREFUQQ==",
- "tDSMethodContent": "<iframe id=\"tdsMmethodTgtFrame\" name=\"tdsMmethodTgtFrame\" style=\"width: 1px; height: 1px; display: none;\" src=\"javascript:false;\" xmlns=\"http://www.w3.org/1999/xhtml\">\n <!--.-->\n</iframe><form id=\"tdsMmethodForm\" name=\"tdsMmethodForm\" action=\"https://dsx.modirum.com/dstests/ACSEmu2?handshake=1\" method=\"post\" target=\"tdsMmethodTgtFrame\" xmlns=\"http://www.w3.org/1999/xhtml\">\n <input type=\"hidden\" name=\"3DSMethodData\" value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjIwM2QxZmE3LWQ1NmItNTRmOC04MDAwLTAwMDAwMDAwZjAxZiIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovLzM1LjIyOC44My4xNTcvL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD02MTQ3MSZkaWdlc3Q9M0M3VWdNcFlwMWJSOW82cEpRd20lMkZOZU0xT2lqVXNMNm1BTXdhdTlCQlhBJTNEIiB9\"/>\n <input type=\"hidden\" name=\"threeDSMethodData\" value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjIwM2QxZmE3LWQ1NmItNTRmOC04MDAwLTAwMDAwMDAwZjAxZiIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovLzM1LjIyOC44My4xNTcvL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD02MTQ3MSZkaWdlc3Q9M0M3VWdNcFlwMWJSOW82cEpRd20lMkZOZU0xT2lqVXNMNm1BTXdhdTlCQlhBJTNEIiB9\"/>\n</form><script type=\"text/javascript\" xmlns=\"http://www.w3.org/1999/xhtml\">\ndocument.getElementById(\"tdsMmethodForm\").submit();\n</script>"
}, - "authenticationStatus": "SUCCESSFUL",
- "authenticationStatusDescription": "",
- "authenticationVerificationValue": "",
- "authenticationVerificationData": "",
- "authenticationApplication": "",
- "authenticationUrl": "",
- "authenticationRedirectParameters": "",
- "authenticationRedirectMethod": "",
}
]
}
Initiate an authentication
Call Initiate Authentication to determine whether cardholder authentication is necessary or not, which is indicated in the Authentication Status attribute of the response.
Authorizations:
path Parameters
mid required | integer The merchant id |
orderId required | string The order id |
Request Body schema: application/json
Request body describing the initiate authentication
object Currency may be represented by either currency or numericCurrency, not both. | |
object Card related information. Although all elements are optional in this data type, some elements are mandatory for some transaction types and for some card types. | |
token | string <= 64 characters Payment instrument Token. Referring to a previously stored payment instrument such as a card number. Do not use if providing cardInfo data and vice versa. |
orderDescription | string <= 100 characters The OrderDescription can be used in some Soft Descriptor scenarios. |
orderDetailDescription | string <= 100 characters Can sometimes be used in Soft Descriptor scenarios. |
object Billing information, such as the invoicing address to a card holder. | |
object Shipping information, such as the invoicing address to a card holder. | |
object Information relating to browser and traffic routing. | |
object | |
object | |
object | |
merchantUrl | string Fully qualified URL to the merchant's website or customer service. Includning "http://" or "https://". |
object |
Responses
Request samples
- Payload
{- "amount": {
- "currency": "EUR",
- "numericCurrency": 978,
- "amount": 10.5
}, - "cardInfo": {
- "cardNumber": "4111111111111111",
- "cardExpiryDate": "12-2024",
- "expirationDate": "12-2024",
- "issue": 1,
- "startDate": "05-2018",
- "cardHolderName": "Jane Doe",
- "originatingAccountType": "CHEQUE_ACCOUNT",
- "authorizationType": "PRE_AUTHORIZATION"
}, - "token": "9000033649121111",
- "orderDescription": "description",
- "orderDetailDescription": "detailed desc",
- "billingInfo": {
- "contactInfo": {
- "firstName": "Jane",
- "lastName": "Doe",
- "fullName": "Jane Doe",
- "addressLine1": "Textilgatan 31",
- "addressLine2": "Hammarby",
- "addressLine3": "Sjöstad",
- "city": "Stockholm",
- "stateProvince": "STO",
- "zipCode": "120 30",
- "countryCode": "SE",
- "phone": "08 633397177",
- "mobilePhone": "+46 771793336",
- "emailAddress": "jane.doe@email.com",
- "companyName": "Worldline",
- "careOf": "John Doe",
- "streetName": "Textilgatan 31",
- "houseNumber": "31",
- "houseExtension": "1202",
- "automaticNumberIdentification": "1337",
- "telephoneCallType": "CALL_TYPE_CELLULAR",
- "birthDate": "1990-06-06",
- "language": "EN",
- "gender": "FEMALE"
}, - "ssn": "19900606-4711",
- "driversLicenseEnding": "1729",
- "driversLicenseState": "01",
- "buyerVATNumber": "10",
- "buyerType": "BUSINESS",
- "companyTaxId": "ISENTO",
- "companyResponsibleFullName": "Jane Doe",
- "companyResponsibleBirthDate": "1990-06-06",
- "companyResponsibleVATNumber": "13310",
- "newCustomer": true
}, - "shippingInfo": {
- "contactInfo": {
- "firstName": "Jane",
- "lastName": "Doe",
- "fullName": "Jane Doe",
- "addressLine1": "Textilgatan 31",
- "addressLine2": "Hammarby",
- "addressLine3": "Sjöstad",
- "city": "Stockholm",
- "stateProvince": "STO",
- "zipCode": "120 30",
- "countryCode": "SE",
- "phone": "08 633397177",
- "mobilePhone": "+46 771793336",
- "emailAddress": "jane.doe@email.com",
- "companyName": "Worldline",
- "careOf": "John Doe",
- "streetName": "Textilgatan 31",
- "houseNumber": "31",
- "houseExtension": "1202",
- "automaticNumberIdentification": "1337",
- "telephoneCallType": "CALL_TYPE_CELLULAR",
- "birthDate": "1990-06-06",
- "language": "EN",
- "gender": "FEMALE"
}, - "shippingMethod": "SHIP_SAME_DAY"
}, - "browserInfo": {
- "ipAddress": "172.77.32.11",
- "httpAccept": "application/json",
- "httpAcceptLanguage": "en",
- "httpUserAgent": "Mozilla",
- "deviceOs": "iOS",
- "siteHostName": "somehost.com",
- "aciDeviceFingerprint": "32e12jlkp0416",
- "ebanxDeviceFingerprint": "619dfs12f",
- "walletName": "applepay",
- "walletId": "12345Abc"
}, - "merchantInfo": {
- "posId": "0",
- "posDescription": "pos description",
- "mcc": "44",
- "subMerchantId": "6552"
}, - "subMerchantInfo": {
- "sellerId": "16552",
- "dbaName": "17",
- "addressLine1": "Stjarntorget 1",
- "addressLine2": "Solna",
- "city": "Stockholm",
- "zipCode": "169 79",
- "stateProvince": "STO",
- "countryCode": "SE",
- "phone": "+46 708667788",
- "emailAddress": "somemerchant@email.se"
}, - "recurringInfo": {
- "recurringIndicator": "FIRST_RECURRING",
- "subscriptionId": "20191212112738"
}, - "threeDSecureInfo": {
- "purchaseInstallment": "2",
- "md": "MERCHANT_DATA",
- "acctId": "AReq3DS2",
- "acctType": "03",
- "addrMatch": "Y",
- "messageCategory": "01",
- "purchaseDate": "20191212112734",
- "transType": "01",
- "threeRIInd": "01",
- "threeDSRequestorAuthenticationInd": "02",
- "threeDSRequestorChallengeInd": "03",
- "challengeWindowSize": "01",
- "shipIndicator": "01",
- "deliveryTimeframe": "04",
- "deliveryEmailAddress": "dane.joe@email.com",
- "reorderItemsInd": "01",
- "preOrderPurchaseInd": "01",
- "preOrderDate": "20191210",
- "giftCardAmount": {
- "currency": "EUR",
- "numericCurrency": 978,
- "amount": 10.5
}, - "giftCardCount": "00",
- "chAccAgeInd": "02",
- "chAccDate": "20191212",
- "chAccChangeInd": "03",
- "chAccChange": "20191105",
- "chAccPwChangeInd": "04",
- "chAccPwChange": "20191105",
- "nbPurchaseAccount": "4",
- "provisionAttemptsDay": "1",
- "txnActivityDay": "1",
- "txnActivityYear": "3",
- "shipAddressUsageInd": "04",
- "shipAddressUsage": "20180622",
- "shipNameIndicator": "01",
- "paymentAccInd": "05",
- "paymentAccAge": "20180515",
- "suspiciousAccActivity": "02",
- "threeDSReqAuthMethod": "05",
- "threeDSReqAuthTimestamp": "201912121128",
- "threeDSReqPriorRef": "3DS-Ref-10042959346",
- "threeDSReqPriorAuthMethod": "02",
- "threeDSReqPriorAuthTimestamp": "201911051645",
- "sdkTransID": "3DS-5986908782",
- "sdkReferenceNumber": "3DS-Ref-10042958338",
- "sdkAppID": "AA97B177-9383-4934-8543-0F91A7A02836",
- "sdkEncData": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2NTUyIiwibmFtZSI6IkphbmUgRG9lIiwiaWF0IjoiMTU3MDYxNjU1MiJ9.39FZH3eqMd8eXPe3x8U9jtMYfjcv0meAcHImFvQRNWg",
- "sdkMaxTimeout": "05",
- "deviceRenderOptions": "eyAic2RrSW50ZXJmYWNlIjoiMDMiLCAic2RrVWlUeXBlIjpb4oCdMDEiLCDigJwwMuKAnSwg4oCcMDPigJ0sIOKAnDA04oCdLCDigJwwNeKAnV0gfQ==",
- "sdkEphemPubKey": "ewogICJrdHkiIDogIkVDIiwKICAiY3J2IiA6ICJQLTI1NiIsCiAgIngiICAgOiAiU1ZxQjRKY1VENmxzZnZxTXItT0tVTlVwaGRObjY0RWF5NjA5NzhabEw3NCIsCiAgInkiICAgOiAibGYwdTBwTWo0bEdBelppeDV1NENtNUNNUUlnTU5wa3d5MTYzd3RLWVZLSSIsCiAgImQiICAgOiAiMGc1dkFFS3p1Z3JYYVJiZ0tHMFRqMnFKNWxNUDRCZXpkczFfc1R5YmtmayIKfQ=="
}
}
Response samples
- 201
- 400
- 401
- 403
{- "mid": 1570616552,
- "orderId": "order_example_1",
- "orderDetailDescription": "detailed desc",
- "orderDescription": "description",
- "orderAmount": 10.5,
- "fulfilmentAmount": 10.5,
- "capturedAmount": 0,
- "refundedAmount": 0,
- "currency": "EUR",
- "baseCurrency": "EUR",
- "baseOrderAmount": 10.5,
- "baseFulfilmentAmount": 10.5,
- "baseCapturedAmount": 0,
- "baseRefundedAmount": 0,
- "capturable": true,
- "cancelable": true,
- "refundable": false,
- "completable": false,
- "dccIndicator": false,
- "timestamp": "2019-11-05T10:05:43.569Z",
- "transactionReferences": [
- {
- "transactionId": 5986908782,
- "transactionTypeId": 1,
- "mid": 1570616552,
- "orderId": "order_example_1",
- "transactionType": "Authorize",
- "transactionDate": "2019-12-12T11:27:34.279Z",
- "refTransactionId": 1234567890,
- "transactionDesc": "Transaction Accepted",
- "statusCode": 0,
- "status": "Processed",
- "amount": 10.5,
- "currency": "EUR",
- "baseAmount": 10.5,
- "baseCurrency": "EUR",
- "paymentMethod": "Visa",
- "paymentMethodId": 1001,
- "acquirerAuthorizationCode": "123456",
- "acquirerReferenceId": "622135",
- "acquirerAnswerDescription": "acquirer ans desc",
- "acquirerAnswerCode": "00",
- "schemeAnswerCode": "100",
- "schemeReferenceId": "CIT_ID_PAYON_2010",
- "bankReferenceId": "622135",
- "bankAnswerCode": "00",
- "token": "9000033649121111",
- "maskedAccountNumber": "411111xxxxxx1111",
- "cardExpiryDate": "12-2024",
- "cvResponse": "",
- "cvAnswerCode": 2,
- "fraudStatus": "HOLD",
- "fraudCode": "fraudScreeningActionOnHold",
- "fraudMessage": "Override when the fraud screening provider returns HOLD.",
- "avsResponse": "",
- "avsAnswerCode": 3,
- "redirectMethod": "POST",
- "redirectParameters": "<INPUT TYPE=HIDDEN NAME=\"NB_VERSION\" VALUE=\"0002\">\n<INPUT TYPE=HIDDEN NAME=\"NB_RCV_ID\" VALUE=\"83832893\">\n<INPUT TYPE=HIDDEN NAME=\"NB_STAMP\" VALUE=\"10442995701\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_AMOUNT\" VALUE=\"10,50\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_CUR\" VALUE=\"SEK\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_REF\" VALUE=\"10442995701\">\n<INPUT TYPE=HIDDEN NAME=\"NB_RETURN\" VALUE=\"https:/www.example.com/capture-response-from-bank\">\n<INPUT TYPE=HIDDEN NAME=\"NB_REJECT\" VALUE=\"https://www.example.com/capture-response-from-bank?STATUS=1&NB_STAMP=5230970501\">\n<INPUT TYPE=HIDDEN NAME=\"NB_CANCEL\" VALUE=\"https://www.example.com/capture-response-from-bank?STATUS=2&NB_STAMP=5230970501\">\n<INPUT TYPE=HIDDEN NAME=\"NB_HMAC\" VALUE=\"644BDB24EF29B48B9275B851567522DC\">\n<INPUT TYPE=HIDDEN NAME=\"NB_KVV\" VALUE=\"FF365893D899291C3BF505FB3175E880\">\n",
- "qrCodeUrl": "",
- "qrCodeEncodedAsText": "",
- "qrCodeMode": "",
- "cardAuthenticationInfo": {
- "xid": "MDAwMDAwMDAwMTAwNDI5NTkzNDY=",
- "cavv": "QUNTRU1Vd1BTV28kOj1Xe2VRSUc=",
- "eci": "2",
- "authRequired": "Y",
- "authenticationResult": "C",
- "acsVerificationFlavor": "2",
- "authenticationProtocolVersion": "3DS2.1.0",
- "authenticationDsTransId": "9913d29b-c02f-5f24-8000-00000000f01d",
- "md": "TUVSQ0hBTlRfREFUQQ==",
- "tDSMethodContent": "<iframe id=\"tdsMmethodTgtFrame\" name=\"tdsMmethodTgtFrame\" style=\"width: 1px; height: 1px; display: none;\" src=\"javascript:false;\" xmlns=\"http://www.w3.org/1999/xhtml\">\n <!--.-->\n</iframe><form id=\"tdsMmethodForm\" name=\"tdsMmethodForm\" action=\"https://dsx.modirum.com/dstests/ACSEmu2?handshake=1\" method=\"post\" target=\"tdsMmethodTgtFrame\" xmlns=\"http://www.w3.org/1999/xhtml\">\n <input type=\"hidden\" name=\"3DSMethodData\" value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjIwM2QxZmE3LWQ1NmItNTRmOC04MDAwLTAwMDAwMDAwZjAxZiIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovLzM1LjIyOC44My4xNTcvL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD02MTQ3MSZkaWdlc3Q9M0M3VWdNcFlwMWJSOW82cEpRd20lMkZOZU0xT2lqVXNMNm1BTXdhdTlCQlhBJTNEIiB9\"/>\n <input type=\"hidden\" name=\"threeDSMethodData\" value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjIwM2QxZmE3LWQ1NmItNTRmOC04MDAwLTAwMDAwMDAwZjAxZiIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovLzM1LjIyOC44My4xNTcvL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD02MTQ3MSZkaWdlc3Q9M0M3VWdNcFlwMWJSOW82cEpRd20lMkZOZU0xT2lqVXNMNm1BTXdhdTlCQlhBJTNEIiB9\"/>\n</form><script type=\"text/javascript\" xmlns=\"http://www.w3.org/1999/xhtml\">\ndocument.getElementById(\"tdsMmethodForm\").submit();\n</script>"
}, - "authenticationStatus": "SUCCESSFUL",
- "authenticationStatusDescription": "",
- "authenticationVerificationValue": "",
- "authenticationVerificationData": "",
- "authenticationApplication": "",
- "authenticationUrl": "",
- "authenticationRedirectParameters": "",
- "authenticationRedirectMethod": "",
}
]
}
Continue an authentication on given merchant id and order id
Continue Authentication is conditionally required as a step after the Initiate Authentication.
Authorizations:
path Parameters
mid required | integer The merchant id |
orderId required | string The order id |
Responses
Response samples
- 201
- 400
- 401
- 403
{- "mid": 1570616552,
- "orderId": "order_example_1",
- "orderDetailDescription": "detailed desc",
- "orderDescription": "description",
- "orderAmount": 10.5,
- "fulfilmentAmount": 10.5,
- "capturedAmount": 0,
- "refundedAmount": 0,
- "currency": "EUR",
- "baseCurrency": "EUR",
- "baseOrderAmount": 10.5,
- "baseFulfilmentAmount": 10.5,
- "baseCapturedAmount": 0,
- "baseRefundedAmount": 0,
- "capturable": true,
- "cancelable": true,
- "refundable": false,
- "completable": false,
- "dccIndicator": false,
- "timestamp": "2019-11-05T10:05:43.569Z",
- "transactionReferences": [
- {
- "transactionId": 5986908782,
- "transactionTypeId": 1,
- "mid": 1570616552,
- "orderId": "order_example_1",
- "transactionType": "Authorize",
- "transactionDate": "2019-12-12T11:27:34.279Z",
- "refTransactionId": 1234567890,
- "transactionDesc": "Transaction Accepted",
- "statusCode": 0,
- "status": "Processed",
- "amount": 10.5,
- "currency": "EUR",
- "baseAmount": 10.5,
- "baseCurrency": "EUR",
- "paymentMethod": "Visa",
- "paymentMethodId": 1001,
- "acquirerAuthorizationCode": "123456",
- "acquirerReferenceId": "622135",
- "acquirerAnswerDescription": "acquirer ans desc",
- "acquirerAnswerCode": "00",
- "schemeAnswerCode": "100",
- "schemeReferenceId": "CIT_ID_PAYON_2010",
- "bankReferenceId": "622135",
- "bankAnswerCode": "00",
- "token": "9000033649121111",
- "maskedAccountNumber": "411111xxxxxx1111",
- "cardExpiryDate": "12-2024",
- "cvResponse": "",
- "cvAnswerCode": 2,
- "fraudStatus": "HOLD",
- "fraudCode": "fraudScreeningActionOnHold",
- "fraudMessage": "Override when the fraud screening provider returns HOLD.",
- "avsResponse": "",
- "avsAnswerCode": 3,
- "redirectMethod": "POST",
- "redirectParameters": "<INPUT TYPE=HIDDEN NAME=\"NB_VERSION\" VALUE=\"0002\">\n<INPUT TYPE=HIDDEN NAME=\"NB_RCV_ID\" VALUE=\"83832893\">\n<INPUT TYPE=HIDDEN NAME=\"NB_STAMP\" VALUE=\"10442995701\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_AMOUNT\" VALUE=\"10,50\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_CUR\" VALUE=\"SEK\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_REF\" VALUE=\"10442995701\">\n<INPUT TYPE=HIDDEN NAME=\"NB_RETURN\" VALUE=\"https:/www.example.com/capture-response-from-bank\">\n<INPUT TYPE=HIDDEN NAME=\"NB_REJECT\" VALUE=\"https://www.example.com/capture-response-from-bank?STATUS=1&NB_STAMP=5230970501\">\n<INPUT TYPE=HIDDEN NAME=\"NB_CANCEL\" VALUE=\"https://www.example.com/capture-response-from-bank?STATUS=2&NB_STAMP=5230970501\">\n<INPUT TYPE=HIDDEN NAME=\"NB_HMAC\" VALUE=\"644BDB24EF29B48B9275B851567522DC\">\n<INPUT TYPE=HIDDEN NAME=\"NB_KVV\" VALUE=\"FF365893D899291C3BF505FB3175E880\">\n",
- "qrCodeUrl": "",
- "qrCodeEncodedAsText": "",
- "qrCodeMode": "",
- "cardAuthenticationInfo": {
- "xid": "MDAwMDAwMDAwMTAwNDI5NTkzNDY=",
- "cavv": "QUNTRU1Vd1BTV28kOj1Xe2VRSUc=",
- "eci": "2",
- "authRequired": "Y",
- "authenticationResult": "C",
- "acsVerificationFlavor": "2",
- "authenticationProtocolVersion": "3DS2.1.0",
- "authenticationDsTransId": "9913d29b-c02f-5f24-8000-00000000f01d",
- "md": "TUVSQ0hBTlRfREFUQQ==",
- "tDSMethodContent": "<iframe id=\"tdsMmethodTgtFrame\" name=\"tdsMmethodTgtFrame\" style=\"width: 1px; height: 1px; display: none;\" src=\"javascript:false;\" xmlns=\"http://www.w3.org/1999/xhtml\">\n <!--.-->\n</iframe><form id=\"tdsMmethodForm\" name=\"tdsMmethodForm\" action=\"https://dsx.modirum.com/dstests/ACSEmu2?handshake=1\" method=\"post\" target=\"tdsMmethodTgtFrame\" xmlns=\"http://www.w3.org/1999/xhtml\">\n <input type=\"hidden\" name=\"3DSMethodData\" value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjIwM2QxZmE3LWQ1NmItNTRmOC04MDAwLTAwMDAwMDAwZjAxZiIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovLzM1LjIyOC44My4xNTcvL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD02MTQ3MSZkaWdlc3Q9M0M3VWdNcFlwMWJSOW82cEpRd20lMkZOZU0xT2lqVXNMNm1BTXdhdTlCQlhBJTNEIiB9\"/>\n <input type=\"hidden\" name=\"threeDSMethodData\" value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjIwM2QxZmE3LWQ1NmItNTRmOC04MDAwLTAwMDAwMDAwZjAxZiIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovLzM1LjIyOC44My4xNTcvL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD02MTQ3MSZkaWdlc3Q9M0M3VWdNcFlwMWJSOW82cEpRd20lMkZOZU0xT2lqVXNMNm1BTXdhdTlCQlhBJTNEIiB9\"/>\n</form><script type=\"text/javascript\" xmlns=\"http://www.w3.org/1999/xhtml\">\ndocument.getElementById(\"tdsMmethodForm\").submit();\n</script>"
}, - "authenticationStatus": "SUCCESSFUL",
- "authenticationStatusDescription": "",
- "authenticationVerificationValue": "",
- "authenticationVerificationData": "",
- "authenticationApplication": "",
- "authenticationUrl": "",
- "authenticationRedirectParameters": "",
- "authenticationRedirectMethod": "",
}
]
}
Complete authentication on given merchant id and order id
Complete authentication to determine the Authentication Status result.
Authorizations:
path Parameters
mid required | integer The merchant id |
orderId required | string The order id |
Request Body schema: application/json
Request body describing the complete authentication
authenticationResultParameter required | string Formatted parameter string containing result of authentication. |
Responses
Request samples
- Payload
{- "authenticationResultParameter": "ewogICAiYWNzUmVmZXJlbmNlTnVtYmVyIiA6ICJBQ1NFbXUyIiwKICAgImFjc1RyYW5zSUQiIDogIjAwMDAwMDAwLTAwMDUtNWE1YS04MDAwLTAxNzA2NzM3NTdkNyIsCiAgICJtZXNzYWdlVHlwZSIgOiAiQ1JlcyIsCiAgICJtZXNzYWdlVmVyc2lvbiIgOiAiMi4xLjAiLAogICAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjFiY2QzNTE4LTk3ZmItNWNkMC04MDAwLTAwMDAwMDAwZjAyMyIsCiAgICJ0cmFuc1N0YXR1cyIgOiAiWSIKfQ"
}
Response samples
- 201
- 400
- 401
- 403
{- "mid": 1570616552,
- "orderId": "order_example_1",
- "orderDetailDescription": "detailed desc",
- "orderDescription": "description",
- "orderAmount": 10.5,
- "fulfilmentAmount": 10.5,
- "capturedAmount": 0,
- "refundedAmount": 0,
- "currency": "EUR",
- "baseCurrency": "EUR",
- "baseOrderAmount": 10.5,
- "baseFulfilmentAmount": 10.5,
- "baseCapturedAmount": 0,
- "baseRefundedAmount": 0,
- "capturable": true,
- "cancelable": true,
- "refundable": false,
- "completable": false,
- "dccIndicator": false,
- "timestamp": "2019-11-05T10:05:43.569Z",
- "transactionReferences": [
- {
- "transactionId": 5986908782,
- "transactionTypeId": 1,
- "mid": 1570616552,
- "orderId": "order_example_1",
- "transactionType": "Authorize",
- "transactionDate": "2019-12-12T11:27:34.279Z",
- "refTransactionId": 1234567890,
- "transactionDesc": "Transaction Accepted",
- "statusCode": 0,
- "status": "Processed",
- "amount": 10.5,
- "currency": "EUR",
- "baseAmount": 10.5,
- "baseCurrency": "EUR",
- "paymentMethod": "Visa",
- "paymentMethodId": 1001,
- "acquirerAuthorizationCode": "123456",
- "acquirerReferenceId": "622135",
- "acquirerAnswerDescription": "acquirer ans desc",
- "acquirerAnswerCode": "00",
- "schemeAnswerCode": "100",
- "schemeReferenceId": "CIT_ID_PAYON_2010",
- "bankReferenceId": "622135",
- "bankAnswerCode": "00",
- "token": "9000033649121111",
- "maskedAccountNumber": "411111xxxxxx1111",
- "cardExpiryDate": "12-2024",
- "cvResponse": "",
- "cvAnswerCode": 2,
- "fraudStatus": "HOLD",
- "fraudCode": "fraudScreeningActionOnHold",
- "fraudMessage": "Override when the fraud screening provider returns HOLD.",
- "avsResponse": "",
- "avsAnswerCode": 3,
- "redirectMethod": "POST",
- "redirectParameters": "<INPUT TYPE=HIDDEN NAME=\"NB_VERSION\" VALUE=\"0002\">\n<INPUT TYPE=HIDDEN NAME=\"NB_RCV_ID\" VALUE=\"83832893\">\n<INPUT TYPE=HIDDEN NAME=\"NB_STAMP\" VALUE=\"10442995701\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_AMOUNT\" VALUE=\"10,50\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_CUR\" VALUE=\"SEK\">\n<INPUT TYPE=HIDDEN NAME=\"NB_DB_REF\" VALUE=\"10442995701\">\n<INPUT TYPE=HIDDEN NAME=\"NB_RETURN\" VALUE=\"https:/www.example.com/capture-response-from-bank\">\n<INPUT TYPE=HIDDEN NAME=\"NB_REJECT\" VALUE=\"https://www.example.com/capture-response-from-bank?STATUS=1&NB_STAMP=5230970501\">\n<INPUT TYPE=HIDDEN NAME=\"NB_CANCEL\" VALUE=\"https://www.example.com/capture-response-from-bank?STATUS=2&NB_STAMP=5230970501\">\n<INPUT TYPE=HIDDEN NAME=\"NB_HMAC\" VALUE=\"644BDB24EF29B48B9275B851567522DC\">\n<INPUT TYPE=HIDDEN NAME=\"NB_KVV\" VALUE=\"FF365893D899291C3BF505FB3175E880\">\n",
- "qrCodeUrl": "",
- "qrCodeEncodedAsText": "",
- "qrCodeMode": "",
- "cardAuthenticationInfo": {
- "xid": "MDAwMDAwMDAwMTAwNDI5NTkzNDY=",
- "cavv": "QUNTRU1Vd1BTV28kOj1Xe2VRSUc=",
- "eci": "2",
- "authRequired": "Y",
- "authenticationResult": "C",
- "acsVerificationFlavor": "2",
- "authenticationProtocolVersion": "3DS2.1.0",
- "authenticationDsTransId": "9913d29b-c02f-5f24-8000-00000000f01d",
- "md": "TUVSQ0hBTlRfREFUQQ==",
- "tDSMethodContent": "<iframe id=\"tdsMmethodTgtFrame\" name=\"tdsMmethodTgtFrame\" style=\"width: 1px; height: 1px; display: none;\" src=\"javascript:false;\" xmlns=\"http://www.w3.org/1999/xhtml\">\n <!--.-->\n</iframe><form id=\"tdsMmethodForm\" name=\"tdsMmethodForm\" action=\"https://dsx.modirum.com/dstests/ACSEmu2?handshake=1\" method=\"post\" target=\"tdsMmethodTgtFrame\" xmlns=\"http://www.w3.org/1999/xhtml\">\n <input type=\"hidden\" name=\"3DSMethodData\" value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjIwM2QxZmE3LWQ1NmItNTRmOC04MDAwLTAwMDAwMDAwZjAxZiIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovLzM1LjIyOC44My4xNTcvL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD02MTQ3MSZkaWdlc3Q9M0M3VWdNcFlwMWJSOW82cEpRd20lMkZOZU0xT2lqVXNMNm1BTXdhdTlCQlhBJTNEIiB9\"/>\n <input type=\"hidden\" name=\"threeDSMethodData\" value=\"eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjIwM2QxZmE3LWQ1NmItNTRmOC04MDAwLTAwMDAwMDAwZjAxZiIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovLzM1LjIyOC44My4xNTcvL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD02MTQ3MSZkaWdlc3Q9M0M3VWdNcFlwMWJSOW82cEpRd20lMkZOZU0xT2lqVXNMNm1BTXdhdTlCQlhBJTNEIiB9\"/>\n</form><script type=\"text/javascript\" xmlns=\"http://www.w3.org/1999/xhtml\">\ndocument.getElementById(\"tdsMmethodForm\").submit();\n</script>"
}, - "authenticationStatus": "SUCCESSFUL",
- "authenticationStatusDescription": "",
- "authenticationVerificationValue": "",
- "authenticationVerificationData": "",
- "authenticationApplication": "",
- "authenticationUrl": "",
- "authenticationRedirectParameters": "",
- "authenticationRedirectMethod": "",
}
]
}