Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: CI
on:
push:
branches-ignore:
- 'generated'
- 'codegen/**'
- 'integrated/**'
- 'stl-preview-head/**'
- 'stl-preview-base/**'
branches:
- '**'
- '!integrated/**'
- '!stl-preview-head/**'
- '!stl-preview-base/**'
- '!generated'
- '!codegen/**'
- 'codegen/stl/**'
pull_request:
branches-ignore:
- 'stl-preview-head/**'
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.8.0"
".": "0.9.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 190
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-e88a4837037207e9591d48d534bd61acca57ca6e7c59ec0d4fdcf6e05288cc6d.yml
openapi_spec_hash: fd8bbc173d1b6dafd117fb1a3a3d446c
config_hash: 3005e2502301e77754e5e1455584525b
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-5bb8d2bedef02f07498de3f252fa6da1393d2fb59f727b05828804cea9aded30.yml
openapi_spec_hash: d1f260252b3bb7ebc77fa7134db6c65d
config_hash: 400b9afe0f7f7b7d96177d05950775f9
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# Changelog

## 0.9.0 (2026-03-17)

Full Changelog: [v0.8.0...v0.9.0](https://github.com/lithic-com/lithic-ruby/compare/v0.8.0...v0.9.0)

### Features

* **api:** add remittance_information field to payment wire method attributes ([100269f](https://github.com/lithic-com/lithic-ruby/commit/100269f1b5978d70bb1349ec194ecb960ded5e10))


### Bug Fixes

* **types:** make first_name/last_name required in account holder beneficial owner/control person ([8925468](https://github.com/lithic-com/lithic-ruby/commit/892546852aadf3b3442879869f7b0c2059bcbb4c))


### Chores

* **internal:** tweak CI branches ([6cd6af9](https://github.com/lithic-com/lithic-ruby/commit/6cd6af964276e2a5d921dc2efcb1e30aab3c1212))


### Documentation

* **api:** add pdf to supported file types in account_holders ([cc89c60](https://github.com/lithic-com/lithic-ruby/commit/cc89c60c821f98d9ed8602acf255e627a5d663af))

## 0.8.0 (2026-03-16)

Full Changelog: [v0.7.0...v0.8.0](https://github.com/lithic-com/lithic-ruby/compare/v0.7.0...v0.8.0)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
lithic (0.8.0)
lithic (0.9.0)
cgi
connection_pool

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "lithic", "~> 0.8.0"
gem "lithic", "~> 0.9.0"
```

<!-- x-release-please-end -->
Expand Down
103 changes: 52 additions & 51 deletions lib/lithic/models/account_holder_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -187,125 +187,126 @@ class BusinessEntity < Lithic::Internal::Type::BaseModel
end

class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel
# @!attribute first_name
# Individual's first name, as it appears on government-issued identity documents.
#
# @return [String]
required :first_name, String

# @!attribute last_name
# Individual's last name, as it appears on government-issued identity documents.
#
# @return [String]
required :last_name, String

# @!attribute address
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
#
# @return [Lithic::Models::Address]
required :address, -> { Lithic::Address }
# @return [Lithic::Models::Address, nil]
optional :address, -> { Lithic::Address }

# @!attribute dob
# Individual's date of birth, as an RFC 3339 date.
#
# @return [String]
required :dob, String
# @return [String, nil]
optional :dob, String

# @!attribute email
# Individual's email address. If utilizing Lithic for chargeback processing, this
# customer email address may be used to communicate dispute status and resolution.
#
# @return [String]
required :email, String

# @!attribute first_name
# Individual's first name, as it appears on government-issued identity documents.
#
# @return [String]
required :first_name, String
# @return [String, nil]
optional :email, String

# @!attribute government_id
# Government-issued identification number (required for identity verification and
# compliance with banking regulations). Social Security Numbers (SSN) and
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
# entered as full nine-digits, with or without hyphens
#
# @return [String]
required :government_id, String

# @!attribute last_name
# Individual's last name, as it appears on government-issued identity documents.
#
# @return [String]
required :last_name, String
# @return [String, nil]
optional :government_id, String

# @!attribute phone_number
# Individual's phone number, entered in E.164 format.
#
# @return [String, nil]
optional :phone_number, String

# @!method initialize(address:, dob:, email:, first_name:, government_id:, last_name:, phone_number: nil)
# @!method initialize(first_name:, last_name:, address: nil, dob: nil, email: nil, government_id: nil, phone_number: nil)
# Some parameter documentations has been truncated, see
# {Lithic::Models::AccountHolderCreateParams::Body::KYBDelegated::BeneficialOwnerIndividual}
# for more details.
#
# Individuals associated with a KYB application. Phone number is optional.
# Individuals associated with a KYB_DELEGATED application. Only first and last
# name are required.
#
# @param first_name [String] Individual's first name, as it appears on government-issued identity documents.
#
# @param last_name [String] Individual's last name, as it appears on government-issued identity documents.
#
# @param address [Lithic::Models::Address] Individual's current address - PO boxes, UPS drops, and FedEx drops are not acce
#
# @param dob [String] Individual's date of birth, as an RFC 3339 date.
#
# @param email [String] Individual's email address.
#
# @param first_name [String] Individual's first name, as it appears on government-issued identity documents.
#
# @param government_id [String] Government-issued identification number (required for identity verification and
#
# @param last_name [String] Individual's last name, as it appears on government-issued identity documents.
#
# @param phone_number [String] Individual's phone number, entered in E.164 format.
end

# @see Lithic::Models::AccountHolderCreateParams::Body::KYBDelegated#control_person
class ControlPerson < Lithic::Internal::Type::BaseModel
# @!attribute first_name
# Individual's first name, as it appears on government-issued identity documents.
#
# @return [String]
required :first_name, String

# @!attribute last_name
# Individual's last name, as it appears on government-issued identity documents.
#
# @return [String]
required :last_name, String

# @!attribute address
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
# acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
#
# @return [Lithic::Models::Address]
required :address, -> { Lithic::Address }
# @return [Lithic::Models::Address, nil]
optional :address, -> { Lithic::Address }

# @!attribute dob
# Individual's date of birth, as an RFC 3339 date.
#
# @return [String]
required :dob, String
# @return [String, nil]
optional :dob, String

# @!attribute email
# Individual's email address. If utilizing Lithic for chargeback processing, this
# customer email address may be used to communicate dispute status and resolution.
#
# @return [String]
required :email, String

# @!attribute first_name
# Individual's first name, as it appears on government-issued identity documents.
#
# @return [String]
required :first_name, String
# @return [String, nil]
optional :email, String

# @!attribute government_id
# Government-issued identification number (required for identity verification and
# compliance with banking regulations). Social Security Numbers (SSN) and
# Individual Taxpayer Identification Numbers (ITIN) are currently supported,
# entered as full nine-digits, with or without hyphens
#
# @return [String]
required :government_id, String

# @!attribute last_name
# Individual's last name, as it appears on government-issued identity documents.
#
# @return [String]
required :last_name, String
# @return [String, nil]
optional :government_id, String

# @!attribute phone_number
# Individual's phone number, entered in E.164 format.
#
# @return [String, nil]
optional :phone_number, String

# @!method initialize(address:, dob:, email:, first_name:, government_id:, last_name:, phone_number: nil)
# @!method initialize(first_name:, last_name:, address: nil, dob: nil, email: nil, government_id: nil, phone_number: nil)
# Some parameter documentations has been truncated, see
# {Lithic::Models::AccountHolderCreateParams::Body::KYBDelegated::ControlPerson}
# for more details.
Expand All @@ -319,18 +320,18 @@ class ControlPerson < Lithic::Internal::Type::BaseModel
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
# (Section II) for more background.
#
# @param first_name [String] Individual's first name, as it appears on government-issued identity documents.
#
# @param last_name [String] Individual's last name, as it appears on government-issued identity documents.
#
# @param address [Lithic::Models::Address] Individual's current address - PO boxes, UPS drops, and FedEx drops are not acce
#
# @param dob [String] Individual's date of birth, as an RFC 3339 date.
#
# @param email [String] Individual's email address.
#
# @param first_name [String] Individual's first name, as it appears on government-issued identity documents.
#
# @param government_id [String] Government-issued identification number (required for identity verification and
#
# @param last_name [String] Individual's last name, as it appears on government-issued identity documents.
#
# @param phone_number [String] Individual's phone number, entered in E.164 format.
end

Expand Down
10 changes: 9 additions & 1 deletion lib/lithic/models/payment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,13 @@ class WireMethodAttributes < Lithic::Internal::Type::BaseModel
# @return [String, nil]
optional :message_id, String, nil?: true

# @!method initialize(wire_message_type:, wire_network:, creditor: nil, debtor: nil, message_id: nil)
# @!attribute remittance_information
# Payment details or invoice reference
#
# @return [String, nil]
optional :remittance_information, String, nil?: true

# @!method initialize(wire_message_type:, wire_network:, creditor: nil, debtor: nil, message_id: nil, remittance_information: nil)
# Some parameter documentations has been truncated, see
# {Lithic::Models::Payment::MethodAttributes::WireMethodAttributes} for more
# details.
Expand All @@ -617,6 +623,8 @@ class WireMethodAttributes < Lithic::Internal::Type::BaseModel
# @param debtor [Lithic::Models::WirePartyDetails]
#
# @param message_id [String, nil] Point to point reference identifier, as assigned by the instructing party, used
#
# @param remittance_information [String, nil] Payment details or invoice reference

# Type of wire transfer
#
Expand Down
4 changes: 2 additions & 2 deletions lib/lithic/resources/account_holders.rb
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,8 @@ def simulate_enrollment_review(params = {})
#
# This endpoint is only valid for evaluations in a `PENDING_DOCUMENT` state.
#
# Uploaded images must either be a `jpg` or `png` file, and each must be less than
# 15 MiB. Once both required uploads have been successfully completed, your
# Supported file types include `jpg`, `png`, and `pdf`. Each file must be less
# than 15 MiB. Once both required uploads have been successfully completed, your
# document will be run through KYC verification.
#
# If you have registered a webhook, you will receive evaluation updates for any
Expand Down
2 changes: 1 addition & 1 deletion lib/lithic/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Lithic
VERSION = "0.8.0"
VERSION = "0.9.0"
end
Loading