pokepay_partner_ruby_sdk 0.1.19 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/docs/index.md +245 -271
- data/lib/pokepay_partner_ruby_sdk/request/get_private_money_summary.rb +15 -0
- data/lib/pokepay_partner_ruby_sdk/request/get_transaction_by_request_id.rb +15 -0
- data/lib/pokepay_partner_ruby_sdk/request/list_transactions_v2.rb +2 -2
- data/lib/pokepay_partner_ruby_sdk/response/account.rb +1 -2
- data/lib/pokepay_partner_ruby_sdk/response/account_detail.rb +1 -2
- data/lib/pokepay_partner_ruby_sdk/response/account_with_user.rb +1 -2
- data/lib/pokepay_partner_ruby_sdk/response/account_without_private_money_detail.rb +1 -2
- data/lib/pokepay_partner_ruby_sdk/response/private_money_summary.rb +27 -0
- data/lib/pokepay_partner_ruby_sdk/version.rb +1 -1
- data/lib/pokepay_partner_ruby_sdk.rb +3 -1
- data/partner.yaml +150 -30
- metadata +5 -3
- data/lib/pokepay_partner_ruby_sdk/response/account_status.rb +0 -11
@@ -0,0 +1,15 @@
|
|
1
|
+
# DO NOT EDIT: File is generated by code generator.
|
2
|
+
|
3
|
+
require "pokepay_partner_ruby_sdk/response/private_money_summary"
|
4
|
+
|
5
|
+
module Pokepay::Request
|
6
|
+
class GetPrivateMoneySummary < Request
|
7
|
+
def initialize(private_money_id, rest_args = {})
|
8
|
+
@path = "/private-moneys" + "/" + private_money_id + "/summary"
|
9
|
+
@method = "GET"
|
10
|
+
@body_params = { }.merge(rest_args)
|
11
|
+
@response_class = Pokepay::Response::PrivateMoneySummary
|
12
|
+
end
|
13
|
+
attr_reader :response_class
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# DO NOT EDIT: File is generated by code generator.
|
2
|
+
|
3
|
+
require "pokepay_partner_ruby_sdk/response/transaction_detail"
|
4
|
+
|
5
|
+
module Pokepay::Request
|
6
|
+
class GetTransactionByRequestId < Request
|
7
|
+
def initialize(request_id)
|
8
|
+
@path = "/transactions" + "/requests" + "/" + request_id
|
9
|
+
@method = "GET"
|
10
|
+
@body_params = { }
|
11
|
+
@response_class = Pokepay::Response::TransactionDetail
|
12
|
+
end
|
13
|
+
attr_reader :response_class
|
14
|
+
end
|
15
|
+
end
|
@@ -4,10 +4,10 @@ require "pokepay_partner_ruby_sdk/response/paginated_transaction_v2"
|
|
4
4
|
|
5
5
|
module Pokepay::Request
|
6
6
|
class ListTransactionsV2 < Request
|
7
|
-
def initialize(
|
7
|
+
def initialize(rest_args = {})
|
8
8
|
@path = "/transactions-v2"
|
9
9
|
@method = "GET"
|
10
|
-
@body_params = {
|
10
|
+
@body_params = { }.merge(rest_args)
|
11
11
|
@response_class = Pokepay::Response::PaginatedTransactionV2
|
12
12
|
end
|
13
13
|
attr_reader :response_class
|
@@ -1,6 +1,5 @@
|
|
1
1
|
# DO NOT EDIT: File is generated by code generator.
|
2
2
|
|
3
|
-
require "pokepay_partner_ruby_sdk/response/account_status"
|
4
3
|
require "pokepay_partner_ruby_sdk/response/private_money"
|
5
4
|
|
6
5
|
module Pokepay::Response
|
@@ -9,7 +8,7 @@ module Pokepay::Response
|
|
9
8
|
@id = row["id"]
|
10
9
|
@name = row["name"]
|
11
10
|
@is_suspended = row["is_suspended"]
|
12
|
-
@status =
|
11
|
+
@status = row["status"]
|
13
12
|
@private_money = PrivateMoney.new(row["private_money"])
|
14
13
|
end
|
15
14
|
attr_reader :id
|
@@ -1,6 +1,5 @@
|
|
1
1
|
# DO NOT EDIT: File is generated by code generator.
|
2
2
|
|
3
|
-
require "pokepay_partner_ruby_sdk/response/account_status"
|
4
3
|
require "pokepay_partner_ruby_sdk/response/private_money"
|
5
4
|
require "pokepay_partner_ruby_sdk/response/user"
|
6
5
|
|
@@ -10,7 +9,7 @@ module Pokepay::Response
|
|
10
9
|
@id = row["id"]
|
11
10
|
@name = row["name"]
|
12
11
|
@is_suspended = row["is_suspended"]
|
13
|
-
@status =
|
12
|
+
@status = row["status"]
|
14
13
|
@balance = row["balance"]
|
15
14
|
@money_balance = row["money_balance"]
|
16
15
|
@point_balance = row["point_balance"]
|
@@ -1,6 +1,5 @@
|
|
1
1
|
# DO NOT EDIT: File is generated by code generator.
|
2
2
|
|
3
|
-
require "pokepay_partner_ruby_sdk/response/account_status"
|
4
3
|
require "pokepay_partner_ruby_sdk/response/private_money"
|
5
4
|
require "pokepay_partner_ruby_sdk/response/user"
|
6
5
|
|
@@ -10,7 +9,7 @@ module Pokepay::Response
|
|
10
9
|
@id = row["id"]
|
11
10
|
@name = row["name"]
|
12
11
|
@is_suspended = row["is_suspended"]
|
13
|
-
@status =
|
12
|
+
@status = row["status"]
|
14
13
|
@private_money = PrivateMoney.new(row["private_money"])
|
15
14
|
@user = User.new(row["user"])
|
16
15
|
end
|
@@ -1,6 +1,5 @@
|
|
1
1
|
# DO NOT EDIT: File is generated by code generator.
|
2
2
|
|
3
|
-
require "pokepay_partner_ruby_sdk/response/account_status"
|
4
3
|
require "pokepay_partner_ruby_sdk/response/user"
|
5
4
|
|
6
5
|
module Pokepay::Response
|
@@ -9,7 +8,7 @@ module Pokepay::Response
|
|
9
8
|
@id = row["id"]
|
10
9
|
@name = row["name"]
|
11
10
|
@is_suspended = row["is_suspended"]
|
12
|
-
@status =
|
11
|
+
@status = row["status"]
|
13
12
|
@private_money_id = row["private_money_id"]
|
14
13
|
@user = User.new(row["user"])
|
15
14
|
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# DO NOT EDIT: File is generated by code generator.
|
2
|
+
|
3
|
+
|
4
|
+
module Pokepay::Response
|
5
|
+
class PrivateMoneySummary
|
6
|
+
def initialize(row)
|
7
|
+
@topup_amount = row["topup_amount"]
|
8
|
+
@refunded_topup_amount = row["refunded_topup_amount"]
|
9
|
+
@payment_amount = row["payment_amount"]
|
10
|
+
@refunded_payment_amount = row["refunded_payment_amount"]
|
11
|
+
@added_point_amount = row["added_point_amount"]
|
12
|
+
@refunded_added_point_amount = row["refunded_added_point_amount"]
|
13
|
+
@exchange_inflow_amount = row["exchange_inflow_amount"]
|
14
|
+
@exchange_outflow_amount = row["exchange_outflow_amount"]
|
15
|
+
@transaction_count = row["transaction_count"]
|
16
|
+
end
|
17
|
+
attr_reader :topup_amount
|
18
|
+
attr_reader :refunded_topup_amount
|
19
|
+
attr_reader :payment_amount
|
20
|
+
attr_reader :refunded_payment_amount
|
21
|
+
attr_reader :added_point_amount
|
22
|
+
attr_reader :refunded_added_point_amount
|
23
|
+
attr_reader :exchange_inflow_amount
|
24
|
+
attr_reader :exchange_outflow_amount
|
25
|
+
attr_reader :transaction_count
|
26
|
+
end
|
27
|
+
end
|
@@ -36,6 +36,7 @@ require "pokepay_partner_ruby_sdk/request/create_exchange_transaction"
|
|
36
36
|
require "pokepay_partner_ruby_sdk/request/bulk_create_transaction"
|
37
37
|
require "pokepay_partner_ruby_sdk/request/get_transaction"
|
38
38
|
require "pokepay_partner_ruby_sdk/request/refund_transaction"
|
39
|
+
require "pokepay_partner_ruby_sdk/request/get_transaction_by_request_id"
|
39
40
|
require "pokepay_partner_ruby_sdk/request/create_external_transaction"
|
40
41
|
require "pokepay_partner_ruby_sdk/request/refund_external_transaction"
|
41
42
|
require "pokepay_partner_ruby_sdk/request/list_transfers"
|
@@ -47,6 +48,7 @@ require "pokepay_partner_ruby_sdk/request/get_shop"
|
|
47
48
|
require "pokepay_partner_ruby_sdk/request/update_shop"
|
48
49
|
require "pokepay_partner_ruby_sdk/request/get_private_moneys"
|
49
50
|
require "pokepay_partner_ruby_sdk/request/get_private_money_organization_summaries"
|
51
|
+
require "pokepay_partner_ruby_sdk/request/get_private_money_summary"
|
50
52
|
require "pokepay_partner_ruby_sdk/request/list_customer_transactions"
|
51
53
|
require "pokepay_partner_ruby_sdk/request/get_bulk_transaction"
|
52
54
|
require "pokepay_partner_ruby_sdk/request/create_cashtray"
|
@@ -61,7 +63,6 @@ require "pokepay_partner_ruby_sdk/response/pong"
|
|
61
63
|
require "pokepay_partner_ruby_sdk/response/echo"
|
62
64
|
require "pokepay_partner_ruby_sdk/response/pagination"
|
63
65
|
require "pokepay_partner_ruby_sdk/response/admin_user_with_shops_and_private_moneys"
|
64
|
-
require "pokepay_partner_ruby_sdk/response/account_status"
|
65
66
|
require "pokepay_partner_ruby_sdk/response/account"
|
66
67
|
require "pokepay_partner_ruby_sdk/response/account_with_user"
|
67
68
|
require "pokepay_partner_ruby_sdk/response/account_detail"
|
@@ -90,6 +91,7 @@ require "pokepay_partner_ruby_sdk/response/product"
|
|
90
91
|
require "pokepay_partner_ruby_sdk/response/organization_summary"
|
91
92
|
require "pokepay_partner_ruby_sdk/response/private_money_organization_summary"
|
92
93
|
require "pokepay_partner_ruby_sdk/response/paginated_private_money_organization_summaries"
|
94
|
+
require "pokepay_partner_ruby_sdk/response/private_money_summary"
|
93
95
|
require "pokepay_partner_ruby_sdk/response/paginated_transaction"
|
94
96
|
require "pokepay_partner_ruby_sdk/response/paginated_transaction_v2"
|
95
97
|
require "pokepay_partner_ruby_sdk/response/paginated_transfers"
|
data/partner.yaml
CHANGED
@@ -96,11 +96,6 @@ components:
|
|
96
96
|
type: array
|
97
97
|
items:
|
98
98
|
$ref: '#/components/schemas/PrivateMoney'
|
99
|
-
AccountStatus:
|
100
|
-
x-pokepay-schema-type: "response"
|
101
|
-
type: string
|
102
|
-
enum: [active, suspended, pre-closed, closed]
|
103
|
-
title: 'ウォレット状態'
|
104
99
|
Account:
|
105
100
|
x-pokepay-schema-type: "response"
|
106
101
|
properties:
|
@@ -115,7 +110,8 @@ components:
|
|
115
110
|
type: boolean
|
116
111
|
title: 'ウォレットが凍結されているかどうか'
|
117
112
|
status:
|
118
|
-
|
113
|
+
type: string
|
114
|
+
enum: [active, suspended, pre-closed, closed]
|
119
115
|
private_money:
|
120
116
|
$ref: '#/components/schemas/PrivateMoney'
|
121
117
|
title: '設定マネー情報'
|
@@ -130,7 +126,8 @@ components:
|
|
130
126
|
is_suspended:
|
131
127
|
type: boolean
|
132
128
|
status:
|
133
|
-
|
129
|
+
type: string
|
130
|
+
enum: [active, suspended, pre-closed, closed]
|
134
131
|
private_money:
|
135
132
|
$ref: '#/components/schemas/PrivateMoney'
|
136
133
|
user:
|
@@ -146,7 +143,8 @@ components:
|
|
146
143
|
is_suspended:
|
147
144
|
type: boolean
|
148
145
|
status:
|
149
|
-
|
146
|
+
type: string
|
147
|
+
enum: [active, suspended, pre-closed, closed]
|
150
148
|
balance:
|
151
149
|
type: number
|
152
150
|
format: decimal
|
@@ -747,7 +745,8 @@ components:
|
|
747
745
|
is_suspended:
|
748
746
|
type: boolean
|
749
747
|
status:
|
750
|
-
|
748
|
+
type: string
|
749
|
+
enum: [active, suspended, pre-closed, closed]
|
751
750
|
private_money_id:
|
752
751
|
type: string
|
753
752
|
format: uuid
|
@@ -780,7 +779,7 @@ components:
|
|
780
779
|
format: date-time
|
781
780
|
type:
|
782
781
|
type: string
|
783
|
-
enum: [topup, payment, refund-topup, refund-payment, transfer, exchange-inflow, exchange-outflow, campaign-topup, refund-campaign, use-coupon, refund-coupon, cashback, expire]
|
782
|
+
enum: [topup, payment, refund-topup, refund-payment, transfer, exchange-inflow, exchange-outflow, refund-exchange-inflow, refund-exchange-outflow, campaign-topup, refund-campaign, use-coupon, refund-coupon, cashback, expire]
|
784
783
|
description:
|
785
784
|
type: string
|
786
785
|
transaction_id:
|
@@ -879,6 +878,35 @@ components:
|
|
879
878
|
minimum: 0
|
880
879
|
pagination:
|
881
880
|
$ref: '#/components/schemas/Pagination'
|
881
|
+
PrivateMoneySummary:
|
882
|
+
x-pokepay-schema-type: "response"
|
883
|
+
properties:
|
884
|
+
topup_amount:
|
885
|
+
type: number
|
886
|
+
format: decimal
|
887
|
+
refunded_topup_amount:
|
888
|
+
type: number
|
889
|
+
format: decimal
|
890
|
+
payment_amount:
|
891
|
+
type: number
|
892
|
+
format: decimal
|
893
|
+
refunded_payment_amount:
|
894
|
+
type: number
|
895
|
+
format: decimal
|
896
|
+
added_point_amount:
|
897
|
+
type: number
|
898
|
+
format: decimal
|
899
|
+
refunded_added_point_amount:
|
900
|
+
type: number
|
901
|
+
format: decimal
|
902
|
+
exchange_inflow_amount:
|
903
|
+
type: number
|
904
|
+
format: decimal
|
905
|
+
exchange_outflow_amount:
|
906
|
+
type: number
|
907
|
+
format: decimal
|
908
|
+
transaction_count:
|
909
|
+
type: integer
|
882
910
|
PaginatedTransaction:
|
883
911
|
x-pokepay-schema-type: "response"
|
884
912
|
properties:
|
@@ -2094,7 +2122,6 @@ paths:
|
|
2094
2122
|
- Check
|
2095
2123
|
summary: 'チャージQRコードの発行'
|
2096
2124
|
x-pokepay-operator-name: "CreateCheck"
|
2097
|
-
x-pokepay-allow-server-side: true
|
2098
2125
|
requestBody:
|
2099
2126
|
required: true
|
2100
2127
|
content:
|
@@ -2197,7 +2224,7 @@ paths:
|
|
2197
2224
|
get:
|
2198
2225
|
tags:
|
2199
2226
|
- Transaction
|
2200
|
-
summary: '
|
2227
|
+
summary: '【廃止】取引履歴を取得する'
|
2201
2228
|
description: 取引一覧を返します。
|
2202
2229
|
x-pokepay-operator-name: "ListTransactions"
|
2203
2230
|
x-pokepay-allow-server-side: true
|
@@ -2270,12 +2297,11 @@ paths:
|
|
2270
2297
|
フィルターとして使われ、指定された端末での取引のみ一覧に表示されます。
|
2271
2298
|
transaction_id:
|
2272
2299
|
type: string
|
2273
|
-
format: uuid
|
2274
2300
|
title: '取引ID'
|
2275
2301
|
description: |-
|
2276
2302
|
取引IDです。
|
2277
2303
|
|
2278
|
-
|
2304
|
+
フィルターとして使われ、指定された取引IDに部分一致(前方一致)する取引のみが一覧に表示されます。
|
2279
2305
|
organization_code:
|
2280
2306
|
type: string
|
2281
2307
|
pattern: '^[a-zA-Z0-9-]*$'
|
@@ -2352,7 +2378,7 @@ paths:
|
|
2352
2378
|
post:
|
2353
2379
|
tags:
|
2354
2380
|
- Transaction
|
2355
|
-
summary: '
|
2381
|
+
summary: '【廃止】チャージする'
|
2356
2382
|
description: |-
|
2357
2383
|
チャージ取引を作成します。このAPIは廃止予定です。以降は `CreateTopupTransaction` を使用してください。
|
2358
2384
|
x-pokepay-operator-name: "CreateTransaction"
|
@@ -2418,7 +2444,6 @@ paths:
|
|
2418
2444
|
content:
|
2419
2445
|
application/json:
|
2420
2446
|
schema:
|
2421
|
-
required: ["private_money_id"]
|
2422
2447
|
properties:
|
2423
2448
|
private_money_id:
|
2424
2449
|
type: string
|
@@ -2436,7 +2461,7 @@ paths:
|
|
2436
2461
|
description: |-
|
2437
2462
|
組織コードです。
|
2438
2463
|
|
2439
|
-
|
2464
|
+
フィルターとして使われ、指定された組織の店舗での取引のみ一覧に表示されます。
|
2440
2465
|
example: 'pocketchange'
|
2441
2466
|
shop_id:
|
2442
2467
|
type: string
|
@@ -2444,7 +2469,7 @@ paths:
|
|
2444
2469
|
title: '店舗ID'
|
2445
2470
|
description: |-
|
2446
2471
|
店舗IDです。
|
2447
|
-
|
2472
|
+
|
2448
2473
|
フィルターとして使われ、指定された店舗での取引のみ一覧に表示されます。
|
2449
2474
|
terminal_id:
|
2450
2475
|
type: string
|
@@ -2461,7 +2486,7 @@ paths:
|
|
2461
2486
|
description: |-
|
2462
2487
|
エンドユーザーIDです。
|
2463
2488
|
|
2464
|
-
|
2489
|
+
フィルターとして使われ、指定されたエンドユーザーの取引のみ一覧に表示されます。
|
2465
2490
|
customer_name:
|
2466
2491
|
type: string
|
2467
2492
|
maxLength: 256
|
@@ -2482,12 +2507,11 @@ paths:
|
|
2482
2507
|
example: 店頭QRコードによる支払い
|
2483
2508
|
transaction_id:
|
2484
2509
|
type: string
|
2485
|
-
format: uuid
|
2486
2510
|
title: '取引ID'
|
2487
2511
|
description: |-
|
2488
2512
|
取引IDです。
|
2489
2513
|
|
2490
|
-
|
2514
|
+
フィルターとして使われ、指定された取引IDに部分一致(前方一致)する取引のみが一覧に表示されます。
|
2491
2515
|
is_modified:
|
2492
2516
|
type: boolean
|
2493
2517
|
title: 'キャンセルフラグ'
|
@@ -2513,15 +2537,22 @@ paths:
|
|
2513
2537
|
|
2514
2538
|
3. exchange-outflow
|
2515
2539
|
他マネーへの流出
|
2540
|
+
private_money_idが指定されたとき、そのマネーから見て流出方向の交換取引が抽出されます。
|
2541
|
+
private_money_idを省略した場合は表示されません。
|
2516
2542
|
|
2517
2543
|
4. exchange-inflow
|
2518
2544
|
他マネーからの流入
|
2545
|
+
private_money_idが指定されたとき、そのマネーから見て流入方向の交換取引が抽出されます。
|
2546
|
+
private_money_idを省略した場合は表示されません。
|
2519
2547
|
|
2520
2548
|
5. cashback
|
2521
2549
|
退会時返金取引
|
2550
|
+
|
2551
|
+
6. expire
|
2552
|
+
退会時失効取引
|
2522
2553
|
items:
|
2523
2554
|
type: string
|
2524
|
-
enum: [topup, payment, exchange_outflow, exchange_inflow, cashback]
|
2555
|
+
enum: [topup, payment, exchange_outflow, exchange_inflow, cashback, expire]
|
2525
2556
|
from:
|
2526
2557
|
type: string
|
2527
2558
|
format: date-time
|
@@ -2541,23 +2572,28 @@ paths:
|
|
2541
2572
|
next_page_cursor_id:
|
2542
2573
|
type: string
|
2543
2574
|
format: uuid
|
2544
|
-
title: '
|
2575
|
+
title: '次ページへ遷移する際に起点となるtransactionのID'
|
2545
2576
|
description: |-
|
2546
|
-
|
2577
|
+
次ページへ遷移する際に起点となるtransactionのID(前ページの末尾要素のID)です。
|
2578
|
+
本APIのレスポンスにもnext_page_cursor_idが含まれており、これがnull値の場合は最後のページであることを意味します。
|
2579
|
+
UUIDである場合は次のページが存在することを意味し、このnext_page_cursor_idをリクエストパラメータに含めることで次ページに遷移します。
|
2547
2580
|
|
2548
|
-
|
2581
|
+
next_page_cursor_idのtransaction自体は次のページには含まれません。
|
2549
2582
|
prev_page_cursor_id:
|
2550
2583
|
type: string
|
2551
2584
|
format: uuid
|
2552
|
-
title: '
|
2585
|
+
title: '前ページへ遷移する際に起点となるtransactionのID'
|
2553
2586
|
description: |-
|
2554
|
-
|
2587
|
+
前ページへ遷移する際に起点となるtransactionのID(次ページの先頭要素のID)です。
|
2588
|
+
|
2589
|
+
本APIのレスポンスにもprev_page_cursor_idが含まれており、これがnull値の場合は先頭のページであることを意味します。
|
2590
|
+
UUIDである場合は前のページが存在することを意味し、このprev_page_cursor_idをリクエストパラメータに含めることで前ページに遷移します。
|
2555
2591
|
|
2556
|
-
|
2592
|
+
prev_page_cursor_idのtransaction自体は前のページには含まれません。
|
2557
2593
|
per_page:
|
2558
2594
|
type: integer
|
2559
2595
|
minimum: 1
|
2560
|
-
maximum:
|
2596
|
+
maximum: 1000
|
2561
2597
|
title: '1ページ分の取引数'
|
2562
2598
|
description: |-
|
2563
2599
|
1ページ分の取引数です。
|
@@ -3342,6 +3378,39 @@ paths:
|
|
3342
3378
|
$ref: '#/components/responses/Forbidden'
|
3343
3379
|
'422':
|
3344
3380
|
$ref: '#/components/responses/UnprocessableEntity'
|
3381
|
+
/transactions/requests/{request_id}:
|
3382
|
+
get:
|
3383
|
+
tags:
|
3384
|
+
- Transaction
|
3385
|
+
summary: 'リクエストIDから取引情報を取得する'
|
3386
|
+
description: 取引を取得します。
|
3387
|
+
x-pokepay-operator-name: "GetTransactionByRequestId"
|
3388
|
+
x-pokepay-allow-server-side: true
|
3389
|
+
parameters:
|
3390
|
+
- in: path
|
3391
|
+
name: request_id
|
3392
|
+
required: true
|
3393
|
+
schema:
|
3394
|
+
type: string
|
3395
|
+
format: uuid
|
3396
|
+
title: 'リクエストID'
|
3397
|
+
description: |-
|
3398
|
+
取引作成時にクライアントが生成し指定するリクエストIDです。
|
3399
|
+
|
3400
|
+
リクエストIDに対応する取引が存在すればその取引を返し、無ければNotFound(404)を返します。
|
3401
|
+
responses:
|
3402
|
+
'200':
|
3403
|
+
description: OK
|
3404
|
+
content:
|
3405
|
+
application/json:
|
3406
|
+
schema:
|
3407
|
+
$ref: '#/components/schemas/TransactionDetail'
|
3408
|
+
'400':
|
3409
|
+
$ref: '#/components/responses/InvalidParameters'
|
3410
|
+
'403':
|
3411
|
+
$ref: '#/components/responses/Forbidden'
|
3412
|
+
'422':
|
3413
|
+
$ref: '#/components/responses/UnprocessableEntity'
|
3345
3414
|
/external-transactions:
|
3346
3415
|
post:
|
3347
3416
|
tags:
|
@@ -3803,7 +3872,7 @@ paths:
|
|
3803
3872
|
post:
|
3804
3873
|
tags:
|
3805
3874
|
- Shop
|
3806
|
-
summary: '
|
3875
|
+
summary: '【廃止】新規店舗を追加する'
|
3807
3876
|
description: |-
|
3808
3877
|
新規店舗を追加します。このAPIは廃止予定です。以降は `CreateShopV2` を使用してください。
|
3809
3878
|
x-pokepay-operator-name: "CreateShop"
|
@@ -4200,6 +4269,50 @@ paths:
|
|
4200
4269
|
$ref: '#/components/responses/Forbidden'
|
4201
4270
|
'404':
|
4202
4271
|
$ref: '#/components/responses/NotFound'
|
4272
|
+
/private-moneys/{private_money_id}/summary:
|
4273
|
+
get:
|
4274
|
+
tags:
|
4275
|
+
- Private Money
|
4276
|
+
summary: 取引サマリを取得する
|
4277
|
+
x-pokepay-operator-name: "GetPrivateMoneySummary"
|
4278
|
+
x-pokepay-allow-server-side: true
|
4279
|
+
requestBody:
|
4280
|
+
required: true
|
4281
|
+
content:
|
4282
|
+
application/json:
|
4283
|
+
schema:
|
4284
|
+
properties:
|
4285
|
+
from:
|
4286
|
+
type: string
|
4287
|
+
format: date-time
|
4288
|
+
title: '開始日時'
|
4289
|
+
to:
|
4290
|
+
type: string
|
4291
|
+
format: date-time
|
4292
|
+
title: '終了日時'
|
4293
|
+
parameters:
|
4294
|
+
- in: path
|
4295
|
+
name: private_money_id
|
4296
|
+
required: true
|
4297
|
+
schema:
|
4298
|
+
type: string
|
4299
|
+
format: uuid
|
4300
|
+
title: マネーID
|
4301
|
+
responses:
|
4302
|
+
'200':
|
4303
|
+
description: OK
|
4304
|
+
content:
|
4305
|
+
application/json:
|
4306
|
+
schema:
|
4307
|
+
$ref: '#/components/schemas/PrivateMoneySummary'
|
4308
|
+
'400':
|
4309
|
+
$ref: '#/components/responses/InvalidParameters'
|
4310
|
+
'403':
|
4311
|
+
$ref: '#/components/responses/Forbidden'
|
4312
|
+
'404':
|
4313
|
+
$ref: '#/components/responses/NotFound'
|
4314
|
+
'422':
|
4315
|
+
$ref: '#/components/responses/UnprocessableEntity'
|
4203
4316
|
/customers/transactions:
|
4204
4317
|
get:
|
4205
4318
|
tags:
|
@@ -5109,6 +5222,13 @@ paths:
|
|
5109
5222
|
マネーIDです。
|
5110
5223
|
|
5111
5224
|
フィルターとして使われ、指定したマネーでのキャンペーンのみ一覧に表示されます。
|
5225
|
+
is_ongoing:
|
5226
|
+
type: boolean
|
5227
|
+
title: '現在適用可能なキャンペーンかどうか'
|
5228
|
+
description: |-
|
5229
|
+
有効化されており、現在キャンペーン期間内にあるキャンペーンをフィルターするために使われます。
|
5230
|
+
真であれば適用可能なもののみを抽出し、偽であれば適用不可なもののみを抽出します。
|
5231
|
+
デフォルトでは未指定(フィルターなし)です。
|
5112
5232
|
page:
|
5113
5233
|
type: integer
|
5114
5234
|
minimum: 1
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pokepay_partner_ruby_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pocket Change, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -144,10 +144,12 @@ files:
|
|
144
144
|
- lib/pokepay_partner_ruby_sdk/request/get_customer_accounts.rb
|
145
145
|
- lib/pokepay_partner_ruby_sdk/request/get_ping.rb
|
146
146
|
- lib/pokepay_partner_ruby_sdk/request/get_private_money_organization_summaries.rb
|
147
|
+
- lib/pokepay_partner_ruby_sdk/request/get_private_money_summary.rb
|
147
148
|
- lib/pokepay_partner_ruby_sdk/request/get_private_moneys.rb
|
148
149
|
- lib/pokepay_partner_ruby_sdk/request/get_shop.rb
|
149
150
|
- lib/pokepay_partner_ruby_sdk/request/get_shop_accounts.rb
|
150
151
|
- lib/pokepay_partner_ruby_sdk/request/get_transaction.rb
|
152
|
+
- lib/pokepay_partner_ruby_sdk/request/get_transaction_by_request_id.rb
|
151
153
|
- lib/pokepay_partner_ruby_sdk/request/get_user.rb
|
152
154
|
- lib/pokepay_partner_ruby_sdk/request/list_account_balances.rb
|
153
155
|
- lib/pokepay_partner_ruby_sdk/request/list_account_expired_balances.rb
|
@@ -173,7 +175,6 @@ files:
|
|
173
175
|
- lib/pokepay_partner_ruby_sdk/response/account_balance.rb
|
174
176
|
- lib/pokepay_partner_ruby_sdk/response/account_deleted.rb
|
175
177
|
- lib/pokepay_partner_ruby_sdk/response/account_detail.rb
|
176
|
-
- lib/pokepay_partner_ruby_sdk/response/account_status.rb
|
177
178
|
- lib/pokepay_partner_ruby_sdk/response/account_with_user.rb
|
178
179
|
- lib/pokepay_partner_ruby_sdk/response/account_without_private_money_detail.rb
|
179
180
|
- lib/pokepay_partner_ruby_sdk/response/admin_user_with_shops_and_private_moneys.rb
|
@@ -211,6 +212,7 @@ files:
|
|
211
212
|
- lib/pokepay_partner_ruby_sdk/response/pong.rb
|
212
213
|
- lib/pokepay_partner_ruby_sdk/response/private_money.rb
|
213
214
|
- lib/pokepay_partner_ruby_sdk/response/private_money_organization_summary.rb
|
215
|
+
- lib/pokepay_partner_ruby_sdk/response/private_money_summary.rb
|
214
216
|
- lib/pokepay_partner_ruby_sdk/response/product.rb
|
215
217
|
- lib/pokepay_partner_ruby_sdk/response/response.rb
|
216
218
|
- lib/pokepay_partner_ruby_sdk/response/shop_account.rb
|