Skip to content

Commit e350958

Browse files
feat(api): api update
1 parent fbf281b commit e350958

2 files changed

Lines changed: 8 additions & 6 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: 139
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb/orb-4dba22b15243ee155bdcb8f31cb608ff8c51a61f3d547cb9f2de449daab2e975.yml
3-
openapi_spec_hash: d12d72bf7a894a405055eec960566ba6
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb/orb-ced53ed56f6606e257f0ffef08022b32a1ada8db02e7e65984382999d9e30349.yml
3+
openapi_spec_hash: 681faaa5f12a13cbe738898669a12017
44
config_hash: c01c1191b1cd696c7ca855ff6d28a8df

src/resources/customers/credits/ledger.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,9 @@ export class Ledger extends APIResource {
155155
* }
156156
* ```
157157
*
158-
* Note that by default, Orb will always first increment any _negative_ balance in
159-
* existing blocks before adding the remaining amount to the desired credit block.
158+
* Note that an `increment` entry always creates a new credit block (defined by the
159+
* optional `effective_date` and `expiry_date`); it never modifies an existing
160+
* block.
160161
*
161162
* ### Invoicing for credits
162163
*
@@ -288,8 +289,9 @@ export class Ledger extends APIResource {
288289
* }
289290
* ```
290291
*
291-
* Note that by default, Orb will always first increment any _negative_ balance in
292-
* existing blocks before adding the remaining amount to the desired credit block.
292+
* Note that an `increment` entry always creates a new credit block (defined by the
293+
* optional `effective_date` and `expiry_date`); it never modifies an existing
294+
* block.
293295
*
294296
* ### Invoicing for credits
295297
*

0 commit comments

Comments
 (0)