increase 0.511.0 → 0.513.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/package.json +1 -1
- package/resources/accounts.d.mts +0 -10
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +0 -10
- package/resources/accounts.d.ts.map +1 -1
- package/resources/cards.d.mts +495 -1
- package/resources/cards.d.mts.map +1 -1
- package/resources/cards.d.ts +495 -1
- package/resources/cards.d.ts.map +1 -1
- package/src/resources/accounts.ts +0 -12
- package/src/resources/cards.ts +564 -2
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.513.0 (2026-04-03)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.512.0...v0.513.0](https://github.com/Increase/increase-typescript/compare/v0.512.0...v0.513.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([ca7f5c3](https://github.com/Increase/increase-typescript/commit/ca7f5c34213aa28709bd25dabb423538831b5c68))
|
|
10
|
+
|
|
11
|
+
## 0.512.0 (2026-04-03)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v0.511.0...v0.512.0](https://github.com/Increase/increase-typescript/compare/v0.511.0...v0.512.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([4da5f87](https://github.com/Increase/increase-typescript/commit/4da5f87368a814c318429c34b04802a420b4d2a2))
|
|
18
|
+
|
|
3
19
|
## 0.511.0 (2026-04-02)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v0.510.0...v0.511.0](https://github.com/Increase/increase-typescript/compare/v0.510.0...v0.511.0)
|
package/package.json
CHANGED
package/resources/accounts.d.mts
CHANGED
|
@@ -137,16 +137,6 @@ export interface Account {
|
|
|
137
137
|
* with its activity.
|
|
138
138
|
*/
|
|
139
139
|
informational_entity_id: string | null;
|
|
140
|
-
/**
|
|
141
|
-
* The interest accrued but not yet paid, expressed as a string containing a
|
|
142
|
-
* floating-point value.
|
|
143
|
-
*/
|
|
144
|
-
interest_accrued: string;
|
|
145
|
-
/**
|
|
146
|
-
* The latest [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which
|
|
147
|
-
* interest was accrued.
|
|
148
|
-
*/
|
|
149
|
-
interest_accrued_at: string | null;
|
|
150
140
|
/**
|
|
151
141
|
* The interest rate currently being earned on the account, as a string containing
|
|
152
142
|
* a decimal number. For example, a 1% interest rate would be represented as
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accounts.d.mts","sourceRoot":"","sources":["../src/resources/accounts.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,WAAW,EAAE;OACtC,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAIhF;;;;;;;;;OASG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAI1E;;;;;;;;;OASG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAInG;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,Y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;IACnD,UAAU,CAAC,EAAE,iBAAiB,CAAC,SAAS,CAAC;IAEzC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,MAAM,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC;CACnC;AAED,yBAAiB,iBAAiB,CAAC;IACjC,UAAiB,SAAS;QACxB;;;WAGG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf;;;WAGG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;QAEhB;;;WAGG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;;WAGG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;IAED,UAAiB,MAAM;QACrB;;;WAGG;QACH,EAAE,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,MAAM,CAAC,CAAC;KAC/B;CACF;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
package/resources/accounts.d.ts
CHANGED
|
@@ -137,16 +137,6 @@ export interface Account {
|
|
|
137
137
|
* with its activity.
|
|
138
138
|
*/
|
|
139
139
|
informational_entity_id: string | null;
|
|
140
|
-
/**
|
|
141
|
-
* The interest accrued but not yet paid, expressed as a string containing a
|
|
142
|
-
* floating-point value.
|
|
143
|
-
*/
|
|
144
|
-
interest_accrued: string;
|
|
145
|
-
/**
|
|
146
|
-
* The latest [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which
|
|
147
|
-
* interest was accrued.
|
|
148
|
-
*/
|
|
149
|
-
interest_accrued_at: string | null;
|
|
150
140
|
/**
|
|
151
141
|
* The interest rate currently being earned on the account, as a string containing
|
|
152
142
|
* a decimal number. For example, a 1% interest rate would be represented as
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accounts.d.ts","sourceRoot":"","sources":["../src/resources/accounts.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,WAAW,EAAE;OACtC,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAIhF;;;;;;;;;OASG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAI1E;;;;;;;;;OASG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAInG;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,YAAY,EAAE,OAAO,CAAC;IAIrC;;;;;;;;;;OAUG;IACH,OAAO,CACL,SAAS,EAAE,MAAM,EACjB,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,c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EzB;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,MAAM,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC;CACnC;AAED,yBAAiB,iBAAiB,CAAC;IACjC,UAAiB,SAAS;QACxB;;;WAGG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf;;;WAGG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;QAEhB;;;WAGG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;;WAGG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;IAED,UAAiB,MAAM;QACrB;;;WAGG;QACH,EAAE,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,MAAM,CAAC,CAAC;KAC/B;CACF;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
package/resources/cards.d.mts
CHANGED
|
@@ -103,6 +103,10 @@ export interface Card {
|
|
|
103
103
|
* The identifier for the account this card belongs to.
|
|
104
104
|
*/
|
|
105
105
|
account_id: string;
|
|
106
|
+
/**
|
|
107
|
+
* Controls that restrict how this card can be used.
|
|
108
|
+
*/
|
|
109
|
+
authorization_controls: Card.AuthorizationControls | null;
|
|
106
110
|
/**
|
|
107
111
|
* The Card's billing address.
|
|
108
112
|
*/
|
|
@@ -160,6 +164,163 @@ export interface Card {
|
|
|
160
164
|
[k: string]: unknown;
|
|
161
165
|
}
|
|
162
166
|
export declare namespace Card {
|
|
167
|
+
/**
|
|
168
|
+
* Controls that restrict how this card can be used.
|
|
169
|
+
*/
|
|
170
|
+
interface AuthorizationControls {
|
|
171
|
+
/**
|
|
172
|
+
* Limits the number of authorizations that can be approved on this card.
|
|
173
|
+
*/
|
|
174
|
+
maximum_authorization_count: AuthorizationControls.MaximumAuthorizationCount | null;
|
|
175
|
+
/**
|
|
176
|
+
* Restricts which Merchant Acceptor IDs are allowed or blocked for authorizations
|
|
177
|
+
* on this card.
|
|
178
|
+
*/
|
|
179
|
+
merchant_acceptor_identifier: AuthorizationControls.MerchantAcceptorIdentifier | null;
|
|
180
|
+
/**
|
|
181
|
+
* Restricts which Merchant Category Codes are allowed or blocked for
|
|
182
|
+
* authorizations on this card.
|
|
183
|
+
*/
|
|
184
|
+
merchant_category_code: AuthorizationControls.MerchantCategoryCode | null;
|
|
185
|
+
/**
|
|
186
|
+
* Restricts which merchant countries are allowed or blocked for authorizations on
|
|
187
|
+
* this card.
|
|
188
|
+
*/
|
|
189
|
+
merchant_country: AuthorizationControls.MerchantCountry | null;
|
|
190
|
+
/**
|
|
191
|
+
* Spending limits for this card. The most restrictive limit is applied if multiple
|
|
192
|
+
* limits match.
|
|
193
|
+
*/
|
|
194
|
+
spending_limits: Array<AuthorizationControls.SpendingLimit> | null;
|
|
195
|
+
}
|
|
196
|
+
namespace AuthorizationControls {
|
|
197
|
+
/**
|
|
198
|
+
* Limits the number of authorizations that can be approved on this card.
|
|
199
|
+
*/
|
|
200
|
+
interface MaximumAuthorizationCount {
|
|
201
|
+
/**
|
|
202
|
+
* The maximum number of authorizations that can be approved on this card over its
|
|
203
|
+
* lifetime.
|
|
204
|
+
*/
|
|
205
|
+
all_time: number | null;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* Restricts which Merchant Acceptor IDs are allowed or blocked for authorizations
|
|
209
|
+
* on this card.
|
|
210
|
+
*/
|
|
211
|
+
interface MerchantAcceptorIdentifier {
|
|
212
|
+
/**
|
|
213
|
+
* The Merchant Acceptor IDs that are allowed for authorizations on this card.
|
|
214
|
+
*/
|
|
215
|
+
allowed: Array<MerchantAcceptorIdentifier.Allowed> | null;
|
|
216
|
+
/**
|
|
217
|
+
* The Merchant Acceptor IDs that are blocked for authorizations on this card.
|
|
218
|
+
*/
|
|
219
|
+
blocked: Array<MerchantAcceptorIdentifier.Blocked> | null;
|
|
220
|
+
}
|
|
221
|
+
namespace MerchantAcceptorIdentifier {
|
|
222
|
+
interface Allowed {
|
|
223
|
+
/**
|
|
224
|
+
* The Merchant Acceptor ID.
|
|
225
|
+
*/
|
|
226
|
+
identifier: string;
|
|
227
|
+
}
|
|
228
|
+
interface Blocked {
|
|
229
|
+
/**
|
|
230
|
+
* The Merchant Acceptor ID.
|
|
231
|
+
*/
|
|
232
|
+
identifier: string;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* Restricts which Merchant Category Codes are allowed or blocked for
|
|
237
|
+
* authorizations on this card.
|
|
238
|
+
*/
|
|
239
|
+
interface MerchantCategoryCode {
|
|
240
|
+
/**
|
|
241
|
+
* The Merchant Category Codes that are allowed for authorizations on this card.
|
|
242
|
+
*/
|
|
243
|
+
allowed: Array<MerchantCategoryCode.Allowed> | null;
|
|
244
|
+
/**
|
|
245
|
+
* The Merchant Category Codes that are blocked for authorizations on this card.
|
|
246
|
+
*/
|
|
247
|
+
blocked: Array<MerchantCategoryCode.Blocked> | null;
|
|
248
|
+
}
|
|
249
|
+
namespace MerchantCategoryCode {
|
|
250
|
+
interface Allowed {
|
|
251
|
+
/**
|
|
252
|
+
* The Merchant Category Code (MCC).
|
|
253
|
+
*/
|
|
254
|
+
code: string;
|
|
255
|
+
}
|
|
256
|
+
interface Blocked {
|
|
257
|
+
/**
|
|
258
|
+
* The Merchant Category Code (MCC).
|
|
259
|
+
*/
|
|
260
|
+
code: string;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* Restricts which merchant countries are allowed or blocked for authorizations on
|
|
265
|
+
* this card.
|
|
266
|
+
*/
|
|
267
|
+
interface MerchantCountry {
|
|
268
|
+
/**
|
|
269
|
+
* The merchant countries that are allowed for authorizations on this card.
|
|
270
|
+
*/
|
|
271
|
+
allowed: Array<MerchantCountry.Allowed> | null;
|
|
272
|
+
/**
|
|
273
|
+
* The merchant countries that are blocked for authorizations on this card.
|
|
274
|
+
*/
|
|
275
|
+
blocked: Array<MerchantCountry.Blocked> | null;
|
|
276
|
+
}
|
|
277
|
+
namespace MerchantCountry {
|
|
278
|
+
interface Allowed {
|
|
279
|
+
/**
|
|
280
|
+
* The ISO 3166-1 alpha-2 country code.
|
|
281
|
+
*/
|
|
282
|
+
country: string;
|
|
283
|
+
}
|
|
284
|
+
interface Blocked {
|
|
285
|
+
/**
|
|
286
|
+
* The ISO 3166-1 alpha-2 country code.
|
|
287
|
+
*/
|
|
288
|
+
country: string;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
interface SpendingLimit {
|
|
292
|
+
/**
|
|
293
|
+
* The interval at which the spending limit is enforced.
|
|
294
|
+
*
|
|
295
|
+
* - `all_time` - The spending limit applies over the lifetime of the card.
|
|
296
|
+
* - `per_transaction` - The spending limit applies per transaction.
|
|
297
|
+
* - `per_day` - The spending limit applies per day. Resets nightly at midnight
|
|
298
|
+
* UTC.
|
|
299
|
+
* - `per_week` - The spending limit applies per week. Resets weekly on Mondays at
|
|
300
|
+
* midnight UTC.
|
|
301
|
+
* - `per_month` - The spending limit applies per month. Resets on the first of the
|
|
302
|
+
* month, midnight UTC.
|
|
303
|
+
*/
|
|
304
|
+
interval: 'all_time' | 'per_transaction' | 'per_day' | 'per_week' | 'per_month';
|
|
305
|
+
/**
|
|
306
|
+
* The Merchant Category Codes (MCCs) this spending limit applies to. If not set,
|
|
307
|
+
* the limit applies to all transactions.
|
|
308
|
+
*/
|
|
309
|
+
merchant_category_codes: Array<SpendingLimit.MerchantCategoryCode> | null;
|
|
310
|
+
/**
|
|
311
|
+
* The maximum settlement amount permitted in the given interval.
|
|
312
|
+
*/
|
|
313
|
+
settlement_amount: number;
|
|
314
|
+
}
|
|
315
|
+
namespace SpendingLimit {
|
|
316
|
+
interface MerchantCategoryCode {
|
|
317
|
+
/**
|
|
318
|
+
* The Merchant Category Code (MCC).
|
|
319
|
+
*/
|
|
320
|
+
code: string;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
163
324
|
/**
|
|
164
325
|
* The Card's billing address.
|
|
165
326
|
*/
|
|
@@ -271,6 +432,10 @@ export interface CardCreateParams {
|
|
|
271
432
|
* The Account the card should belong to.
|
|
272
433
|
*/
|
|
273
434
|
account_id: string;
|
|
435
|
+
/**
|
|
436
|
+
* Controls that restrict how this card can be used.
|
|
437
|
+
*/
|
|
438
|
+
authorization_controls?: CardCreateParams.AuthorizationControls;
|
|
274
439
|
/**
|
|
275
440
|
* The card's billing address.
|
|
276
441
|
*/
|
|
@@ -295,6 +460,169 @@ export interface CardCreateParams {
|
|
|
295
460
|
[k: string]: unknown;
|
|
296
461
|
}
|
|
297
462
|
export declare namespace CardCreateParams {
|
|
463
|
+
/**
|
|
464
|
+
* Controls that restrict how this card can be used.
|
|
465
|
+
*/
|
|
466
|
+
interface AuthorizationControls {
|
|
467
|
+
/**
|
|
468
|
+
* Limits the number of authorizations that can be approved on this card.
|
|
469
|
+
*/
|
|
470
|
+
maximum_authorization_count?: AuthorizationControls.MaximumAuthorizationCount;
|
|
471
|
+
/**
|
|
472
|
+
* Restricts which Merchant Acceptor IDs are allowed or blocked for authorizations
|
|
473
|
+
* on this card.
|
|
474
|
+
*/
|
|
475
|
+
merchant_acceptor_identifier?: AuthorizationControls.MerchantAcceptorIdentifier;
|
|
476
|
+
/**
|
|
477
|
+
* Restricts which Merchant Category Codes are allowed or blocked for
|
|
478
|
+
* authorizations on this card.
|
|
479
|
+
*/
|
|
480
|
+
merchant_category_code?: AuthorizationControls.MerchantCategoryCode;
|
|
481
|
+
/**
|
|
482
|
+
* Restricts which merchant countries are allowed or blocked for authorizations on
|
|
483
|
+
* this card.
|
|
484
|
+
*/
|
|
485
|
+
merchant_country?: AuthorizationControls.MerchantCountry;
|
|
486
|
+
/**
|
|
487
|
+
* Spending limits for this card. The most restrictive limit is applied if multiple
|
|
488
|
+
* limits match.
|
|
489
|
+
*/
|
|
490
|
+
spending_limits?: Array<AuthorizationControls.SpendingLimit>;
|
|
491
|
+
}
|
|
492
|
+
namespace AuthorizationControls {
|
|
493
|
+
/**
|
|
494
|
+
* Limits the number of authorizations that can be approved on this card.
|
|
495
|
+
*/
|
|
496
|
+
interface MaximumAuthorizationCount {
|
|
497
|
+
/**
|
|
498
|
+
* The maximum number of authorizations that can be approved on this card over its
|
|
499
|
+
* lifetime.
|
|
500
|
+
*/
|
|
501
|
+
all_time: number;
|
|
502
|
+
}
|
|
503
|
+
/**
|
|
504
|
+
* Restricts which Merchant Acceptor IDs are allowed or blocked for authorizations
|
|
505
|
+
* on this card.
|
|
506
|
+
*/
|
|
507
|
+
interface MerchantAcceptorIdentifier {
|
|
508
|
+
/**
|
|
509
|
+
* The Merchant Acceptor IDs that are allowed for authorizations on this card.
|
|
510
|
+
* Authorizations with Merchant Acceptor IDs not in this list will be declined.
|
|
511
|
+
*/
|
|
512
|
+
allowed?: Array<MerchantAcceptorIdentifier.Allowed>;
|
|
513
|
+
/**
|
|
514
|
+
* The Merchant Acceptor IDs that are blocked for authorizations on this card.
|
|
515
|
+
* Authorizations with Merchant Acceptor IDs in this list will be declined.
|
|
516
|
+
*/
|
|
517
|
+
blocked?: Array<MerchantAcceptorIdentifier.Blocked>;
|
|
518
|
+
}
|
|
519
|
+
namespace MerchantAcceptorIdentifier {
|
|
520
|
+
interface Allowed {
|
|
521
|
+
/**
|
|
522
|
+
* The Merchant Acceptor ID.
|
|
523
|
+
*/
|
|
524
|
+
identifier: string;
|
|
525
|
+
}
|
|
526
|
+
interface Blocked {
|
|
527
|
+
/**
|
|
528
|
+
* The Merchant Acceptor ID.
|
|
529
|
+
*/
|
|
530
|
+
identifier: string;
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* Restricts which Merchant Category Codes are allowed or blocked for
|
|
535
|
+
* authorizations on this card.
|
|
536
|
+
*/
|
|
537
|
+
interface MerchantCategoryCode {
|
|
538
|
+
/**
|
|
539
|
+
* The Merchant Category Codes that are allowed for authorizations on this card.
|
|
540
|
+
* Authorizations with Merchant Category Codes not in this list will be declined.
|
|
541
|
+
*/
|
|
542
|
+
allowed?: Array<MerchantCategoryCode.Allowed>;
|
|
543
|
+
/**
|
|
544
|
+
* The Merchant Category Codes that are blocked for authorizations on this card.
|
|
545
|
+
* Authorizations with Merchant Category Codes in this list will be declined.
|
|
546
|
+
*/
|
|
547
|
+
blocked?: Array<MerchantCategoryCode.Blocked>;
|
|
548
|
+
}
|
|
549
|
+
namespace MerchantCategoryCode {
|
|
550
|
+
interface Allowed {
|
|
551
|
+
/**
|
|
552
|
+
* The Merchant Category Code.
|
|
553
|
+
*/
|
|
554
|
+
code: string;
|
|
555
|
+
}
|
|
556
|
+
interface Blocked {
|
|
557
|
+
/**
|
|
558
|
+
* The Merchant Category Code.
|
|
559
|
+
*/
|
|
560
|
+
code: string;
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
/**
|
|
564
|
+
* Restricts which merchant countries are allowed or blocked for authorizations on
|
|
565
|
+
* this card.
|
|
566
|
+
*/
|
|
567
|
+
interface MerchantCountry {
|
|
568
|
+
/**
|
|
569
|
+
* The merchant countries that are allowed for authorizations on this card.
|
|
570
|
+
* Authorizations with merchant countries not in this list will be declined.
|
|
571
|
+
*/
|
|
572
|
+
allowed?: Array<MerchantCountry.Allowed>;
|
|
573
|
+
/**
|
|
574
|
+
* The merchant countries that are blocked for authorizations on this card.
|
|
575
|
+
* Authorizations with merchant countries in this list will be declined.
|
|
576
|
+
*/
|
|
577
|
+
blocked?: Array<MerchantCountry.Blocked>;
|
|
578
|
+
}
|
|
579
|
+
namespace MerchantCountry {
|
|
580
|
+
interface Allowed {
|
|
581
|
+
/**
|
|
582
|
+
* The ISO 3166-1 alpha-2 country code.
|
|
583
|
+
*/
|
|
584
|
+
country: string;
|
|
585
|
+
}
|
|
586
|
+
interface Blocked {
|
|
587
|
+
/**
|
|
588
|
+
* The ISO 3166-1 alpha-2 country code.
|
|
589
|
+
*/
|
|
590
|
+
country: string;
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
interface SpendingLimit {
|
|
594
|
+
/**
|
|
595
|
+
* The interval at which the spending limit is enforced.
|
|
596
|
+
*
|
|
597
|
+
* - `all_time` - The spending limit applies over the lifetime of the card.
|
|
598
|
+
* - `per_transaction` - The spending limit applies per transaction.
|
|
599
|
+
* - `per_day` - The spending limit applies per day. Resets nightly at midnight
|
|
600
|
+
* UTC.
|
|
601
|
+
* - `per_week` - The spending limit applies per week. Resets weekly on Mondays at
|
|
602
|
+
* midnight UTC.
|
|
603
|
+
* - `per_month` - The spending limit applies per month. Resets on the first of the
|
|
604
|
+
* month, midnight UTC.
|
|
605
|
+
*/
|
|
606
|
+
interval: 'all_time' | 'per_transaction' | 'per_day' | 'per_week' | 'per_month';
|
|
607
|
+
/**
|
|
608
|
+
* The maximum settlement amount permitted in the given interval.
|
|
609
|
+
*/
|
|
610
|
+
settlement_amount: number;
|
|
611
|
+
/**
|
|
612
|
+
* The Merchant Category Codes this spending limit applies to. If not set, the
|
|
613
|
+
* limit applies to all transactions.
|
|
614
|
+
*/
|
|
615
|
+
merchant_category_codes?: Array<SpendingLimit.MerchantCategoryCode>;
|
|
616
|
+
}
|
|
617
|
+
namespace SpendingLimit {
|
|
618
|
+
interface MerchantCategoryCode {
|
|
619
|
+
/**
|
|
620
|
+
* The Merchant Category Code.
|
|
621
|
+
*/
|
|
622
|
+
code: string;
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
}
|
|
298
626
|
/**
|
|
299
627
|
* The card's billing address.
|
|
300
628
|
*/
|
|
@@ -345,6 +673,10 @@ export declare namespace CardCreateParams {
|
|
|
345
673
|
}
|
|
346
674
|
}
|
|
347
675
|
export interface CardUpdateParams {
|
|
676
|
+
/**
|
|
677
|
+
* Controls that restrict how this card can be used.
|
|
678
|
+
*/
|
|
679
|
+
authorization_controls?: CardUpdateParams.AuthorizationControls;
|
|
348
680
|
/**
|
|
349
681
|
* The card's updated billing address.
|
|
350
682
|
*/
|
|
@@ -372,9 +704,171 @@ export interface CardUpdateParams {
|
|
|
372
704
|
* - `canceled` - The card is permanently canceled.
|
|
373
705
|
*/
|
|
374
706
|
status?: 'active' | 'disabled' | 'canceled';
|
|
375
|
-
[k: string]: unknown;
|
|
376
707
|
}
|
|
377
708
|
export declare namespace CardUpdateParams {
|
|
709
|
+
/**
|
|
710
|
+
* Controls that restrict how this card can be used.
|
|
711
|
+
*/
|
|
712
|
+
interface AuthorizationControls {
|
|
713
|
+
/**
|
|
714
|
+
* Limits the number of authorizations that can be approved on this card.
|
|
715
|
+
*/
|
|
716
|
+
maximum_authorization_count?: AuthorizationControls.MaximumAuthorizationCount;
|
|
717
|
+
/**
|
|
718
|
+
* Restricts which Merchant Acceptor IDs are allowed or blocked for authorizations
|
|
719
|
+
* on this card.
|
|
720
|
+
*/
|
|
721
|
+
merchant_acceptor_identifier?: AuthorizationControls.MerchantAcceptorIdentifier;
|
|
722
|
+
/**
|
|
723
|
+
* Restricts which Merchant Category Codes are allowed or blocked for
|
|
724
|
+
* authorizations on this card.
|
|
725
|
+
*/
|
|
726
|
+
merchant_category_code?: AuthorizationControls.MerchantCategoryCode;
|
|
727
|
+
/**
|
|
728
|
+
* Restricts which merchant countries are allowed or blocked for authorizations on
|
|
729
|
+
* this card.
|
|
730
|
+
*/
|
|
731
|
+
merchant_country?: AuthorizationControls.MerchantCountry;
|
|
732
|
+
/**
|
|
733
|
+
* Spending limits for this card. The most restrictive limit is applied if multiple
|
|
734
|
+
* limits match.
|
|
735
|
+
*/
|
|
736
|
+
spending_limits?: Array<AuthorizationControls.SpendingLimit>;
|
|
737
|
+
}
|
|
738
|
+
namespace AuthorizationControls {
|
|
739
|
+
/**
|
|
740
|
+
* Limits the number of authorizations that can be approved on this card.
|
|
741
|
+
*/
|
|
742
|
+
interface MaximumAuthorizationCount {
|
|
743
|
+
/**
|
|
744
|
+
* The maximum number of authorizations that can be approved on this card over its
|
|
745
|
+
* lifetime.
|
|
746
|
+
*/
|
|
747
|
+
all_time: number;
|
|
748
|
+
}
|
|
749
|
+
/**
|
|
750
|
+
* Restricts which Merchant Acceptor IDs are allowed or blocked for authorizations
|
|
751
|
+
* on this card.
|
|
752
|
+
*/
|
|
753
|
+
interface MerchantAcceptorIdentifier {
|
|
754
|
+
/**
|
|
755
|
+
* The Merchant Acceptor IDs that are allowed for authorizations on this card.
|
|
756
|
+
* Authorizations with Merchant Acceptor IDs not in this list will be declined.
|
|
757
|
+
*/
|
|
758
|
+
allowed?: Array<MerchantAcceptorIdentifier.Allowed>;
|
|
759
|
+
/**
|
|
760
|
+
* The Merchant Acceptor IDs that are blocked for authorizations on this card.
|
|
761
|
+
* Authorizations with Merchant Acceptor IDs in this list will be declined.
|
|
762
|
+
*/
|
|
763
|
+
blocked?: Array<MerchantAcceptorIdentifier.Blocked>;
|
|
764
|
+
}
|
|
765
|
+
namespace MerchantAcceptorIdentifier {
|
|
766
|
+
interface Allowed {
|
|
767
|
+
/**
|
|
768
|
+
* The Merchant Acceptor ID.
|
|
769
|
+
*/
|
|
770
|
+
identifier: string;
|
|
771
|
+
}
|
|
772
|
+
interface Blocked {
|
|
773
|
+
/**
|
|
774
|
+
* The Merchant Acceptor ID.
|
|
775
|
+
*/
|
|
776
|
+
identifier: string;
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
/**
|
|
780
|
+
* Restricts which Merchant Category Codes are allowed or blocked for
|
|
781
|
+
* authorizations on this card.
|
|
782
|
+
*/
|
|
783
|
+
interface MerchantCategoryCode {
|
|
784
|
+
/**
|
|
785
|
+
* The Merchant Category Codes that are allowed for authorizations on this card.
|
|
786
|
+
* Authorizations with Merchant Category Codes not in this list will be declined.
|
|
787
|
+
*/
|
|
788
|
+
allowed?: Array<MerchantCategoryCode.Allowed>;
|
|
789
|
+
/**
|
|
790
|
+
* The Merchant Category Codes that are blocked for authorizations on this card.
|
|
791
|
+
* Authorizations with Merchant Category Codes in this list will be declined.
|
|
792
|
+
*/
|
|
793
|
+
blocked?: Array<MerchantCategoryCode.Blocked>;
|
|
794
|
+
}
|
|
795
|
+
namespace MerchantCategoryCode {
|
|
796
|
+
interface Allowed {
|
|
797
|
+
/**
|
|
798
|
+
* The Merchant Category Code.
|
|
799
|
+
*/
|
|
800
|
+
code: string;
|
|
801
|
+
}
|
|
802
|
+
interface Blocked {
|
|
803
|
+
/**
|
|
804
|
+
* The Merchant Category Code.
|
|
805
|
+
*/
|
|
806
|
+
code: string;
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
/**
|
|
810
|
+
* Restricts which merchant countries are allowed or blocked for authorizations on
|
|
811
|
+
* this card.
|
|
812
|
+
*/
|
|
813
|
+
interface MerchantCountry {
|
|
814
|
+
/**
|
|
815
|
+
* The merchant countries that are allowed for authorizations on this card.
|
|
816
|
+
* Authorizations with merchant countries not in this list will be declined.
|
|
817
|
+
*/
|
|
818
|
+
allowed?: Array<MerchantCountry.Allowed>;
|
|
819
|
+
/**
|
|
820
|
+
* The merchant countries that are blocked for authorizations on this card.
|
|
821
|
+
* Authorizations with merchant countries in this list will be declined.
|
|
822
|
+
*/
|
|
823
|
+
blocked?: Array<MerchantCountry.Blocked>;
|
|
824
|
+
}
|
|
825
|
+
namespace MerchantCountry {
|
|
826
|
+
interface Allowed {
|
|
827
|
+
/**
|
|
828
|
+
* The ISO 3166-1 alpha-2 country code.
|
|
829
|
+
*/
|
|
830
|
+
country: string;
|
|
831
|
+
}
|
|
832
|
+
interface Blocked {
|
|
833
|
+
/**
|
|
834
|
+
* The ISO 3166-1 alpha-2 country code.
|
|
835
|
+
*/
|
|
836
|
+
country: string;
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
interface SpendingLimit {
|
|
840
|
+
/**
|
|
841
|
+
* The interval at which the spending limit is enforced.
|
|
842
|
+
*
|
|
843
|
+
* - `all_time` - The spending limit applies over the lifetime of the card.
|
|
844
|
+
* - `per_transaction` - The spending limit applies per transaction.
|
|
845
|
+
* - `per_day` - The spending limit applies per day. Resets nightly at midnight
|
|
846
|
+
* UTC.
|
|
847
|
+
* - `per_week` - The spending limit applies per week. Resets weekly on Mondays at
|
|
848
|
+
* midnight UTC.
|
|
849
|
+
* - `per_month` - The spending limit applies per month. Resets on the first of the
|
|
850
|
+
* month, midnight UTC.
|
|
851
|
+
*/
|
|
852
|
+
interval: 'all_time' | 'per_transaction' | 'per_day' | 'per_week' | 'per_month';
|
|
853
|
+
/**
|
|
854
|
+
* The maximum settlement amount permitted in the given interval.
|
|
855
|
+
*/
|
|
856
|
+
settlement_amount: number;
|
|
857
|
+
/**
|
|
858
|
+
* The Merchant Category Codes this spending limit applies to. If not set, the
|
|
859
|
+
* limit applies to all transactions.
|
|
860
|
+
*/
|
|
861
|
+
merchant_category_codes?: Array<SpendingLimit.MerchantCategoryCode>;
|
|
862
|
+
}
|
|
863
|
+
namespace SpendingLimit {
|
|
864
|
+
interface MerchantCategoryCode {
|
|
865
|
+
/**
|
|
866
|
+
* The Merchant Category Code.
|
|
867
|
+
*/
|
|
868
|
+
code: string;
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
}
|
|
378
872
|
/**
|
|
379
873
|
* The card's updated billing address.
|
|
380
874
|
*/
|