Skip to content

Commit 6f33a7e

Browse files
docs(api): expand dispute event descriptions in events resource
1 parent ffeabcb commit 6f33a7e

2 files changed

Lines changed: 18 additions & 7 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: 214
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-021aecb037a2f6b44056d6ebe08129e55f2dd95d8a6944c6e2c1c8e2bede56b4.yml
3-
openapi_spec_hash: 3567c6592916d79ce38248d922cd0db6
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-7944f9c14da86359cf30f16d97dff357f656f8fab9a59e923c436304624438ee.yml
3+
openapi_spec_hash: 4b45cf81f64bc52e739731108d2cc482
44
config_hash: 5bb913c05ebeb301ec925b16e75bb251

src/resources/events/events.ts

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export interface Event {
9898
* The type of event that occurred. Possible values:
9999
*
100100
* - account_holder_document.updated: Occurs when an account holder's document
101-
* upload status has been updated
101+
* upload status has been updated.
102102
* - account_holder.created: Occurs when a new account_holder is created.
103103
* - account_holder.updated: Occurs when an account_holder is updated.
104104
* - account_holder.verification: Occurs when an asynchronous account_holder's
@@ -162,10 +162,21 @@ export interface Event {
162162
* This event will be deprecated in the future. We recommend using
163163
* `tokenization.updated` instead.
164164
*
165-
* - dispute_evidence.upload_failed: Occurs when a dispute evidence upload fails.
165+
* - dispute_evidence.upload_failed: Occurs when an evidence upload fails for a
166+
* dispute filed through the Chargebacks API (`/v1/disputes`).
167+
*
168+
* This event is not emitted for Managed Disputes.
169+
*
166170
* - dispute_transaction.created: Occurs when a new dispute transaction is created
167-
* - dispute_transaction.updated: Occurs when a dispute transaction is updated
168-
* - dispute.updated: Occurs when a dispute is updated.
171+
* for a Managed Disputes case.
172+
* - dispute_transaction.updated: Occurs when a dispute transaction for a Managed
173+
* Disputes case is updated.
174+
* - dispute.updated: Occurs when a dispute filed through the Chargebacks API
175+
* (`/v1/disputes`) is created or updated.
176+
*
177+
* This event is not emitted for Managed Disputes. Use
178+
* `dispute_transaction.created` and `dispute_transaction.updated` instead.
179+
*
169180
* - external_bank_account.created: Occurs when an external bank account is
170181
* created.
171182
* - external_bank_account.updated: Occurs when an external bank account is
@@ -187,7 +198,7 @@ export interface Event {
187198
* - payment_transaction.updated: Occurs when a payment transaction is updated.
188199
* - settlement_report.updated: Occurs when a settlement report is created or
189200
* updated.
190-
* - statements.created: Occurs when a statement has been created
201+
* - statements.created: Occurs when a statement has been created.
191202
* - three_ds_authentication.challenge: The `three_ds_authentication.challenge`
192203
* event. Upon receiving this request, the Card Program should issue its own
193204
* challenge to the cardholder. After a cardholder challenge is successfully

0 commit comments

Comments
 (0)