adyen-ruby-api-library 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +13 -0
- data/.travis.yml +14 -0
- data/Gemfile +12 -0
- data/LICENSE +21 -0
- data/README.md +140 -0
- data/Rakefile +6 -0
- data/adyen-ruby-api-library.gemspec +28 -0
- data/bin/console +13 -0
- data/bin/setup +8 -0
- data/docs/checkout.html +111 -0
- data/docs/index.html +50 -0
- data/docs/install-library.html +61 -0
- data/docs/javascripts/prism.js +5 -0
- data/docs/javascripts/scale.fix.js +17 -0
- data/docs/marketpay.html +169 -0
- data/docs/params.json +1 -0
- data/docs/payment.html +106 -0
- data/docs/payout.html +135 -0
- data/docs/recurring.html +113 -0
- data/docs/stylesheets/github-light.css +115 -0
- data/docs/stylesheets/prism.css +140 -0
- data/docs/stylesheets/styles.css +324 -0
- data/docs/using-library.html +67 -0
- data/lib/adyen-ruby-api-library.rb +21 -0
- data/lib/adyen/client.rb +174 -0
- data/lib/adyen/errors.rb +76 -0
- data/lib/adyen/services/checkout.rb +50 -0
- data/lib/adyen/services/checkout_utility.rb +16 -0
- data/lib/adyen/services/marketpay.rb +92 -0
- data/lib/adyen/services/payments.rb +23 -0
- data/lib/adyen/services/payouts.rb +21 -0
- data/lib/adyen/services/recurring.rb +19 -0
- data/lib/adyen/services/service.rb +19 -0
- data/lib/adyen/version.rb +4 -0
- data/spec/account_spec.rb +27 -0
- data/spec/checkout_spec.rb +94 -0
- data/spec/checkout_utility_spec.rb +27 -0
- data/spec/client_spec.rb +40 -0
- data/spec/fund_spec.rb +19 -0
- data/spec/mocks/requests/Account/close_account.json +3 -0
- data/spec/mocks/requests/Account/close_account_holder.json +3 -0
- data/spec/mocks/requests/Account/create_account.json +3 -0
- data/spec/mocks/requests/Account/create_account_holder.json +15 -0
- data/spec/mocks/requests/Account/delete_bank_accounts.json +6 -0
- data/spec/mocks/requests/Account/delete_shareholders.json +6 -0
- data/spec/mocks/requests/Account/get_account_holder.json +3 -0
- data/spec/mocks/requests/Account/get_uploaded_documents.json +4 -0
- data/spec/mocks/requests/Account/suspend_account_holder.json +3 -0
- data/spec/mocks/requests/Account/un_suspend_account_holder.json +3 -0
- data/spec/mocks/requests/Account/update_account.json +7 -0
- data/spec/mocks/requests/Account/update_account_holder.json +33 -0
- data/spec/mocks/requests/Account/update_account_holder_state.json +6 -0
- data/spec/mocks/requests/Account/upload_document.json +9 -0
- data/spec/mocks/requests/Checkout/payment-details.json +18 -0
- data/spec/mocks/requests/Checkout/payment-result.json +3 -0
- data/spec/mocks/requests/Checkout/payment_methods.json +3 -0
- data/spec/mocks/requests/Checkout/payment_session.json +15 -0
- data/spec/mocks/requests/Checkout/payments.json +17 -0
- data/spec/mocks/requests/Checkout/verify.json +3 -0
- data/spec/mocks/requests/CheckoutUtility/origin_keys.json +7 -0
- data/spec/mocks/requests/Fund/account_holder_balance.json +3 -0
- data/spec/mocks/requests/Fund/account_holder_transaction_list.json +16 -0
- data/spec/mocks/requests/Fund/payout_account_holder.json +10 -0
- data/spec/mocks/requests/Fund/refund_not_paid_out_transfers.json +4 -0
- data/spec/mocks/requests/Fund/setup_beneficiary.json +5 -0
- data/spec/mocks/requests/Fund/transfer_funds.json +9 -0
- data/spec/mocks/requests/Notification/create_notification_configuration.json +20 -0
- data/spec/mocks/requests/Notification/delete_notification_configurations.json +6 -0
- data/spec/mocks/requests/Notification/get_notification_configuration.json +3 -0
- data/spec/mocks/requests/Notification/get_notification_configuration_list.json +1 -0
- data/spec/mocks/requests/Notification/test_notification_configuration.json +4 -0
- data/spec/mocks/requests/Notification/update_notification_configuration.json +26 -0
- data/spec/mocks/requests/Payment/adjust_authorisation.json +12 -0
- data/spec/mocks/requests/Payment/authorise.json +28 -0
- data/spec/mocks/requests/Payment/authorise3d.json +6 -0
- data/spec/mocks/requests/Payment/cancel.json +4 -0
- data/spec/mocks/requests/Payment/cancel_or_refund.json +4 -0
- data/spec/mocks/requests/Payment/capture.json +8 -0
- data/spec/mocks/requests/Payment/refund.json +8 -0
- data/spec/mocks/requests/Payout/confirm_third_party.json +4 -0
- data/spec/mocks/requests/Payout/decline_third_party.json +4 -0
- data/spec/mocks/requests/Payout/store_detail.json +33 -0
- data/spec/mocks/requests/Payout/store_detail_and_submit_third_party.json +33 -0
- data/spec/mocks/requests/Payout/submit_third_party.json +22 -0
- data/spec/mocks/requests/Recurring/disable.json +5 -0
- data/spec/mocks/requests/Recurring/list_recurring_details.json +4 -0
- data/spec/mocks/requests/Recurring/store_token.json +15 -0
- data/spec/mocks/responses/Account/close_account.json +5 -0
- data/spec/mocks/responses/Account/close_account_holder.json +7 -0
- data/spec/mocks/responses/Account/create_account.json +7 -0
- data/spec/mocks/responses/Account/create_account_holder.json +116 -0
- data/spec/mocks/responses/Account/delete_bank_accounts.json +4 -0
- data/spec/mocks/responses/Account/delete_shareholders.json +4 -0
- data/spec/mocks/responses/Account/get_account_holder.json +71 -0
- data/spec/mocks/responses/Account/get_uploaded_documents.json +16 -0
- data/spec/mocks/responses/Account/suspend_account_holder.json +24 -0
- data/spec/mocks/responses/Account/un_suspend_account_holder.json +24 -0
- data/spec/mocks/responses/Account/update_account.json +9 -0
- data/spec/mocks/responses/Account/update_account_holder.json +95 -0
- data/spec/mocks/responses/Account/update_account_holder_state.json +27 -0
- data/spec/mocks/responses/Account/upload_document.json +77 -0
- data/spec/mocks/responses/Checkout/payment-details.json +14 -0
- data/spec/mocks/responses/Checkout/payment-result.json +4 -0
- data/spec/mocks/responses/Checkout/payment_methods.json +66 -0
- data/spec/mocks/responses/Checkout/payment_session.json +572 -0
- data/spec/mocks/responses/Checkout/payments.json +95 -0
- data/spec/mocks/responses/Checkout/verify.json +121 -0
- data/spec/mocks/responses/CheckoutUtility/origin_keys.json +7 -0
- data/spec/mocks/responses/Fund/account_holder_balance.json +47 -0
- data/spec/mocks/responses/Fund/account_holder_transaction_list.json +73 -0
- data/spec/mocks/responses/Fund/payout_account_holder.json +6 -0
- data/spec/mocks/responses/Fund/refund_not_paid_out_transfers.json +5 -0
- data/spec/mocks/responses/Fund/setup_beneficiary.json +5 -0
- data/spec/mocks/responses/Fund/transfer_funds.json +6 -0
- data/spec/mocks/responses/Notification/create_notification_configuration.json +41 -0
- data/spec/mocks/responses/Notification/delete_notification_configurations.json +23 -0
- data/spec/mocks/responses/Notification/get_notification_configuration.json +41 -0
- data/spec/mocks/responses/Notification/get_notification_configuration_list.json +65 -0
- data/spec/mocks/responses/Notification/test_notification_configuration.json +49 -0
- data/spec/mocks/responses/Notification/update_notification_configuration.json +47 -0
- data/spec/mocks/responses/Payment/adjust_authorisation.json +4 -0
- data/spec/mocks/responses/Payment/authorise.json +95 -0
- data/spec/mocks/responses/Payment/authorise3d.json +30 -0
- data/spec/mocks/responses/Payment/cancel.json +4 -0
- data/spec/mocks/responses/Payment/cancel_or_refund.json +4 -0
- data/spec/mocks/responses/Payment/capture.json +4 -0
- data/spec/mocks/responses/Payment/refund.json +4 -0
- data/spec/mocks/responses/Payout/confirm_third_party.json +4 -0
- data/spec/mocks/responses/Payout/decline_third_party.json +4 -0
- data/spec/mocks/responses/Payout/store_detail.json +5 -0
- data/spec/mocks/responses/Payout/store_detail_and_submit_third_party.json +8 -0
- data/spec/mocks/responses/Payout/submit_third_party.json +8 -0
- data/spec/mocks/responses/Recurring/disable.json +30 -0
- data/spec/mocks/responses/Recurring/list_recurring_details.json +62 -0
- data/spec/mocks/responses/Recurring/store_token.json +7 -0
- data/spec/notification_spec.rb +19 -0
- data/spec/payments_spec.rb +20 -0
- data/spec/payouts_spec.rb +18 -0
- data/spec/recurring_spec.rb +17 -0
- data/spec/spec_helper.rb +94 -0
- metadata +246 -0
@@ -0,0 +1,65 @@
|
|
1
|
+
/*
|
2
|
+
* ######
|
3
|
+
* ######
|
4
|
+
* ############ ####( ###### #####. ###### ############ ############
|
5
|
+
* ############# #####( ###### #####. ###### ############# #############
|
6
|
+
* ###### #####( ###### #####. ###### ##### ###### ##### ######
|
7
|
+
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
|
8
|
+
* ###### ###### #####( ###### #####. ###### ##### ##### ######
|
9
|
+
* ############# ############# ############# ############# ##### ######
|
10
|
+
* ############ ############ ############# ############ ##### ######
|
11
|
+
* ######
|
12
|
+
* #############
|
13
|
+
* ############
|
14
|
+
*
|
15
|
+
*
|
16
|
+
* Copyright (c) 2017 Adyen B.V.
|
17
|
+
* This file is open source and available under the MIT license.
|
18
|
+
* See the LICENSE file for more info.
|
19
|
+
*/
|
20
|
+
{
|
21
|
+
"pspReference": "8515078078661665",
|
22
|
+
"submittedAsync": "false",
|
23
|
+
"configurations": [
|
24
|
+
{
|
25
|
+
"NotificationConfigurationDetails": {
|
26
|
+
"active": "true",
|
27
|
+
"apiVersion": 1,
|
28
|
+
"description": "TestBas",
|
29
|
+
"eventConfigs": [
|
30
|
+
{
|
31
|
+
"NotificationEventConfiguration": {
|
32
|
+
"eventType": "ACCOUNT_HOLDER_STATUS_CHANGE",
|
33
|
+
"includeMode": "INCLUDE"
|
34
|
+
}
|
35
|
+
}
|
36
|
+
],
|
37
|
+
"messageFormat": "SOAP",
|
38
|
+
"notificationId": 157,
|
39
|
+
"notifyURL": "https://cal-test.adyen.com/cal/services/ViasNotification/handleGenericEvent",
|
40
|
+
"sendActionHeader": "true",
|
41
|
+
"sslProtocol": "SSLInsecureCiphers"
|
42
|
+
}
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"NotificationConfigurationDetails": {
|
46
|
+
"active": "true",
|
47
|
+
"apiVersion": 1,
|
48
|
+
"description": "TestBas2",
|
49
|
+
"eventConfigs": [
|
50
|
+
{
|
51
|
+
"NotificationEventConfiguration": {
|
52
|
+
"eventType": "ACCOUNT_HOLDER_STATUS_CHANGE",
|
53
|
+
"includeMode": "INCLUDE"
|
54
|
+
}
|
55
|
+
}
|
56
|
+
],
|
57
|
+
"messageFormat": "SOAP",
|
58
|
+
"notificationId": 161,
|
59
|
+
"notifyURL": "https://cal-test.adyen.com/cal/services/ViasNotification/handleGenericEvent",
|
60
|
+
"sendActionHeader": "true",
|
61
|
+
"sslProtocol": "SSLInsecureCiphers"
|
62
|
+
}
|
63
|
+
}
|
64
|
+
]
|
65
|
+
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
/*
|
2
|
+
* ######
|
3
|
+
* ######
|
4
|
+
* ############ ####( ###### #####. ###### ############ ############
|
5
|
+
* ############# #####( ###### #####. ###### ############# #############
|
6
|
+
* ###### #####( ###### #####. ###### ##### ###### ##### ######
|
7
|
+
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
|
8
|
+
* ###### ###### #####( ###### #####. ###### ##### ##### ######
|
9
|
+
* ############# ############# ############# ############# ##### ######
|
10
|
+
* ############ ############ ############# ############ ##### ######
|
11
|
+
* ######
|
12
|
+
* #############
|
13
|
+
* ############
|
14
|
+
*
|
15
|
+
*
|
16
|
+
* Copyright (c) 2017 Adyen B.V.
|
17
|
+
* This file is open source and available under the MIT license.
|
18
|
+
* See the LICENSE file for more info.
|
19
|
+
*/
|
20
|
+
{
|
21
|
+
"pspReference": "8515078087759211",
|
22
|
+
"submittedAsync": "false",
|
23
|
+
"errorMessages": [
|
24
|
+
"The required string \"[accepted]\" is not in all the results"
|
25
|
+
],
|
26
|
+
"eventTypes": [
|
27
|
+
"ACCOUNT_CREATED"
|
28
|
+
],
|
29
|
+
"exchangeMessages": [
|
30
|
+
{
|
31
|
+
"ExchangeMessage": {
|
32
|
+
"messageCode": "Number",
|
33
|
+
"messageDescription": "1"
|
34
|
+
}
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"ExchangeMessage": {
|
38
|
+
"messageCode": "Title",
|
39
|
+
"messageDescription": "Test 1: Test_ACCOUNT_CREATED"
|
40
|
+
}
|
41
|
+
}
|
42
|
+
],
|
43
|
+
"notificationId": 157,
|
44
|
+
"okMessages": [
|
45
|
+
"Output: <!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\n<html><head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n<title>ERROR: The requested URL could not be retrieved</title>\n<style type=\"text/css\"><!-- \n /*\n Stylesheet for Squid Error pages\n Adapted from design by Free CSS Templates\n http://www.freecsstemplates.org\n Released for free under a Creative Commons Attribution 2.5 License\n*/\n\n/* Page basics */\n* {\n\tfont-family: verdana, sans-serif;\n}\n\nhtml body {\n\tmargin: 0;\n\tpadding: 0;\n\tbackground: #efefef;\n\tfont-size: 12px;\n\tcolor: #1e1e1e;\n}\n\n/* Page displayed title area */\n#titles {\n\tmargin-left: 15px;\n\tpadding: 10px;\n\tpadding-left: 100px;\n\tbackground: url('http://www.squid-cache.org/Artwork/SN.png') no-repeat left;\n}\n\n/* initial title */\n#titles h1 {\n\tcolor: #000000;\n}\n#titles h2 {\n\tcolor: #000000;\n}\n\n/* special event: FTP success page titles */\n#titles ftpsuccess {\n\tbackground-color:#00ff00;\n\twidth:100%;\n}\n\n/* Page displayed body content area */\n#content {\n\tpadding: 10px;\n\tbackground: #ffffff;\n}\n\n/* General text */\np {\n}\n\n/* error brief description */\n#error p {\n}\n\n/* some data which may have caused the problem */\n#data {\n}\n\n/* the error message received from the system or other software */\n#sysmsg {\n}\n\npre {\n font-family:sans-serif;\n}\n\n/* special event: FTP / Gopher directory listing */\n#dirmsg {\n font-family: courier;\n color: black;\n font-size: 10pt;\n}\n#dirlisting {\n margin-left: 2%;\n margin-right: 2%;\n}\n#dirlisting tr.entry td.icon,td.filename,td.size,td.date {\n border-bottom: groove;\n}\n#dirlisting td.size {\n width: 50px;\n text-align: right;\n padding-right: 5px;\n}\n\n/* horizontal lines */\nhr {\n\tmargin: 0;\n}\n\n/* page displayed footer area */\n#footer {\n\tfont-size: 9px;\n\tpadding-left: 10px;\n}\n\n\nbody\n:lang(fa) { direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif; float: right; }\n:lang(he) { direction: rtl; }\n --></style>\n</head><body id=ERR_DNS_FAIL>\n<div id=\"titles\">\n<h1>ERROR</h1>\n<h2>The requested URL could not be retrieved</h2>\n</div>\n<hr>\n\n<div id=\"content\">\n<p>The following error was encountered while trying to retrieve the URL: <a href=\"https://cal-test.adyen.com/*\">https://cal-test.adyen.com/*</a></p>\n\n<blockquote id=\"error\">\n<p><b>Unable to determine IP address from host name <q>cal-test.adyen.com</q></b></p>\n</blockquote>\n\n<p>The DNS server returned:</p>\n<blockquote id=\"data\">\n<pre>No DNS records</pre>\n</blockquote>\n\n<p>This means that the cache was not able to resolve the hostname presented in the URL. Check if the address is correct.</p>\n\n<p>Your cache administrator is <a href=\"mailto:root?subject=CacheErrorInfo%20-%20ERR_DNS_FAIL&body=CacheHost%3A%20proxy2.tr3.adyen.com%0D%0AErrPage%3A%20ERR_DNS_FAIL%0D%0AErr%3A%20%5Bnone%5D%0D%0ADNS%20ErrMsg%3A%20No%20DNS%20records%0D%0ATimeStamp%3A%20Thu,%2012%20Oct%202017%2011%3A46%3A15%20GMT%0D%0A%0D%0AClientIP%3A%2010.40.31.15%0D%0A%0D%0AHTTP%20Request%3A%0D%0ACONNECT%20%2F%20HTTP%2F1.1%0AHost%3A%20cal-test.adyen.com%0D%0AUser-Agent%3A%20Adyen%20HttpClient%201.0%0D%0A%0D%0A%0D%0A\">root</a>.</p>\n<br>\n</div>\n\n<hr>\n<div id=\"footer\">\n<p>Generated Thu, 12 Oct 2017 11:46:15 GMT by proxy2.tr3.adyen.com (squid/3.1.23)</p>\n<!-- ERR_DNS_FAIL -->\n</div>\n</body></html>\n",
|
46
|
+
"ResponseCode: 404",
|
47
|
+
"ResponseTime_ms: 15"
|
48
|
+
]
|
49
|
+
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
/*
|
2
|
+
* ######
|
3
|
+
* ######
|
4
|
+
* ############ ####( ###### #####. ###### ############ ############
|
5
|
+
* ############# #####( ###### #####. ###### ############# #############
|
6
|
+
* ###### #####( ###### #####. ###### ##### ###### ##### ######
|
7
|
+
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
|
8
|
+
* ###### ###### #####( ###### #####. ###### ##### ##### ######
|
9
|
+
* ############# ############# ############# ############# ##### ######
|
10
|
+
* ############ ############ ############# ############ ##### ######
|
11
|
+
* ######
|
12
|
+
* #############
|
13
|
+
* ############
|
14
|
+
*
|
15
|
+
*
|
16
|
+
* Copyright (c) 2017 Adyen B.V.
|
17
|
+
* This file is open source and available under the MIT license.
|
18
|
+
* See the LICENSE file for more info.
|
19
|
+
*/
|
20
|
+
{
|
21
|
+
"pspReference": "8515078084389038",
|
22
|
+
"submittedAsync": "false",
|
23
|
+
"configurationDetails": {
|
24
|
+
"active": "false",
|
25
|
+
"apiVersion": 1,
|
26
|
+
"description": "TestUpdate",
|
27
|
+
"eventConfigs": [
|
28
|
+
{
|
29
|
+
"NotificationEventConfiguration": {
|
30
|
+
"eventType": "ACCOUNT_CREATED",
|
31
|
+
"includeMode": "INCLUDE"
|
32
|
+
}
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"NotificationEventConfiguration": {
|
36
|
+
"eventType": "ACCOUNT_HOLDER_CREATED",
|
37
|
+
"includeMode": "EXCLUDE"
|
38
|
+
}
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"messageFormat": "SOAP",
|
42
|
+
"notificationId": 157,
|
43
|
+
"notifyURL": "https://cal-test.adyen.com/cal/services/ViasNotification/handleGenericEvent",
|
44
|
+
"sendActionHeader": "true",
|
45
|
+
"sslProtocol": "SSLInsecureCiphers"
|
46
|
+
}
|
47
|
+
}
|
@@ -0,0 +1,95 @@
|
|
1
|
+
{
|
2
|
+
"additionalData": {
|
3
|
+
"liabilityShift": "true",
|
4
|
+
"fraudResultType": "GREEN",
|
5
|
+
"authCode": "43733",
|
6
|
+
"avsResult": "4 AVS not supported for this card type",
|
7
|
+
"cardHolderName": "Holder",
|
8
|
+
"cardSummary": "1111",
|
9
|
+
"fraudManualReview": "false",
|
10
|
+
"threeDOffered": "true",
|
11
|
+
"refusalReasonRaw": "AUTHORISED",
|
12
|
+
"expiryDate": "8/2018",
|
13
|
+
"cvcResult": "1 Matches",
|
14
|
+
"cardBin": "411111",
|
15
|
+
"avsResultRaw": "4",
|
16
|
+
"threeDAuthenticated": "false",
|
17
|
+
"paymentMethod": "visa",
|
18
|
+
"cvcResultRaw": "1",
|
19
|
+
"acquirerCode": "TestPmmAcquirer",
|
20
|
+
"acquirerReference": "7F59FSE1M6K"
|
21
|
+
},
|
22
|
+
"fraudResult": {
|
23
|
+
"accountScore": 25,
|
24
|
+
"results": [{
|
25
|
+
"FraudCheckResult": {
|
26
|
+
"accountScore": 8,
|
27
|
+
"checkId": 2,
|
28
|
+
"name": "CardChunkUsage"
|
29
|
+
}
|
30
|
+
}, {
|
31
|
+
"FraudCheckResult": {
|
32
|
+
"accountScore": 5,
|
33
|
+
"checkId": 3,
|
34
|
+
"name": "PaymentDetailUsage"
|
35
|
+
}
|
36
|
+
}, {
|
37
|
+
"FraudCheckResult": {
|
38
|
+
"accountScore": 12,
|
39
|
+
"checkId": 4,
|
40
|
+
"name": "HolderNameUsage"
|
41
|
+
}
|
42
|
+
}, {
|
43
|
+
"FraudCheckResult": {
|
44
|
+
"accountScore": 0,
|
45
|
+
"checkId": 1,
|
46
|
+
"name": "PaymentDetailRefCheck"
|
47
|
+
}
|
48
|
+
}, {
|
49
|
+
"FraudCheckResult": {
|
50
|
+
"accountScore": 0,
|
51
|
+
"checkId": 13,
|
52
|
+
"name": "IssuerRefCheck"
|
53
|
+
}
|
54
|
+
}, {
|
55
|
+
"FraudCheckResult": {
|
56
|
+
"accountScore": 0,
|
57
|
+
"checkId": 15,
|
58
|
+
"name": "IssuingCountryReferral"
|
59
|
+
}
|
60
|
+
}, {
|
61
|
+
"FraudCheckResult": {
|
62
|
+
"accountScore": 0,
|
63
|
+
"checkId": 27,
|
64
|
+
"name": "PmOwnerRefCheck"
|
65
|
+
}
|
66
|
+
}, {
|
67
|
+
"FraudCheckResult": {
|
68
|
+
"accountScore": 0,
|
69
|
+
"checkId": 41,
|
70
|
+
"name": "PaymentDetailNonFraudRefCheck"
|
71
|
+
}
|
72
|
+
}, {
|
73
|
+
"FraudCheckResult": {
|
74
|
+
"accountScore": 0,
|
75
|
+
"checkId": 10,
|
76
|
+
"name": "HolderNameContainsNumber"
|
77
|
+
}
|
78
|
+
}, {
|
79
|
+
"FraudCheckResult": {
|
80
|
+
"accountScore": 0,
|
81
|
+
"checkId": 11,
|
82
|
+
"name": "HolderNameIsOneWord"
|
83
|
+
}
|
84
|
+
}, {
|
85
|
+
"FraudCheckResult": {
|
86
|
+
"accountScore": 0,
|
87
|
+
"checkId": 25,
|
88
|
+
"name": "CVCAuthResultCheck"
|
89
|
+
}
|
90
|
+
}]
|
91
|
+
},
|
92
|
+
"pspReference": "7924835492819808",
|
93
|
+
"resultCode": "Authorised",
|
94
|
+
"authCode": "69746"
|
95
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
{
|
2
|
+
"additionalData": {
|
3
|
+
"fraudResultType": "GREEN",
|
4
|
+
"fraudManualReview": "false",
|
5
|
+
"aliasType": "Default",
|
6
|
+
"alias": "E840075550837688"
|
7
|
+
},
|
8
|
+
"fraudResult": {
|
9
|
+
"accountScore": 12,
|
10
|
+
"results": [
|
11
|
+
{
|
12
|
+
"FraudCheckResult": {
|
13
|
+
"accountScore": 12,
|
14
|
+
"checkId": -1,
|
15
|
+
"name": "Pre-Auth-Risk-Total"
|
16
|
+
}
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"FraudCheckResult": {
|
20
|
+
"accountScore": 0,
|
21
|
+
"checkId": 25,
|
22
|
+
"name": "CVCAuthResultCheck"
|
23
|
+
}
|
24
|
+
}
|
25
|
+
]
|
26
|
+
},
|
27
|
+
"pspReference": "8524836146572696",
|
28
|
+
"resultCode": "Authorised",
|
29
|
+
"authCode": "90473"
|
30
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
{
|
2
|
+
"details": [
|
3
|
+
{
|
4
|
+
"RecurringDetail": {
|
5
|
+
"acquirer": "TestPmmAcquirer",
|
6
|
+
"acquirerAccount": "TestPmmAcquirerAccount",
|
7
|
+
"additionalData": {
|
8
|
+
"cardBin": "411111"
|
9
|
+
},
|
10
|
+
"alias": "ALIAS",
|
11
|
+
"aliasType": "Default",
|
12
|
+
"card": {
|
13
|
+
"expiryMonth": "8",
|
14
|
+
"expiryYear": "2018",
|
15
|
+
"holderName": "Holder",
|
16
|
+
"number": "1111"
|
17
|
+
},
|
18
|
+
"contractTypes": [
|
19
|
+
"ONECLICK"
|
20
|
+
],
|
21
|
+
"creationDate": "2017-03-07T09:43:33+01:00",
|
22
|
+
"firstPspReference": "PSP_REF",
|
23
|
+
"paymentMethodVariant": "visa",
|
24
|
+
"recurringDetailReference": "RECURRING_REFERENCE",
|
25
|
+
"variant": "visa"
|
26
|
+
}
|
27
|
+
}
|
28
|
+
],
|
29
|
+
"response": "[detail-successfully-disabled]"
|
30
|
+
}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
{
|
2
|
+
"creationDate": "2017-03-01T11:53:11+01:00",
|
3
|
+
"details": [
|
4
|
+
{
|
5
|
+
"RecurringDetail": {
|
6
|
+
"acquirer": "TestPmmAcquirer",
|
7
|
+
"acquirerAccount": "TestPmmAcquirerAccount",
|
8
|
+
"additionalData": {
|
9
|
+
"cardBin": "411111"
|
10
|
+
},
|
11
|
+
"alias": "cardAlias",
|
12
|
+
"aliasType": "Default",
|
13
|
+
"card": {
|
14
|
+
"expiryMonth": "8",
|
15
|
+
"expiryYear": "2018",
|
16
|
+
"holderName": "Holder",
|
17
|
+
"number": "1111"
|
18
|
+
},
|
19
|
+
"contractTypes": [
|
20
|
+
"ONECLICK"
|
21
|
+
],
|
22
|
+
"creationDate": "2017-03-07T09:43:33+01:00",
|
23
|
+
"firstPspReference": "8524888762135795",
|
24
|
+
"paymentMethodVariant": "visa",
|
25
|
+
"recurringDetailReference": "recurringReference",
|
26
|
+
"variant": "visa"
|
27
|
+
}
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"RecurringDetail": {
|
31
|
+
"acquirer": "PayPalSandbox",
|
32
|
+
"acquirerAccount": "TestPmmAcquirerAccount",
|
33
|
+
"billingAddress": {
|
34
|
+
"city": "City",
|
35
|
+
"country": "NL",
|
36
|
+
"houseNumberOrName": "1",
|
37
|
+
"postalCode": "2312aa",
|
38
|
+
"stateOrProvince": "NA",
|
39
|
+
"street": "Street"
|
40
|
+
},
|
41
|
+
"contractTypes": [
|
42
|
+
"RECURRING"
|
43
|
+
],
|
44
|
+
"creationDate": "2017-10-10T08:50:02+02:00",
|
45
|
+
"firstPspReference": "8515076181707110",
|
46
|
+
"paymentMethodVariant": "paypal",
|
47
|
+
"recurringDetailReference": "8315076181982020",
|
48
|
+
"tokenDetails": {
|
49
|
+
"tokenData": {
|
50
|
+
"EmailId": "tedtest@test.nl",
|
51
|
+
"PayPal.PayerId": "H95EPL8B2KFE6",
|
52
|
+
"BillingAgreementId": "B-7MA42752FE774625C"
|
53
|
+
},
|
54
|
+
"tokenDataType": "PayPal"
|
55
|
+
},
|
56
|
+
"variant": "paypal"
|
57
|
+
}
|
58
|
+
}
|
59
|
+
],
|
60
|
+
"shopperReference": "test-123",
|
61
|
+
"invalidOneclickContracts": "false"
|
62
|
+
}
|