adyen-ruby-api-library 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +13 -0
  3. data/.travis.yml +14 -0
  4. data/Gemfile +12 -0
  5. data/LICENSE +21 -0
  6. data/README.md +140 -0
  7. data/Rakefile +6 -0
  8. data/adyen-ruby-api-library.gemspec +28 -0
  9. data/bin/console +13 -0
  10. data/bin/setup +8 -0
  11. data/docs/checkout.html +111 -0
  12. data/docs/index.html +50 -0
  13. data/docs/install-library.html +61 -0
  14. data/docs/javascripts/prism.js +5 -0
  15. data/docs/javascripts/scale.fix.js +17 -0
  16. data/docs/marketpay.html +169 -0
  17. data/docs/params.json +1 -0
  18. data/docs/payment.html +106 -0
  19. data/docs/payout.html +135 -0
  20. data/docs/recurring.html +113 -0
  21. data/docs/stylesheets/github-light.css +115 -0
  22. data/docs/stylesheets/prism.css +140 -0
  23. data/docs/stylesheets/styles.css +324 -0
  24. data/docs/using-library.html +67 -0
  25. data/lib/adyen-ruby-api-library.rb +21 -0
  26. data/lib/adyen/client.rb +174 -0
  27. data/lib/adyen/errors.rb +76 -0
  28. data/lib/adyen/services/checkout.rb +50 -0
  29. data/lib/adyen/services/checkout_utility.rb +16 -0
  30. data/lib/adyen/services/marketpay.rb +92 -0
  31. data/lib/adyen/services/payments.rb +23 -0
  32. data/lib/adyen/services/payouts.rb +21 -0
  33. data/lib/adyen/services/recurring.rb +19 -0
  34. data/lib/adyen/services/service.rb +19 -0
  35. data/lib/adyen/version.rb +4 -0
  36. data/spec/account_spec.rb +27 -0
  37. data/spec/checkout_spec.rb +94 -0
  38. data/spec/checkout_utility_spec.rb +27 -0
  39. data/spec/client_spec.rb +40 -0
  40. data/spec/fund_spec.rb +19 -0
  41. data/spec/mocks/requests/Account/close_account.json +3 -0
  42. data/spec/mocks/requests/Account/close_account_holder.json +3 -0
  43. data/spec/mocks/requests/Account/create_account.json +3 -0
  44. data/spec/mocks/requests/Account/create_account_holder.json +15 -0
  45. data/spec/mocks/requests/Account/delete_bank_accounts.json +6 -0
  46. data/spec/mocks/requests/Account/delete_shareholders.json +6 -0
  47. data/spec/mocks/requests/Account/get_account_holder.json +3 -0
  48. data/spec/mocks/requests/Account/get_uploaded_documents.json +4 -0
  49. data/spec/mocks/requests/Account/suspend_account_holder.json +3 -0
  50. data/spec/mocks/requests/Account/un_suspend_account_holder.json +3 -0
  51. data/spec/mocks/requests/Account/update_account.json +7 -0
  52. data/spec/mocks/requests/Account/update_account_holder.json +33 -0
  53. data/spec/mocks/requests/Account/update_account_holder_state.json +6 -0
  54. data/spec/mocks/requests/Account/upload_document.json +9 -0
  55. data/spec/mocks/requests/Checkout/payment-details.json +18 -0
  56. data/spec/mocks/requests/Checkout/payment-result.json +3 -0
  57. data/spec/mocks/requests/Checkout/payment_methods.json +3 -0
  58. data/spec/mocks/requests/Checkout/payment_session.json +15 -0
  59. data/spec/mocks/requests/Checkout/payments.json +17 -0
  60. data/spec/mocks/requests/Checkout/verify.json +3 -0
  61. data/spec/mocks/requests/CheckoutUtility/origin_keys.json +7 -0
  62. data/spec/mocks/requests/Fund/account_holder_balance.json +3 -0
  63. data/spec/mocks/requests/Fund/account_holder_transaction_list.json +16 -0
  64. data/spec/mocks/requests/Fund/payout_account_holder.json +10 -0
  65. data/spec/mocks/requests/Fund/refund_not_paid_out_transfers.json +4 -0
  66. data/spec/mocks/requests/Fund/setup_beneficiary.json +5 -0
  67. data/spec/mocks/requests/Fund/transfer_funds.json +9 -0
  68. data/spec/mocks/requests/Notification/create_notification_configuration.json +20 -0
  69. data/spec/mocks/requests/Notification/delete_notification_configurations.json +6 -0
  70. data/spec/mocks/requests/Notification/get_notification_configuration.json +3 -0
  71. data/spec/mocks/requests/Notification/get_notification_configuration_list.json +1 -0
  72. data/spec/mocks/requests/Notification/test_notification_configuration.json +4 -0
  73. data/spec/mocks/requests/Notification/update_notification_configuration.json +26 -0
  74. data/spec/mocks/requests/Payment/adjust_authorisation.json +12 -0
  75. data/spec/mocks/requests/Payment/authorise.json +28 -0
  76. data/spec/mocks/requests/Payment/authorise3d.json +6 -0
  77. data/spec/mocks/requests/Payment/cancel.json +4 -0
  78. data/spec/mocks/requests/Payment/cancel_or_refund.json +4 -0
  79. data/spec/mocks/requests/Payment/capture.json +8 -0
  80. data/spec/mocks/requests/Payment/refund.json +8 -0
  81. data/spec/mocks/requests/Payout/confirm_third_party.json +4 -0
  82. data/spec/mocks/requests/Payout/decline_third_party.json +4 -0
  83. data/spec/mocks/requests/Payout/store_detail.json +33 -0
  84. data/spec/mocks/requests/Payout/store_detail_and_submit_third_party.json +33 -0
  85. data/spec/mocks/requests/Payout/submit_third_party.json +22 -0
  86. data/spec/mocks/requests/Recurring/disable.json +5 -0
  87. data/spec/mocks/requests/Recurring/list_recurring_details.json +4 -0
  88. data/spec/mocks/requests/Recurring/store_token.json +15 -0
  89. data/spec/mocks/responses/Account/close_account.json +5 -0
  90. data/spec/mocks/responses/Account/close_account_holder.json +7 -0
  91. data/spec/mocks/responses/Account/create_account.json +7 -0
  92. data/spec/mocks/responses/Account/create_account_holder.json +116 -0
  93. data/spec/mocks/responses/Account/delete_bank_accounts.json +4 -0
  94. data/spec/mocks/responses/Account/delete_shareholders.json +4 -0
  95. data/spec/mocks/responses/Account/get_account_holder.json +71 -0
  96. data/spec/mocks/responses/Account/get_uploaded_documents.json +16 -0
  97. data/spec/mocks/responses/Account/suspend_account_holder.json +24 -0
  98. data/spec/mocks/responses/Account/un_suspend_account_holder.json +24 -0
  99. data/spec/mocks/responses/Account/update_account.json +9 -0
  100. data/spec/mocks/responses/Account/update_account_holder.json +95 -0
  101. data/spec/mocks/responses/Account/update_account_holder_state.json +27 -0
  102. data/spec/mocks/responses/Account/upload_document.json +77 -0
  103. data/spec/mocks/responses/Checkout/payment-details.json +14 -0
  104. data/spec/mocks/responses/Checkout/payment-result.json +4 -0
  105. data/spec/mocks/responses/Checkout/payment_methods.json +66 -0
  106. data/spec/mocks/responses/Checkout/payment_session.json +572 -0
  107. data/spec/mocks/responses/Checkout/payments.json +95 -0
  108. data/spec/mocks/responses/Checkout/verify.json +121 -0
  109. data/spec/mocks/responses/CheckoutUtility/origin_keys.json +7 -0
  110. data/spec/mocks/responses/Fund/account_holder_balance.json +47 -0
  111. data/spec/mocks/responses/Fund/account_holder_transaction_list.json +73 -0
  112. data/spec/mocks/responses/Fund/payout_account_holder.json +6 -0
  113. data/spec/mocks/responses/Fund/refund_not_paid_out_transfers.json +5 -0
  114. data/spec/mocks/responses/Fund/setup_beneficiary.json +5 -0
  115. data/spec/mocks/responses/Fund/transfer_funds.json +6 -0
  116. data/spec/mocks/responses/Notification/create_notification_configuration.json +41 -0
  117. data/spec/mocks/responses/Notification/delete_notification_configurations.json +23 -0
  118. data/spec/mocks/responses/Notification/get_notification_configuration.json +41 -0
  119. data/spec/mocks/responses/Notification/get_notification_configuration_list.json +65 -0
  120. data/spec/mocks/responses/Notification/test_notification_configuration.json +49 -0
  121. data/spec/mocks/responses/Notification/update_notification_configuration.json +47 -0
  122. data/spec/mocks/responses/Payment/adjust_authorisation.json +4 -0
  123. data/spec/mocks/responses/Payment/authorise.json +95 -0
  124. data/spec/mocks/responses/Payment/authorise3d.json +30 -0
  125. data/spec/mocks/responses/Payment/cancel.json +4 -0
  126. data/spec/mocks/responses/Payment/cancel_or_refund.json +4 -0
  127. data/spec/mocks/responses/Payment/capture.json +4 -0
  128. data/spec/mocks/responses/Payment/refund.json +4 -0
  129. data/spec/mocks/responses/Payout/confirm_third_party.json +4 -0
  130. data/spec/mocks/responses/Payout/decline_third_party.json +4 -0
  131. data/spec/mocks/responses/Payout/store_detail.json +5 -0
  132. data/spec/mocks/responses/Payout/store_detail_and_submit_third_party.json +8 -0
  133. data/spec/mocks/responses/Payout/submit_third_party.json +8 -0
  134. data/spec/mocks/responses/Recurring/disable.json +30 -0
  135. data/spec/mocks/responses/Recurring/list_recurring_details.json +62 -0
  136. data/spec/mocks/responses/Recurring/store_token.json +7 -0
  137. data/spec/notification_spec.rb +19 -0
  138. data/spec/payments_spec.rb +20 -0
  139. data/spec/payouts_spec.rb +18 -0
  140. data/spec/recurring_spec.rb +17 -0
  141. data/spec/spec_helper.rb +94 -0
  142. metadata +246 -0
@@ -0,0 +1,4 @@
1
+ {
2
+ "pspReference":"9914694372670551",
3
+ "submittedAsync":"false"
4
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "pspReference":"9914694372990637",
3
+ "submittedAsync":"false"
4
+ }
@@ -0,0 +1,71 @@
1
+ {
2
+ "pspReference": "8815263414367329",
3
+ "submittedAsync": "false",
4
+ "accountHolderCode": "holderCode",
5
+ "accountHolderDetails": {
6
+ "bankAccountDetails": [],
7
+ "email": "tim@green.com",
8
+ "individualDetails": {
9
+ "name": {
10
+ "firstName": "Tim",
11
+ "gender": "MALE",
12
+ "lastName": "Green"
13
+ }
14
+ },
15
+ "merchantCategoryCode": "7999"
16
+ },
17
+ "accountHolderStatus": {
18
+ "status": "Active",
19
+ "processingState": {
20
+ "disabled": "false",
21
+ "processedFrom": {
22
+ "currency": "EUR",
23
+ "value": 0
24
+ },
25
+ "processedTo": {
26
+ "currency": "EUR",
27
+ "value": 9999
28
+ },
29
+ "tierNumber": 0
30
+ },
31
+ "payoutState": {
32
+ "allowPayout": "false",
33
+ "disabled": "false"
34
+ }
35
+ },
36
+ "accounts": [
37
+ {
38
+ "Account": {
39
+ "accountCode": "152059446",
40
+ "description": "TransactionAccount",
41
+ "payoutSchedule": {
42
+ "schedule": "DEFAULT"
43
+ },
44
+ "status": "Active"
45
+ }
46
+ }
47
+ ],
48
+ "legalEntity": "Individual",
49
+ "verification": {
50
+ "accountHolder": {
51
+ "checks": [
52
+ {
53
+ "type": "IDENTITY_VERIFICATION",
54
+ "status": "AWAITING_DATA",
55
+ "requiredFields": [
56
+ "AccountHolderDetails.Address.address",
57
+ "AccountHolderDetails.PersonalData.personalData"
58
+ ]
59
+ },
60
+ {
61
+ "type": "BANK_ACCOUNT_VERIFICATION",
62
+ "status": "AWAITING_DATA",
63
+ "requiredFields": [
64
+ "AccountHolderDetails.BankAccountDetails.bankAccount",
65
+ "AccountHolderDetails.BankAccountDetails.bankStatement"
66
+ ]
67
+ }
68
+ ]
69
+ }
70
+ }
71
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "pspReference":"9914694369860322",
3
+ "submittedAsync":"false",
4
+ "documentDetails":[
5
+ {
6
+ "DocumentDetail":{
7
+ "accountHolderCode":"TestAccountHolder8031",
8
+ "bankAccountUUID": "EXAMPLE_UUID",
9
+ "countryCode":"NL",
10
+ "description":"description1",
11
+ "documentType":"BANK_STATEMENT",
12
+ "filename":"bankstatement.png"
13
+ }
14
+ }
15
+ ]
16
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "pspReference":"9914762643560032",
3
+ "submittedAsync":"false",
4
+ "accountHolderStatus":{
5
+ "status":"Suspended",
6
+ "processingState":{
7
+ "processedFrom":{
8
+ "currency":"EUR",
9
+ "value":0
10
+ },
11
+ "processedTo":{
12
+ "currency":"EUR",
13
+ "value":9999
14
+ }
15
+ },
16
+ "payoutState":{
17
+ "allowPayout":"false",
18
+ "payoutLimit":{
19
+ "currency":"EUR",
20
+ "value":49999
21
+ }
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "pspReference":"9914762644860159",
3
+ "submittedAsync":"false",
4
+ "accountHolderStatus":{
5
+ "status":"Active",
6
+ "processingState":{
7
+ "processedFrom":{
8
+ "currency":"EUR",
9
+ "value":0
10
+ },
11
+ "processedTo":{
12
+ "currency":"EUR",
13
+ "value":9999
14
+ }
15
+ },
16
+ "payoutState":{
17
+ "allowPayout":"false",
18
+ "payoutLimit":{
19
+ "currency":"EUR",
20
+ "value":49999
21
+ }
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "pspReference": "9914860311410009",
3
+ "submittedAsync": "false",
4
+ "accountCode": "198360329",
5
+ "payoutSchedule": {
6
+ "nextScheduledPayout": "2017-02-06T11:32:26+01:00",
7
+ "schedule": "WEEKLY"
8
+ }
9
+ }
@@ -0,0 +1,95 @@
1
+ {
2
+ "pspReference":"9914762676580105",
3
+ "submittedAsync":"false",
4
+ "accountHolderCode":"TestAccountHolder414261",
5
+ "accountHolderDetails":{
6
+ "address":{
7
+ "city":"Amsterdam",
8
+ "country":"NL",
9
+ "postalCode":"12345",
10
+ "stateOrProvince":"NH",
11
+ "street":"Teststreet 1"
12
+ },
13
+ "bankAccountDetails":[
14
+
15
+ ],
16
+ "email":"test@adyen.com",
17
+ "individualDetails":{
18
+ "name":{
19
+ "firstName":"First name",
20
+ "gender":"MALE",
21
+ "lastName":"Last Name"
22
+ },
23
+ "personalData":{
24
+ "dateOfBirth":"1970-01-01",
25
+ "idNumber":"1234567890",
26
+ "nationality":"NL"
27
+ }
28
+ },
29
+ "merchantCategoryCode":"7999",
30
+ "phoneNumber":{
31
+ "phoneCountryCode":"NL",
32
+ "phoneNumber":"0612345678",
33
+ "phoneType":"Mobile"
34
+ },
35
+ "webAddress":"http://www.accountholderwebsite.com"
36
+ },
37
+ "accountHolderStatus":{
38
+ "status":"Active",
39
+ "processingState":{
40
+ "processedFrom":{
41
+ "currency":"GBP",
42
+ "value":0
43
+ },
44
+ "processedTo":{
45
+ "currency":"GBP",
46
+ "value":9999
47
+ }
48
+ },
49
+ "payoutState":{
50
+ "allowPayout":"true",
51
+ "payoutLimit":{
52
+ "currency":"GBP",
53
+ "value":49999
54
+ }
55
+ }
56
+ },
57
+ "invalidFields":[
58
+
59
+ ],
60
+ "verification":{
61
+ "accountHolder":{
62
+ "checks":[
63
+ {
64
+ "type":"PASSPORT_VERIFICATION",
65
+ "status":"AWAITING_DATA",
66
+ "requiredFields":[
67
+ "AccountHolderDetails.Document.passport"
68
+ ]
69
+ },
70
+ {
71
+ "type":"IDENTITY_VERIFICATION",
72
+ "status":"PASSED",
73
+ "summary":{
74
+ "code":1602,
75
+ "description":"Passed"
76
+ }
77
+ }
78
+ ]
79
+ },
80
+ "bankAccounts":[
81
+ {
82
+ "bankAccountUUID":"2f11df0b-a265-47ae-89c0-3d892066e7f5",
83
+ "checks":[
84
+ {
85
+ "type":"BANK_ACCOUNT_VERIFICATION",
86
+ "status":"PASSED"
87
+ }
88
+ ]
89
+ }
90
+ ]
91
+ },
92
+ "updatedFields":[
93
+
94
+ ]
95
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "pspReference": "8515090175978108",
3
+ "submittedAsync": "false",
4
+ "accountHolderCode": "testIndividual5",
5
+ "accountHolderStatus": {
6
+ "status": "Active",
7
+ "processingState": {
8
+ "disabled": "false",
9
+ "processedFrom": {
10
+ "currency": "USD",
11
+ "value": 0
12
+ },
13
+ "processedTo": {
14
+ "currency": "USD",
15
+ "value": 9999
16
+ }
17
+ },
18
+ "payoutState": {
19
+ "allowPayout": "true",
20
+ "payoutLimit": {
21
+ "currency": "USD",
22
+ "value": 74999
23
+ },
24
+ "disabled": "false"
25
+ }
26
+ }
27
+ }
@@ -0,0 +1,77 @@
1
+ {
2
+ "pspReference":"9914762681460244",
3
+ "submittedAsync":"false",
4
+ "accountHolderCode":"TestAccountHolder534055",
5
+ "accountHolderDetails":{
6
+ "bankAccountDetails":[
7
+
8
+ ],
9
+ "email":"testEmail@gmail.com",
10
+ "individualDetails":{
11
+ "name":{
12
+ "firstName":"TestFirstName",
13
+ "gender":"MALE",
14
+ "lastName":"TestLastName"
15
+ }
16
+ },
17
+ "merchantCategoryCode":"7999"
18
+ },
19
+ "accountHolderStatus":{
20
+ "status":"Active",
21
+ "processingState":{
22
+ "processedFrom":{
23
+ "currency":"GBP",
24
+ "value":0
25
+ },
26
+ "processedTo":{
27
+ "currency":"GBP",
28
+ "value":9999
29
+ }
30
+ },
31
+ "payoutState":{
32
+ "allowPayout":"true",
33
+ "payoutLimit":{
34
+ "currency":"GBP",
35
+ "value":49999
36
+ }
37
+ }
38
+ },
39
+ "invalidFields":[
40
+
41
+ ],
42
+ "verification":{
43
+ "accountHolder":{
44
+ "checks":[
45
+ {
46
+ "type":"PASSPORT_VERIFICATION",
47
+ "status":"AWAITING_DATA",
48
+ "requiredFields":[
49
+ "AccountHolderDetails.Document.passport"
50
+ ]
51
+ },
52
+ {
53
+ "type":"IDENTITY_VERIFICATION",
54
+ "status":"PASSED",
55
+ "summary":{
56
+ "code":1602,
57
+ "description":"Passed"
58
+ }
59
+ }
60
+ ]
61
+ },
62
+ "bankAccounts":[
63
+ {
64
+ "bankAccountUUID":"2f11df0b-a265-47ae-89c0-3d892066e7f5",
65
+ "checks":[
66
+ {
67
+ "type":"BANK_ACCOUNT_VERIFICATION",
68
+ "status":"PASSED"
69
+ }
70
+ ]
71
+ }
72
+ ]
73
+ },
74
+ "updatedFields":[
75
+
76
+ ]
77
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "resultCode": "RedirectShopper",
3
+ "details": [
4
+ {
5
+ "key": "returnUrlQueryString",
6
+ "type": "text"
7
+ }
8
+ ],
9
+ "paymentData": "Ab02b4c0!BQABAgCZ5wU8Xzylbj3tQI9zZtbOmutq5gON3jF0JOVL9VXTcQ70LkB8UzJZ2EuJiURbwNSpyfMnNNR9ecDBq0Ai+Cu97eUP6/wc51Gh2VClWKILA3fpetixy8rcEd1dHVT9Exa77zg0LuY6qXz/5GIIH62y9CnmKJH4a4KZVQwFu9VYtPnsC8p6Bby2BuByD/VSa3noZDBVuapvWL7+8P6QaPgkFgoWYnzT8uzdoCio+gTNEYivlxhuQj5qa+eyQCrzZDXAvl+1a1z7O3BOOC7yPT0VDd8zNnyxKk9lyax75FUCRYl1BNCP1CGGDzHfvsS8C4FhXPixhZ4Lb1pYajLpKXNqfiRqU4DXn6bAkdnoQ5X8TvD3HqgHos4OLY93qq7j3ai+zeS/hWkZrd0SM+br3G+kCPmzMcBYdIqJLecJcVUUWHUNfdYIl6tmzNDbeedqSXVkyX+w7R/bM3hHppQyFpy2UM6BHalSaIc2oqR2wLQeObOlV9VML2yAvUzIK6OsFdnCtjK+aQsYwBvKMHkgsukvJiEvfwkLzrwxJQWRvYQtVV7ITcSz98tKZmxUFdke8Hca+ySTbqq9OvjGCK+T7FLhaKYGSECcwwKCCKMneTW7S/8Y+qpw2WRBx2Bhho8ZfIwsnq2Nll+QbaOJEiC0PG3NokYhcrKVhXiFFkYYnzNI9hAnjkefE+5rR5dWWWM8Q8h7AEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifbA560uFihRRe//z0I3kVj3lZxHTKJZgPZUDraWMQfkMjM7KKXPwyCXyThFp1bFYMmebpxYvbqErFky66og24VCmvNKiZnf1uPJi5OsK9t6QJU1vhC0/QzeCu1TQLUEyUWrelX0V+iO+933RFUzSv78BLNO/bt5JMFIKQoLP6J4CW+bHk+fWrBn4PhbZ5z/ezu23OHoDvg6Pvk1kjxps8FAbHoSB35b+HvOUDtph/usiBWBCgLQVtkbR7C2ImDd4HRh3QvkgjXgbRGGIBBc+jPM9TMYytNlAhB32jktviPASz9+v073N417onB0pcS0Bp2iFTpmsMjWcSbctbj65JTiBIwY6egGrD9ona/oEb+/oppiz4KzS2sJKvtOPg+Jxn2UNssc0dg8gZhV1dxfSqDNonsfxl0vwKoeG99FjyrfgFQvYNlqjn3/WNacjFtCOrBafIQJk95TnkBdpzuqtvqQyIZeq7PbRuTNIb1AQBTmKNmuZMd+gO95sIvhbE1XgO2InIQKCpw0q0Hbw9Nzowm6w1gbSKnabGZhb8SOM+lJ37dNTsNIB/5Eo36kijladqVt5RYGMHLkQa6vxjhfuYPfHYzO5MX4i0ml8rstB5D5sfLqvY3Igzc6RnDhpX5kxVIFAhuPxkTeKFTpCXmnHJwilCY9pZTzVlJp6kOWnk1JlalrzmI3iU6Zhz3ICLNQ+Ub/HEnombi31lZWHnUmhwGKxKg==",
10
+ "redirect": {
11
+ "method": "GET",
12
+ "url": "https://test.adyen.com/hpp/redirectIdeal.shtml?brandCode=ideal&currencyCode=USD&merchantAccount=ColinRood&merchantReference=PM+Checkout+Payment&merchantSig=MKOR8NMs6190maY8sPDCMgOHNIscN356EIhUxSnpDsw%3D&paymentAmount=1000&resURL=https%3A%2F%2Fcheckoutshopper-test.adyen.com%2Fcheckoutshopper%2Fservices%2FPaymentIncomingRedirect%2Fv1%2FlocalPaymentMethod%3FreturnURL%3D&sessionValidity=2018-03-02T18%3A05%3A42Z&skinCode=pub.v2.8115054323780109.7FDNnCDyDJG8hRqbIjU3AQHvyBRuRoNFYHQWgmX4lAU"
13
+ }
14
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "pspReference": "8535253563623704",
3
+ "resultCode": "Authorised"
4
+ }
@@ -0,0 +1,66 @@
1
+ {
2
+ "paymentMethods": [
3
+ {
4
+ "details": [
5
+ {
6
+ "key": "additionalData.card.encrypted.json",
7
+ "type": "cardToken"
8
+ }
9
+ ],
10
+ "name": "Credit Card",
11
+ "type": "scheme"
12
+ },
13
+ {
14
+ "details": [
15
+ {
16
+ "items": [
17
+ {
18
+ "id": "0721",
19
+ "name": "ING"
20
+ },
21
+ {
22
+ "id": "0511",
23
+ "name": "Triodos Bank"
24
+ },
25
+ {
26
+ "id": "0761",
27
+ "name": "ASN Bank"
28
+ },
29
+ {
30
+ "id": "0751",
31
+ "name": "SNS Bank"
32
+ },
33
+ {
34
+ "id": "0771",
35
+ "name": "RegioBank"
36
+ },
37
+ {
38
+ "id": "0031",
39
+ "name": "ABN Amro"
40
+ },
41
+ {
42
+ "id": "0021",
43
+ "name": "Rabobank"
44
+ },
45
+ {
46
+ "id": "0161",
47
+ "name": "Van Lanschot Bankiers"
48
+ },
49
+ {
50
+ "id": "0802",
51
+ "name": "bunq"
52
+ },
53
+ {
54
+ "id": "0801",
55
+ "name": "Knab"
56
+ }
57
+ ],
58
+ "key": "idealIssuer",
59
+ "type": "select"
60
+ }
61
+ ],
62
+ "name": "iDEAL",
63
+ "type": "ideal"
64
+ }
65
+ ]
66
+ }