increase 0.10.1 → 0.10.3

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.
Files changed (162) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/core.d.ts +7 -4
  3. package/core.d.ts.map +1 -1
  4. package/core.js +13 -6
  5. package/core.js.map +1 -1
  6. package/core.mjs +13 -6
  7. package/core.mjs.map +1 -1
  8. package/index.d.mts +8 -9
  9. package/index.d.ts +8 -9
  10. package/index.d.ts.map +1 -1
  11. package/index.js +6 -6
  12. package/index.js.map +1 -1
  13. package/index.mjs +6 -6
  14. package/index.mjs.map +1 -1
  15. package/package.json +1 -1
  16. package/resources/account-transfers.d.ts +8 -1
  17. package/resources/account-transfers.d.ts.map +1 -1
  18. package/resources/account-transfers.js.map +1 -1
  19. package/resources/account-transfers.mjs.map +1 -1
  20. package/resources/ach-prenotifications.d.ts +2 -2
  21. package/resources/ach-transfers.d.ts +11 -4
  22. package/resources/ach-transfers.d.ts.map +1 -1
  23. package/resources/ach-transfers.js.map +1 -1
  24. package/resources/ach-transfers.mjs.map +1 -1
  25. package/resources/card-purchase-supplements.d.ts +1 -1
  26. package/resources/check-transfers.d.ts +6 -3
  27. package/resources/check-transfers.d.ts.map +1 -1
  28. package/resources/check-transfers.js.map +1 -1
  29. package/resources/check-transfers.mjs.map +1 -1
  30. package/resources/declined-transactions.d.ts +92 -18
  31. package/resources/declined-transactions.d.ts.map +1 -1
  32. package/resources/declined-transactions.js.map +1 -1
  33. package/resources/declined-transactions.mjs.map +1 -1
  34. package/resources/digital-wallet-tokens.d.ts +1 -1
  35. package/resources/entities/beneficial-owners.d.ts +24 -5
  36. package/resources/entities/beneficial-owners.d.ts.map +1 -1
  37. package/resources/entities/beneficial-owners.js +8 -2
  38. package/resources/entities/beneficial-owners.js.map +1 -1
  39. package/resources/entities/beneficial-owners.mjs +8 -2
  40. package/resources/entities/beneficial-owners.mjs.map +1 -1
  41. package/resources/entities/entities.d.ts +19 -14
  42. package/resources/entities/entities.d.ts.map +1 -1
  43. package/resources/entities/entities.js.map +1 -1
  44. package/resources/entities/entities.mjs.map +1 -1
  45. package/resources/entities/index.d.ts +5 -1
  46. package/resources/entities/index.d.ts.map +1 -1
  47. package/resources/entities/index.js.map +1 -1
  48. package/resources/entities/index.mjs.map +1 -1
  49. package/resources/entities/supplemental-documents.d.ts +1 -1
  50. package/resources/entities/supplemental-documents.js +1 -1
  51. package/resources/entities/supplemental-documents.mjs +1 -1
  52. package/resources/event-subscriptions.d.ts +22 -10
  53. package/resources/event-subscriptions.d.ts.map +1 -1
  54. package/resources/event-subscriptions.js.map +1 -1
  55. package/resources/event-subscriptions.mjs.map +1 -1
  56. package/resources/events.d.ts +13 -5
  57. package/resources/events.d.ts.map +1 -1
  58. package/resources/events.js.map +1 -1
  59. package/resources/events.mjs.map +1 -1
  60. package/resources/external-accounts.d.ts +2 -2
  61. package/resources/inbound-ach-transfers.d.ts +303 -0
  62. package/resources/inbound-ach-transfers.d.ts.map +1 -0
  63. package/resources/inbound-ach-transfers.js +40 -0
  64. package/resources/inbound-ach-transfers.js.map +1 -0
  65. package/resources/inbound-ach-transfers.mjs +33 -0
  66. package/resources/inbound-ach-transfers.mjs.map +1 -0
  67. package/resources/index.d.ts +6 -7
  68. package/resources/index.d.ts.map +1 -1
  69. package/resources/index.js +7 -35
  70. package/resources/index.js.map +1 -1
  71. package/resources/index.mjs +1 -2
  72. package/resources/index.mjs.map +1 -1
  73. package/resources/pending-transactions.d.ts +50 -8
  74. package/resources/pending-transactions.d.ts.map +1 -1
  75. package/resources/pending-transactions.js.map +1 -1
  76. package/resources/pending-transactions.mjs.map +1 -1
  77. package/resources/real-time-decisions.d.ts +33 -4
  78. package/resources/real-time-decisions.d.ts.map +1 -1
  79. package/resources/real-time-decisions.js.map +1 -1
  80. package/resources/real-time-decisions.mjs.map +1 -1
  81. package/resources/real-time-payments-transfers.d.ts +49 -42
  82. package/resources/real-time-payments-transfers.d.ts.map +1 -1
  83. package/resources/real-time-payments-transfers.js +2 -2
  84. package/resources/real-time-payments-transfers.js.map +1 -1
  85. package/resources/real-time-payments-transfers.mjs +2 -2
  86. package/resources/real-time-payments-transfers.mjs.map +1 -1
  87. package/resources/routing-numbers.d.ts +1 -1
  88. package/resources/simulations/ach-transfers.d.ts +93 -35
  89. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  90. package/resources/simulations/ach-transfers.js.map +1 -1
  91. package/resources/simulations/ach-transfers.mjs.map +1 -1
  92. package/resources/simulations/cards.d.ts +108 -25
  93. package/resources/simulations/cards.d.ts.map +1 -1
  94. package/resources/simulations/cards.js.map +1 -1
  95. package/resources/simulations/cards.mjs.map +1 -1
  96. package/resources/simulations/inbound-wire-drawdown-requests.d.ts +1 -1
  97. package/resources/simulations/inbound-wire-drawdown-requests.js +1 -1
  98. package/resources/simulations/inbound-wire-drawdown-requests.mjs +1 -1
  99. package/resources/simulations/interest-payments.d.ts +16 -16
  100. package/resources/simulations/interest-payments.d.ts.map +1 -1
  101. package/resources/simulations/real-time-payments-transfers.d.ts +124 -66
  102. package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
  103. package/resources/simulations/real-time-payments-transfers.js +2 -2
  104. package/resources/simulations/real-time-payments-transfers.js.map +1 -1
  105. package/resources/simulations/real-time-payments-transfers.mjs +2 -2
  106. package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
  107. package/resources/simulations/wire-transfers.d.ts +16 -16
  108. package/resources/simulations/wire-transfers.d.ts.map +1 -1
  109. package/resources/transactions.d.ts +16 -16
  110. package/resources/transactions.d.ts.map +1 -1
  111. package/resources/wire-transfers.d.ts +9 -2
  112. package/resources/wire-transfers.d.ts.map +1 -1
  113. package/resources/wire-transfers.js.map +1 -1
  114. package/resources/wire-transfers.mjs.map +1 -1
  115. package/src/core.ts +19 -7
  116. package/src/index.ts +10 -12
  117. package/src/resources/account-transfers.ts +9 -1
  118. package/src/resources/ach-prenotifications.ts +2 -2
  119. package/src/resources/ach-transfers.ts +12 -4
  120. package/src/resources/card-purchase-supplements.ts +1 -1
  121. package/src/resources/check-transfers.ts +6 -3
  122. package/src/resources/declined-transactions.ts +96 -18
  123. package/src/resources/digital-wallet-tokens.ts +1 -1
  124. package/src/resources/entities/beneficial-owners.ts +31 -6
  125. package/src/resources/entities/entities.ts +20 -14
  126. package/src/resources/entities/index.ts +5 -1
  127. package/src/resources/entities/supplemental-documents.ts +1 -1
  128. package/src/resources/event-subscriptions.ts +22 -10
  129. package/src/resources/events.ts +13 -5
  130. package/src/resources/external-accounts.ts +2 -2
  131. package/src/resources/inbound-ach-transfers.ts +359 -0
  132. package/src/resources/index.ts +6 -7
  133. package/src/resources/pending-transactions.ts +52 -8
  134. package/src/resources/real-time-decisions.ts +34 -4
  135. package/src/resources/real-time-payments-transfers.ts +50 -42
  136. package/src/resources/routing-numbers.ts +1 -1
  137. package/src/resources/simulations/ach-transfers.ts +95 -35
  138. package/src/resources/simulations/cards.ts +110 -25
  139. package/src/resources/simulations/inbound-wire-drawdown-requests.ts +1 -1
  140. package/src/resources/simulations/interest-payments.ts +16 -16
  141. package/src/resources/simulations/real-time-payments-transfers.ts +126 -66
  142. package/src/resources/simulations/wire-transfers.ts +16 -16
  143. package/src/resources/transactions.ts +16 -16
  144. package/src/resources/wire-transfers.ts +10 -2
  145. package/src/version.ts +1 -1
  146. package/version.d.ts +1 -1
  147. package/version.js +1 -1
  148. package/version.mjs +1 -1
  149. package/resources/inbound-ach-transfer-returns.d.ts +0 -161
  150. package/resources/inbound-ach-transfer-returns.d.ts.map +0 -1
  151. package/resources/inbound-ach-transfer-returns.js +0 -37
  152. package/resources/inbound-ach-transfer-returns.js.map +0 -1
  153. package/resources/inbound-ach-transfer-returns.mjs +0 -30
  154. package/resources/inbound-ach-transfer-returns.mjs.map +0 -1
  155. package/resources/shared.d.ts +0 -31
  156. package/resources/shared.d.ts.map +0 -1
  157. package/resources/shared.js +0 -4
  158. package/resources/shared.js.map +0 -1
  159. package/resources/shared.mjs +0 -3
  160. package/resources/shared.mjs.map +0 -1
  161. package/src/resources/inbound-ach-transfer-returns.ts +0 -196
  162. package/src/resources/shared.ts +0 -32
@@ -3,7 +3,6 @@
3
3
  import * as Core from '../../core';
4
4
  import { APIResource } from '../../resource';
5
5
  import * as Transactions from '../transactions';
6
- import * as Shared from '../shared';
7
6
  import * as API from './index';
8
7
 
9
8
  export class Cards extends APIResource {
@@ -88,14 +87,14 @@ export namespace CardAuthorizationSimulation {
88
87
 
89
88
  /**
90
89
  * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the
91
- * Transaction occured.
90
+ * Transaction occurred.
92
91
  */
93
92
  created_at: string;
94
93
 
95
94
  /**
96
95
  * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Declined
97
96
  * Transaction's currency. This will match the currency on the Declined
98
- * Transcation's Account.
97
+ * Transaction's Account.
99
98
  *
100
99
  * - `CAD` - Canadian Dollar (CAD)
101
100
  * - `CHF` - Swiss Franc (CHF)
@@ -171,7 +170,7 @@ export namespace CardAuthorizationSimulation {
171
170
  * object.
172
171
  * - `check_decline` - Check Decline: details will be under the `check_decline`
173
172
  * object.
174
- * - `inbound_real_time_payments_transfer_decline` - Inbound Real Time Payments
173
+ * - `inbound_real_time_payments_transfer_decline` - Inbound Real-Time Payments
175
174
  * Transfer Decline: details will be under the
176
175
  * `inbound_real_time_payments_transfer_decline` object.
177
176
  * - `international_ach_decline` - International ACH Decline: details will be under
@@ -197,7 +196,7 @@ export namespace CardAuthorizationSimulation {
197
196
  check_decline: Source.CheckDecline | null;
198
197
 
199
198
  /**
200
- * An Inbound Real Time Payments Transfer Decline object. This field will be
199
+ * An Inbound Real-Time Payments Transfer Decline object. This field will be
201
200
  * present in the JSON response if and only if `category` is equal to
202
201
  * `inbound_real_time_payments_transfer_decline`.
203
202
  */
@@ -222,18 +221,35 @@ export namespace CardAuthorizationSimulation {
222
221
  * only if `category` is equal to `ach_decline`.
223
222
  */
224
223
  export interface ACHDecline {
224
+ /**
225
+ * The ACH Decline's identifier.
226
+ */
227
+ id: string;
228
+
225
229
  /**
226
230
  * The declined amount in the minor unit of the destination account currency. For
227
231
  * dollars, for example, this is cents.
228
232
  */
229
233
  amount: number;
230
234
 
235
+ /**
236
+ * The descriptive date of the transfer.
237
+ */
231
238
  originator_company_descriptive_date: string | null;
232
239
 
240
+ /**
241
+ * The additional information included with the transfer.
242
+ */
233
243
  originator_company_discretionary_data: string | null;
234
244
 
245
+ /**
246
+ * The identifier of the company that initiated the transfer.
247
+ */
235
248
  originator_company_id: string;
236
249
 
250
+ /**
251
+ * The name of the company that initiated the transfer.
252
+ */
237
253
  originator_company_name: string;
238
254
 
239
255
  /**
@@ -253,6 +269,7 @@ export namespace CardAuthorizationSimulation {
253
269
  * - `originator_request` - Other.
254
270
  * - `transaction_not_allowed` - The transaction is not allowed per Increase's
255
271
  * terms.
272
+ * - `user_initiated` - The user initiated the decline.
256
273
  */
257
274
  reason:
258
275
  | 'ach_route_canceled'
@@ -267,13 +284,29 @@ export namespace CardAuthorizationSimulation {
267
284
  | 'return_of_erroneous_or_reversing_debit'
268
285
  | 'no_ach_route'
269
286
  | 'originator_request'
270
- | 'transaction_not_allowed';
287
+ | 'transaction_not_allowed'
288
+ | 'user_initiated';
271
289
 
290
+ /**
291
+ * The id of the receiver of the transfer.
292
+ */
272
293
  receiver_id_number: string | null;
273
294
 
295
+ /**
296
+ * The name of the receiver of the transfer.
297
+ */
274
298
  receiver_name: string | null;
275
299
 
300
+ /**
301
+ * The trace number of the transfer.
302
+ */
276
303
  trace_number: string;
304
+
305
+ /**
306
+ * A constant representing the object's type. For this resource it will always be
307
+ * `ach_decline`.
308
+ */
309
+ type: 'ach_decline';
277
310
  }
278
311
 
279
312
  /**
@@ -301,8 +334,8 @@ export namespace CardAuthorizationSimulation {
301
334
  currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
302
335
 
303
336
  /**
304
- * If the authorization was attempted using a Digital Wallet Token (such as an
305
- * Apple Pay purchase), the identifier of the token that was used.
337
+ * If the authorization was made via a Digital Wallet Token (such as an Apple Pay
338
+ * purchase), the identifier of the token that was used.
306
339
  */
307
340
  digital_wallet_token_id: string | null;
308
341
 
@@ -359,6 +392,7 @@ export namespace CardAuthorizationSimulation {
359
392
  * Why the transaction was declined.
360
393
  *
361
394
  * - `card_not_active` - The Card was not active.
395
+ * - `physical_card_not_active` - The Physical Card was not active.
362
396
  * - `entity_not_active` - The account's entity was not active.
363
397
  * - `group_locked` - The account was inactive.
364
398
  * - `insufficient_funds` - The Card's Account did not have a sufficient available
@@ -366,8 +400,6 @@ export namespace CardAuthorizationSimulation {
366
400
  * - `cvv2_mismatch` - The given CVV2 did not match the card's value.
367
401
  * - `transaction_not_allowed` - The attempted card transaction is not allowed per
368
402
  * Increase's terms.
369
- * - `breaches_internal_limit` - The transaction was blocked by an internal limit
370
- * for new Increase accounts.
371
403
  * - `breaches_limit` - The transaction was blocked by a Limit.
372
404
  * - `webhook_declined` - Your application declined the transaction via webhook.
373
405
  * - `webhook_timed_out` - Your application webhook did not respond without the
@@ -377,21 +409,24 @@ export namespace CardAuthorizationSimulation {
377
409
  * authorization request cryptogram.
378
410
  * - `missing_original_authorization` - The original card authorization for this
379
411
  * incremental authorization does not exist.
412
+ * - `suspected_fraud` - The transaction was suspected to be fraudulent. Please
413
+ * reach out to support@increase.com for more information.
380
414
  */
381
415
  reason:
382
416
  | 'card_not_active'
417
+ | 'physical_card_not_active'
383
418
  | 'entity_not_active'
384
419
  | 'group_locked'
385
420
  | 'insufficient_funds'
386
421
  | 'cvv2_mismatch'
387
422
  | 'transaction_not_allowed'
388
- | 'breaches_internal_limit'
389
423
  | 'breaches_limit'
390
424
  | 'webhook_declined'
391
425
  | 'webhook_timed_out'
392
426
  | 'declined_by_stand_in_processing'
393
427
  | 'invalid_physical_card'
394
- | 'missing_original_authorization';
428
+ | 'missing_original_authorization'
429
+ | 'suspected_fraud';
395
430
  }
396
431
 
397
432
  export namespace CardDecline {
@@ -466,8 +501,33 @@ export namespace CardAuthorizationSimulation {
466
501
  /**
467
502
  * The method used to enter the cardholder's primary account number and card
468
503
  * expiration date
504
+ *
505
+ * - `unknown` - Unknown
506
+ * - `manual` - Manual key entry
507
+ * - `magnetic_stripe_no_cvv` - Magnetic stripe read, without card verification
508
+ * value
509
+ * - `optical_code` - Optical code
510
+ * - `integrated_circuit_card` - Contact chip card
511
+ * - `contactless` - Contactless read of chip card
512
+ * - `credential_on_file` - Transaction initiated using a credential that has
513
+ * previously been stored on file
514
+ * - `magnetic_stripe` - Magnetic stripe read
515
+ * - `contactless_magnetic_stripe` - Contactless read of magnetic stripe data
516
+ * - `integrated_circuit_card_no_cvv` - Contact chip card, without card
517
+ * verification value
469
518
  */
470
- point_of_service_entry_mode: Shared.PointOfServiceEntryMode | null;
519
+ point_of_service_entry_mode:
520
+ | 'unknown'
521
+ | 'manual'
522
+ | 'magnetic_stripe_no_cvv'
523
+ | 'optical_code'
524
+ | 'integrated_circuit_card'
525
+ | 'contactless'
526
+ | 'credential_on_file'
527
+ | 'magnetic_stripe'
528
+ | 'contactless_magnetic_stripe'
529
+ | 'integrated_circuit_card_no_cvv'
530
+ | null;
471
531
  }
472
532
  }
473
533
  }
@@ -523,7 +583,7 @@ export namespace CardAuthorizationSimulation {
523
583
  }
524
584
 
525
585
  /**
526
- * An Inbound Real Time Payments Transfer Decline object. This field will be
586
+ * An Inbound Real-Time Payments Transfer Decline object. This field will be
527
587
  * present in the JSON response if and only if `category` is equal to
528
588
  * `inbound_real_time_payments_transfer_decline`.
529
589
  */
@@ -541,7 +601,7 @@ export namespace CardAuthorizationSimulation {
541
601
 
542
602
  /**
543
603
  * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the declined
544
- * transfer's currency. This will always be "USD" for a Real Time Payments
604
+ * transfer's currency. This will always be "USD" for a Real-Time Payments
545
605
  * transfer.
546
606
  *
547
607
  * - `CAD` - Canadian Dollar (CAD)
@@ -576,8 +636,8 @@ export namespace CardAuthorizationSimulation {
576
636
  * - `account_restricted` - Your account is restricted.
577
637
  * - `group_locked` - Your account is inactive.
578
638
  * - `entity_not_active` - The account's entity is not active.
579
- * - `real_time_payments_not_enabled` - Your account is not enabled to receive Real
580
- * Time Payments transfers.
639
+ * - `real_time_payments_not_enabled` - Your account is not enabled to receive
640
+ * Real-Time Payments transfers.
581
641
  */
582
642
  reason:
583
643
  | 'account_number_canceled'
@@ -593,7 +653,7 @@ export namespace CardAuthorizationSimulation {
593
653
  remittance_information: string | null;
594
654
 
595
655
  /**
596
- * The Real Time Payments network identification of the declined transfer.
656
+ * The Real-Time Payments network identification of the declined transfer.
597
657
  */
598
658
  transaction_identification: string;
599
659
  }
@@ -773,14 +833,14 @@ export namespace CardAuthorizationSimulation {
773
833
 
774
834
  /**
775
835
  * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Pending
776
- * Transaction occured.
836
+ * Transaction occurred.
777
837
  */
778
838
  created_at: string;
779
839
 
780
840
  /**
781
841
  * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Pending
782
842
  * Transaction's currency. This will match the currency on the Pending
783
- * Transcation's Account.
843
+ * Transaction's Account.
784
844
  *
785
845
  * - `CAD` - Canadian Dollar (CAD)
786
846
  * - `CHF` - Swiss Franc (CHF)
@@ -878,7 +938,7 @@ export namespace CardAuthorizationSimulation {
878
938
  * under the `check_transfer_instruction` object.
879
939
  * - `inbound_funds_hold` - Inbound Funds Hold: details will be under the
880
940
  * `inbound_funds_hold` object.
881
- * - `real_time_payments_transfer_instruction` - Real Time Payments Transfer
941
+ * - `real_time_payments_transfer_instruction` - Real-Time Payments Transfer
882
942
  * Instruction: details will be under the
883
943
  * `real_time_payments_transfer_instruction` object.
884
944
  * - `wire_transfer_instruction` - Wire Transfer Instruction: details will be under
@@ -916,7 +976,7 @@ export namespace CardAuthorizationSimulation {
916
976
  inbound_funds_hold: Source.InboundFundsHold | null;
917
977
 
918
978
  /**
919
- * A Real Time Payments Transfer Instruction object. This field will be present in
979
+ * A Real-Time Payments Transfer Instruction object. This field will be present in
920
980
  * the JSON response if and only if `category` is equal to
921
981
  * `real_time_payments_transfer_instruction`.
922
982
  */
@@ -1146,8 +1206,33 @@ export namespace CardAuthorizationSimulation {
1146
1206
  /**
1147
1207
  * The method used to enter the cardholder's primary account number and card
1148
1208
  * expiration date
1209
+ *
1210
+ * - `unknown` - Unknown
1211
+ * - `manual` - Manual key entry
1212
+ * - `magnetic_stripe_no_cvv` - Magnetic stripe read, without card verification
1213
+ * value
1214
+ * - `optical_code` - Optical code
1215
+ * - `integrated_circuit_card` - Contact chip card
1216
+ * - `contactless` - Contactless read of chip card
1217
+ * - `credential_on_file` - Transaction initiated using a credential that has
1218
+ * previously been stored on file
1219
+ * - `magnetic_stripe` - Magnetic stripe read
1220
+ * - `contactless_magnetic_stripe` - Contactless read of magnetic stripe data
1221
+ * - `integrated_circuit_card_no_cvv` - Contact chip card, without card
1222
+ * verification value
1149
1223
  */
1150
- point_of_service_entry_mode: Shared.PointOfServiceEntryMode | null;
1224
+ point_of_service_entry_mode:
1225
+ | 'unknown'
1226
+ | 'manual'
1227
+ | 'magnetic_stripe_no_cvv'
1228
+ | 'optical_code'
1229
+ | 'integrated_circuit_card'
1230
+ | 'contactless'
1231
+ | 'credential_on_file'
1232
+ | 'magnetic_stripe'
1233
+ | 'contactless_magnetic_stripe'
1234
+ | 'integrated_circuit_card_no_cvv'
1235
+ | null;
1151
1236
  }
1152
1237
  }
1153
1238
  }
@@ -1296,7 +1381,7 @@ export namespace CardAuthorizationSimulation {
1296
1381
  }
1297
1382
 
1298
1383
  /**
1299
- * A Real Time Payments Transfer Instruction object. This field will be present in
1384
+ * A Real-Time Payments Transfer Instruction object. This field will be present in
1300
1385
  * the JSON response if and only if `category` is equal to
1301
1386
  * `real_time_payments_transfer_instruction`.
1302
1387
  */
@@ -1308,7 +1393,7 @@ export namespace CardAuthorizationSimulation {
1308
1393
  amount: number;
1309
1394
 
1310
1395
  /**
1311
- * The identifier of the Real Time Payments Transfer that led to this Pending
1396
+ * The identifier of the Real-Time Payments Transfer that led to this Pending
1312
1397
  * Transaction.
1313
1398
  */
1314
1399
  transfer_id: string;
@@ -7,7 +7,7 @@ import * as API from './index';
7
7
 
8
8
  export class InboundWireDrawdownRequests extends APIResource {
9
9
  /**
10
- * Simulates the receival of an
10
+ * Simulates receiving an
11
11
  * [Inbound Wire Drawdown Request](#inbound-wire-drawdown-requests).
12
12
  */
13
13
  create(
@@ -58,13 +58,13 @@ export namespace InterestPaymentSimulationResult {
58
58
 
59
59
  /**
60
60
  * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the
61
- * Transaction occured.
61
+ * Transaction occurred.
62
62
  */
63
63
  created_at: string;
64
64
 
65
65
  /**
66
66
  * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
67
- * Transaction's currency. This will match the currency on the Transcation's
67
+ * Transaction's currency. This will match the currency on the Transaction's
68
68
  * Account.
69
69
  *
70
70
  * - `CAD` - Canadian Dollar (CAD)
@@ -207,7 +207,7 @@ export namespace InterestPaymentSimulationResult {
207
207
  * object.
208
208
  * - `inbound_international_ach_transfer` - Inbound International ACH Transfer:
209
209
  * details will be under the `inbound_international_ach_transfer` object.
210
- * - `inbound_real_time_payments_transfer_confirmation` - Inbound Real Time
210
+ * - `inbound_real_time_payments_transfer_confirmation` - Inbound Real-Time
211
211
  * Payments Transfer Confirmation: details will be under the
212
212
  * `inbound_real_time_payments_transfer_confirmation` object.
213
213
  * - `inbound_wire_drawdown_payment` - Inbound Wire Drawdown Payment: details will
@@ -223,7 +223,7 @@ export namespace InterestPaymentSimulationResult {
223
223
  * `interest_payment` object.
224
224
  * - `internal_source` - Internal Source: details will be under the
225
225
  * `internal_source` object.
226
- * - `real_time_payments_transfer_acknowledgement` - Real Time Payments Transfer
226
+ * - `real_time_payments_transfer_acknowledgement` - Real-Time Payments Transfer
227
227
  * Acknowledgement: details will be under the
228
228
  * `real_time_payments_transfer_acknowledgement` object.
229
229
  * - `sample_funds` - Sample Funds: details will be under the `sample_funds`
@@ -323,7 +323,7 @@ export namespace InterestPaymentSimulationResult {
323
323
  inbound_international_ach_transfer: Source.InboundInternationalACHTransfer | null;
324
324
 
325
325
  /**
326
- * An Inbound Real Time Payments Transfer Confirmation object. This field will be
326
+ * An Inbound Real-Time Payments Transfer Confirmation object. This field will be
327
327
  * present in the JSON response if and only if `category` is equal to
328
328
  * `inbound_real_time_payments_transfer_confirmation`.
329
329
  */
@@ -367,7 +367,7 @@ export namespace InterestPaymentSimulationResult {
367
367
  internal_source: Source.InternalSource | null;
368
368
 
369
369
  /**
370
- * A Real Time Payments Transfer Acknowledgement object. This field will be present
370
+ * A Real-Time Payments Transfer Acknowledgement object. This field will be present
371
371
  * in the JSON response if and only if `category` is equal to
372
372
  * `real_time_payments_transfer_acknowledgement`.
373
373
  */
@@ -709,7 +709,7 @@ export namespace InterestPaymentSimulationResult {
709
709
  | 'untimely_return';
710
710
 
711
711
  /**
712
- * The identifier of the Tranasaction associated with this return.
712
+ * The identifier of the Transaction associated with this return.
713
713
  */
714
714
  transaction_id: string;
715
715
 
@@ -1060,7 +1060,7 @@ export namespace InterestPaymentSimulationResult {
1060
1060
  food_beverage_charges_amount: number | null;
1061
1061
 
1062
1062
  /**
1063
- * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the foor and
1063
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the food and
1064
1064
  * beverage charges.
1065
1065
  */
1066
1066
  food_beverage_charges_currency: string | null;
@@ -1729,7 +1729,7 @@ export namespace InterestPaymentSimulationResult {
1729
1729
  food_beverage_charges_amount: number | null;
1730
1730
 
1731
1731
  /**
1732
- * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the foor and
1732
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the food and
1733
1733
  * beverage charges.
1734
1734
  */
1735
1735
  food_beverage_charges_currency: string | null;
@@ -2243,7 +2243,7 @@ export namespace InterestPaymentSimulationResult {
2243
2243
  * The reason why this transfer was stopped.
2244
2244
  *
2245
2245
  * - `mail_delivery_failed` - The check could not be delivered.
2246
- * - `rejected_by_increase` - The check was cancelled by an Increase operator who
2246
+ * - `rejected_by_increase` - The check was canceled by an Increase operator who
2247
2247
  * will provide details out-of-band.
2248
2248
  * - `unknown` - The check was stopped for another reason.
2249
2249
  */
@@ -2439,7 +2439,7 @@ export namespace InterestPaymentSimulationResult {
2439
2439
  }
2440
2440
 
2441
2441
  /**
2442
- * An Inbound Real Time Payments Transfer Confirmation object. This field will be
2442
+ * An Inbound Real-Time Payments Transfer Confirmation object. This field will be
2443
2443
  * present in the JSON response if and only if `category` is equal to
2444
2444
  * `inbound_real_time_payments_transfer_confirmation`.
2445
2445
  */
@@ -2457,7 +2457,7 @@ export namespace InterestPaymentSimulationResult {
2457
2457
 
2458
2458
  /**
2459
2459
  * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the transfer's
2460
- * currency. This will always be "USD" for a Real Time Payments transfer.
2460
+ * currency. This will always be "USD" for a Real-Time Payments transfer.
2461
2461
  *
2462
2462
  * - `CAD` - Canadian Dollar (CAD)
2463
2463
  * - `CHF` - Swiss Franc (CHF)
@@ -2489,7 +2489,7 @@ export namespace InterestPaymentSimulationResult {
2489
2489
  remittance_information: string | null;
2490
2490
 
2491
2491
  /**
2492
- * The Real Time Payments network identification of the transfer
2492
+ * The Real-Time Payments network identification of the transfer
2493
2493
  */
2494
2494
  transaction_identification: string;
2495
2495
  }
@@ -2662,7 +2662,7 @@ export namespace InterestPaymentSimulationResult {
2662
2662
  /**
2663
2663
  * The ID for the Transaction associated with the transfer reversal.
2664
2664
  */
2665
- transaction_id: string | null;
2665
+ transaction_id: string;
2666
2666
 
2667
2667
  /**
2668
2668
  * The ID for the Wire Transfer that is being reversed.
@@ -2810,7 +2810,7 @@ export namespace InterestPaymentSimulationResult {
2810
2810
  }
2811
2811
 
2812
2812
  /**
2813
- * A Real Time Payments Transfer Acknowledgement object. This field will be present
2813
+ * A Real-Time Payments Transfer Acknowledgement object. This field will be present
2814
2814
  * in the JSON response if and only if `category` is equal to
2815
2815
  * `real_time_payments_transfer_acknowledgement`.
2816
2816
  */
@@ -2836,7 +2836,7 @@ export namespace InterestPaymentSimulationResult {
2836
2836
  remittance_information: string;
2837
2837
 
2838
2838
  /**
2839
- * The identifier of the Real Time Payments Transfer that led to this Transaction.
2839
+ * The identifier of the Real-Time Payments Transfer that led to this Transaction.
2840
2840
  */
2841
2841
  transfer_id: string;
2842
2842
  }