lithic 0.8.0 → 0.9.0
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/CHANGELOG.md +23 -0
- data/README.md +1 -1
- data/lib/lithic/models/account_holder_create_params.rb +52 -51
- data/lib/lithic/models/payment.rb +9 -1
- data/lib/lithic/resources/account_holders.rb +2 -2
- data/lib/lithic/version.rb +1 -1
- data/rbi/lithic/models/account_holder_create_params.rbi +70 -51
- data/rbi/lithic/models/payment.rbi +11 -3
- data/rbi/lithic/resources/account_holders.rbi +2 -2
- data/sig/lithic/models/account_holder_create_params.rbs +44 -28
- data/sig/lithic/models/payment.rbs +8 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bdfdaef84ba463bcef004c9ee56dffec28197c5be9c0ef5c0afc4fe5f5ff925e
|
|
4
|
+
data.tar.gz: 987874852c6ee027d534ad085f842967c553a4d0bdd8ff7a9bec156d04f7cf0e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 377bec29bb9c975d6b9c005f94a7236c526a05df1bd9a39e2910b0d2408d0d95ff32f2356360a8af624c033350df8dbf35d9713f5d89ae08647017670262e16b
|
|
7
|
+
data.tar.gz: 77ccfee6e72f7f0142ea103476a66adf2c5b3d74af6ff50ead53c9c2b4ebefe09a93966b42e0df1305266d5878d7f91eb73737a64d369f95559969d03cf0f9b7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.9.0 (2026-03-17)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.8.0...v0.9.0](https://github.com/lithic-com/lithic-ruby/compare/v0.8.0...v0.9.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** add remittance_information field to payment wire method attributes ([100269f](https://github.com/lithic-com/lithic-ruby/commit/100269f1b5978d70bb1349ec194ecb960ded5e10))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **types:** make first_name/last_name required in account holder beneficial owner/control person ([8925468](https://github.com/lithic-com/lithic-ruby/commit/892546852aadf3b3442879869f7b0c2059bcbb4c))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Chores
|
|
18
|
+
|
|
19
|
+
* **internal:** tweak CI branches ([6cd6af9](https://github.com/lithic-com/lithic-ruby/commit/6cd6af964276e2a5d921dc2efcb1e30aab3c1212))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Documentation
|
|
23
|
+
|
|
24
|
+
* **api:** add pdf to supported file types in account_holders ([cc89c60](https://github.com/lithic-com/lithic-ruby/commit/cc89c60c821f98d9ed8602acf255e627a5d663af))
|
|
25
|
+
|
|
3
26
|
## 0.8.0 (2026-03-16)
|
|
4
27
|
|
|
5
28
|
Full Changelog: [v0.7.0...v0.8.0](https://github.com/lithic-com/lithic-ruby/compare/v0.7.0...v0.8.0)
|
data/README.md
CHANGED
|
@@ -187,31 +187,37 @@ module Lithic
|
|
|
187
187
|
end
|
|
188
188
|
|
|
189
189
|
class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel
|
|
190
|
+
# @!attribute first_name
|
|
191
|
+
# Individual's first name, as it appears on government-issued identity documents.
|
|
192
|
+
#
|
|
193
|
+
# @return [String]
|
|
194
|
+
required :first_name, String
|
|
195
|
+
|
|
196
|
+
# @!attribute last_name
|
|
197
|
+
# Individual's last name, as it appears on government-issued identity documents.
|
|
198
|
+
#
|
|
199
|
+
# @return [String]
|
|
200
|
+
required :last_name, String
|
|
201
|
+
|
|
190
202
|
# @!attribute address
|
|
191
203
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
192
204
|
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
|
193
205
|
#
|
|
194
|
-
# @return [Lithic::Models::Address]
|
|
195
|
-
|
|
206
|
+
# @return [Lithic::Models::Address, nil]
|
|
207
|
+
optional :address, -> { Lithic::Address }
|
|
196
208
|
|
|
197
209
|
# @!attribute dob
|
|
198
210
|
# Individual's date of birth, as an RFC 3339 date.
|
|
199
211
|
#
|
|
200
|
-
# @return [String]
|
|
201
|
-
|
|
212
|
+
# @return [String, nil]
|
|
213
|
+
optional :dob, String
|
|
202
214
|
|
|
203
215
|
# @!attribute email
|
|
204
216
|
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
|
205
217
|
# customer email address may be used to communicate dispute status and resolution.
|
|
206
218
|
#
|
|
207
|
-
# @return [String]
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
# @!attribute first_name
|
|
211
|
-
# Individual's first name, as it appears on government-issued identity documents.
|
|
212
|
-
#
|
|
213
|
-
# @return [String]
|
|
214
|
-
required :first_name, String
|
|
219
|
+
# @return [String, nil]
|
|
220
|
+
optional :email, String
|
|
215
221
|
|
|
216
222
|
# @!attribute government_id
|
|
217
223
|
# Government-issued identification number (required for identity verification and
|
|
@@ -219,14 +225,8 @@ module Lithic
|
|
|
219
225
|
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
|
|
220
226
|
# entered as full nine-digits, with or without hyphens
|
|
221
227
|
#
|
|
222
|
-
# @return [String]
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
# @!attribute last_name
|
|
226
|
-
# Individual's last name, as it appears on government-issued identity documents.
|
|
227
|
-
#
|
|
228
|
-
# @return [String]
|
|
229
|
-
required :last_name, String
|
|
228
|
+
# @return [String, nil]
|
|
229
|
+
optional :government_id, String
|
|
230
230
|
|
|
231
231
|
# @!attribute phone_number
|
|
232
232
|
# Individual's phone number, entered in E.164 format.
|
|
@@ -234,12 +234,17 @@ module Lithic
|
|
|
234
234
|
# @return [String, nil]
|
|
235
235
|
optional :phone_number, String
|
|
236
236
|
|
|
237
|
-
# @!method initialize(
|
|
237
|
+
# @!method initialize(first_name:, last_name:, address: nil, dob: nil, email: nil, government_id: nil, phone_number: nil)
|
|
238
238
|
# Some parameter documentations has been truncated, see
|
|
239
239
|
# {Lithic::Models::AccountHolderCreateParams::Body::KYBDelegated::BeneficialOwnerIndividual}
|
|
240
240
|
# for more details.
|
|
241
241
|
#
|
|
242
|
-
# Individuals associated with a
|
|
242
|
+
# Individuals associated with a KYB_DELEGATED application. Only first and last
|
|
243
|
+
# name are required.
|
|
244
|
+
#
|
|
245
|
+
# @param first_name [String] Individual's first name, as it appears on government-issued identity documents.
|
|
246
|
+
#
|
|
247
|
+
# @param last_name [String] Individual's last name, as it appears on government-issued identity documents.
|
|
243
248
|
#
|
|
244
249
|
# @param address [Lithic::Models::Address] Individual's current address - PO boxes, UPS drops, and FedEx drops are not acce
|
|
245
250
|
#
|
|
@@ -247,42 +252,44 @@ module Lithic
|
|
|
247
252
|
#
|
|
248
253
|
# @param email [String] Individual's email address.
|
|
249
254
|
#
|
|
250
|
-
# @param first_name [String] Individual's first name, as it appears on government-issued identity documents.
|
|
251
|
-
#
|
|
252
255
|
# @param government_id [String] Government-issued identification number (required for identity verification and
|
|
253
256
|
#
|
|
254
|
-
# @param last_name [String] Individual's last name, as it appears on government-issued identity documents.
|
|
255
|
-
#
|
|
256
257
|
# @param phone_number [String] Individual's phone number, entered in E.164 format.
|
|
257
258
|
end
|
|
258
259
|
|
|
259
260
|
# @see Lithic::Models::AccountHolderCreateParams::Body::KYBDelegated#control_person
|
|
260
261
|
class ControlPerson < Lithic::Internal::Type::BaseModel
|
|
262
|
+
# @!attribute first_name
|
|
263
|
+
# Individual's first name, as it appears on government-issued identity documents.
|
|
264
|
+
#
|
|
265
|
+
# @return [String]
|
|
266
|
+
required :first_name, String
|
|
267
|
+
|
|
268
|
+
# @!attribute last_name
|
|
269
|
+
# Individual's last name, as it appears on government-issued identity documents.
|
|
270
|
+
#
|
|
271
|
+
# @return [String]
|
|
272
|
+
required :last_name, String
|
|
273
|
+
|
|
261
274
|
# @!attribute address
|
|
262
275
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
263
276
|
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
|
264
277
|
#
|
|
265
|
-
# @return [Lithic::Models::Address]
|
|
266
|
-
|
|
278
|
+
# @return [Lithic::Models::Address, nil]
|
|
279
|
+
optional :address, -> { Lithic::Address }
|
|
267
280
|
|
|
268
281
|
# @!attribute dob
|
|
269
282
|
# Individual's date of birth, as an RFC 3339 date.
|
|
270
283
|
#
|
|
271
|
-
# @return [String]
|
|
272
|
-
|
|
284
|
+
# @return [String, nil]
|
|
285
|
+
optional :dob, String
|
|
273
286
|
|
|
274
287
|
# @!attribute email
|
|
275
288
|
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
|
276
289
|
# customer email address may be used to communicate dispute status and resolution.
|
|
277
290
|
#
|
|
278
|
-
# @return [String]
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
# @!attribute first_name
|
|
282
|
-
# Individual's first name, as it appears on government-issued identity documents.
|
|
283
|
-
#
|
|
284
|
-
# @return [String]
|
|
285
|
-
required :first_name, String
|
|
291
|
+
# @return [String, nil]
|
|
292
|
+
optional :email, String
|
|
286
293
|
|
|
287
294
|
# @!attribute government_id
|
|
288
295
|
# Government-issued identification number (required for identity verification and
|
|
@@ -290,14 +297,8 @@ module Lithic
|
|
|
290
297
|
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
|
|
291
298
|
# entered as full nine-digits, with or without hyphens
|
|
292
299
|
#
|
|
293
|
-
# @return [String]
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
# @!attribute last_name
|
|
297
|
-
# Individual's last name, as it appears on government-issued identity documents.
|
|
298
|
-
#
|
|
299
|
-
# @return [String]
|
|
300
|
-
required :last_name, String
|
|
300
|
+
# @return [String, nil]
|
|
301
|
+
optional :government_id, String
|
|
301
302
|
|
|
302
303
|
# @!attribute phone_number
|
|
303
304
|
# Individual's phone number, entered in E.164 format.
|
|
@@ -305,7 +306,7 @@ module Lithic
|
|
|
305
306
|
# @return [String, nil]
|
|
306
307
|
optional :phone_number, String
|
|
307
308
|
|
|
308
|
-
# @!method initialize(
|
|
309
|
+
# @!method initialize(first_name:, last_name:, address: nil, dob: nil, email: nil, government_id: nil, phone_number: nil)
|
|
309
310
|
# Some parameter documentations has been truncated, see
|
|
310
311
|
# {Lithic::Models::AccountHolderCreateParams::Body::KYBDelegated::ControlPerson}
|
|
311
312
|
# for more details.
|
|
@@ -319,18 +320,18 @@ module Lithic
|
|
|
319
320
|
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
|
320
321
|
# (Section II) for more background.
|
|
321
322
|
#
|
|
323
|
+
# @param first_name [String] Individual's first name, as it appears on government-issued identity documents.
|
|
324
|
+
#
|
|
325
|
+
# @param last_name [String] Individual's last name, as it appears on government-issued identity documents.
|
|
326
|
+
#
|
|
322
327
|
# @param address [Lithic::Models::Address] Individual's current address - PO boxes, UPS drops, and FedEx drops are not acce
|
|
323
328
|
#
|
|
324
329
|
# @param dob [String] Individual's date of birth, as an RFC 3339 date.
|
|
325
330
|
#
|
|
326
331
|
# @param email [String] Individual's email address.
|
|
327
332
|
#
|
|
328
|
-
# @param first_name [String] Individual's first name, as it appears on government-issued identity documents.
|
|
329
|
-
#
|
|
330
333
|
# @param government_id [String] Government-issued identification number (required for identity verification and
|
|
331
334
|
#
|
|
332
|
-
# @param last_name [String] Individual's last name, as it appears on government-issued identity documents.
|
|
333
|
-
#
|
|
334
335
|
# @param phone_number [String] Individual's phone number, entered in E.164 format.
|
|
335
336
|
end
|
|
336
337
|
|
|
@@ -603,7 +603,13 @@ module Lithic
|
|
|
603
603
|
# @return [String, nil]
|
|
604
604
|
optional :message_id, String, nil?: true
|
|
605
605
|
|
|
606
|
-
# @!
|
|
606
|
+
# @!attribute remittance_information
|
|
607
|
+
# Payment details or invoice reference
|
|
608
|
+
#
|
|
609
|
+
# @return [String, nil]
|
|
610
|
+
optional :remittance_information, String, nil?: true
|
|
611
|
+
|
|
612
|
+
# @!method initialize(wire_message_type:, wire_network:, creditor: nil, debtor: nil, message_id: nil, remittance_information: nil)
|
|
607
613
|
# Some parameter documentations has been truncated, see
|
|
608
614
|
# {Lithic::Models::Payment::MethodAttributes::WireMethodAttributes} for more
|
|
609
615
|
# details.
|
|
@@ -617,6 +623,8 @@ module Lithic
|
|
|
617
623
|
# @param debtor [Lithic::Models::WirePartyDetails]
|
|
618
624
|
#
|
|
619
625
|
# @param message_id [String, nil] Point to point reference identifier, as assigned by the instructing party, used
|
|
626
|
+
#
|
|
627
|
+
# @param remittance_information [String, nil] Payment details or invoice reference
|
|
620
628
|
|
|
621
629
|
# Type of wire transfer
|
|
622
630
|
#
|
|
@@ -279,8 +279,8 @@ module Lithic
|
|
|
279
279
|
#
|
|
280
280
|
# This endpoint is only valid for evaluations in a `PENDING_DOCUMENT` state.
|
|
281
281
|
#
|
|
282
|
-
#
|
|
283
|
-
# 15 MiB. Once both required uploads have been successfully completed, your
|
|
282
|
+
# Supported file types include `jpg`, `png`, and `pdf`. Each file must be less
|
|
283
|
+
# than 15 MiB. Once both required uploads have been successfully completed, your
|
|
284
284
|
# document will be run through KYC verification.
|
|
285
285
|
#
|
|
286
286
|
# If you have registered a webhook, you will receive evaluation updates for any
|
data/lib/lithic/version.rb
CHANGED
|
@@ -395,37 +395,46 @@ module Lithic
|
|
|
395
395
|
)
|
|
396
396
|
end
|
|
397
397
|
|
|
398
|
+
# Individual's first name, as it appears on government-issued identity documents.
|
|
399
|
+
sig { returns(String) }
|
|
400
|
+
attr_accessor :first_name
|
|
401
|
+
|
|
402
|
+
# Individual's last name, as it appears on government-issued identity documents.
|
|
403
|
+
sig { returns(String) }
|
|
404
|
+
attr_accessor :last_name
|
|
405
|
+
|
|
398
406
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
399
407
|
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
|
400
|
-
sig { returns(Lithic::Address) }
|
|
408
|
+
sig { returns(T.nilable(Lithic::Address)) }
|
|
401
409
|
attr_reader :address
|
|
402
410
|
|
|
403
411
|
sig { params(address: Lithic::Address::OrHash).void }
|
|
404
412
|
attr_writer :address
|
|
405
413
|
|
|
406
414
|
# Individual's date of birth, as an RFC 3339 date.
|
|
407
|
-
sig { returns(String) }
|
|
408
|
-
|
|
415
|
+
sig { returns(T.nilable(String)) }
|
|
416
|
+
attr_reader :dob
|
|
417
|
+
|
|
418
|
+
sig { params(dob: String).void }
|
|
419
|
+
attr_writer :dob
|
|
409
420
|
|
|
410
421
|
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
|
411
422
|
# customer email address may be used to communicate dispute status and resolution.
|
|
412
|
-
sig { returns(String) }
|
|
413
|
-
|
|
423
|
+
sig { returns(T.nilable(String)) }
|
|
424
|
+
attr_reader :email
|
|
414
425
|
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
attr_accessor :first_name
|
|
426
|
+
sig { params(email: String).void }
|
|
427
|
+
attr_writer :email
|
|
418
428
|
|
|
419
429
|
# Government-issued identification number (required for identity verification and
|
|
420
430
|
# compliance with banking regulations). Social Security Numbers (SSN) and
|
|
421
431
|
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
|
|
422
432
|
# entered as full nine-digits, with or without hyphens
|
|
423
|
-
sig { returns(String) }
|
|
424
|
-
|
|
433
|
+
sig { returns(T.nilable(String)) }
|
|
434
|
+
attr_reader :government_id
|
|
425
435
|
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
attr_accessor :last_name
|
|
436
|
+
sig { params(government_id: String).void }
|
|
437
|
+
attr_writer :government_id
|
|
429
438
|
|
|
430
439
|
# Individual's phone number, entered in E.164 format.
|
|
431
440
|
sig { returns(T.nilable(String)) }
|
|
@@ -434,36 +443,37 @@ module Lithic
|
|
|
434
443
|
sig { params(phone_number: String).void }
|
|
435
444
|
attr_writer :phone_number
|
|
436
445
|
|
|
437
|
-
# Individuals associated with a
|
|
446
|
+
# Individuals associated with a KYB_DELEGATED application. Only first and last
|
|
447
|
+
# name are required.
|
|
438
448
|
sig do
|
|
439
449
|
params(
|
|
450
|
+
first_name: String,
|
|
451
|
+
last_name: String,
|
|
440
452
|
address: Lithic::Address::OrHash,
|
|
441
453
|
dob: String,
|
|
442
454
|
email: String,
|
|
443
|
-
first_name: String,
|
|
444
455
|
government_id: String,
|
|
445
|
-
last_name: String,
|
|
446
456
|
phone_number: String
|
|
447
457
|
).returns(T.attached_class)
|
|
448
458
|
end
|
|
449
459
|
def self.new(
|
|
460
|
+
# Individual's first name, as it appears on government-issued identity documents.
|
|
461
|
+
first_name:,
|
|
462
|
+
# Individual's last name, as it appears on government-issued identity documents.
|
|
463
|
+
last_name:,
|
|
450
464
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
451
465
|
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
|
452
|
-
address
|
|
466
|
+
address: nil,
|
|
453
467
|
# Individual's date of birth, as an RFC 3339 date.
|
|
454
|
-
dob
|
|
468
|
+
dob: nil,
|
|
455
469
|
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
|
456
470
|
# customer email address may be used to communicate dispute status and resolution.
|
|
457
|
-
email
|
|
458
|
-
# Individual's first name, as it appears on government-issued identity documents.
|
|
459
|
-
first_name:,
|
|
471
|
+
email: nil,
|
|
460
472
|
# Government-issued identification number (required for identity verification and
|
|
461
473
|
# compliance with banking regulations). Social Security Numbers (SSN) and
|
|
462
474
|
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
|
|
463
475
|
# entered as full nine-digits, with or without hyphens
|
|
464
|
-
government_id
|
|
465
|
-
# Individual's last name, as it appears on government-issued identity documents.
|
|
466
|
-
last_name:,
|
|
476
|
+
government_id: nil,
|
|
467
477
|
# Individual's phone number, entered in E.164 format.
|
|
468
478
|
phone_number: nil
|
|
469
479
|
)
|
|
@@ -472,12 +482,12 @@ module Lithic
|
|
|
472
482
|
sig do
|
|
473
483
|
override.returns(
|
|
474
484
|
{
|
|
485
|
+
first_name: String,
|
|
486
|
+
last_name: String,
|
|
475
487
|
address: Lithic::Address,
|
|
476
488
|
dob: String,
|
|
477
489
|
email: String,
|
|
478
|
-
first_name: String,
|
|
479
490
|
government_id: String,
|
|
480
|
-
last_name: String,
|
|
481
491
|
phone_number: String
|
|
482
492
|
}
|
|
483
493
|
)
|
|
@@ -495,37 +505,46 @@ module Lithic
|
|
|
495
505
|
)
|
|
496
506
|
end
|
|
497
507
|
|
|
508
|
+
# Individual's first name, as it appears on government-issued identity documents.
|
|
509
|
+
sig { returns(String) }
|
|
510
|
+
attr_accessor :first_name
|
|
511
|
+
|
|
512
|
+
# Individual's last name, as it appears on government-issued identity documents.
|
|
513
|
+
sig { returns(String) }
|
|
514
|
+
attr_accessor :last_name
|
|
515
|
+
|
|
498
516
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
499
517
|
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
|
500
|
-
sig { returns(Lithic::Address) }
|
|
518
|
+
sig { returns(T.nilable(Lithic::Address)) }
|
|
501
519
|
attr_reader :address
|
|
502
520
|
|
|
503
521
|
sig { params(address: Lithic::Address::OrHash).void }
|
|
504
522
|
attr_writer :address
|
|
505
523
|
|
|
506
524
|
# Individual's date of birth, as an RFC 3339 date.
|
|
507
|
-
sig { returns(String) }
|
|
508
|
-
|
|
525
|
+
sig { returns(T.nilable(String)) }
|
|
526
|
+
attr_reader :dob
|
|
527
|
+
|
|
528
|
+
sig { params(dob: String).void }
|
|
529
|
+
attr_writer :dob
|
|
509
530
|
|
|
510
531
|
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
|
511
532
|
# customer email address may be used to communicate dispute status and resolution.
|
|
512
|
-
sig { returns(String) }
|
|
513
|
-
|
|
533
|
+
sig { returns(T.nilable(String)) }
|
|
534
|
+
attr_reader :email
|
|
514
535
|
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
attr_accessor :first_name
|
|
536
|
+
sig { params(email: String).void }
|
|
537
|
+
attr_writer :email
|
|
518
538
|
|
|
519
539
|
# Government-issued identification number (required for identity verification and
|
|
520
540
|
# compliance with banking regulations). Social Security Numbers (SSN) and
|
|
521
541
|
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
|
|
522
542
|
# entered as full nine-digits, with or without hyphens
|
|
523
|
-
sig { returns(String) }
|
|
524
|
-
|
|
543
|
+
sig { returns(T.nilable(String)) }
|
|
544
|
+
attr_reader :government_id
|
|
525
545
|
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
attr_accessor :last_name
|
|
546
|
+
sig { params(government_id: String).void }
|
|
547
|
+
attr_writer :government_id
|
|
529
548
|
|
|
530
549
|
# Individual's phone number, entered in E.164 format.
|
|
531
550
|
sig { returns(T.nilable(String)) }
|
|
@@ -544,33 +563,33 @@ module Lithic
|
|
|
544
563
|
# (Section II) for more background.
|
|
545
564
|
sig do
|
|
546
565
|
params(
|
|
566
|
+
first_name: String,
|
|
567
|
+
last_name: String,
|
|
547
568
|
address: Lithic::Address::OrHash,
|
|
548
569
|
dob: String,
|
|
549
570
|
email: String,
|
|
550
|
-
first_name: String,
|
|
551
571
|
government_id: String,
|
|
552
|
-
last_name: String,
|
|
553
572
|
phone_number: String
|
|
554
573
|
).returns(T.attached_class)
|
|
555
574
|
end
|
|
556
575
|
def self.new(
|
|
576
|
+
# Individual's first name, as it appears on government-issued identity documents.
|
|
577
|
+
first_name:,
|
|
578
|
+
# Individual's last name, as it appears on government-issued identity documents.
|
|
579
|
+
last_name:,
|
|
557
580
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
|
558
581
|
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
|
|
559
|
-
address
|
|
582
|
+
address: nil,
|
|
560
583
|
# Individual's date of birth, as an RFC 3339 date.
|
|
561
|
-
dob
|
|
584
|
+
dob: nil,
|
|
562
585
|
# Individual's email address. If utilizing Lithic for chargeback processing, this
|
|
563
586
|
# customer email address may be used to communicate dispute status and resolution.
|
|
564
|
-
email
|
|
565
|
-
# Individual's first name, as it appears on government-issued identity documents.
|
|
566
|
-
first_name:,
|
|
587
|
+
email: nil,
|
|
567
588
|
# Government-issued identification number (required for identity verification and
|
|
568
589
|
# compliance with banking regulations). Social Security Numbers (SSN) and
|
|
569
590
|
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
|
|
570
591
|
# entered as full nine-digits, with or without hyphens
|
|
571
|
-
government_id
|
|
572
|
-
# Individual's last name, as it appears on government-issued identity documents.
|
|
573
|
-
last_name:,
|
|
592
|
+
government_id: nil,
|
|
574
593
|
# Individual's phone number, entered in E.164 format.
|
|
575
594
|
phone_number: nil
|
|
576
595
|
)
|
|
@@ -579,12 +598,12 @@ module Lithic
|
|
|
579
598
|
sig do
|
|
580
599
|
override.returns(
|
|
581
600
|
{
|
|
601
|
+
first_name: String,
|
|
602
|
+
last_name: String,
|
|
582
603
|
address: Lithic::Address,
|
|
583
604
|
dob: String,
|
|
584
605
|
email: String,
|
|
585
|
-
first_name: String,
|
|
586
606
|
government_id: String,
|
|
587
|
-
last_name: String,
|
|
588
607
|
phone_number: String
|
|
589
608
|
}
|
|
590
609
|
)
|
|
@@ -982,6 +982,10 @@ module Lithic
|
|
|
982
982
|
sig { returns(T.nilable(String)) }
|
|
983
983
|
attr_accessor :message_id
|
|
984
984
|
|
|
985
|
+
# Payment details or invoice reference
|
|
986
|
+
sig { returns(T.nilable(String)) }
|
|
987
|
+
attr_accessor :remittance_information
|
|
988
|
+
|
|
985
989
|
sig do
|
|
986
990
|
params(
|
|
987
991
|
wire_message_type: T.nilable(String),
|
|
@@ -989,7 +993,8 @@ module Lithic
|
|
|
989
993
|
Lithic::Payment::MethodAttributes::WireMethodAttributes::WireNetwork::OrSymbol,
|
|
990
994
|
creditor: Lithic::WirePartyDetails::OrHash,
|
|
991
995
|
debtor: Lithic::WirePartyDetails::OrHash,
|
|
992
|
-
message_id: T.nilable(String)
|
|
996
|
+
message_id: T.nilable(String),
|
|
997
|
+
remittance_information: T.nilable(String)
|
|
993
998
|
).returns(T.attached_class)
|
|
994
999
|
end
|
|
995
1000
|
def self.new(
|
|
@@ -1001,7 +1006,9 @@ module Lithic
|
|
|
1001
1006
|
debtor: nil,
|
|
1002
1007
|
# Point to point reference identifier, as assigned by the instructing party, used
|
|
1003
1008
|
# for tracking the message through the Fedwire system
|
|
1004
|
-
message_id: nil
|
|
1009
|
+
message_id: nil,
|
|
1010
|
+
# Payment details or invoice reference
|
|
1011
|
+
remittance_information: nil
|
|
1005
1012
|
)
|
|
1006
1013
|
end
|
|
1007
1014
|
|
|
@@ -1013,7 +1020,8 @@ module Lithic
|
|
|
1013
1020
|
Lithic::Payment::MethodAttributes::WireMethodAttributes::WireNetwork::TaggedSymbol,
|
|
1014
1021
|
creditor: Lithic::WirePartyDetails,
|
|
1015
1022
|
debtor: Lithic::WirePartyDetails,
|
|
1016
|
-
message_id: T.nilable(String)
|
|
1023
|
+
message_id: T.nilable(String),
|
|
1024
|
+
remittance_information: T.nilable(String)
|
|
1017
1025
|
}
|
|
1018
1026
|
)
|
|
1019
1027
|
end
|
|
@@ -245,8 +245,8 @@ module Lithic
|
|
|
245
245
|
#
|
|
246
246
|
# This endpoint is only valid for evaluations in a `PENDING_DOCUMENT` state.
|
|
247
247
|
#
|
|
248
|
-
#
|
|
249
|
-
# 15 MiB. Once both required uploads have been successfully completed, your
|
|
248
|
+
# Supported file types include `jpg`, `png`, and `pdf`. Each file must be less
|
|
249
|
+
# than 15 MiB. Once both required uploads have been successfully completed, your
|
|
250
250
|
# document will be run through KYC verification.
|
|
251
251
|
#
|
|
252
252
|
# If you have registered a webhook, you will receive evaluation updates for any
|
|
@@ -159,98 +159,114 @@ module Lithic
|
|
|
159
159
|
|
|
160
160
|
type beneficial_owner_individual =
|
|
161
161
|
{
|
|
162
|
+
first_name: String,
|
|
163
|
+
last_name: String,
|
|
162
164
|
address: Lithic::Address,
|
|
163
165
|
dob: String,
|
|
164
166
|
email: String,
|
|
165
|
-
first_name: String,
|
|
166
167
|
government_id: String,
|
|
167
|
-
last_name: String,
|
|
168
168
|
phone_number: String
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel
|
|
172
|
-
attr_accessor
|
|
172
|
+
attr_accessor first_name: String
|
|
173
173
|
|
|
174
|
-
attr_accessor
|
|
174
|
+
attr_accessor last_name: String
|
|
175
175
|
|
|
176
|
-
|
|
176
|
+
attr_reader address: Lithic::Address?
|
|
177
177
|
|
|
178
|
-
|
|
178
|
+
def address=: (Lithic::Address) -> Lithic::Address
|
|
179
179
|
|
|
180
|
-
|
|
180
|
+
attr_reader dob: String?
|
|
181
181
|
|
|
182
|
-
|
|
182
|
+
def dob=: (String) -> String
|
|
183
|
+
|
|
184
|
+
attr_reader email: String?
|
|
185
|
+
|
|
186
|
+
def email=: (String) -> String
|
|
187
|
+
|
|
188
|
+
attr_reader government_id: String?
|
|
189
|
+
|
|
190
|
+
def government_id=: (String) -> String
|
|
183
191
|
|
|
184
192
|
attr_reader phone_number: String?
|
|
185
193
|
|
|
186
194
|
def phone_number=: (String) -> String
|
|
187
195
|
|
|
188
196
|
def initialize: (
|
|
189
|
-
address: Lithic::Address,
|
|
190
|
-
dob: String,
|
|
191
|
-
email: String,
|
|
192
197
|
first_name: String,
|
|
193
|
-
government_id: String,
|
|
194
198
|
last_name: String,
|
|
199
|
+
?address: Lithic::Address,
|
|
200
|
+
?dob: String,
|
|
201
|
+
?email: String,
|
|
202
|
+
?government_id: String,
|
|
195
203
|
?phone_number: String
|
|
196
204
|
) -> void
|
|
197
205
|
|
|
198
206
|
def to_hash: -> {
|
|
207
|
+
first_name: String,
|
|
208
|
+
last_name: String,
|
|
199
209
|
address: Lithic::Address,
|
|
200
210
|
dob: String,
|
|
201
211
|
email: String,
|
|
202
|
-
first_name: String,
|
|
203
212
|
government_id: String,
|
|
204
|
-
last_name: String,
|
|
205
213
|
phone_number: String
|
|
206
214
|
}
|
|
207
215
|
end
|
|
208
216
|
|
|
209
217
|
type control_person =
|
|
210
218
|
{
|
|
219
|
+
first_name: String,
|
|
220
|
+
last_name: String,
|
|
211
221
|
address: Lithic::Address,
|
|
212
222
|
dob: String,
|
|
213
223
|
email: String,
|
|
214
|
-
first_name: String,
|
|
215
224
|
government_id: String,
|
|
216
|
-
last_name: String,
|
|
217
225
|
phone_number: String
|
|
218
226
|
}
|
|
219
227
|
|
|
220
228
|
class ControlPerson < Lithic::Internal::Type::BaseModel
|
|
221
|
-
attr_accessor
|
|
229
|
+
attr_accessor first_name: String
|
|
222
230
|
|
|
223
|
-
attr_accessor
|
|
231
|
+
attr_accessor last_name: String
|
|
224
232
|
|
|
225
|
-
|
|
233
|
+
attr_reader address: Lithic::Address?
|
|
226
234
|
|
|
227
|
-
|
|
235
|
+
def address=: (Lithic::Address) -> Lithic::Address
|
|
228
236
|
|
|
229
|
-
|
|
237
|
+
attr_reader dob: String?
|
|
230
238
|
|
|
231
|
-
|
|
239
|
+
def dob=: (String) -> String
|
|
240
|
+
|
|
241
|
+
attr_reader email: String?
|
|
242
|
+
|
|
243
|
+
def email=: (String) -> String
|
|
244
|
+
|
|
245
|
+
attr_reader government_id: String?
|
|
246
|
+
|
|
247
|
+
def government_id=: (String) -> String
|
|
232
248
|
|
|
233
249
|
attr_reader phone_number: String?
|
|
234
250
|
|
|
235
251
|
def phone_number=: (String) -> String
|
|
236
252
|
|
|
237
253
|
def initialize: (
|
|
238
|
-
address: Lithic::Address,
|
|
239
|
-
dob: String,
|
|
240
|
-
email: String,
|
|
241
254
|
first_name: String,
|
|
242
|
-
government_id: String,
|
|
243
255
|
last_name: String,
|
|
256
|
+
?address: Lithic::Address,
|
|
257
|
+
?dob: String,
|
|
258
|
+
?email: String,
|
|
259
|
+
?government_id: String,
|
|
244
260
|
?phone_number: String
|
|
245
261
|
) -> void
|
|
246
262
|
|
|
247
263
|
def to_hash: -> {
|
|
264
|
+
first_name: String,
|
|
265
|
+
last_name: String,
|
|
248
266
|
address: Lithic::Address,
|
|
249
267
|
dob: String,
|
|
250
268
|
email: String,
|
|
251
|
-
first_name: String,
|
|
252
269
|
government_id: String,
|
|
253
|
-
last_name: String,
|
|
254
270
|
phone_number: String
|
|
255
271
|
}
|
|
256
272
|
end
|
|
@@ -423,7 +423,8 @@ module Lithic
|
|
|
423
423
|
wire_network: Lithic::Models::Payment::MethodAttributes::WireMethodAttributes::wire_network,
|
|
424
424
|
creditor: Lithic::WirePartyDetails,
|
|
425
425
|
debtor: Lithic::WirePartyDetails,
|
|
426
|
-
message_id: String
|
|
426
|
+
message_id: String?,
|
|
427
|
+
remittance_information: String?
|
|
427
428
|
}
|
|
428
429
|
|
|
429
430
|
class WireMethodAttributes < Lithic::Internal::Type::BaseModel
|
|
@@ -441,12 +442,15 @@ module Lithic
|
|
|
441
442
|
|
|
442
443
|
attr_accessor message_id: String?
|
|
443
444
|
|
|
445
|
+
attr_accessor remittance_information: String?
|
|
446
|
+
|
|
444
447
|
def initialize: (
|
|
445
448
|
wire_message_type: String?,
|
|
446
449
|
wire_network: Lithic::Models::Payment::MethodAttributes::WireMethodAttributes::wire_network,
|
|
447
450
|
?creditor: Lithic::WirePartyDetails,
|
|
448
451
|
?debtor: Lithic::WirePartyDetails,
|
|
449
|
-
?message_id: String
|
|
452
|
+
?message_id: String?,
|
|
453
|
+
?remittance_information: String?
|
|
450
454
|
) -> void
|
|
451
455
|
|
|
452
456
|
def to_hash: -> {
|
|
@@ -454,7 +458,8 @@ module Lithic
|
|
|
454
458
|
wire_network: Lithic::Models::Payment::MethodAttributes::WireMethodAttributes::wire_network,
|
|
455
459
|
creditor: Lithic::WirePartyDetails,
|
|
456
460
|
debtor: Lithic::WirePartyDetails,
|
|
457
|
-
message_id: String
|
|
461
|
+
message_id: String?,
|
|
462
|
+
remittance_information: String?
|
|
458
463
|
}
|
|
459
464
|
|
|
460
465
|
type wire_network = :FEDWIRE | :SWIFT
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lithic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.9.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lithic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|