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,15 @@
|
|
1
|
+
{
|
2
|
+
"amount": {
|
3
|
+
"value": 1500,
|
4
|
+
"currency": "EUR"
|
5
|
+
},
|
6
|
+
"channel": "Web",
|
7
|
+
"countryCode": "US",
|
8
|
+
"html": true,
|
9
|
+
"origin": "www.example.com",
|
10
|
+
"returnUrl": "www.example.com",
|
11
|
+
"shopperLocale": "en_GB",
|
12
|
+
"shopperCountry": "US",
|
13
|
+
"reference": "Merchant Reference",
|
14
|
+
"merchantAccount": "TestMerchant"
|
15
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
{
|
2
|
+
"amount": {
|
3
|
+
"currency": "USD",
|
4
|
+
"value": 1000
|
5
|
+
},
|
6
|
+
"reference": "Mock payment",
|
7
|
+
"paymentMethod": {
|
8
|
+
"type": "scheme",
|
9
|
+
"number": "4111111111111111",
|
10
|
+
"expiryMonth": "08",
|
11
|
+
"expiryYear": "2018",
|
12
|
+
"holderName": "John Smith",
|
13
|
+
"cvc": "737"
|
14
|
+
},
|
15
|
+
"returnUrl": "",
|
16
|
+
"merchantAccount": "TestMerchant"
|
17
|
+
}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
{
|
2
|
+
"payload":"Hee57361f99ddcf4!ZW5jcnlwdGVkPUJRQUJBZ0FWJTJCNXkzOXJ5ZVhkQWNvWW9tcTFrOEpRQldvVzJ0bjV4NFJtT2VESEVENTRuSFg5bVVtNG52MFE2SUZzJTJCbyUyQjRVbmtMZ2c0UHclMkZ0ZTR2MjdscXVnNlhuZmh3Yk4lMkZ1bTEySXZIUnBuQUo0VmJFdXBtelVUeEh6aW9yTDRWbSUyRkppdHFjSkozc204NTNyM0xpMXN3cDU5RzQlMkZrMzVsdDBvb0lqaElWazBRWGJFZzR5d1JocllrSnExaE5sZnBKTWl4ZFdHQm9tSThTY21yNXNKNzJIdE5KSDFxeGtra09XRmlzRkJJMTdURUdMN0xsaFNuUGVmemNSRTglMkZVM0VxclolMkZSczlHVzZHRXdPQ2ZIbGJodTNqUmlZTE1KN2VldFpBdTdFJTJCOVVLWFpvN3JDS0dSMkdFZ2MwaXlXYzVyMTFzYXk1ckZ4amczTnRnUyUyRnlOdEhKTTRTMDVjSVNHTkxEazFXOVBkeEphQ014OFlkJTJCUE5VaDQ0enhaZXJDd3h5Qk84VjlCV0VkSkZBJTJCMHF2NXhVc1JnR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xFRzREZUttJTJCSlVFNXlzME5KcTBSeG5XMlgzczZhbGJhM3dnVGUlMkZLWHZHcEtxVVZmZVIyWGN6Q3lUWUtkc3BkNXdLVTJDaXUwZCUyQlVZY2xuaGoyZGpUbVlIMjR0Y2EyR2I2SDJ3M2JGakklMkZnejRJRjdnblBuJTJGaFRVMEYlMkZqSFR5bHU4NHo2TGkyaSUyQm1Kb0RRU1NkVHpEc3kzODNTQzl1T1d4NDFiQTRleFdNTXR0UVlNNnc0TVYySkElMkJnQUpxOW53UDlUSnpiWUpnZnJKJTJGQzklMkZwNUF1NUNldk11TlNVRlp6bk1VTUhuS3JubXJnMDhWM2JzVVNmcFp2QjVlOEk3djMybHFXJTJGNEhkeVpXNXBVSjJaa3pGakVTQmx5Rmk5TmYzMjV3TTd1Y25seEczekd0NVoyaWlGUHdBSGFSb25DcEswVXFQaklzYXlSbklBJTJGakFVM0w4JTJGWjB4RmFDWkp1czVhc05wTSUyRlRUV0ExeUxIcFQlMkJqWmd6WWdBbUo0WWFaWTJwMFBkZ1ltMElxYkRmZ2omdmVyc2lvbj0y"
|
3
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
{
|
2
|
+
"accountHolderCode": "TestAccountHolder423978",
|
3
|
+
"transactionStatuses": [
|
4
|
+
"PendingCredit",
|
5
|
+
"Credited",
|
6
|
+
"Debited"
|
7
|
+
],
|
8
|
+
"transactionListsPerAccount": [
|
9
|
+
{
|
10
|
+
"TransactionListForAccount": {
|
11
|
+
"accountCode": "2e64b396-1200-4474-b848-0cb06b52b3c7",
|
12
|
+
"page": 2
|
13
|
+
}
|
14
|
+
}
|
15
|
+
]
|
16
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
"configurationDetails": {
|
3
|
+
"active": "true",
|
4
|
+
"description": "Test notification769551",
|
5
|
+
"eventConfigs": [
|
6
|
+
{
|
7
|
+
"NotificationEventConfiguration": {
|
8
|
+
"eventType": "ACCOUNT_HOLDER_VERIFICATION",
|
9
|
+
"includeMode": "INCLUDE"
|
10
|
+
}
|
11
|
+
}
|
12
|
+
],
|
13
|
+
"messageFormat": "SOAP",
|
14
|
+
"notifyURL": "https://www.merchant-domain.com/notification-handler",
|
15
|
+
"notifyUsername": "testUserName",
|
16
|
+
"notifyPassword": "testPassword",
|
17
|
+
"sendActionHeader": "true",
|
18
|
+
"sslProtocol": "SSL"
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
{
|
2
|
+
"configurationDetails": {
|
3
|
+
"active": "false",
|
4
|
+
"description": "new description799847",
|
5
|
+
"eventConfigs": [
|
6
|
+
{
|
7
|
+
"NotificationEventConfiguration": {
|
8
|
+
"eventType": "ACCOUNT_HOLDER_CREATED",
|
9
|
+
"includeMode": "EXCLUDE"
|
10
|
+
}
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"NotificationEventConfiguration": {
|
14
|
+
"eventType": "ACCOUNT_CREATED",
|
15
|
+
"includeMode": "INCLUDE"
|
16
|
+
}
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"notificationId": 234674578,
|
20
|
+
"notifyPassword": "testPassword2",
|
21
|
+
"notifyURL": "http://www.adyen.com",
|
22
|
+
"notifyUsername": "testUserName2",
|
23
|
+
"sendActionHeader": "false",
|
24
|
+
"sslProtocol": "TLSv10"
|
25
|
+
}
|
26
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
{
|
2
|
+
"merchantAccount" : "TestMerchant",
|
3
|
+
"modificationAmount" : {
|
4
|
+
"currency" : "EUR",
|
5
|
+
"value" : 1500
|
6
|
+
},
|
7
|
+
"originalReference" : "8123456789012345",
|
8
|
+
"reference" : "Adjust Authorisation",
|
9
|
+
"additionalData" : {
|
10
|
+
"industryUsage" : "DelayedCharge"
|
11
|
+
}
|
12
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
{
|
2
|
+
"card": {
|
3
|
+
"number": "4111111111111111",
|
4
|
+
"expiryMonth": "08",
|
5
|
+
"expiryYear": "2018",
|
6
|
+
"holderName": "Test Person",
|
7
|
+
"cvc": "737"
|
8
|
+
},
|
9
|
+
"amount": {
|
10
|
+
"value": 1500,
|
11
|
+
"currency": "EUR"
|
12
|
+
},
|
13
|
+
"billingAddress" : {
|
14
|
+
"country" : "US",
|
15
|
+
"city" : "Cupertino",
|
16
|
+
"street" : "Infinite Loop",
|
17
|
+
"houseNumberOrName" : "1",
|
18
|
+
"stateOrProvince" : "CA",
|
19
|
+
"postalCode" : "95014"
|
20
|
+
},
|
21
|
+
"channel": "Web",
|
22
|
+
"countryCode": "US",
|
23
|
+
"returnUrl": "www.example.com",
|
24
|
+
"shopperLocale": "en_GB",
|
25
|
+
"shopperCountry": "US",
|
26
|
+
"reference": "Merchant Reference",
|
27
|
+
"merchantAccount": "TestMerchant"
|
28
|
+
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
{
|
2
|
+
"md":"NQoFyCoAFvXlGTRTZUO/gQApqUw66VhBXLUyO8nKY+Tw8ARE6SiWcbyF1v/0vdiSB2kK3AhKRE60b896iKEw2y0UjWGhiJJvXDOgHF9rkJLE87O5VlIbC512MP+TmZamajCBeGA+rjnHLHI6Toqds+WAa2RzUcxpcFppEygpLWLwnotnOcS412WBuoylNuxBZjtLoq8e1bMui6QwYZuDXBI8eETq9p607FrzDiZu4s9LwzNrewdqsYDrHYap5hOpYGgA9Z++HDtvLtMENqfETAa1qQKFQV5WVoQQFt0kWIyn4HluxS9uxDUfaXwMN1uHv75JXH5XijDxlnkwtxxRZbF/wbAOFVCs8peenxZ4fk/TCiyBZDw3oPzmXC42WYTQPWc44GCcs7pxd97O+W2Hspa3Ic/5jbx6WT3hVePtuap32QX1ijiTZ76ucEvcRYPpSOVJ2X7S0hBJNK71XIVoiQ==",
|
3
|
+
"paResponse":"eNpVUdtuwjAM/ZWND2iStqEXmUgZnTQeym3wsKepSi2oRFtI20H39UuAji1PPufYjn0Mm71GTN5RdRoFpNg02Q6finwyisPQ5TSgPvfGEaU8GglYyjWeBHyhboq6EsyhjgtkgKZcq31WtQIydXqZzQVnrucDuSMoUc8SscGmXZalVKeu0KiB3GioshLFVn7K6XM8rQ9Fta7rHMiVBlV3Vat7wd0QyACg0wexb9tjTMj5fHayvMfKUXUJxCpAHgMtOxs1ptOlyMUi2fXzjfTSZMXS7w+eJpItVtK+CRCbAXnWonApCxil3hPjse/GfgTkykNW2hHE63ZtJOpQapa8UXC0P8kbMJqV/lJgnNZYqV5EgV1lQICXY12hyTCO/sZAHoNP36yvqjVecdcay8dBGNHB4qtguxTGGRbS8NrGAiC2lNyPR+5HNtG/4/8A8k2p9Q==",
|
4
|
+
"merchantAccount": "TestMerchant",
|
5
|
+
"shopperIP": "61.294.12.12"
|
6
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
{
|
2
|
+
"card": {
|
3
|
+
"number": "4111111111111111",
|
4
|
+
"expiryMonth": "08",
|
5
|
+
"expiryYear": "2018",
|
6
|
+
"holderName": "Test Person",
|
7
|
+
"cvc": "737"
|
8
|
+
},
|
9
|
+
"amount": {
|
10
|
+
"value": 1500,
|
11
|
+
"currency": "EUR"
|
12
|
+
},
|
13
|
+
"billingAddress" : {
|
14
|
+
"country" : "US",
|
15
|
+
"city" : "Cupertino",
|
16
|
+
"street" : "Infinite Loop",
|
17
|
+
"houseNumberOrName" : "1",
|
18
|
+
"stateOrProvince" : "CA",
|
19
|
+
"postalCode" : "95014"
|
20
|
+
},
|
21
|
+
"shopperEmail": "shopper@email.com",
|
22
|
+
"channel": "Web",
|
23
|
+
"countryCode": "US",
|
24
|
+
"returnUrl": "www.example.com",
|
25
|
+
"shopperLocale": "en_GB",
|
26
|
+
"shopperCountry": "US",
|
27
|
+
"shopperReference": "crrood",
|
28
|
+
"reference": "PM authorise card",
|
29
|
+
"merchantAccount": "TestMerchant",
|
30
|
+
"recurring": {
|
31
|
+
"contract": "PAYOUT"
|
32
|
+
}
|
33
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
{
|
2
|
+
"card": {
|
3
|
+
"number": "4111111111111111",
|
4
|
+
"expiryMonth": "08",
|
5
|
+
"expiryYear": "2018",
|
6
|
+
"holderName": "Test Person",
|
7
|
+
"cvc": "737"
|
8
|
+
},
|
9
|
+
"amount": {
|
10
|
+
"value": 1500,
|
11
|
+
"currency": "EUR"
|
12
|
+
},
|
13
|
+
"billingAddress" : {
|
14
|
+
"country" : "US",
|
15
|
+
"city" : "Cupertino",
|
16
|
+
"street" : "Infinite Loop",
|
17
|
+
"houseNumberOrName" : "1",
|
18
|
+
"stateOrProvince" : "CA",
|
19
|
+
"postalCode" : "95014"
|
20
|
+
},
|
21
|
+
"shopperEmail": "shopper@email.com",
|
22
|
+
"channel": "Web",
|
23
|
+
"countryCode": "US",
|
24
|
+
"returnUrl": "www.example.com",
|
25
|
+
"shopperLocale": "en_GB",
|
26
|
+
"shopperCountry": "US",
|
27
|
+
"shopperReference": "crrood",
|
28
|
+
"reference": "PM authorise card",
|
29
|
+
"merchantAccount": "TestMerchant",
|
30
|
+
"recurring": {
|
31
|
+
"contract": "PAYOUT"
|
32
|
+
}
|
33
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
{
|
2
|
+
"amount": {
|
3
|
+
"currency": "EUR",
|
4
|
+
"value": "1000"
|
5
|
+
},
|
6
|
+
"merchantAccount": "TestMerchant",
|
7
|
+
"recurring": {
|
8
|
+
"contract": "PAYOUT"
|
9
|
+
},
|
10
|
+
"reference": "PayoutPayment-0001",
|
11
|
+
"shopperEmail": "shopper@email.com",
|
12
|
+
"shopperReference": "TheShopperReference",
|
13
|
+
"shopperName": {
|
14
|
+
"firstName": "Adyen",
|
15
|
+
"gender": "MALE",
|
16
|
+
"lastName": "Test"
|
17
|
+
},
|
18
|
+
"dateOfBirth": "1990-01-01",
|
19
|
+
"entityType": "Company",
|
20
|
+
"nationality": "NL",
|
21
|
+
"selectedRecurringDetailReference": "LATEST"
|
22
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"card": {
|
3
|
+
"number": "4111111111111111",
|
4
|
+
"expiryMonth": "8",
|
5
|
+
"expiryYear": "2018",
|
6
|
+
"cvc": "737",
|
7
|
+
"holderName": "John Smith"
|
8
|
+
},
|
9
|
+
"reference": "Merchant Reference",
|
10
|
+
"merchantAccount": "TestMerchant",
|
11
|
+
"shopperReference": "shopperReference",
|
12
|
+
"recurring": {
|
13
|
+
"contract": "RECURRING"
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,116 @@
|
|
1
|
+
{
|
2
|
+
"pspReference":"9914913131270184",
|
3
|
+
"submittedAsync":"false",
|
4
|
+
"accountHolderCode":"TestAccountHolder781664",
|
5
|
+
"accountCode":"140922935",
|
6
|
+
"accountHolderDetails":{
|
7
|
+
"address":{
|
8
|
+
"city":"Amsterdam",
|
9
|
+
"country":"US",
|
10
|
+
"houseNumberOrName":"10",
|
11
|
+
"postalCode":"12345",
|
12
|
+
"stateOrProvince":"NH",
|
13
|
+
"street":"Teststreet 1"
|
14
|
+
},
|
15
|
+
"bankAccountDetails":[
|
16
|
+
{
|
17
|
+
"BankAccountDetail":{
|
18
|
+
"accountNumber":"12345678",
|
19
|
+
"bankAccountName":"baName",
|
20
|
+
"bankAccountUUID":"681d5df6-cf38-4557-aecd-ac8ed0c04195",
|
21
|
+
"bankBicSwift":"BicSUSft",
|
22
|
+
"bankCity":"city",
|
23
|
+
"bankName":"bankName",
|
24
|
+
"branchCode":"122105155",
|
25
|
+
"countryCode":"US",
|
26
|
+
"currencyCode":"EUR",
|
27
|
+
"iban":"iban",
|
28
|
+
"ownerCity":"ownerCity",
|
29
|
+
"ownerCountryCode":"BE",
|
30
|
+
"ownerDateOfBirth":"1980-01-01",
|
31
|
+
"ownerHouseNumberOrName":"houseNumberOrName",
|
32
|
+
"ownerName":"ownerName",
|
33
|
+
"ownerNationality":"AD",
|
34
|
+
"ownerPostalCode":"ownerPostalCode",
|
35
|
+
"ownerState":"ownerState",
|
36
|
+
"ownerStreet":"ownerStreet",
|
37
|
+
"primaryAccount":"true",
|
38
|
+
"taxId":"bankTaxId"
|
39
|
+
}
|
40
|
+
}
|
41
|
+
],
|
42
|
+
"email":"test@adyen.com",
|
43
|
+
"individualDetails":{
|
44
|
+
"name":{
|
45
|
+
"firstName":"First name",
|
46
|
+
"gender":"MALE",
|
47
|
+
"lastName":"Last name"
|
48
|
+
},
|
49
|
+
"personalData":{
|
50
|
+
"dateOfBirth":"1970-01-01",
|
51
|
+
"idNumber":"1234567890",
|
52
|
+
"nationality":"NL"
|
53
|
+
}
|
54
|
+
},
|
55
|
+
"merchantCategoryCode":"7999",
|
56
|
+
"phoneNumber":{
|
57
|
+
"phoneCountryCode":"NL",
|
58
|
+
"phoneNumber":"0612345678",
|
59
|
+
"phoneType":"Mobile"
|
60
|
+
},
|
61
|
+
"webAddress":"http:\/\/www.adyen.com"
|
62
|
+
},
|
63
|
+
"accountHolderStatus":{
|
64
|
+
"status":"Active",
|
65
|
+
"processingState":{
|
66
|
+
"processedFrom":{
|
67
|
+
"currency":"GBP",
|
68
|
+
"value":0
|
69
|
+
},
|
70
|
+
"processedTo":{
|
71
|
+
"currency":"GBP",
|
72
|
+
"value":9999
|
73
|
+
}
|
74
|
+
},
|
75
|
+
"payoutState":{
|
76
|
+
"allowPayout":"true",
|
77
|
+
"payoutLimit":{
|
78
|
+
"currency":"GBP",
|
79
|
+
"value":49999
|
80
|
+
}
|
81
|
+
}
|
82
|
+
},
|
83
|
+
"legalEntity":"Individual",
|
84
|
+
"verification":{
|
85
|
+
"accountHolder":{
|
86
|
+
"checks":[
|
87
|
+
{
|
88
|
+
"type":"PASSPORT_VERIFICATION",
|
89
|
+
"status":"AWAITING_DATA",
|
90
|
+
"requiredFields":[
|
91
|
+
"AccountHolderDetails.Document.passport"
|
92
|
+
]
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"type":"IDENTITY_VERIFICATION",
|
96
|
+
"status":"PASSED",
|
97
|
+
"summary":{
|
98
|
+
"code":1602,
|
99
|
+
"description":"Passed"
|
100
|
+
}
|
101
|
+
}
|
102
|
+
]
|
103
|
+
},
|
104
|
+
"bankAccounts":[
|
105
|
+
{
|
106
|
+
"bankAccountUUID":"2f11df0b-a265-47ae-89c0-3d892066e7f5",
|
107
|
+
"checks":[
|
108
|
+
{
|
109
|
+
"type":"BANK_ACCOUNT_VERIFICATION",
|
110
|
+
"status":"PASSED"
|
111
|
+
}
|
112
|
+
]
|
113
|
+
}
|
114
|
+
]
|
115
|
+
}
|
116
|
+
}
|