webpay 2.4.1 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +0 -2
  3. data/Rakefile +0 -6
  4. data/lib/webpay/account.rb +19 -24
  5. data/lib/webpay/api_resource.rb +5 -0
  6. data/lib/webpay/charge.rb +48 -27
  7. data/lib/webpay/customer.rb +56 -91
  8. data/lib/webpay/data_types.rb +2069 -0
  9. data/lib/webpay/error.rb +68 -0
  10. data/lib/webpay/event.rb +19 -16
  11. data/lib/webpay/recursion.rb +47 -46
  12. data/lib/webpay/shop.rb +37 -68
  13. data/lib/webpay/token.rb +19 -10
  14. data/lib/webpay.rb +114 -77
  15. data/webpay.gemspec +6 -13
  16. metadata +16 -179
  17. data/.rspec +0 -2
  18. data/.travis.yml +0 -12
  19. data/LICENSE.txt +0 -22
  20. data/README.md +0 -52
  21. data/gemfiles/no_doc_gems +0 -14
  22. data/lib/data/ca-certificates.crt +0 -3829
  23. data/lib/webpay/card.rb +0 -13
  24. data/lib/webpay/client.rb +0 -81
  25. data/lib/webpay/deleted_entity.rb +0 -8
  26. data/lib/webpay/entity.rb +0 -71
  27. data/lib/webpay/entity_list.rb +0 -25
  28. data/lib/webpay/fee.rb +0 -13
  29. data/lib/webpay/operations.rb +0 -49
  30. data/lib/webpay/response_converter.rb +0 -57
  31. data/lib/webpay/version.rb +0 -5
  32. data/lib/webpay/webpay_error.rb +0 -126
  33. data/spec/resources/account/delete.txt +0 -15
  34. data/spec/resources/account/retrieve.txt +0 -23
  35. data/spec/resources/charges/all.txt +0 -139
  36. data/spec/resources/charges/capture.txt +0 -49
  37. data/spec/resources/charges/create_with_card.txt +0 -49
  38. data/spec/resources/charges/create_with_customer.txt +0 -49
  39. data/spec/resources/charges/refund.txt +0 -57
  40. data/spec/resources/charges/retrieve.txt +0 -49
  41. data/spec/resources/charges/retrieve_not_captured.txt +0 -42
  42. data/spec/resources/customers/all.txt +0 -76
  43. data/spec/resources/customers/create.txt +0 -31
  44. data/spec/resources/customers/delete.txt +0 -16
  45. data/spec/resources/customers/retrieve.txt +0 -63
  46. data/spec/resources/customers/retrieve_deleted.txt +0 -16
  47. data/spec/resources/customers/update.txt +0 -31
  48. data/spec/resources/errors/bad_request.txt +0 -18
  49. data/spec/resources/errors/broken_json.txt +0 -16
  50. data/spec/resources/errors/card_error.txt +0 -19
  51. data/spec/resources/errors/not_found.txt +0 -18
  52. data/spec/resources/errors/not_found_ja.txt +0 -20
  53. data/spec/resources/errors/unauthorized.txt +0 -16
  54. data/spec/resources/errors/unknown_api_error.txt +0 -17
  55. data/spec/resources/events/all_with_type.txt +0 -164
  56. data/spec/resources/events/retrieve.txt +0 -41
  57. data/spec/resources/recursions/all.txt +0 -61
  58. data/spec/resources/recursions/create.txt +0 -26
  59. data/spec/resources/recursions/delete.txt +0 -16
  60. data/spec/resources/recursions/resume.txt +0 -26
  61. data/spec/resources/recursions/retrieve.txt +0 -26
  62. data/spec/resources/recursions/retrieve_deleted.txt +0 -16
  63. data/spec/resources/recursions/retrieve_suspended.txt +0 -26
  64. data/spec/resources/shops/all.txt +0 -122
  65. data/spec/resources/shops/create.txt +0 -54
  66. data/spec/resources/shops/retrieve.txt +0 -54
  67. data/spec/resources/shops/update.txt +0 -55
  68. data/spec/resources/tokens/create.txt +0 -30
  69. data/spec/resources/tokens/retrieve.txt +0 -30
  70. data/spec/spec_helper.rb +0 -37
  71. data/spec/webpay/account_spec.rb +0 -24
  72. data/spec/webpay/charge_spec.rb +0 -143
  73. data/spec/webpay/customer_spec.rb +0 -109
  74. data/spec/webpay/event_spec.rb +0 -30
  75. data/spec/webpay/recursion_spec.rb +0 -93
  76. data/spec/webpay/shop_spec.rb +0 -121
  77. data/spec/webpay/token_spec.rb +0 -33
  78. data/spec/webpay/webpay_error_spec.rb +0 -64
  79. data/spec/webpay_spec.rb +0 -40
@@ -1,164 +0,0 @@
1
- HTTP/1.1 200 OK
2
- Content-Type: application/json; charset=utf-8
3
- X-Ua-Compatible: IE=Edge
4
- Etag: "7d53b76d2237158c0fc7b5f5459d714d"
5
- Cache-Control: max-age=0, private, must-revalidate
6
- X-Request-Id: fcd29143ad3497fc0d82d62d95bbdf99
7
- X-Runtime: 0.020917
8
- Server: WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
9
- Date: Wed, 11 Sep 2013 12:11:21 GMT
10
- Content-Length: 4165
11
- Connection: Keep-Alive
12
-
13
- {
14
- "object": "list",
15
- "url": "/v1/events",
16
- "count": 5,
17
- "data": [
18
- {
19
- "id": "evt_39o9oUevb5NCeM1",
20
- "object": "event",
21
- "livemode": false,
22
- "type": "customer.created",
23
- "created": 1378823309,
24
- "data": {
25
- "object": {
26
- "id": "cus_39o9oU1N1dRm4LZ",
27
- "object": "customer",
28
- "livemode": false,
29
- "created": 1378823309,
30
- "email": "customer@example.com",
31
- "description": "Test Customer from Java",
32
- "active_card": {
33
- "object": "card",
34
- "exp_year": 2015,
35
- "exp_month": 12,
36
- "fingerprint": "215b5b2fe460809b8bb90bae6eeac0e0e0987bd7",
37
- "name": "YUUKO SHIONJI",
38
- "country": "JP",
39
- "type": "Visa",
40
- "cvc_check": "pass",
41
- "last4": "4242"
42
- }
43
- }
44
- },
45
- "pending_webhooks": 0
46
- },
47
- {
48
- "id": "evt_39o9gEcCZ7SRfFA",
49
- "object": "event",
50
- "livemode": false,
51
- "type": "customer.created",
52
- "created": 1378823307,
53
- "data": {
54
- "object": {
55
- "id": "cus_39o9gEeyUdvU8z8",
56
- "object": "customer",
57
- "livemode": false,
58
- "created": 1378823307,
59
- "email": "customer@example.com",
60
- "description": "Test Customer from Java",
61
- "active_card": {
62
- "object": "card",
63
- "exp_year": 2015,
64
- "exp_month": 12,
65
- "fingerprint": "215b5b2fe460809b8bb90bae6eeac0e0e0987bd7",
66
- "name": "YUUKO SHIONJI",
67
- "country": "JP",
68
- "type": "Visa",
69
- "cvc_check": "pass",
70
- "last4": "4242"
71
- }
72
- }
73
- },
74
- "pending_webhooks": 0
75
- },
76
- {
77
- "id": "evt_39o84k5JA4dJ16q",
78
- "object": "event",
79
- "livemode": false,
80
- "type": "customer.created",
81
- "created": 1378823289,
82
- "data": {
83
- "object": {
84
- "id": "cus_39o84k2hng8P87Q",
85
- "object": "customer",
86
- "livemode": false,
87
- "created": 1378823289,
88
- "email": "customer@example.com",
89
- "description": "Test Customer from Java",
90
- "active_card": {
91
- "object": "card",
92
- "exp_year": 2015,
93
- "exp_month": 12,
94
- "fingerprint": "215b5b2fe460809b8bb90bae6eeac0e0e0987bd7",
95
- "name": "YUUKO SHIONJI",
96
- "country": "JP",
97
- "type": "Visa",
98
- "cvc_check": "pass",
99
- "last4": "4242"
100
- }
101
- }
102
- },
103
- "pending_webhooks": 0
104
- },
105
- {
106
- "id": "evt_39o4Fv8fCeOccr0",
107
- "object": "event",
108
- "livemode": false,
109
- "type": "customer.created",
110
- "created": 1378819398,
111
- "data": {
112
- "object": {
113
- "id": "cus_39o4Fv82E1et5Xb",
114
- "object": "customer",
115
- "livemode": false,
116
- "created": 1378819398,
117
- "email": "customer@example.com",
118
- "description": "Test Customer from Java",
119
- "active_card": {
120
- "object": "card",
121
- "exp_year": 2015,
122
- "exp_month": 12,
123
- "fingerprint": "215b5b2fe460809b8bb90bae6eeac0e0e0987bd7",
124
- "name": "YUUKO SHIONJI",
125
- "country": "JP",
126
- "type": "Visa",
127
- "cvc_check": "pass",
128
- "last4": "4242"
129
- }
130
- }
131
- },
132
- "pending_webhooks": 0
133
- },
134
- {
135
- "id": "evt_2CmdiFe912ypb8z",
136
- "object": "event",
137
- "livemode": false,
138
- "type": "customer.created",
139
- "created": 1378335175,
140
- "data": {
141
- "object": {
142
- "id": "cus_2CmdiF58G3Ok0Ia",
143
- "object": "customer",
144
- "livemode": false,
145
- "created": 1378335175,
146
- "email": null,
147
- "description": null,
148
- "active_card": {
149
- "object": "card",
150
- "exp_year": 2017,
151
- "exp_month": 4,
152
- "fingerprint": "032c9ed7343b5947cfcb28510bc3f32e0621cd74",
153
- "name": "DEE EMMERICH",
154
- "country": "JP",
155
- "type": "Visa",
156
- "cvc_check": "pass",
157
- "last4": "4242"
158
- }
159
- }
160
- },
161
- "pending_webhooks": 0
162
- }
163
- ]
164
- }
@@ -1,41 +0,0 @@
1
- HTTP/1.1 200 OK
2
- Content-Type: application/json; charset=utf-8
3
- X-Ua-Compatible: IE=Edge
4
- Etag: "82c5b217d10ddfa51f97be68e64e36bf"
5
- Cache-Control: max-age=0, private, must-revalidate
6
- X-Request-Id: d90b88bc64cc2ebe6c6c5bbdc7c89db4
7
- X-Runtime: 0.014599
8
- Server: WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
9
- Date: Wed, 11 Sep 2013 12:28:48 GMT
10
- Content-Length: 709
11
- Connection: Keep-Alive
12
-
13
- {
14
- "id": "evt_39o9oUevb5NCeM1",
15
- "object": "event",
16
- "livemode": false,
17
- "type": "customer.created",
18
- "created": 1378823309,
19
- "data": {
20
- "object": {
21
- "id": "cus_39o9oU1N1dRm4LZ",
22
- "object": "customer",
23
- "livemode": false,
24
- "created": 1378823309,
25
- "email": "customer@example.com",
26
- "description": "Test Customer from Java",
27
- "active_card": {
28
- "object": "card",
29
- "exp_year": 2015,
30
- "exp_month": 12,
31
- "fingerprint": "215b5b2fe460809b8bb90bae6eeac0e0e0987bd7",
32
- "name": "YUUKO SHIONJI",
33
- "country": "JP",
34
- "type": "Visa",
35
- "cvc_check": "pass",
36
- "last4": "4242"
37
- }
38
- }
39
- },
40
- "pending_webhooks": 0
41
- }
@@ -1,61 +0,0 @@
1
- HTTP/1.1 200 OK
2
- Content-Type: application/json; charset=utf-8
3
- X-Ua-Compatible: IE=Edge
4
- Etag: "85a874114a18027d48c30b768d7d795f"
5
- Cache-Control: max-age=0, private, must-revalidate
6
- X-Request-Id: 0f1a2a36522cabe66be6a7bd3b5d31ec
7
- X-Runtime: 0.010103
8
- Server: WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
9
- Date: Fri, 18 Apr 2014 06:44:15 GMT
10
- Content-Length: 1109
11
- Connection: Keep-Alive
12
-
13
- {
14
- "object": "list",
15
- "url": "/v1/recursions",
16
- "count": 5,
17
- "data": [
18
- {
19
- "id": "rec_5lF9aV07v9IR3L0",
20
- "object": "recursion",
21
- "livemode": false,
22
- "created": 1397803401,
23
- "amount": 400,
24
- "currency": "jpy",
25
- "period": "month",
26
- "description": "Test4",
27
- "customer": "cus_5lF6YD7mq3dWdzB",
28
- "shop": null,
29
- "attempted": null,
30
- "status": "active"
31
- },
32
- {
33
- "id": "rec_5lF8Yxc6V65c7zc",
34
- "object": "recursion",
35
- "livemode": false,
36
- "created": 1397803398,
37
- "amount": 400,
38
- "currency": "jpy",
39
- "period": "month",
40
- "description": "Test3",
41
- "customer": "cus_5lF6YD7mq3dWdzB",
42
- "shop": null,
43
- "attempted": null,
44
- "status": "active"
45
- },
46
- {
47
- "id": "rec_5lF8UpcBrfAj0Rz",
48
- "object": "recursion",
49
- "livemode": false,
50
- "created": 1397803397,
51
- "amount": 400,
52
- "currency": "jpy",
53
- "period": "month",
54
- "description": "Test2",
55
- "customer": "cus_5lF6YD7mq3dWdzB",
56
- "shop": null,
57
- "attempted": null,
58
- "status": "active"
59
- }
60
- ]
61
- }
@@ -1,26 +0,0 @@
1
- HTTP/1.1 201 Created
2
- Content-Type: application/json; charset=utf-8
3
- X-Ua-Compatible: IE=Edge
4
- Etag: "37625663f15f24dec9ef0739d046d14b"
5
- Cache-Control: max-age=0, private, must-revalidate
6
- X-Request-Id: faae37f4e9971a2e20ff3740bcdf8675
7
- X-Runtime: 0.415393
8
- Server: WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
9
- Date: Fri, 18 Apr 2014 06:35:06 GMT
10
- Content-Length: 308
11
- Connection: Keep-Alive
12
-
13
- {
14
- "id": "rec_5lFaeX56W7bkdKR",
15
- "object": "recursion",
16
- "livemode": false,
17
- "created": 1397802905,
18
- "amount": 400,
19
- "currency": "jpy",
20
- "period": "month",
21
- "description": "WebPayマガジン購読料",
22
- "customer": "cus_5lF6YD7mq3dWdzB",
23
- "shop": null,
24
- "attempted": null,
25
- "status": "active"
26
- }
@@ -1,16 +0,0 @@
1
- HTTP/1.1 200 OK
2
- Content-Type: application/json; charset=utf-8
3
- X-Ua-Compatible: IE=Edge
4
- Etag: "ab1d4d4a559e3f8eb960027a141a54a3"
5
- Cache-Control: max-age=0, private, must-revalidate
6
- X-Request-Id: f5ee127050e68d06e0c2e1c070679111
7
- X-Runtime: 0.293522
8
- Server: WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
9
- Date: Fri, 18 Apr 2014 07:53:07 GMT
10
- Content-Length: 53
11
- Connection: Keep-Alive
12
-
13
- {
14
- "id": "rec_5lFaeX56W7bkdKR",
15
- "deleted": true
16
- }
@@ -1,26 +0,0 @@
1
- HTTP/1.1 200 OK
2
- Content-Type: application/json; charset=utf-8
3
- X-Ua-Compatible: IE=Edge
4
- Etag: "24621c69f613b6fccdc9d4a4a8abf3fb"
5
- Cache-Control: max-age=0, private, must-revalidate
6
- X-Request-Id: a008ef1567889291bb1829fbc51d1431
7
- X-Runtime: 0.980437
8
- Server: WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
9
- Date: Fri, 18 Apr 2014 06:47:17 GMT
10
- Content-Length: 292
11
- Connection: Keep-Alive
12
-
13
- {
14
- "id": "rec_5lF8UpcBrfAj0Rz",
15
- "object": "recursion",
16
- "livemode": false,
17
- "created": 1397803397,
18
- "amount": 400,
19
- "currency": "jpy",
20
- "period": "month",
21
- "description": "Test2",
22
- "customer": "cus_5lF6YD7mq3dWdzB",
23
- "shop": null,
24
- "attempted": 1397803500,
25
- "status": "active"
26
- }
@@ -1,26 +0,0 @@
1
- HTTP/1.1 200 OK
2
- Content-Type: application/json; charset=utf-8
3
- X-Ua-Compatible: IE=Edge
4
- Etag: "9a39c473972ee2c6c7d9bd4f7ed998c9"
5
- Cache-Control: max-age=0, private, must-revalidate
6
- X-Request-Id: 1a3babf541f3500faeee6f37cc4014e7
7
- X-Runtime: 0.008752
8
- Server: WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
9
- Date: Fri, 18 Apr 2014 06:42:32 GMT
10
- Content-Length: 314
11
- Connection: Keep-Alive
12
-
13
- {
14
- "id": "rec_5lFaeX56W7bkdKR",
15
- "object": "recursion",
16
- "livemode": false,
17
- "created": 1397802905,
18
- "amount": 400,
19
- "currency": "jpy",
20
- "period": "month",
21
- "description": "WebPayマガジン購読料",
22
- "customer": "cus_5lF6YD7mq3dWdzB",
23
- "shop": null,
24
- "attempted": 1397803007,
25
- "status": "active"
26
- }
@@ -1,16 +0,0 @@
1
- HTTP/1.1 200 OK
2
- Content-Type: application/json; charset=utf-8
3
- X-Ua-Compatible: IE=Edge
4
- Etag: "5f69aa9cd4f51a072ee1d717727fbbc2"
5
- Cache-Control: max-age=0, private, must-revalidate
6
- X-Request-Id: 763d8f6e2a44ffa75a74d765fc7ebc11
7
- X-Runtime: 0.006094
8
- Server: WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
9
- Date: Fri, 18 Apr 2014 06:48:04 GMT
10
- Content-Length: 53
11
- Connection: Keep-Alive
12
-
13
- {
14
- "id": "rec_5lF8M9bka5Ov4Po",
15
- "deleted": true
16
- }
@@ -1,26 +0,0 @@
1
- HTTP/1.1 200 OK
2
- Content-Type: application/json; charset=utf-8
3
- X-Ua-Compatible: IE=Edge
4
- Etag: "12698e0d94810f39f72a419511570eae"
5
- Cache-Control: max-age=0, private, must-revalidate
6
- X-Request-Id: e2e4a33762953b14b091e0a2398b421a
7
- X-Runtime: 0.008016
8
- Server: WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
9
- Date: Fri, 18 Apr 2014 07:59:16 GMT
10
- Content-Length: 295
11
- Connection: Keep-Alive
12
-
13
- {
14
- "id": "rec_5lF8UpcBrfAj0Rz",
15
- "object": "recursion",
16
- "livemode": false,
17
- "created": 1397803397,
18
- "amount": 400,
19
- "currency": "jpy",
20
- "period": "month",
21
- "description": "Test2",
22
- "customer": "cus_5lF6YD7mq3dWdzB",
23
- "shop": null,
24
- "attempted": 1397803500,
25
- "status": "suspended"
26
- }
@@ -1,122 +0,0 @@
1
- HTTP/1.1 200 OK
2
- Content-Type: application/json; charset=utf-8
3
- X-Ua-Compatible: IE=Edge
4
- Etag: "b48ac5b36f03530f3aeb0ab8cf938776"
5
- Cache-Control: max-age=0, private, must-revalidate
6
- X-Request-Id: 4649874c8b3784ddc5efceab0fc13974
7
- X-Runtime: 0.045599
8
- Server: WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
9
- Date: Sat, 05 Apr 2014 13:59:50 GMT
10
- Content-Length: 3720
11
- Connection: Keep-Alive
12
-
13
- {
14
- "object": "list",
15
- "url": "/v1/shops",
16
- "count": 7,
17
- "data": [
18
- {
19
- "id": "sh_4hB3x19La1tr0Lu",
20
- "object": "shop",
21
- "livemode": false,
22
- "status": "created",
23
- "description": "Sample Shop",
24
- "access_key": "shop_8Yp3sy4HberKgut6vy4Ss6FA",
25
- "created": 1396706101,
26
- "details": {
27
- "url": "https://webpay.jp",
28
- "name": "WebPay",
29
- "name_alphabet": "WEBPAY",
30
- "name_kana": "ウェブペイ",
31
- "product": "クレジットカード決済API",
32
- "pricing_url": "https://webpay.jp/pricing",
33
- "commercial_law_url": "https://webpay.jp/company",
34
- "price_min": "30",
35
- "price_max": "50000",
36
- "price_average": "4000",
37
- "zipcode": "1410022",
38
- "address": "東京都品川区東品川2丁目2-28 タチバナビル2F",
39
- "address_kana": "トウキョウトシナガワクヒガシシナガワ2チョウメ2-28 タチバナビル2F",
40
- "applicant_name": "曾川景介",
41
- "applicant_name_kana": "ソガワケイスケ",
42
- "applicant_email": "sowawa@webpay.jp",
43
- "applicant_phone": "03-4589-4747",
44
- "company_name": "ウェブペイ株式会社",
45
- "company_name_kana": "ウェブペイカブシキガイシャ",
46
- "company_phone": "03-4589-4747",
47
- "company_found_date": "20130601",
48
- "company_president_name": "久保渓",
49
- "company_president_name_kana": "クボケイ"
50
- },
51
- "statement_descriptor": null,
52
- "card_types_supported": [
53
- "Visa",
54
- "American Express",
55
- "MasterCard",
56
- "JCB",
57
- "Diners Club"
58
- ]
59
- },
60
- {
61
- "id": "sh_4hBfnVcoNdRw0Jj",
62
- "object": "shop",
63
- "livemode": false,
64
- "status": "created",
65
- "description": "最新の店子",
66
- "access_key": "shop_1Qy9XO2G56ru4DedFFgjr3vZ",
67
- "created": 1396705255,
68
- "details": {
69
- "url": "https://new.example.com",
70
- "name": "WebPay",
71
- "name_alphabet": "WEBPAY",
72
- "name_kana": "ウェブペイ",
73
- "product": "クレジットカード決済API",
74
- "pricing_url": "https://webpay.jp/pricing",
75
- "commercial_law_url": "https://webpay.jp/company",
76
- "price_min": "30",
77
- "price_max": "50000",
78
- "price_average": "4000",
79
- "zipcode": "1410022",
80
- "address": "東京都品川区東品川2丁目2-28 タチバナビル2F",
81
- "address_kana": "トウキョウトシナガワクヒガシシナガワ2チョウメ2-28 タチバナビル2F",
82
- "applicant_name": "曾川景介",
83
- "applicant_name_kana": "ソガワケイスケ",
84
- "applicant_email": "sowawa@webpay.jp",
85
- "applicant_phone": "03-4589-4747",
86
- "company_name": "ウェブペイ株式会社",
87
- "company_name_kana": "ウェブペイカブシキガイシャ",
88
- "company_phone": "03-4589-4747",
89
- "company_found_date": "20130601",
90
- "company_president_name": "久保渓",
91
- "company_president_name_kana": "クボケイ",
92
- "company_president_birth_date": "19850810"
93
- },
94
- "statement_descriptor": null,
95
- "card_types_supported": [
96
- "Visa",
97
- "American Express",
98
- "MasterCard",
99
- "JCB",
100
- "Diners Club"
101
- ]
102
- },
103
- {
104
- "id": "sh_4hB4JjdP11YT9Qs",
105
- "object": "shop",
106
- "livemode": false,
107
- "status": "created",
108
- "description": "test4",
109
- "access_key": "shop_5y26Ulc6w5bAgb28jM1Nv4RL",
110
- "created": 1396705607,
111
- "details": null,
112
- "statement_descriptor": null,
113
- "card_types_supported": [
114
- "Visa",
115
- "American Express",
116
- "MasterCard",
117
- "JCB",
118
- "Diners Club"
119
- ]
120
- }
121
- ]
122
- }
@@ -1,54 +0,0 @@
1
- HTTP/1.1 200 OK
2
- Content-Type: application/json; charset=utf-8
3
- X-Ua-Compatible: IE=Edge
4
- Etag: "1cb9c156621a509dbcd11f65655eac77"
5
- Cache-Control: max-age=0, private, must-revalidate
6
- X-Request-Id: cb54cd8a7a140ab9408e8e1fa45707cb
7
- X-Runtime: 0.381446
8
- Server: WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
9
- Date: Sat, 05 Apr 2014 13:55:01 GMT
10
- Content-Length: 1404
11
- Connection: Keep-Alive
12
-
13
- {
14
- "id": "sh_4hB3x19La1tr0Lu",
15
- "object": "shop",
16
- "livemode": false,
17
- "status": "created",
18
- "description": "Sample Shop",
19
- "access_key": "shop_8Yp3sy4HberKgut6vy4Ss6FA",
20
- "created": 1396706101,
21
- "details": {
22
- "url": "https://webpay.jp",
23
- "name": "WebPay",
24
- "name_alphabet": "WEBPAY",
25
- "name_kana": "ウェブペイ",
26
- "product": "クレジットカード決済API",
27
- "pricing_url": "https://webpay.jp/pricing",
28
- "commercial_law_url": "https://webpay.jp/company",
29
- "price_min": "30",
30
- "price_max": "50000",
31
- "price_average": "4000",
32
- "zipcode": "1410022",
33
- "address": "東京都品川区東品川2丁目2-28 タチバナビル2F",
34
- "address_kana": "トウキョウトシナガワクヒガシシナガワ2チョウメ2-28 タチバナビル2F",
35
- "applicant_name": "曾川景介",
36
- "applicant_name_kana": "ソガワケイスケ",
37
- "applicant_email": "sowawa@webpay.jp",
38
- "applicant_phone": "03-4589-4747",
39
- "company_name": "ウェブペイ株式会社",
40
- "company_name_kana": "ウェブペイカブシキガイシャ",
41
- "company_phone": "03-4589-4747",
42
- "company_found_date": "20130601",
43
- "company_president_name": "久保渓",
44
- "company_president_name_kana": "クボケイ"
45
- },
46
- "statement_descriptor": null,
47
- "card_types_supported": [
48
- "Visa",
49
- "American Express",
50
- "MasterCard",
51
- "JCB",
52
- "Diners Club"
53
- ]
54
- }
@@ -1,54 +0,0 @@
1
- HTTP/1.1 200 OK
2
- Content-Type: application/json; charset=utf-8
3
- X-Ua-Compatible: IE=Edge
4
- Etag: "fbc3a10c62e15c8be01d2cfade7f46c6"
5
- Cache-Control: max-age=0, private, must-revalidate
6
- X-Request-Id: eed408fc7f696cd877846b8b3d03dcde
7
- X-Runtime: 0.008473
8
- Server: WEBrick/1.3.1 (Ruby/1.9.3/2013-02-22)
9
- Date: Sat, 05 Apr 2014 13:45:40 GMT
10
- Content-Length: 1395
11
- Connection: Keep-Alive
12
-
13
- {
14
- "id": "sh_4hBfnVcoNdRw0Jj",
15
- "object": "shop",
16
- "livemode": false,
17
- "status": "created",
18
- "description": null,
19
- "access_key": "shop_1Qy9XO2G56ru4DedFFgjr3vZ",
20
- "created": 1396705255,
21
- "details": {
22
- "url": "https://webpay.jp",
23
- "name": "WebPay",
24
- "name_alphabet": "WEBPAY",
25
- "name_kana": "ウェブペイ",
26
- "product": "クレジットカード決済API",
27
- "pricing_url": "https://webpay.jp/pricing",
28
- "commercial_law_url": "https://webpay.jp/company",
29
- "price_min": "30",
30
- "price_max": "50000",
31
- "price_average": "4000",
32
- "zipcode": "1410022",
33
- "address": "東京都品川区東品川2丁目2-28 タチバナビル2F",
34
- "address_kana": "トウキョウトシナガワクヒガシシナガワ2チョウメ2-28 タチバナビル2F",
35
- "applicant_name": "曾川景介",
36
- "applicant_name_kana": "ソガワケイスケ",
37
- "applicant_email": "sowawa@webpay.jp",
38
- "applicant_phone": "03-4589-4747",
39
- "company_name": "ウェブペイ株式会社",
40
- "company_name_kana": "ウェブペイカブシキガイシャ",
41
- "company_phone": "03-4589-4747",
42
- "company_found_date": "20130601",
43
- "company_president_name": "久保渓",
44
- "company_president_name_kana": "クボケイ"
45
- },
46
- "statement_descriptor": null,
47
- "card_types_supported": [
48
- "Visa",
49
- "American Express",
50
- "MasterCard",
51
- "JCB",
52
- "Diners Club"
53
- ]
54
- }