Skip to content
Closed
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
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
configured_endpoints: 239
openapi_spec_hash: d691eb2845a0108278fe81faa111d29f
openapi_spec_hash: 6e868f8c81e30884f48f8b4564b49456
config_hash: 1ca082e374ef7000e2a5971e8da740e0
2 changes: 1 addition & 1 deletion scripts/mock

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions src/resources/event-subscriptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,8 @@ export namespace EventSubscription {
* updated.
* - `physical_check.created` - Occurs whenever a Physical Check is created.
* - `physical_check.updated` - Occurs whenever a Physical Check is updated.
* - `plaid_processor_token.created` - Occurs whenever a Plaid Processor Token is
* created.
* - `checkbook.created` - Occurs whenever a Checkbook is created.
* - `checkbook.updated` - Occurs whenever a Checkbook is updated.
* - `program.created` - Occurs whenever a Program is created.
Expand Down Expand Up @@ -430,6 +432,7 @@ export namespace EventSubscription {
| 'physical_card_profile.updated'
| 'physical_check.created'
| 'physical_check.updated'
| 'plaid_processor_token.created'
| 'checkbook.created'
| 'checkbook.updated'
| 'program.created'
Expand Down Expand Up @@ -644,6 +647,8 @@ export namespace EventSubscriptionCreateParams {
* updated.
* - `physical_check.created` - Occurs whenever a Physical Check is created.
* - `physical_check.updated` - Occurs whenever a Physical Check is updated.
* - `plaid_processor_token.created` - Occurs whenever a Plaid Processor Token is
* created.
* - `checkbook.created` - Occurs whenever a Checkbook is created.
* - `checkbook.updated` - Occurs whenever a Checkbook is updated.
* - `program.created` - Occurs whenever a Program is created.
Expand Down Expand Up @@ -784,6 +789,7 @@ export namespace EventSubscriptionCreateParams {
| 'physical_card_profile.updated'
| 'physical_check.created'
| 'physical_check.updated'
| 'plaid_processor_token.created'
| 'checkbook.created'
| 'checkbook.updated'
| 'program.created'
Expand Down
7 changes: 7 additions & 0 deletions src/resources/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@ export interface Event {
* updated.
* - `physical_check.created` - Occurs whenever a Physical Check is created.
* - `physical_check.updated` - Occurs whenever a Physical Check is updated.
* - `plaid_processor_token.created` - Occurs whenever a Plaid Processor Token is
* created.
* - `checkbook.created` - Occurs whenever a Checkbook is created.
* - `checkbook.updated` - Occurs whenever a Checkbook is updated.
* - `program.created` - Occurs whenever a Program is created.
Expand Down Expand Up @@ -368,6 +370,7 @@ export interface Event {
| 'physical_card_profile.updated'
| 'physical_check.created'
| 'physical_check.updated'
| 'plaid_processor_token.created'
| 'checkbook.created'
| 'checkbook.updated'
| 'program.created'
Expand Down Expand Up @@ -575,6 +578,8 @@ export interface UnwrapWebhookEvent {
* updated.
* - `physical_check.created` - Occurs whenever a Physical Check is created.
* - `physical_check.updated` - Occurs whenever a Physical Check is updated.
* - `plaid_processor_token.created` - Occurs whenever a Plaid Processor Token is
* created.
* - `checkbook.created` - Occurs whenever a Checkbook is created.
* - `checkbook.updated` - Occurs whenever a Checkbook is updated.
* - `program.created` - Occurs whenever a Program is created.
Expand Down Expand Up @@ -715,6 +720,7 @@ export interface UnwrapWebhookEvent {
| 'physical_card_profile.updated'
| 'physical_check.created'
| 'physical_check.updated'
| 'plaid_processor_token.created'
| 'checkbook.created'
| 'checkbook.updated'
| 'program.created'
Expand Down Expand Up @@ -871,6 +877,7 @@ export namespace EventListParams {
| 'physical_card_profile.updated'
| 'physical_check.created'
| 'physical_check.updated'
| 'plaid_processor_token.created'
| 'checkbook.created'
| 'checkbook.updated'
| 'program.created'
Expand Down
10 changes: 5 additions & 5 deletions src/resources/pending-transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ export interface PendingTransaction {

/**
* The Pending Transaction amount in the minor unit of its currency. For dollars,
* for example, this is cents. This amount does not change after the Pending
* Transaction is created. If a card authorization settles for a different amount,
* the settled amount is available on the resulting Transaction and on the Card
* for example, this is cents. For a card authorization this is the amount still
* held: it decreases when the merchant reverses part of the authorization. The
* amount that settled is available on the resulting Transaction and on the Card
* Payment's `state.settled_amount`.
*/
amount: number;
Expand Down Expand Up @@ -172,8 +172,8 @@ export interface PendingTransaction {
* - `complete` - The Pending Transaction is confirmed. An associated Transaction
* exists for this object. The Pending Transaction will no longer count against
* your balance and can generally be hidden from UIs, etc. The Pending
* Transaction's `amount` is not updated if the associated Transaction settles
* for a different amount.
* Transaction's `amount` is the amount that was still held when it completed,
* which can differ from the amount of the associated Transaction.
*/
status: 'pending' | 'complete';

Expand Down
Loading