stripe 19.2.0-alpha.1 → 19.2.0-alpha.2

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.
@@ -48,6 +48,11 @@ declare module 'stripe' {
48
48
 
49
49
  namespace AccountCreateParams {
50
50
  interface Configuration {
51
+ /**
52
+ * The CardCreator Configuration allows the Account to create and issue cards to users.
53
+ */
54
+ card_creator?: Configuration.CardCreator;
55
+
51
56
  /**
52
57
  * The Customer Configuration allows the Account to be used in inbound payment flows.
53
58
  */
@@ -70,6 +75,127 @@ declare module 'stripe' {
70
75
  }
71
76
 
72
77
  namespace Configuration {
78
+ interface CardCreator {
79
+ /**
80
+ * Capabilities to request on the CardCreator Configuration.
81
+ */
82
+ capabilities?: CardCreator.Capabilities;
83
+ }
84
+
85
+ namespace CardCreator {
86
+ interface Capabilities {
87
+ /**
88
+ * Can create cards for commercial issuing use cases.
89
+ */
90
+ commercial?: Capabilities.Commercial;
91
+ }
92
+
93
+ namespace Capabilities {
94
+ interface Commercial {
95
+ /**
96
+ * Can create commercial issuing cards with Celtic as BIN sponsor.
97
+ */
98
+ celtic?: Commercial.Celtic;
99
+
100
+ /**
101
+ * Can create commercial issuing cards with Cross River Bank as BIN sponsor.
102
+ */
103
+ cross_river_bank?: Commercial.CrossRiverBank;
104
+
105
+ /**
106
+ * Can create commercial issuing cards with Stripe as BIN sponsor.
107
+ */
108
+ stripe?: Commercial.Stripe;
109
+ }
110
+
111
+ namespace Commercial {
112
+ interface Celtic {
113
+ /**
114
+ * Can create commercial issuing charge cards with Celtic as BIN sponsor.
115
+ */
116
+ charge_card?: Celtic.ChargeCard;
117
+
118
+ /**
119
+ * Can create commercial issuing spend cards with Celtic as BIN sponsor.
120
+ */
121
+ spend_card?: Celtic.SpendCard;
122
+ }
123
+
124
+ namespace Celtic {
125
+ interface ChargeCard {
126
+ /**
127
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
128
+ */
129
+ requested: boolean;
130
+ }
131
+
132
+ interface SpendCard {
133
+ /**
134
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
135
+ */
136
+ requested: boolean;
137
+ }
138
+ }
139
+
140
+ interface CrossRiverBank {
141
+ /**
142
+ * Can create commercial issuing charge cards with Cross River Bank as BIN sponsor.
143
+ */
144
+ charge_card?: CrossRiverBank.ChargeCard;
145
+
146
+ /**
147
+ * Can create commercial issuing spend cards with Cross River Bank as BIN sponsor.
148
+ */
149
+ spend_card?: CrossRiverBank.SpendCard;
150
+ }
151
+
152
+ namespace CrossRiverBank {
153
+ interface ChargeCard {
154
+ /**
155
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
156
+ */
157
+ requested: boolean;
158
+ }
159
+
160
+ interface SpendCard {
161
+ /**
162
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
163
+ */
164
+ requested: boolean;
165
+ }
166
+ }
167
+
168
+ interface Stripe {
169
+ /**
170
+ * Can create commercial issuing charge cards with Stripe as BIN sponsor.
171
+ */
172
+ charge_card?: Stripe.ChargeCard;
173
+
174
+ /**
175
+ * Can create commercial issuing prepaid cards with Stripe as BIN sponsor.
176
+ */
177
+ prepaid_card?: Stripe.PrepaidCard;
178
+ }
179
+
180
+ namespace Stripe {
181
+ interface ChargeCard {
182
+ /**
183
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
184
+ */
185
+ requested: boolean;
186
+ }
187
+
188
+ interface PrepaidCard {
189
+ /**
190
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
191
+ */
192
+ requested: boolean;
193
+ }
194
+ }
195
+ }
196
+ }
197
+ }
198
+
73
199
  interface Customer {
74
200
  /**
75
201
  * Automatic indirect tax settings to be used when automatic tax calculation is enabled on the customer's invoices, subscriptions, checkout sessions, or payment links. Surfaces if automatic tax calculation is possible given the current customer location information.
@@ -1432,6 +1558,11 @@ declare module 'stripe' {
1432
1558
  */
1433
1559
  account?: TermsOfService.Account;
1434
1560
 
1561
+ /**
1562
+ * Details on the Account's acceptance of Issuing-specific terms of service.
1563
+ */
1564
+ card_creator?: TermsOfService.CardCreator;
1565
+
1435
1566
  /**
1436
1567
  * Details on the Account's acceptance of Treasury-specific terms of service.
1437
1568
  */
@@ -1456,6 +1587,359 @@ declare module 'stripe' {
1456
1587
  user_agent?: string;
1457
1588
  }
1458
1589
 
1590
+ interface CardCreator {
1591
+ /**
1592
+ * Terms of service acceptances to create cards for commercial issuing use cases.
1593
+ */
1594
+ commercial?: CardCreator.Commercial;
1595
+ }
1596
+
1597
+ namespace CardCreator {
1598
+ interface Commercial {
1599
+ /**
1600
+ * Terms of service acceptances for Stripe commercial card issuing.
1601
+ */
1602
+ account_holder?: Commercial.AccountHolder;
1603
+
1604
+ /**
1605
+ * Terms of service acceptances for commercial issuing cards with Celtic as BIN sponsor.
1606
+ */
1607
+ celtic?: Commercial.Celtic;
1608
+
1609
+ /**
1610
+ * Terms of service acceptances for commercial issuing cards with Cross River Bank as BIN sponsor.
1611
+ */
1612
+ cross_river_bank?: Commercial.CrossRiverBank;
1613
+ }
1614
+
1615
+ namespace Commercial {
1616
+ interface AccountHolder {
1617
+ /**
1618
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1619
+ */
1620
+ date: string;
1621
+
1622
+ /**
1623
+ * The IP address from which the Account's representative accepted the terms of service.
1624
+ */
1625
+ ip: string;
1626
+
1627
+ /**
1628
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
1629
+ */
1630
+ user_agent?: string;
1631
+ }
1632
+
1633
+ interface Celtic {
1634
+ /**
1635
+ * Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as BIN sponsor.
1636
+ */
1637
+ apple_pay?: Celtic.ApplePay;
1638
+
1639
+ /**
1640
+ * Terms of service acceptances for commercial issuing charge cards with Celtic as BIN sponsor.
1641
+ */
1642
+ charge_card?: Celtic.ChargeCard;
1643
+
1644
+ /**
1645
+ * Terms of service acceptances for commercial issuing spend cards with Celtic as BIN sponsor.
1646
+ */
1647
+ spend_card?: Celtic.SpendCard;
1648
+ }
1649
+
1650
+ namespace Celtic {
1651
+ interface ApplePay {
1652
+ /**
1653
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1654
+ */
1655
+ date: string;
1656
+
1657
+ /**
1658
+ * The IP address from which the Account's representative accepted the terms of service.
1659
+ */
1660
+ ip: string;
1661
+
1662
+ /**
1663
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
1664
+ */
1665
+ user_agent?: string;
1666
+ }
1667
+
1668
+ interface ChargeCard {
1669
+ /**
1670
+ * Bank terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
1671
+ */
1672
+ bank_terms?: ChargeCard.BankTerms;
1673
+
1674
+ /**
1675
+ * Platform terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
1676
+ */
1677
+ platform?: ChargeCard.Platform;
1678
+ }
1679
+
1680
+ namespace ChargeCard {
1681
+ interface BankTerms {
1682
+ /**
1683
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1684
+ */
1685
+ date: string;
1686
+
1687
+ /**
1688
+ * The IP address from which the Account's representative accepted the terms of service.
1689
+ */
1690
+ ip: string;
1691
+
1692
+ /**
1693
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
1694
+ */
1695
+ user_agent?: string;
1696
+ }
1697
+
1698
+ interface Platform {
1699
+ /**
1700
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1701
+ */
1702
+ date: string;
1703
+
1704
+ /**
1705
+ * The IP address from which the Account's representative accepted the terms of service.
1706
+ */
1707
+ ip: string;
1708
+
1709
+ /**
1710
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
1711
+ */
1712
+ user_agent?: string;
1713
+ }
1714
+ }
1715
+
1716
+ interface SpendCard {
1717
+ /**
1718
+ * Bank terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
1719
+ */
1720
+ bank_terms?: SpendCard.BankTerms;
1721
+
1722
+ /**
1723
+ * Financial disclosures terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
1724
+ */
1725
+ financing_disclosures?: SpendCard.FinancingDisclosures;
1726
+
1727
+ /**
1728
+ * Platform terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
1729
+ */
1730
+ platform?: SpendCard.Platform;
1731
+ }
1732
+
1733
+ namespace SpendCard {
1734
+ interface BankTerms {
1735
+ /**
1736
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1737
+ */
1738
+ date: string;
1739
+
1740
+ /**
1741
+ * The IP address from which the Account's representative accepted the terms of service.
1742
+ */
1743
+ ip: string;
1744
+
1745
+ /**
1746
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
1747
+ */
1748
+ user_agent?: string;
1749
+ }
1750
+
1751
+ interface FinancingDisclosures {
1752
+ /**
1753
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1754
+ */
1755
+ date: string;
1756
+
1757
+ /**
1758
+ * The IP address from which the Account's representative accepted the terms of service.
1759
+ */
1760
+ ip: string;
1761
+
1762
+ /**
1763
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
1764
+ */
1765
+ user_agent?: string;
1766
+ }
1767
+
1768
+ interface Platform {
1769
+ /**
1770
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1771
+ */
1772
+ date: string;
1773
+
1774
+ /**
1775
+ * The IP address from which the Account's representative accepted the terms of service.
1776
+ */
1777
+ ip: string;
1778
+
1779
+ /**
1780
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
1781
+ */
1782
+ user_agent?: string;
1783
+ }
1784
+ }
1785
+ }
1786
+
1787
+ interface CrossRiverBank {
1788
+ /**
1789
+ * Terms of service acceptances for commercial issuing Apple Pay cards with Cross River Bank as BIN sponsor.
1790
+ */
1791
+ apple_pay?: CrossRiverBank.ApplePay;
1792
+
1793
+ /**
1794
+ * Terms of service acceptances for commercial issuing charge cards with Cross River Bank as BIN sponsor.
1795
+ */
1796
+ charge_card?: CrossRiverBank.ChargeCard;
1797
+
1798
+ /**
1799
+ * Terms of service acceptances for commercial issuing spend cards with Cross River Bank as BIN sponsor.
1800
+ */
1801
+ spend_card?: CrossRiverBank.SpendCard;
1802
+ }
1803
+
1804
+ namespace CrossRiverBank {
1805
+ interface ApplePay {
1806
+ /**
1807
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1808
+ */
1809
+ date: string;
1810
+
1811
+ /**
1812
+ * The IP address from which the Account's representative accepted the terms of service.
1813
+ */
1814
+ ip: string;
1815
+
1816
+ /**
1817
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
1818
+ */
1819
+ user_agent?: string;
1820
+ }
1821
+
1822
+ interface ChargeCard {
1823
+ /**
1824
+ * Bank terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
1825
+ */
1826
+ bank_terms?: ChargeCard.BankTerms;
1827
+
1828
+ /**
1829
+ * Financial disclosures terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
1830
+ */
1831
+ financing_disclosures?: ChargeCard.FinancingDisclosures;
1832
+
1833
+ /**
1834
+ * Platform terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
1835
+ */
1836
+ platform?: ChargeCard.Platform;
1837
+ }
1838
+
1839
+ namespace ChargeCard {
1840
+ interface BankTerms {
1841
+ /**
1842
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1843
+ */
1844
+ date: string;
1845
+
1846
+ /**
1847
+ * The IP address from which the Account's representative accepted the terms of service.
1848
+ */
1849
+ ip: string;
1850
+
1851
+ /**
1852
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
1853
+ */
1854
+ user_agent?: string;
1855
+ }
1856
+
1857
+ interface FinancingDisclosures {
1858
+ /**
1859
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1860
+ */
1861
+ date: string;
1862
+
1863
+ /**
1864
+ * The IP address from which the Account's representative accepted the terms of service.
1865
+ */
1866
+ ip: string;
1867
+
1868
+ /**
1869
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
1870
+ */
1871
+ user_agent?: string;
1872
+ }
1873
+
1874
+ interface Platform {
1875
+ /**
1876
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1877
+ */
1878
+ date: string;
1879
+
1880
+ /**
1881
+ * The IP address from which the Account's representative accepted the terms of service.
1882
+ */
1883
+ ip: string;
1884
+
1885
+ /**
1886
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
1887
+ */
1888
+ user_agent?: string;
1889
+ }
1890
+ }
1891
+
1892
+ interface SpendCard {
1893
+ /**
1894
+ * Bank terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
1895
+ */
1896
+ bank_terms?: SpendCard.BankTerms;
1897
+
1898
+ /**
1899
+ * Financial disclosures terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
1900
+ */
1901
+ financing_disclosures?: SpendCard.FinancingDisclosures;
1902
+ }
1903
+
1904
+ namespace SpendCard {
1905
+ interface BankTerms {
1906
+ /**
1907
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1908
+ */
1909
+ date: string;
1910
+
1911
+ /**
1912
+ * The IP address from which the Account's representative accepted the terms of service.
1913
+ */
1914
+ ip: string;
1915
+
1916
+ /**
1917
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
1918
+ */
1919
+ user_agent?: string;
1920
+ }
1921
+
1922
+ interface FinancingDisclosures {
1923
+ /**
1924
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1925
+ */
1926
+ date: string;
1927
+
1928
+ /**
1929
+ * The IP address from which the Account's representative accepted the terms of service.
1930
+ */
1931
+ ip: string;
1932
+
1933
+ /**
1934
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
1935
+ */
1936
+ user_agent?: string;
1937
+ }
1938
+ }
1939
+ }
1940
+ }
1941
+ }
1942
+
1459
1943
  interface Storer {
1460
1944
  /**
1461
1945
  * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
@@ -2556,6 +3040,7 @@ declare module 'stripe' {
2556
3040
  }
2557
3041
 
2558
3042
  type Include =
3043
+ | 'configuration.card_creator'
2559
3044
  | 'configuration.customer'
2560
3045
  | 'configuration.merchant'
2561
3046
  | 'configuration.recipient'
@@ -2576,6 +3061,7 @@ declare module 'stripe' {
2576
3061
 
2577
3062
  namespace AccountRetrieveParams {
2578
3063
  type Include =
3064
+ | 'configuration.card_creator'
2579
3065
  | 'configuration.customer'
2580
3066
  | 'configuration.merchant'
2581
3067
  | 'configuration.recipient'
@@ -2631,6 +3117,11 @@ declare module 'stripe' {
2631
3117
 
2632
3118
  namespace AccountUpdateParams {
2633
3119
  interface Configuration {
3120
+ /**
3121
+ * The CardCreator Configuration allows the Account to create and issue cards to users.
3122
+ */
3123
+ card_creator?: Configuration.CardCreator;
3124
+
2634
3125
  /**
2635
3126
  * The Customer Configuration allows the Account to be charged.
2636
3127
  */
@@ -2653,6 +3144,132 @@ declare module 'stripe' {
2653
3144
  }
2654
3145
 
2655
3146
  namespace Configuration {
3147
+ interface CardCreator {
3148
+ /**
3149
+ * Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
3150
+ */
3151
+ applied?: boolean;
3152
+
3153
+ /**
3154
+ * Capabilities to request on the CardCreator Configuration.
3155
+ */
3156
+ capabilities?: CardCreator.Capabilities;
3157
+ }
3158
+
3159
+ namespace CardCreator {
3160
+ interface Capabilities {
3161
+ /**
3162
+ * Can create cards for commercial issuing use cases.
3163
+ */
3164
+ commercial?: Capabilities.Commercial;
3165
+ }
3166
+
3167
+ namespace Capabilities {
3168
+ interface Commercial {
3169
+ /**
3170
+ * Can create commercial issuing cards with Celtic as BIN sponsor.
3171
+ */
3172
+ celtic?: Commercial.Celtic;
3173
+
3174
+ /**
3175
+ * Can create commercial issuing cards with Cross River Bank as BIN sponsor.
3176
+ */
3177
+ cross_river_bank?: Commercial.CrossRiverBank;
3178
+
3179
+ /**
3180
+ * Can create commercial issuing cards with Stripe as BIN sponsor.
3181
+ */
3182
+ stripe?: Commercial.Stripe;
3183
+ }
3184
+
3185
+ namespace Commercial {
3186
+ interface Celtic {
3187
+ /**
3188
+ * Can create commercial issuing charge cards with Celtic as BIN sponsor.
3189
+ */
3190
+ charge_card?: Celtic.ChargeCard;
3191
+
3192
+ /**
3193
+ * Can create commercial issuing spend cards with Celtic as BIN sponsor.
3194
+ */
3195
+ spend_card?: Celtic.SpendCard;
3196
+ }
3197
+
3198
+ namespace Celtic {
3199
+ interface ChargeCard {
3200
+ /**
3201
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3202
+ */
3203
+ requested?: boolean;
3204
+ }
3205
+
3206
+ interface SpendCard {
3207
+ /**
3208
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3209
+ */
3210
+ requested?: boolean;
3211
+ }
3212
+ }
3213
+
3214
+ interface CrossRiverBank {
3215
+ /**
3216
+ * Can create commercial issuing charge cards with Cross River Bank as BIN sponsor.
3217
+ */
3218
+ charge_card?: CrossRiverBank.ChargeCard;
3219
+
3220
+ /**
3221
+ * Can create commercial issuing spend cards with Cross River Bank as BIN sponsor.
3222
+ */
3223
+ spend_card?: CrossRiverBank.SpendCard;
3224
+ }
3225
+
3226
+ namespace CrossRiverBank {
3227
+ interface ChargeCard {
3228
+ /**
3229
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3230
+ */
3231
+ requested?: boolean;
3232
+ }
3233
+
3234
+ interface SpendCard {
3235
+ /**
3236
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3237
+ */
3238
+ requested?: boolean;
3239
+ }
3240
+ }
3241
+
3242
+ interface Stripe {
3243
+ /**
3244
+ * Can create commercial issuing charge cards with Stripe as BIN sponsor.
3245
+ */
3246
+ charge_card?: Stripe.ChargeCard;
3247
+
3248
+ /**
3249
+ * Can create commercial issuing prepaid cards with Stripe as BIN sponsor.
3250
+ */
3251
+ prepaid_card?: Stripe.PrepaidCard;
3252
+ }
3253
+
3254
+ namespace Stripe {
3255
+ interface ChargeCard {
3256
+ /**
3257
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3258
+ */
3259
+ requested?: boolean;
3260
+ }
3261
+
3262
+ interface PrepaidCard {
3263
+ /**
3264
+ * To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3265
+ */
3266
+ requested?: boolean;
3267
+ }
3268
+ }
3269
+ }
3270
+ }
3271
+ }
3272
+
2656
3273
  interface Customer {
2657
3274
  /**
2658
3275
  * Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
@@ -4013,6 +4630,11 @@ declare module 'stripe' {
4013
4630
  */
4014
4631
  account?: TermsOfService.Account;
4015
4632
 
4633
+ /**
4634
+ * Details on the Account's acceptance of Issuing-specific terms of service.
4635
+ */
4636
+ card_creator?: TermsOfService.CardCreator;
4637
+
4016
4638
  /**
4017
4639
  * Details on the Account's acceptance of Treasury-specific terms of service.
4018
4640
  */
@@ -4037,6 +4659,359 @@ declare module 'stripe' {
4037
4659
  user_agent?: string;
4038
4660
  }
4039
4661
 
4662
+ interface CardCreator {
4663
+ /**
4664
+ * Terms of service acceptances to create cards for commercial issuing use cases.
4665
+ */
4666
+ commercial?: CardCreator.Commercial;
4667
+ }
4668
+
4669
+ namespace CardCreator {
4670
+ interface Commercial {
4671
+ /**
4672
+ * Terms of service acceptances for Stripe commercial card issuing.
4673
+ */
4674
+ account_holder?: Commercial.AccountHolder;
4675
+
4676
+ /**
4677
+ * Terms of service acceptances for commercial issuing cards with Celtic as BIN sponsor.
4678
+ */
4679
+ celtic?: Commercial.Celtic;
4680
+
4681
+ /**
4682
+ * Terms of service acceptances for commercial issuing cards with Cross River Bank as BIN sponsor.
4683
+ */
4684
+ cross_river_bank?: Commercial.CrossRiverBank;
4685
+ }
4686
+
4687
+ namespace Commercial {
4688
+ interface AccountHolder {
4689
+ /**
4690
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4691
+ */
4692
+ date?: string;
4693
+
4694
+ /**
4695
+ * The IP address from which the Account's representative accepted the terms of service.
4696
+ */
4697
+ ip?: string;
4698
+
4699
+ /**
4700
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
4701
+ */
4702
+ user_agent?: string;
4703
+ }
4704
+
4705
+ interface Celtic {
4706
+ /**
4707
+ * Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as BIN sponsor.
4708
+ */
4709
+ apple_pay?: Celtic.ApplePay;
4710
+
4711
+ /**
4712
+ * Terms of service acceptances for commercial issuing charge cards with Celtic as BIN sponsor.
4713
+ */
4714
+ charge_card?: Celtic.ChargeCard;
4715
+
4716
+ /**
4717
+ * Terms of service acceptances for commercial issuing spend cards with Celtic as BIN sponsor.
4718
+ */
4719
+ spend_card?: Celtic.SpendCard;
4720
+ }
4721
+
4722
+ namespace Celtic {
4723
+ interface ApplePay {
4724
+ /**
4725
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4726
+ */
4727
+ date?: string;
4728
+
4729
+ /**
4730
+ * The IP address from which the Account's representative accepted the terms of service.
4731
+ */
4732
+ ip?: string;
4733
+
4734
+ /**
4735
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
4736
+ */
4737
+ user_agent?: string;
4738
+ }
4739
+
4740
+ interface ChargeCard {
4741
+ /**
4742
+ * Bank terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
4743
+ */
4744
+ bank_terms?: ChargeCard.BankTerms;
4745
+
4746
+ /**
4747
+ * Platform terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
4748
+ */
4749
+ platform?: ChargeCard.Platform;
4750
+ }
4751
+
4752
+ namespace ChargeCard {
4753
+ interface BankTerms {
4754
+ /**
4755
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4756
+ */
4757
+ date?: string;
4758
+
4759
+ /**
4760
+ * The IP address from which the Account's representative accepted the terms of service.
4761
+ */
4762
+ ip?: string;
4763
+
4764
+ /**
4765
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
4766
+ */
4767
+ user_agent?: string;
4768
+ }
4769
+
4770
+ interface Platform {
4771
+ /**
4772
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4773
+ */
4774
+ date?: string;
4775
+
4776
+ /**
4777
+ * The IP address from which the Account's representative accepted the terms of service.
4778
+ */
4779
+ ip?: string;
4780
+
4781
+ /**
4782
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
4783
+ */
4784
+ user_agent?: string;
4785
+ }
4786
+ }
4787
+
4788
+ interface SpendCard {
4789
+ /**
4790
+ * Bank terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
4791
+ */
4792
+ bank_terms?: SpendCard.BankTerms;
4793
+
4794
+ /**
4795
+ * Financial disclosures terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
4796
+ */
4797
+ financing_disclosures?: SpendCard.FinancingDisclosures;
4798
+
4799
+ /**
4800
+ * Platform terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
4801
+ */
4802
+ platform?: SpendCard.Platform;
4803
+ }
4804
+
4805
+ namespace SpendCard {
4806
+ interface BankTerms {
4807
+ /**
4808
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4809
+ */
4810
+ date?: string;
4811
+
4812
+ /**
4813
+ * The IP address from which the Account's representative accepted the terms of service.
4814
+ */
4815
+ ip?: string;
4816
+
4817
+ /**
4818
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
4819
+ */
4820
+ user_agent?: string;
4821
+ }
4822
+
4823
+ interface FinancingDisclosures {
4824
+ /**
4825
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4826
+ */
4827
+ date?: string;
4828
+
4829
+ /**
4830
+ * The IP address from which the Account's representative accepted the terms of service.
4831
+ */
4832
+ ip?: string;
4833
+
4834
+ /**
4835
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
4836
+ */
4837
+ user_agent?: string;
4838
+ }
4839
+
4840
+ interface Platform {
4841
+ /**
4842
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4843
+ */
4844
+ date?: string;
4845
+
4846
+ /**
4847
+ * The IP address from which the Account's representative accepted the terms of service.
4848
+ */
4849
+ ip?: string;
4850
+
4851
+ /**
4852
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
4853
+ */
4854
+ user_agent?: string;
4855
+ }
4856
+ }
4857
+ }
4858
+
4859
+ interface CrossRiverBank {
4860
+ /**
4861
+ * Terms of service acceptances for commercial issuing Apple Pay cards with Cross River Bank as BIN sponsor.
4862
+ */
4863
+ apple_pay?: CrossRiverBank.ApplePay;
4864
+
4865
+ /**
4866
+ * Terms of service acceptances for commercial issuing charge cards with Cross River Bank as BIN sponsor.
4867
+ */
4868
+ charge_card?: CrossRiverBank.ChargeCard;
4869
+
4870
+ /**
4871
+ * Terms of service acceptances for commercial issuing spend cards with Cross River Bank as BIN sponsor.
4872
+ */
4873
+ spend_card?: CrossRiverBank.SpendCard;
4874
+ }
4875
+
4876
+ namespace CrossRiverBank {
4877
+ interface ApplePay {
4878
+ /**
4879
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4880
+ */
4881
+ date?: string;
4882
+
4883
+ /**
4884
+ * The IP address from which the Account's representative accepted the terms of service.
4885
+ */
4886
+ ip?: string;
4887
+
4888
+ /**
4889
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
4890
+ */
4891
+ user_agent?: string;
4892
+ }
4893
+
4894
+ interface ChargeCard {
4895
+ /**
4896
+ * Bank terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
4897
+ */
4898
+ bank_terms?: ChargeCard.BankTerms;
4899
+
4900
+ /**
4901
+ * Financial disclosures terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
4902
+ */
4903
+ financing_disclosures?: ChargeCard.FinancingDisclosures;
4904
+
4905
+ /**
4906
+ * Platform terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
4907
+ */
4908
+ platform?: ChargeCard.Platform;
4909
+ }
4910
+
4911
+ namespace ChargeCard {
4912
+ interface BankTerms {
4913
+ /**
4914
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4915
+ */
4916
+ date?: string;
4917
+
4918
+ /**
4919
+ * The IP address from which the Account's representative accepted the terms of service.
4920
+ */
4921
+ ip?: string;
4922
+
4923
+ /**
4924
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
4925
+ */
4926
+ user_agent?: string;
4927
+ }
4928
+
4929
+ interface FinancingDisclosures {
4930
+ /**
4931
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4932
+ */
4933
+ date?: string;
4934
+
4935
+ /**
4936
+ * The IP address from which the Account's representative accepted the terms of service.
4937
+ */
4938
+ ip?: string;
4939
+
4940
+ /**
4941
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
4942
+ */
4943
+ user_agent?: string;
4944
+ }
4945
+
4946
+ interface Platform {
4947
+ /**
4948
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4949
+ */
4950
+ date?: string;
4951
+
4952
+ /**
4953
+ * The IP address from which the Account's representative accepted the terms of service.
4954
+ */
4955
+ ip?: string;
4956
+
4957
+ /**
4958
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
4959
+ */
4960
+ user_agent?: string;
4961
+ }
4962
+ }
4963
+
4964
+ interface SpendCard {
4965
+ /**
4966
+ * Bank terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
4967
+ */
4968
+ bank_terms?: SpendCard.BankTerms;
4969
+
4970
+ /**
4971
+ * Financial disclosures terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
4972
+ */
4973
+ financing_disclosures?: SpendCard.FinancingDisclosures;
4974
+ }
4975
+
4976
+ namespace SpendCard {
4977
+ interface BankTerms {
4978
+ /**
4979
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4980
+ */
4981
+ date?: string;
4982
+
4983
+ /**
4984
+ * The IP address from which the Account's representative accepted the terms of service.
4985
+ */
4986
+ ip?: string;
4987
+
4988
+ /**
4989
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
4990
+ */
4991
+ user_agent?: string;
4992
+ }
4993
+
4994
+ interface FinancingDisclosures {
4995
+ /**
4996
+ * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4997
+ */
4998
+ date?: string;
4999
+
5000
+ /**
5001
+ * The IP address from which the Account's representative accepted the terms of service.
5002
+ */
5003
+ ip?: string;
5004
+
5005
+ /**
5006
+ * The user agent of the browser from which the Account's representative accepted the terms of service.
5007
+ */
5008
+ user_agent?: string;
5009
+ }
5010
+ }
5011
+ }
5012
+ }
5013
+ }
5014
+
4040
5015
  interface Storer {
4041
5016
  /**
4042
5017
  * The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
@@ -4911,6 +5886,7 @@ declare module 'stripe' {
4911
5886
  }
4912
5887
 
4913
5888
  type Include =
5889
+ | 'configuration.card_creator'
4914
5890
  | 'configuration.customer'
4915
5891
  | 'configuration.merchant'
4916
5892
  | 'configuration.recipient'
@@ -4947,6 +5923,7 @@ declare module 'stripe' {
4947
5923
 
4948
5924
  namespace AccountCloseParams {
4949
5925
  type AppliedConfiguration =
5926
+ | 'card_creator'
4950
5927
  | 'customer'
4951
5928
  | 'merchant'
4952
5929
  | 'recipient'