lithic 0.1.0.pre.alpha.2 → 0.1.0.pre.alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/lithic/resources/account_holders.rb +5 -5
- data/lib/lithic/resources/accounts.rb +3 -3
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +2 -2
- data/lib/lithic/resources/auth_rules/v2.rb +7 -7
- data/lib/lithic/resources/book_transfers.rb +2 -2
- data/lib/lithic/resources/card_programs.rb +1 -1
- data/lib/lithic/resources/cards/balances.rb +1 -1
- data/lib/lithic/resources/cards/financial_transactions.rb +2 -2
- data/lib/lithic/resources/cards.rb +7 -7
- data/lib/lithic/resources/credit_products/extended_credit.rb +1 -1
- data/lib/lithic/resources/credit_products/prime_rates.rb +2 -2
- data/lib/lithic/resources/digital_card_art.rb +1 -1
- data/lib/lithic/resources/disputes.rb +7 -7
- data/lib/lithic/resources/events/subscriptions.rb +9 -9
- data/lib/lithic/resources/events.rb +2 -2
- data/lib/lithic/resources/external_bank_accounts/micro_deposits.rb +1 -1
- data/lib/lithic/resources/external_bank_accounts.rb +4 -4
- data/lib/lithic/resources/external_payments.rb +5 -5
- data/lib/lithic/resources/financial_accounts/balances.rb +1 -1
- data/lib/lithic/resources/financial_accounts/credit_configuration.rb +2 -2
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +2 -2
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +2 -2
- data/lib/lithic/resources/financial_accounts/statements/line_items.rb +1 -1
- data/lib/lithic/resources/financial_accounts/statements.rb +2 -2
- data/lib/lithic/resources/financial_accounts.rb +3 -3
- data/lib/lithic/resources/management_operations.rb +2 -2
- data/lib/lithic/resources/payments.rb +3 -3
- data/lib/lithic/resources/reports/settlement/network_totals.rb +1 -1
- data/lib/lithic/resources/reports/settlement.rb +2 -2
- data/lib/lithic/resources/three_ds/authentication.rb +1 -1
- data/lib/lithic/resources/tokenizations.rb +7 -7
- data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions.rb +2 -2
- data/lib/lithic/util.rb +2 -2
- data/lib/lithic/version.rb +1 -1
- data/rbi/lib/lithic/version.rbi +1 -1
- data/sig/lithic/version.rbs +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: febba602b14ac4bf3aa9463771562e22cf994cb9d6dceea77a605999b16b98d9
|
4
|
+
data.tar.gz: 1f336fd1d3754875d979d622bce1a91315b924ad2d89fec39df0766a3eb4850e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab90c3f56d7c0a438195aaa7b3b78c103ebd3f855f8a9ba1292a622ab4298d823dd49566646adefd7a2adc5d477fb34ef5f625523a12564d53cfe09779e82314
|
7
|
+
data.tar.gz: 46640e59b8a10b3d9e8612a55141cd0c0850e2a846c2c658eebc9d151172096a44859af3fb5cbc3a40b2c6773393e59acd8e827e77f315460dad752b805bae8e
|
data/README.md
CHANGED
@@ -13,7 +13,7 @@ The underlying REST API documentation can be found on [docs.lithic.com](https://
|
|
13
13
|
To use this gem, install via Bundler by adding the following to your application's `Gemfile`:
|
14
14
|
|
15
15
|
```ruby
|
16
|
-
gem "lithic", "~> 0.1.0.pre.alpha.
|
16
|
+
gem "lithic", "~> 0.1.0.pre.alpha.2"
|
17
17
|
```
|
18
18
|
|
19
19
|
To fetch an initial copy of the gem:
|
@@ -134,7 +134,7 @@ Due to limitations with the Sorbet type system, where a method otherwise can tak
|
|
134
134
|
Please follow Sorbet's [setup guides](https://sorbet.org/docs/adopting) for best experience.
|
135
135
|
|
136
136
|
```ruby
|
137
|
-
model = CardCreateParams.new(type: "SINGLE_USE")
|
137
|
+
model = Lithic::Models::CardCreateParams.new(type: "SINGLE_USE")
|
138
138
|
|
139
139
|
lithic.cards.create(**model)
|
140
140
|
```
|
@@ -112,7 +112,7 @@ module Lithic
|
|
112
112
|
def retrieve(account_holder_token, params = {})
|
113
113
|
@client.request(
|
114
114
|
method: :get,
|
115
|
-
path: ["v1/account_holders/%
|
115
|
+
path: ["v1/account_holders/%1$s", account_holder_token],
|
116
116
|
model: Lithic::Models::AccountHolder,
|
117
117
|
options: params[:request_options]
|
118
118
|
)
|
@@ -197,7 +197,7 @@ module Lithic
|
|
197
197
|
parsed, options = Lithic::Models::AccountHolderUpdateParams.dump_request(params)
|
198
198
|
@client.request(
|
199
199
|
method: :patch,
|
200
|
-
path: ["v1/account_holders/%
|
200
|
+
path: ["v1/account_holders/%1$s", account_holder_token],
|
201
201
|
body: parsed,
|
202
202
|
model: Lithic::Models::AccountHolderUpdateResponse,
|
203
203
|
options: options
|
@@ -280,7 +280,7 @@ module Lithic
|
|
280
280
|
def list_documents(account_holder_token, params = {})
|
281
281
|
@client.request(
|
282
282
|
method: :get,
|
283
|
-
path: ["v1/account_holders/%
|
283
|
+
path: ["v1/account_holders/%1$s/documents", account_holder_token],
|
284
284
|
model: Lithic::Models::AccountHolderListDocumentsResponse,
|
285
285
|
options: params[:request_options]
|
286
286
|
)
|
@@ -318,7 +318,7 @@ module Lithic
|
|
318
318
|
end
|
319
319
|
@client.request(
|
320
320
|
method: :get,
|
321
|
-
path: ["v1/account_holders/%
|
321
|
+
path: ["v1/account_holders/%1$s/documents/%2$s", account_holder_token, document_token],
|
322
322
|
model: Lithic::Models::Document,
|
323
323
|
options: options
|
324
324
|
)
|
@@ -412,7 +412,7 @@ module Lithic
|
|
412
412
|
parsed, options = Lithic::Models::AccountHolderUploadDocumentParams.dump_request(params)
|
413
413
|
@client.request(
|
414
414
|
method: :post,
|
415
|
-
path: ["v1/account_holders/%
|
415
|
+
path: ["v1/account_holders/%1$s/documents", account_holder_token],
|
416
416
|
body: parsed,
|
417
417
|
model: Lithic::Models::Document,
|
418
418
|
options: options
|
@@ -15,7 +15,7 @@ module Lithic
|
|
15
15
|
def retrieve(account_token, params = {})
|
16
16
|
@client.request(
|
17
17
|
method: :get,
|
18
|
-
path: ["v1/accounts/%
|
18
|
+
path: ["v1/accounts/%1$s", account_token],
|
19
19
|
model: Lithic::Models::Account,
|
20
20
|
options: params[:request_options]
|
21
21
|
)
|
@@ -57,7 +57,7 @@ module Lithic
|
|
57
57
|
parsed, options = Lithic::Models::AccountUpdateParams.dump_request(params)
|
58
58
|
@client.request(
|
59
59
|
method: :patch,
|
60
|
-
path: ["v1/accounts/%
|
60
|
+
path: ["v1/accounts/%1$s", account_token],
|
61
61
|
body: parsed,
|
62
62
|
model: Lithic::Models::Account,
|
63
63
|
options: options
|
@@ -113,7 +113,7 @@ module Lithic
|
|
113
113
|
def retrieve_spend_limits(account_token, params = {})
|
114
114
|
@client.request(
|
115
115
|
method: :get,
|
116
|
-
path: ["v1/accounts/%
|
116
|
+
path: ["v1/accounts/%1$s/spend_limits", account_token],
|
117
117
|
model: Lithic::Models::AccountSpendLimits,
|
118
118
|
options: params[:request_options]
|
119
119
|
)
|
@@ -46,7 +46,7 @@ module Lithic
|
|
46
46
|
parsed, options = Lithic::Models::AuthRules::V2::BacktestCreateParams.dump_request(params)
|
47
47
|
@client.request(
|
48
48
|
method: :post,
|
49
|
-
path: ["v2/auth_rules/%
|
49
|
+
path: ["v2/auth_rules/%1$s/backtests", auth_rule_token],
|
50
50
|
body: parsed,
|
51
51
|
model: Lithic::Models::AuthRules::V2::BacktestCreateResponse,
|
52
52
|
options: options
|
@@ -89,7 +89,7 @@ module Lithic
|
|
89
89
|
end
|
90
90
|
@client.request(
|
91
91
|
method: :get,
|
92
|
-
path: ["v2/auth_rules/%
|
92
|
+
path: ["v2/auth_rules/%1$s/backtests/%2$s", auth_rule_token, auth_rule_backtest_token],
|
93
93
|
model: Lithic::Models::AuthRules::V2::BacktestResults,
|
94
94
|
options: options
|
95
95
|
)
|
@@ -51,7 +51,7 @@ module Lithic
|
|
51
51
|
def retrieve(auth_rule_token, params = {})
|
52
52
|
@client.request(
|
53
53
|
method: :get,
|
54
|
-
path: ["v2/auth_rules/%
|
54
|
+
path: ["v2/auth_rules/%1$s", auth_rule_token],
|
55
55
|
model: Lithic::Models::AuthRules::V2RetrieveResponse,
|
56
56
|
options: params[:request_options]
|
57
57
|
)
|
@@ -90,7 +90,7 @@ module Lithic
|
|
90
90
|
parsed, options = Lithic::Models::AuthRules::V2UpdateParams.dump_request(params)
|
91
91
|
@client.request(
|
92
92
|
method: :patch,
|
93
|
-
path: ["v2/auth_rules/%
|
93
|
+
path: ["v2/auth_rules/%1$s", auth_rule_token],
|
94
94
|
body: parsed,
|
95
95
|
model: Lithic::Models::AuthRules::V2UpdateResponse,
|
96
96
|
options: options
|
@@ -140,7 +140,7 @@ module Lithic
|
|
140
140
|
def delete(auth_rule_token, params = {})
|
141
141
|
@client.request(
|
142
142
|
method: :delete,
|
143
|
-
path: ["v2/auth_rules/%
|
143
|
+
path: ["v2/auth_rules/%1$s", auth_rule_token],
|
144
144
|
model: NilClass,
|
145
145
|
options: params[:request_options]
|
146
146
|
)
|
@@ -170,7 +170,7 @@ module Lithic
|
|
170
170
|
parsed, options = Lithic::Models::AuthRules::V2ApplyParams.dump_request(params)
|
171
171
|
@client.request(
|
172
172
|
method: :post,
|
173
|
-
path: ["v2/auth_rules/%
|
173
|
+
path: ["v2/auth_rules/%1$s/apply", auth_rule_token],
|
174
174
|
body: parsed,
|
175
175
|
model: Lithic::Models::AuthRules::V2ApplyResponse,
|
176
176
|
options: options
|
@@ -195,7 +195,7 @@ module Lithic
|
|
195
195
|
parsed, options = Lithic::Models::AuthRules::V2DraftParams.dump_request(params)
|
196
196
|
@client.request(
|
197
197
|
method: :post,
|
198
|
-
path: ["v2/auth_rules/%
|
198
|
+
path: ["v2/auth_rules/%1$s/draft", auth_rule_token],
|
199
199
|
body: parsed,
|
200
200
|
model: Lithic::Models::AuthRules::V2DraftResponse,
|
201
201
|
options: options
|
@@ -215,7 +215,7 @@ module Lithic
|
|
215
215
|
def promote(auth_rule_token, params = {})
|
216
216
|
@client.request(
|
217
217
|
method: :post,
|
218
|
-
path: ["v2/auth_rules/%
|
218
|
+
path: ["v2/auth_rules/%1$s/promote", auth_rule_token],
|
219
219
|
model: Lithic::Models::AuthRules::V2PromoteResponse,
|
220
220
|
options: params[:request_options]
|
221
221
|
)
|
@@ -283,7 +283,7 @@ module Lithic
|
|
283
283
|
def report(auth_rule_token, params = {})
|
284
284
|
@client.request(
|
285
285
|
method: :post,
|
286
|
-
path: ["v2/auth_rules/%
|
286
|
+
path: ["v2/auth_rules/%1$s/report", auth_rule_token],
|
287
287
|
model: Lithic::Models::AuthRules::V2ReportResponse,
|
288
288
|
options: params[:request_options]
|
289
289
|
)
|
@@ -54,7 +54,7 @@ module Lithic
|
|
54
54
|
def retrieve(book_transfer_token, params = {})
|
55
55
|
@client.request(
|
56
56
|
method: :get,
|
57
|
-
path: ["v1/book_transfers/%
|
57
|
+
path: ["v1/book_transfers/%1$s", book_transfer_token],
|
58
58
|
model: Lithic::Models::BookTransferResponse,
|
59
59
|
options: params[:request_options]
|
60
60
|
)
|
@@ -121,7 +121,7 @@ module Lithic
|
|
121
121
|
parsed, options = Lithic::Models::BookTransferReverseParams.dump_request(params)
|
122
122
|
@client.request(
|
123
123
|
method: :post,
|
124
|
-
path: ["v1/book_transfers/%
|
124
|
+
path: ["v1/book_transfers/%1$s/reverse", book_transfer_token],
|
125
125
|
body: parsed,
|
126
126
|
model: Lithic::Models::BookTransferResponse,
|
127
127
|
options: options
|
@@ -15,7 +15,7 @@ module Lithic
|
|
15
15
|
def retrieve(card_program_token, params = {})
|
16
16
|
@client.request(
|
17
17
|
method: :get,
|
18
|
-
path: ["v1/card_programs/%
|
18
|
+
path: ["v1/card_programs/%1$s", card_program_token],
|
19
19
|
model: Lithic::Models::CardProgram,
|
20
20
|
options: params[:request_options]
|
21
21
|
)
|
@@ -23,7 +23,7 @@ module Lithic
|
|
23
23
|
parsed, options = Lithic::Models::Cards::BalanceListParams.dump_request(params)
|
24
24
|
@client.request(
|
25
25
|
method: :get,
|
26
|
-
path: ["v1/cards/%
|
26
|
+
path: ["v1/cards/%1$s/balances", card_token],
|
27
27
|
query: parsed,
|
28
28
|
page: Lithic::SinglePage,
|
29
29
|
model: Lithic::Models::Cards::BalanceListResponse,
|
@@ -23,7 +23,7 @@ module Lithic
|
|
23
23
|
end
|
24
24
|
@client.request(
|
25
25
|
method: :get,
|
26
|
-
path: ["v1/cards/%
|
26
|
+
path: ["v1/cards/%1$s/financial_transactions/%2$s", card_token, financial_transaction_token],
|
27
27
|
model: Lithic::Models::FinancialTransaction,
|
28
28
|
options: options
|
29
29
|
)
|
@@ -60,7 +60,7 @@ module Lithic
|
|
60
60
|
parsed, options = Lithic::Models::Cards::FinancialTransactionListParams.dump_request(params)
|
61
61
|
@client.request(
|
62
62
|
method: :get,
|
63
|
-
path: ["v1/cards/%
|
63
|
+
path: ["v1/cards/%1$s/financial_transactions", card_token],
|
64
64
|
query: parsed,
|
65
65
|
page: Lithic::SinglePage,
|
66
66
|
model: Lithic::Models::FinancialTransaction,
|
@@ -146,7 +146,7 @@ module Lithic
|
|
146
146
|
def retrieve(card_token, params = {})
|
147
147
|
@client.request(
|
148
148
|
method: :get,
|
149
|
-
path: ["v1/cards/%
|
149
|
+
path: ["v1/cards/%1$s", card_token],
|
150
150
|
model: Lithic::Models::Card,
|
151
151
|
options: params[:request_options]
|
152
152
|
)
|
@@ -211,7 +211,7 @@ module Lithic
|
|
211
211
|
parsed, options = Lithic::Models::CardUpdateParams.dump_request(params)
|
212
212
|
@client.request(
|
213
213
|
method: :patch,
|
214
|
-
path: ["v1/cards/%
|
214
|
+
path: ["v1/cards/%1$s", card_token],
|
215
215
|
body: parsed,
|
216
216
|
model: Lithic::Models::Card,
|
217
217
|
options: options
|
@@ -298,7 +298,7 @@ module Lithic
|
|
298
298
|
parsed, options = Lithic::Models::CardConvertPhysicalParams.dump_request(params)
|
299
299
|
@client.request(
|
300
300
|
method: :post,
|
301
|
-
path: ["v1/cards/%
|
301
|
+
path: ["v1/cards/%1$s/convert_physical", card_token],
|
302
302
|
body: parsed,
|
303
303
|
model: Lithic::Models::Card,
|
304
304
|
options: options
|
@@ -395,7 +395,7 @@ module Lithic
|
|
395
395
|
parsed, options = Lithic::Models::CardProvisionParams.dump_request(params)
|
396
396
|
@client.request(
|
397
397
|
method: :post,
|
398
|
-
path: ["v1/cards/%
|
398
|
+
path: ["v1/cards/%1$s/provision", card_token],
|
399
399
|
body: parsed,
|
400
400
|
model: Lithic::Models::CardProvisionResponse,
|
401
401
|
options: options
|
@@ -440,7 +440,7 @@ module Lithic
|
|
440
440
|
parsed, options = Lithic::Models::CardReissueParams.dump_request(params)
|
441
441
|
@client.request(
|
442
442
|
method: :post,
|
443
|
-
path: ["v1/cards/%
|
443
|
+
path: ["v1/cards/%1$s/reissue", card_token],
|
444
444
|
body: parsed,
|
445
445
|
model: Lithic::Models::Card,
|
446
446
|
options: options
|
@@ -492,7 +492,7 @@ module Lithic
|
|
492
492
|
parsed, options = Lithic::Models::CardRenewParams.dump_request(params)
|
493
493
|
@client.request(
|
494
494
|
method: :post,
|
495
|
-
path: ["v1/cards/%
|
495
|
+
path: ["v1/cards/%1$s/renew", card_token],
|
496
496
|
body: parsed,
|
497
497
|
model: Lithic::Models::Card,
|
498
498
|
options: options
|
@@ -514,7 +514,7 @@ module Lithic
|
|
514
514
|
def retrieve_spend_limits(card_token, params = {})
|
515
515
|
@client.request(
|
516
516
|
method: :get,
|
517
|
-
path: ["v1/cards/%
|
517
|
+
path: ["v1/cards/%1$s/spend_limits", card_token],
|
518
518
|
model: Lithic::Models::CardSpendLimits,
|
519
519
|
options: params[:request_options]
|
520
520
|
)
|
@@ -16,7 +16,7 @@ module Lithic
|
|
16
16
|
def retrieve(credit_product_token, params = {})
|
17
17
|
@client.request(
|
18
18
|
method: :get,
|
19
|
-
path: ["v1/credit_products/%
|
19
|
+
path: ["v1/credit_products/%1$s/extended_credit", credit_product_token],
|
20
20
|
model: Lithic::Models::CreditProducts::CreditProductsExtendedCredit,
|
21
21
|
options: params[:request_options]
|
22
22
|
)
|
@@ -21,7 +21,7 @@ module Lithic
|
|
21
21
|
parsed, options = Lithic::Models::CreditProducts::PrimeRateCreateParams.dump_request(params)
|
22
22
|
@client.request(
|
23
23
|
method: :post,
|
24
|
-
path: ["v1/credit_products/%
|
24
|
+
path: ["v1/credit_products/%1$s/prime_rates", credit_product_token],
|
25
25
|
body: parsed,
|
26
26
|
model: NilClass,
|
27
27
|
options: options
|
@@ -45,7 +45,7 @@ module Lithic
|
|
45
45
|
parsed, options = Lithic::Models::CreditProducts::PrimeRateRetrieveParams.dump_request(params)
|
46
46
|
@client.request(
|
47
47
|
method: :get,
|
48
|
-
path: ["v1/credit_products/%
|
48
|
+
path: ["v1/credit_products/%1$s/prime_rates", credit_product_token],
|
49
49
|
query: parsed,
|
50
50
|
model: Lithic::Models::CreditProducts::PrimeRateRetrieveResponse,
|
51
51
|
options: options
|
@@ -18,7 +18,7 @@ module Lithic
|
|
18
18
|
def retrieve(digital_card_art_token, params = {})
|
19
19
|
@client.request(
|
20
20
|
method: :get,
|
21
|
-
path: ["v1/digital_card_art/%
|
21
|
+
path: ["v1/digital_card_art/%1$s", digital_card_art_token],
|
22
22
|
model: Lithic::Models::DigitalCardArtAPI,
|
23
23
|
options: params[:request_options]
|
24
24
|
)
|
@@ -43,7 +43,7 @@ module Lithic
|
|
43
43
|
def retrieve(dispute_token, params = {})
|
44
44
|
@client.request(
|
45
45
|
method: :get,
|
46
|
-
path: ["v1/disputes/%
|
46
|
+
path: ["v1/disputes/%1$s", dispute_token],
|
47
47
|
model: Lithic::Models::Dispute,
|
48
48
|
options: params[:request_options]
|
49
49
|
)
|
@@ -70,7 +70,7 @@ module Lithic
|
|
70
70
|
parsed, options = Lithic::Models::DisputeUpdateParams.dump_request(params)
|
71
71
|
@client.request(
|
72
72
|
method: :patch,
|
73
|
-
path: ["v1/disputes/%
|
73
|
+
path: ["v1/disputes/%1$s", dispute_token],
|
74
74
|
body: parsed,
|
75
75
|
model: Lithic::Models::Dispute,
|
76
76
|
options: options
|
@@ -126,7 +126,7 @@ module Lithic
|
|
126
126
|
def delete(dispute_token, params = {})
|
127
127
|
@client.request(
|
128
128
|
method: :delete,
|
129
|
-
path: ["v1/disputes/%
|
129
|
+
path: ["v1/disputes/%1$s", dispute_token],
|
130
130
|
model: Lithic::Models::Dispute,
|
131
131
|
options: params[:request_options]
|
132
132
|
)
|
@@ -152,7 +152,7 @@ module Lithic
|
|
152
152
|
end
|
153
153
|
@client.request(
|
154
154
|
method: :delete,
|
155
|
-
path: ["v1/disputes/%
|
155
|
+
path: ["v1/disputes/%1$s/evidences/%2$s", dispute_token, evidence_token],
|
156
156
|
model: Lithic::Models::DisputeEvidence,
|
157
157
|
options: options
|
158
158
|
)
|
@@ -177,7 +177,7 @@ module Lithic
|
|
177
177
|
parsed, options = Lithic::Models::DisputeInitiateEvidenceUploadParams.dump_request(params)
|
178
178
|
@client.request(
|
179
179
|
method: :post,
|
180
|
-
path: ["v1/disputes/%
|
180
|
+
path: ["v1/disputes/%1$s/evidences", dispute_token],
|
181
181
|
body: parsed,
|
182
182
|
model: Lithic::Models::DisputeEvidence,
|
183
183
|
options: options
|
@@ -211,7 +211,7 @@ module Lithic
|
|
211
211
|
parsed, options = Lithic::Models::DisputeListEvidencesParams.dump_request(params)
|
212
212
|
@client.request(
|
213
213
|
method: :get,
|
214
|
-
path: ["v1/disputes/%
|
214
|
+
path: ["v1/disputes/%1$s/evidences", dispute_token],
|
215
215
|
query: parsed,
|
216
216
|
page: Lithic::CursorPage,
|
217
217
|
model: Lithic::Models::DisputeEvidence,
|
@@ -238,7 +238,7 @@ module Lithic
|
|
238
238
|
end
|
239
239
|
@client.request(
|
240
240
|
method: :get,
|
241
|
-
path: ["v1/disputes/%
|
241
|
+
path: ["v1/disputes/%1$s/evidences/%2$s", dispute_token, evidence_token],
|
242
242
|
model: Lithic::Models::DisputeEvidence,
|
243
243
|
options: options
|
244
244
|
)
|
@@ -43,7 +43,7 @@ module Lithic
|
|
43
43
|
def retrieve(event_subscription_token, params = {})
|
44
44
|
@client.request(
|
45
45
|
method: :get,
|
46
|
-
path: ["v1/event_subscriptions/%
|
46
|
+
path: ["v1/event_subscriptions/%1$s", event_subscription_token],
|
47
47
|
model: Lithic::Models::EventSubscription,
|
48
48
|
options: params[:request_options]
|
49
49
|
)
|
@@ -71,7 +71,7 @@ module Lithic
|
|
71
71
|
parsed, options = Lithic::Models::Events::SubscriptionUpdateParams.dump_request(params)
|
72
72
|
@client.request(
|
73
73
|
method: :patch,
|
74
|
-
path: ["v1/event_subscriptions/%
|
74
|
+
path: ["v1/event_subscriptions/%1$s", event_subscription_token],
|
75
75
|
body: parsed,
|
76
76
|
model: Lithic::Models::EventSubscription,
|
77
77
|
options: options
|
@@ -117,7 +117,7 @@ module Lithic
|
|
117
117
|
def delete(event_subscription_token, params = {})
|
118
118
|
@client.request(
|
119
119
|
method: :delete,
|
120
|
-
path: ["v1/event_subscriptions/%
|
120
|
+
path: ["v1/event_subscriptions/%1$s", event_subscription_token],
|
121
121
|
model: NilClass,
|
122
122
|
options: params[:request_options]
|
123
123
|
)
|
@@ -152,7 +152,7 @@ module Lithic
|
|
152
152
|
parsed, options = Lithic::Models::Events::SubscriptionListAttemptsParams.dump_request(params)
|
153
153
|
@client.request(
|
154
154
|
method: :get,
|
155
|
-
path: ["v1/event_subscriptions/%
|
155
|
+
path: ["v1/event_subscriptions/%1$s/attempts", event_subscription_token],
|
156
156
|
query: parsed,
|
157
157
|
page: Lithic::CursorPage,
|
158
158
|
model: Lithic::Models::MessageAttempt,
|
@@ -179,7 +179,7 @@ module Lithic
|
|
179
179
|
parsed, options = Lithic::Models::Events::SubscriptionRecoverParams.dump_request(params)
|
180
180
|
@client.request(
|
181
181
|
method: :post,
|
182
|
-
path: ["v1/event_subscriptions/%
|
182
|
+
path: ["v1/event_subscriptions/%1$s/recover", event_subscription_token],
|
183
183
|
query: parsed,
|
184
184
|
model: NilClass,
|
185
185
|
options: options
|
@@ -209,7 +209,7 @@ module Lithic
|
|
209
209
|
parsed, options = Lithic::Models::Events::SubscriptionReplayMissingParams.dump_request(params)
|
210
210
|
@client.request(
|
211
211
|
method: :post,
|
212
|
-
path: ["v1/event_subscriptions/%
|
212
|
+
path: ["v1/event_subscriptions/%1$s/replay_missing", event_subscription_token],
|
213
213
|
query: parsed,
|
214
214
|
model: NilClass,
|
215
215
|
options: options
|
@@ -228,7 +228,7 @@ module Lithic
|
|
228
228
|
def retrieve_secret(event_subscription_token, params = {})
|
229
229
|
@client.request(
|
230
230
|
method: :get,
|
231
|
-
path: ["v1/event_subscriptions/%
|
231
|
+
path: ["v1/event_subscriptions/%1$s/secret", event_subscription_token],
|
232
232
|
model: Lithic::Models::Events::SubscriptionRetrieveSecretResponse,
|
233
233
|
options: params[:request_options]
|
234
234
|
)
|
@@ -247,7 +247,7 @@ module Lithic
|
|
247
247
|
def rotate_secret(event_subscription_token, params = {})
|
248
248
|
@client.request(
|
249
249
|
method: :post,
|
250
|
-
path: ["v1/event_subscriptions/%
|
250
|
+
path: ["v1/event_subscriptions/%1$s/secret/rotate", event_subscription_token],
|
251
251
|
model: NilClass,
|
252
252
|
options: params[:request_options]
|
253
253
|
)
|
@@ -268,7 +268,7 @@ module Lithic
|
|
268
268
|
parsed, options = Lithic::Models::Events::SubscriptionSendSimulatedExampleParams.dump_request(params)
|
269
269
|
@client.request(
|
270
270
|
method: :post,
|
271
|
-
path: ["v1/simulate/event_subscriptions/%
|
271
|
+
path: ["v1/simulate/event_subscriptions/%1$s/send_example", event_subscription_token],
|
272
272
|
body: parsed,
|
273
273
|
model: NilClass,
|
274
274
|
options: options
|
@@ -18,7 +18,7 @@ module Lithic
|
|
18
18
|
def retrieve(event_token, params = {})
|
19
19
|
@client.request(
|
20
20
|
method: :get,
|
21
|
-
path: ["v1/events/%
|
21
|
+
path: ["v1/events/%1$s", event_token],
|
22
22
|
model: Lithic::Models::Event,
|
23
23
|
options: params[:request_options]
|
24
24
|
)
|
@@ -90,7 +90,7 @@ module Lithic
|
|
90
90
|
parsed, options = Lithic::Models::EventListAttemptsParams.dump_request(params)
|
91
91
|
@client.request(
|
92
92
|
method: :get,
|
93
|
-
path: ["v1/events/%
|
93
|
+
path: ["v1/events/%1$s/attempts", event_token],
|
94
94
|
query: parsed,
|
95
95
|
page: Lithic::CursorPage,
|
96
96
|
model: Lithic::Models::MessageAttempt,
|
@@ -19,7 +19,7 @@ module Lithic
|
|
19
19
|
parsed, options = Lithic::Models::ExternalBankAccounts::MicroDepositCreateParams.dump_request(params)
|
20
20
|
@client.request(
|
21
21
|
method: :post,
|
22
|
-
path: ["v1/external_bank_accounts/%
|
22
|
+
path: ["v1/external_bank_accounts/%1$s/micro_deposits", external_bank_account_token],
|
23
23
|
body: parsed,
|
24
24
|
model: Lithic::Models::ExternalBankAccounts::MicroDepositCreateResponse,
|
25
25
|
options: options
|
@@ -76,7 +76,7 @@ module Lithic
|
|
76
76
|
def retrieve(external_bank_account_token, params = {})
|
77
77
|
@client.request(
|
78
78
|
method: :get,
|
79
|
-
path: ["v1/external_bank_accounts/%
|
79
|
+
path: ["v1/external_bank_accounts/%1$s", external_bank_account_token],
|
80
80
|
model: Lithic::Models::ExternalBankAccountRetrieveResponse,
|
81
81
|
options: params[:request_options]
|
82
82
|
)
|
@@ -114,7 +114,7 @@ module Lithic
|
|
114
114
|
parsed, options = Lithic::Models::ExternalBankAccountUpdateParams.dump_request(params)
|
115
115
|
@client.request(
|
116
116
|
method: :patch,
|
117
|
-
path: ["v1/external_bank_accounts/%
|
117
|
+
path: ["v1/external_bank_accounts/%1$s", external_bank_account_token],
|
118
118
|
body: parsed,
|
119
119
|
model: Lithic::Models::ExternalBankAccountUpdateResponse,
|
120
120
|
options: options
|
@@ -175,7 +175,7 @@ module Lithic
|
|
175
175
|
parsed, options = Lithic::Models::ExternalBankAccountRetryMicroDepositsParams.dump_request(params)
|
176
176
|
@client.request(
|
177
177
|
method: :post,
|
178
|
-
path: ["v1/external_bank_accounts/%
|
178
|
+
path: ["v1/external_bank_accounts/%1$s/retry_micro_deposits", external_bank_account_token],
|
179
179
|
body: parsed,
|
180
180
|
model: Lithic::Models::ExternalBankAccountRetryMicroDepositsResponse,
|
181
181
|
options: options
|
@@ -197,7 +197,7 @@ module Lithic
|
|
197
197
|
parsed, options = Lithic::Models::ExternalBankAccountRetryPrenoteParams.dump_request(params)
|
198
198
|
@client.request(
|
199
199
|
method: :post,
|
200
|
-
path: ["v1/external_bank_accounts/%
|
200
|
+
path: ["v1/external_bank_accounts/%1$s/retry_prenote", external_bank_account_token],
|
201
201
|
body: parsed,
|
202
202
|
model: Lithic::Models::ExternalBankAccountRetryPrenoteResponse,
|
203
203
|
options: options
|
@@ -51,7 +51,7 @@ module Lithic
|
|
51
51
|
def retrieve(external_payment_token, params = {})
|
52
52
|
@client.request(
|
53
53
|
method: :get,
|
54
|
-
path: ["v1/external_payments/%
|
54
|
+
path: ["v1/external_payments/%1$s", external_payment_token],
|
55
55
|
model: Lithic::Models::ExternalPayment,
|
56
56
|
options: params[:request_options]
|
57
57
|
)
|
@@ -118,7 +118,7 @@ module Lithic
|
|
118
118
|
parsed, options = Lithic::Models::ExternalPaymentCancelParams.dump_request(params)
|
119
119
|
@client.request(
|
120
120
|
method: :post,
|
121
|
-
path: ["v1/external_payments/%
|
121
|
+
path: ["v1/external_payments/%1$s/cancel", external_payment_token],
|
122
122
|
body: parsed,
|
123
123
|
model: Lithic::Models::ExternalPayment,
|
124
124
|
options: options
|
@@ -142,7 +142,7 @@ module Lithic
|
|
142
142
|
parsed, options = Lithic::Models::ExternalPaymentReleaseParams.dump_request(params)
|
143
143
|
@client.request(
|
144
144
|
method: :post,
|
145
|
-
path: ["v1/external_payments/%
|
145
|
+
path: ["v1/external_payments/%1$s/release", external_payment_token],
|
146
146
|
body: parsed,
|
147
147
|
model: Lithic::Models::ExternalPayment,
|
148
148
|
options: options
|
@@ -166,7 +166,7 @@ module Lithic
|
|
166
166
|
parsed, options = Lithic::Models::ExternalPaymentReverseParams.dump_request(params)
|
167
167
|
@client.request(
|
168
168
|
method: :post,
|
169
|
-
path: ["v1/external_payments/%
|
169
|
+
path: ["v1/external_payments/%1$s/reverse", external_payment_token],
|
170
170
|
body: parsed,
|
171
171
|
model: Lithic::Models::ExternalPayment,
|
172
172
|
options: options
|
@@ -192,7 +192,7 @@ module Lithic
|
|
192
192
|
parsed, options = Lithic::Models::ExternalPaymentSettleParams.dump_request(params)
|
193
193
|
@client.request(
|
194
194
|
method: :post,
|
195
|
-
path: ["v1/external_payments/%
|
195
|
+
path: ["v1/external_payments/%1$s/settle", external_payment_token],
|
196
196
|
body: parsed,
|
197
197
|
model: Lithic::Models::ExternalPayment,
|
198
198
|
options: options
|
@@ -23,7 +23,7 @@ module Lithic
|
|
23
23
|
parsed, options = Lithic::Models::FinancialAccounts::BalanceListParams.dump_request(params)
|
24
24
|
@client.request(
|
25
25
|
method: :get,
|
26
|
-
path: ["v1/financial_accounts/%
|
26
|
+
path: ["v1/financial_accounts/%1$s/balances", financial_account_token],
|
27
27
|
query: parsed,
|
28
28
|
page: Lithic::SinglePage,
|
29
29
|
model: Lithic::Models::FinancialAccounts::BalanceListResponse,
|
@@ -16,7 +16,7 @@ module Lithic
|
|
16
16
|
def retrieve(financial_account_token, params = {})
|
17
17
|
@client.request(
|
18
18
|
method: :get,
|
19
|
-
path: ["v1/financial_accounts/%
|
19
|
+
path: ["v1/financial_accounts/%1$s/credit_configuration", financial_account_token],
|
20
20
|
model: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig,
|
21
21
|
options: params[:request_options]
|
22
22
|
)
|
@@ -43,7 +43,7 @@ module Lithic
|
|
43
43
|
parsed, options = Lithic::Models::FinancialAccounts::CreditConfigurationUpdateParams.dump_request(params)
|
44
44
|
@client.request(
|
45
45
|
method: :patch,
|
46
|
-
path: ["v1/financial_accounts/%
|
46
|
+
path: ["v1/financial_accounts/%1$s/credit_configuration", financial_account_token],
|
47
47
|
body: parsed,
|
48
48
|
model: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig,
|
49
49
|
options: options
|
@@ -25,7 +25,7 @@ module Lithic
|
|
25
25
|
@client.request(
|
26
26
|
method: :get,
|
27
27
|
path: [
|
28
|
-
"v1/financial_accounts/%
|
28
|
+
"v1/financial_accounts/%1$s/financial_transactions/%2$s",
|
29
29
|
financial_account_token,
|
30
30
|
financial_transaction_token
|
31
31
|
],
|
@@ -65,7 +65,7 @@ module Lithic
|
|
65
65
|
parsed, options = Lithic::Models::FinancialAccounts::FinancialTransactionListParams.dump_request(params)
|
66
66
|
@client.request(
|
67
67
|
method: :get,
|
68
|
-
path: ["v1/financial_accounts/%
|
68
|
+
path: ["v1/financial_accounts/%1$s/financial_transactions", financial_account_token],
|
69
69
|
query: parsed,
|
70
70
|
page: Lithic::SinglePage,
|
71
71
|
model: Lithic::Models::FinancialTransaction,
|
@@ -23,7 +23,7 @@ module Lithic
|
|
23
23
|
end
|
24
24
|
@client.request(
|
25
25
|
method: :get,
|
26
|
-
path: ["v1/financial_accounts/%
|
26
|
+
path: ["v1/financial_accounts/%1$s/loan_tapes/%2$s", financial_account_token, loan_tape_token],
|
27
27
|
model: Lithic::Models::FinancialAccounts::LoanTape,
|
28
28
|
options: options
|
29
29
|
)
|
@@ -56,7 +56,7 @@ module Lithic
|
|
56
56
|
parsed, options = Lithic::Models::FinancialAccounts::LoanTapeListParams.dump_request(params)
|
57
57
|
@client.request(
|
58
58
|
method: :get,
|
59
|
-
path: ["v1/financial_accounts/%
|
59
|
+
path: ["v1/financial_accounts/%1$s/loan_tapes", financial_account_token],
|
60
60
|
query: parsed,
|
61
61
|
page: Lithic::CursorPage,
|
62
62
|
model: Lithic::Models::FinancialAccounts::LoanTape,
|
@@ -26,7 +26,7 @@ module Lithic
|
|
26
26
|
end
|
27
27
|
@client.request(
|
28
28
|
method: :get,
|
29
|
-
path: ["v1/financial_accounts/%
|
29
|
+
path: ["v1/financial_accounts/%1$s/statements/%2$s", financial_account_token, statement_token],
|
30
30
|
model: Lithic::Models::FinancialAccounts::Statement,
|
31
31
|
options: options
|
32
32
|
)
|
@@ -61,7 +61,7 @@ module Lithic
|
|
61
61
|
parsed, options = Lithic::Models::FinancialAccounts::StatementListParams.dump_request(params)
|
62
62
|
@client.request(
|
63
63
|
method: :get,
|
64
|
-
path: ["v1/financial_accounts/%
|
64
|
+
path: ["v1/financial_accounts/%1$s/statements", financial_account_token],
|
65
65
|
query: parsed,
|
66
66
|
page: Lithic::CursorPage,
|
67
67
|
model: Lithic::Models::FinancialAccounts::Statement,
|
@@ -60,7 +60,7 @@ module Lithic
|
|
60
60
|
def retrieve(financial_account_token, params = {})
|
61
61
|
@client.request(
|
62
62
|
method: :get,
|
63
|
-
path: ["v1/financial_accounts/%
|
63
|
+
path: ["v1/financial_accounts/%1$s", financial_account_token],
|
64
64
|
model: Lithic::Models::FinancialAccount,
|
65
65
|
options: params[:request_options]
|
66
66
|
)
|
@@ -81,7 +81,7 @@ module Lithic
|
|
81
81
|
parsed, options = Lithic::Models::FinancialAccountUpdateParams.dump_request(params)
|
82
82
|
@client.request(
|
83
83
|
method: :patch,
|
84
|
-
path: ["v1/financial_accounts/%
|
84
|
+
path: ["v1/financial_accounts/%1$s", financial_account_token],
|
85
85
|
body: parsed,
|
86
86
|
model: Lithic::Models::FinancialAccount,
|
87
87
|
options: options
|
@@ -131,7 +131,7 @@ module Lithic
|
|
131
131
|
parsed, options = Lithic::Models::FinancialAccountUpdateStatusParams.dump_request(params)
|
132
132
|
@client.request(
|
133
133
|
method: :post,
|
134
|
-
path: ["v1/financial_accounts/%
|
134
|
+
path: ["v1/financial_accounts/%1$s/update_status", financial_account_token],
|
135
135
|
body: parsed,
|
136
136
|
model: Lithic::Models::FinancialAccount,
|
137
137
|
options: options
|
@@ -53,7 +53,7 @@ module Lithic
|
|
53
53
|
def retrieve(management_operation_token, params = {})
|
54
54
|
@client.request(
|
55
55
|
method: :get,
|
56
|
-
path: ["v1/management_operations/%
|
56
|
+
path: ["v1/management_operations/%1$s", management_operation_token],
|
57
57
|
model: Lithic::Models::ManagementOperationTransaction,
|
58
58
|
options: params[:request_options]
|
59
59
|
)
|
@@ -118,7 +118,7 @@ module Lithic
|
|
118
118
|
parsed, options = Lithic::Models::ManagementOperationReverseParams.dump_request(params)
|
119
119
|
@client.request(
|
120
120
|
method: :post,
|
121
|
-
path: ["v1/management_operations/%
|
121
|
+
path: ["v1/management_operations/%1$s/reverse", management_operation_token],
|
122
122
|
body: parsed,
|
123
123
|
model: Lithic::Models::ManagementOperationTransaction,
|
124
124
|
options: options
|
@@ -52,7 +52,7 @@ module Lithic
|
|
52
52
|
def retrieve(payment_token, params = {})
|
53
53
|
@client.request(
|
54
54
|
method: :get,
|
55
|
-
path: ["v1/payments/%
|
55
|
+
path: ["v1/payments/%1$s", payment_token],
|
56
56
|
model: Lithic::Models::Payment,
|
57
57
|
options: params[:request_options]
|
58
58
|
)
|
@@ -115,7 +115,7 @@ module Lithic
|
|
115
115
|
def retry_(payment_token, params = {})
|
116
116
|
@client.request(
|
117
117
|
method: :post,
|
118
|
-
path: ["v1/payments/%
|
118
|
+
path: ["v1/payments/%1$s/retry", payment_token],
|
119
119
|
model: Lithic::Models::PaymentRetryResponse,
|
120
120
|
options: params[:request_options]
|
121
121
|
)
|
@@ -140,7 +140,7 @@ module Lithic
|
|
140
140
|
parsed, options = Lithic::Models::PaymentSimulateActionParams.dump_request(params)
|
141
141
|
@client.request(
|
142
142
|
method: :post,
|
143
|
-
path: ["v1/simulate/payments/%
|
143
|
+
path: ["v1/simulate/payments/%1$s/action", payment_token],
|
144
144
|
body: parsed,
|
145
145
|
model: Lithic::Models::PaymentSimulateActionResponse,
|
146
146
|
options: options
|
@@ -17,7 +17,7 @@ module Lithic
|
|
17
17
|
def retrieve(token, params = {})
|
18
18
|
@client.request(
|
19
19
|
method: :get,
|
20
|
-
path: ["v1/reports/settlement/network_totals/%
|
20
|
+
path: ["v1/reports/settlement/network_totals/%1$s", token],
|
21
21
|
model: Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse,
|
22
22
|
options: params[:request_options]
|
23
23
|
)
|
@@ -28,7 +28,7 @@ module Lithic
|
|
28
28
|
parsed, options = Lithic::Models::Reports::SettlementListDetailsParams.dump_request(params)
|
29
29
|
@client.request(
|
30
30
|
method: :get,
|
31
|
-
path: ["v1/reports/settlement/details/%
|
31
|
+
path: ["v1/reports/settlement/details/%1$s", report_date],
|
32
32
|
query: parsed,
|
33
33
|
page: Lithic::CursorPage,
|
34
34
|
model: Lithic::Models::SettlementDetail,
|
@@ -48,7 +48,7 @@ module Lithic
|
|
48
48
|
def summary(report_date, params = {})
|
49
49
|
@client.request(
|
50
50
|
method: :get,
|
51
|
-
path: ["v1/reports/settlement/summary/%
|
51
|
+
path: ["v1/reports/settlement/summary/%1$s", report_date],
|
52
52
|
model: Lithic::Models::SettlementReport,
|
53
53
|
options: params[:request_options]
|
54
54
|
)
|
@@ -16,7 +16,7 @@ module Lithic
|
|
16
16
|
def retrieve(three_ds_authentication_token, params = {})
|
17
17
|
@client.request(
|
18
18
|
method: :get,
|
19
|
-
path: ["v1/three_ds_authentication/%
|
19
|
+
path: ["v1/three_ds_authentication/%1$s", three_ds_authentication_token],
|
20
20
|
model: Lithic::Models::ThreeDS::AuthenticationRetrieveResponse,
|
21
21
|
options: params[:request_options]
|
22
22
|
)
|
@@ -15,7 +15,7 @@ module Lithic
|
|
15
15
|
def retrieve(tokenization_token, params = {})
|
16
16
|
@client.request(
|
17
17
|
method: :get,
|
18
|
-
path: ["v1/tokenizations/%
|
18
|
+
path: ["v1/tokenizations/%1$s", tokenization_token],
|
19
19
|
model: Lithic::Models::TokenizationRetrieveResponse,
|
20
20
|
options: params[:request_options]
|
21
21
|
)
|
@@ -78,7 +78,7 @@ module Lithic
|
|
78
78
|
def activate(tokenization_token, params = {})
|
79
79
|
@client.request(
|
80
80
|
method: :post,
|
81
|
-
path: ["v1/tokenizations/%
|
81
|
+
path: ["v1/tokenizations/%1$s/activate", tokenization_token],
|
82
82
|
model: NilClass,
|
83
83
|
options: params[:request_options]
|
84
84
|
)
|
@@ -104,7 +104,7 @@ module Lithic
|
|
104
104
|
def deactivate(tokenization_token, params = {})
|
105
105
|
@client.request(
|
106
106
|
method: :post,
|
107
|
-
path: ["v1/tokenizations/%
|
107
|
+
path: ["v1/tokenizations/%1$s/deactivate", tokenization_token],
|
108
108
|
model: NilClass,
|
109
109
|
options: params[:request_options]
|
110
110
|
)
|
@@ -129,7 +129,7 @@ module Lithic
|
|
129
129
|
def pause(tokenization_token, params = {})
|
130
130
|
@client.request(
|
131
131
|
method: :post,
|
132
|
-
path: ["v1/tokenizations/%
|
132
|
+
path: ["v1/tokenizations/%1$s/pause", tokenization_token],
|
133
133
|
model: NilClass,
|
134
134
|
options: params[:request_options]
|
135
135
|
)
|
@@ -161,7 +161,7 @@ module Lithic
|
|
161
161
|
parsed, options = Lithic::Models::TokenizationResendActivationCodeParams.dump_request(params)
|
162
162
|
@client.request(
|
163
163
|
method: :post,
|
164
|
-
path: ["v1/tokenizations/%
|
164
|
+
path: ["v1/tokenizations/%1$s/resend_activation_code", tokenization_token],
|
165
165
|
body: parsed,
|
166
166
|
model: NilClass,
|
167
167
|
options: options
|
@@ -224,7 +224,7 @@ module Lithic
|
|
224
224
|
def unpause(tokenization_token, params = {})
|
225
225
|
@client.request(
|
226
226
|
method: :post,
|
227
|
-
path: ["v1/tokenizations/%
|
227
|
+
path: ["v1/tokenizations/%1$s/unpause", tokenization_token],
|
228
228
|
model: NilClass,
|
229
229
|
options: params[:request_options]
|
230
230
|
)
|
@@ -255,7 +255,7 @@ module Lithic
|
|
255
255
|
parsed, options = Lithic::Models::TokenizationUpdateDigitalCardArtParams.dump_request(params)
|
256
256
|
@client.request(
|
257
257
|
method: :post,
|
258
|
-
path: ["v1/tokenizations/%
|
258
|
+
path: ["v1/tokenizations/%1$s/update_digital_card_art", tokenization_token],
|
259
259
|
body: parsed,
|
260
260
|
model: Lithic::Models::TokenizationUpdateDigitalCardArtResponse,
|
261
261
|
options: options
|
@@ -17,7 +17,7 @@ module Lithic
|
|
17
17
|
def retrieve(transaction_token, params = {})
|
18
18
|
@client.request(
|
19
19
|
method: :get,
|
20
|
-
path: ["v1/transactions/%
|
20
|
+
path: ["v1/transactions/%1$s/enhanced_commercial_data", transaction_token],
|
21
21
|
model: Lithic::Models::Transactions::EnhancedCommercialDataRetrieveResponse,
|
22
22
|
options: params[:request_options]
|
23
23
|
)
|
@@ -18,7 +18,7 @@ module Lithic
|
|
18
18
|
def retrieve(event_token, params = {})
|
19
19
|
@client.request(
|
20
20
|
method: :get,
|
21
|
-
path: ["v1/transactions/events/%
|
21
|
+
path: ["v1/transactions/events/%1$s/enhanced_commercial_data", event_token],
|
22
22
|
model: Lithic::Models::Transactions::Events::EnhancedData,
|
23
23
|
options: params[:request_options]
|
24
24
|
)
|
@@ -22,7 +22,7 @@ module Lithic
|
|
22
22
|
def retrieve(transaction_token, params = {})
|
23
23
|
@client.request(
|
24
24
|
method: :get,
|
25
|
-
path: ["v1/transactions/%
|
25
|
+
path: ["v1/transactions/%1$s", transaction_token],
|
26
26
|
model: Lithic::Models::Transaction,
|
27
27
|
options: params[:request_options]
|
28
28
|
)
|
@@ -83,7 +83,7 @@ module Lithic
|
|
83
83
|
def expire_authorization(transaction_token, params = {})
|
84
84
|
@client.request(
|
85
85
|
method: :post,
|
86
|
-
path: ["v1/transactions/%
|
86
|
+
path: ["v1/transactions/%1$s/expire_authorization", transaction_token],
|
87
87
|
model: NilClass,
|
88
88
|
options: params[:request_options]
|
89
89
|
)
|
data/lib/lithic/util.rb
CHANGED
@@ -253,9 +253,9 @@ module Lithic
|
|
253
253
|
path
|
254
254
|
in []
|
255
255
|
""
|
256
|
-
in [String, *interpolations]
|
256
|
+
in [String => p, *interpolations]
|
257
257
|
encoded = interpolations.map { ERB::Util.url_encode(_1) }
|
258
|
-
|
258
|
+
format(p, *encoded)
|
259
259
|
end
|
260
260
|
end
|
261
261
|
end
|
data/lib/lithic/version.rb
CHANGED
data/rbi/lib/lithic/version.rbi
CHANGED
data/sig/lithic/version.rbs
CHANGED