Skip to content

Commit 1c129e6

Browse files
feat(api): add CLOSED account state option and UNVERIFIED verification method
- You can now close Accounts via the API: https://docs.lithic.com/changelog - Add UNVERIFIED as a new Verification method option - Update CLOSED account state documentation to clarify manual setting capability
1 parent f55dca4 commit 1c129e6

3 files changed

Lines changed: 15 additions & 9 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 162
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-0c08d769e7a549e40ed9ab9b0298c687cc14e6c2fbe4fdd4544467906a05a613.yml
3-
openapi_spec_hash: 2ea548eacd1af68ec19e847250a65b7d
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-c178720e9b6fe1ff3917d4d96652b4c91a0e7f0795b6858256d250d8a203d3ac.yml
3+
openapi_spec_hash: 23a4716c6168e96f040ac8575582d075
44
config_hash: 227ad54062905d4ae964b24cef0505b0

src/resources/accounts.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@ export interface Account {
121121
* - `PAUSED` - Account will not be able to transact or create new cards. It can be
122122
* set back to `ACTIVE`.
123123
* - `CLOSED` - Account will not be able to transact or create new cards. `CLOSED`
124-
* accounts are also unable to be transitioned to `ACTIVE` or `PAUSED` states.
125-
* `CLOSED` accounts result from failing to pass KYB/KYC or Lithic closing for
126-
* risk/compliance reasons. Please contact
127-
* [support@lithic.com](mailto:support@lithic.com) if you believe this was in
128-
* error.
124+
* accounts are unable to be transitioned to `ACTIVE` or `PAUSED` states.
125+
* Accounts can be manually set to `CLOSED`, or this can be done by Lithic due to
126+
* failure to pass KYB/KYC or for risk/compliance reasons. Please contact
127+
* [support@lithic.com](mailto:support@lithic.com) if you believe this was done
128+
* by mistake.
129129
*/
130130
state: 'ACTIVE' | 'PAUSED' | 'CLOSED';
131131

@@ -332,7 +332,7 @@ export interface AccountUpdateParams {
332332
/**
333333
* Account states.
334334
*/
335-
state?: 'ACTIVE' | 'PAUSED';
335+
state?: 'ACTIVE' | 'PAUSED' | 'CLOSED';
336336

337337
/**
338338
* @deprecated Address used during Address Verification Service (AVS) checks during

src/resources/external-bank-accounts/external-bank-accounts.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,13 @@ export interface ExternalBankAccountAddress {
152152

153153
export type OwnerType = 'INDIVIDUAL' | 'BUSINESS';
154154

155-
export type VerificationMethod = 'MANUAL' | 'MICRO_DEPOSIT' | 'PLAID' | 'PRENOTE' | 'EXTERNALLY_VERIFIED';
155+
export type VerificationMethod =
156+
| 'MANUAL'
157+
| 'MICRO_DEPOSIT'
158+
| 'PLAID'
159+
| 'PRENOTE'
160+
| 'EXTERNALLY_VERIFIED'
161+
| 'UNVERIFIED';
156162

157163
export interface ExternalBankAccountCreateResponse {
158164
/**

0 commit comments

Comments
 (0)