@whop/sdk 0.0.14 → 0.0.16

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 (86) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/client.d.mts +10 -4
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +10 -4
  5. package/client.d.ts.map +1 -1
  6. package/client.js +6 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +6 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/checkout-configurations.d.mts +16 -0
  12. package/resources/checkout-configurations.d.mts.map +1 -1
  13. package/resources/checkout-configurations.d.ts +16 -0
  14. package/resources/checkout-configurations.d.ts.map +1 -1
  15. package/resources/courses.d.mts +33 -0
  16. package/resources/courses.d.mts.map +1 -1
  17. package/resources/courses.d.ts +33 -0
  18. package/resources/courses.d.ts.map +1 -1
  19. package/resources/experiences.d.mts +12 -0
  20. package/resources/experiences.d.mts.map +1 -1
  21. package/resources/experiences.d.ts +12 -0
  22. package/resources/experiences.d.ts.map +1 -1
  23. package/resources/fee-markups.d.mts +179 -0
  24. package/resources/fee-markups.d.mts.map +1 -0
  25. package/resources/fee-markups.d.ts +179 -0
  26. package/resources/fee-markups.d.ts.map +1 -0
  27. package/resources/fee-markups.js +64 -0
  28. package/resources/fee-markups.js.map +1 -0
  29. package/resources/fee-markups.mjs +60 -0
  30. package/resources/fee-markups.mjs.map +1 -0
  31. package/resources/index.d.mts +4 -2
  32. package/resources/index.d.mts.map +1 -1
  33. package/resources/index.d.ts +4 -2
  34. package/resources/index.d.ts.map +1 -1
  35. package/resources/index.js +5 -1
  36. package/resources/index.js.map +1 -1
  37. package/resources/index.mjs +2 -0
  38. package/resources/index.mjs.map +1 -1
  39. package/resources/payment-methods.d.mts +202 -54
  40. package/resources/payment-methods.d.mts.map +1 -1
  41. package/resources/payment-methods.d.ts +202 -54
  42. package/resources/payment-methods.d.ts.map +1 -1
  43. package/resources/payments.d.mts +55 -1
  44. package/resources/payments.d.mts.map +1 -1
  45. package/resources/payments.d.ts +55 -1
  46. package/resources/payments.d.ts.map +1 -1
  47. package/resources/payments.js +23 -0
  48. package/resources/payments.js.map +1 -1
  49. package/resources/payments.mjs +23 -0
  50. package/resources/payments.mjs.map +1 -1
  51. package/resources/payout-methods.d.mts +78 -0
  52. package/resources/payout-methods.d.mts.map +1 -0
  53. package/resources/payout-methods.d.ts +78 -0
  54. package/resources/payout-methods.d.ts.map +1 -0
  55. package/resources/payout-methods.js +23 -0
  56. package/resources/payout-methods.js.map +1 -0
  57. package/resources/payout-methods.mjs +19 -0
  58. package/resources/payout-methods.mjs.map +1 -0
  59. package/resources/shared.d.mts +38 -0
  60. package/resources/shared.d.mts.map +1 -1
  61. package/resources/shared.d.ts +38 -0
  62. package/resources/shared.d.ts.map +1 -1
  63. package/resources/withdrawals.d.mts +170 -1
  64. package/resources/withdrawals.d.mts.map +1 -1
  65. package/resources/withdrawals.d.ts +170 -1
  66. package/resources/withdrawals.d.ts.map +1 -1
  67. package/resources/withdrawals.js +38 -0
  68. package/resources/withdrawals.js.map +1 -1
  69. package/resources/withdrawals.mjs +38 -0
  70. package/resources/withdrawals.mjs.map +1 -1
  71. package/src/client.ts +48 -0
  72. package/src/resources/checkout-configurations.ts +20 -0
  73. package/src/resources/courses.ts +38 -0
  74. package/src/resources/experiences.ts +15 -0
  75. package/src/resources/fee-markups.ts +232 -0
  76. package/src/resources/index.ts +21 -0
  77. package/src/resources/payment-methods.ts +236 -54
  78. package/src/resources/payments.ts +105 -0
  79. package/src/resources/payout-methods.ts +105 -0
  80. package/src/resources/shared.ts +44 -0
  81. package/src/resources/withdrawals.ts +247 -0
  82. package/src/version.ts +1 -1
  83. package/version.d.mts +1 -1
  84. package/version.d.ts +1 -1
  85. package/version.js +1 -1
  86. package/version.mjs +1 -1
@@ -16,6 +16,7 @@ export { Courses, } from "./courses.mjs";
16
16
  export { Disputes, } from "./disputes.mjs";
17
17
  export { Entries, } from "./entries.mjs";
18
18
  export { Experiences, } from "./experiences.mjs";
19
+ export { FeeMarkups, } from "./fee-markups.mjs";
19
20
  export { ForumPosts, } from "./forum-posts.mjs";
20
21
  export { Forums, } from "./forums.mjs";
21
22
  export { Invoices, } from "./invoices.mjs";
@@ -26,6 +27,7 @@ export { Messages, } from "./messages.mjs";
26
27
  export { Notifications, } from "./notifications.mjs";
27
28
  export { PaymentMethods, } from "./payment-methods.mjs";
28
29
  export { Payments, } from "./payments.mjs";
30
+ export { PayoutMethods, } from "./payout-methods.mjs";
29
31
  export { Plans, } from "./plans.mjs";
30
32
  export { Products, } from "./products.mjs";
31
33
  export { PromoCodes, } from "./promo-codes.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,EAAE,YAAY,EAAgE;OAC9E,EAAE,YAAY,EAAgE;OAC9E,EACL,SAAS,GAKV;OACM,EACL,IAAI,GAOL;OACM,EACL,eAAe,GAKhB;OACM,EACL,YAAY,GAKb;OACM,EACL,sBAAsB,GAMvB;OACM,EACL,SAAS,GAMV;OACM,EACL,cAAc,GAQf;OACM,EACL,wBAAwB,GAEzB;OACM,EACL,aAAa,GAgBd;OACM,EACL,cAAc,GAKf;OACM,EACL,OAAO,GAUR;OACM,EACL,QAAQ,GAOT;OACM,EACL,OAAO,GAKR;OACM,EACL,WAAW,GAUZ;OACM,EACL,UAAU,GAOX;OACM,EACL,MAAM,GAKP;OACM,EACL,QAAQ,GAIT;OACM,EAAE,cAAc,EAAsC;OACtD,EACL,OAAO,GAKR;OACM,EACL,WAAW,GAOZ;OACM,EACL,QAAQ,GAMT;OACM,EACL,aAAa,GAGd;OACM,EACL,cAAc,GAMf;OACM,EACL,QAAQ,GAST;OACM,EACL,KAAK,GAON;OACM,EACL,QAAQ,GAKT;OACM,EACL,UAAU,GASX;OACM,EACL,SAAS,GAKV;OACM,EACL,OAAO,GASR;OACM,EACL,OAAO,GAMR;OACM,EACL,YAAY,GAMb;OACM,EACL,SAAS,GAKV;OACM,EACL,eAAe,GAKhB;OACM,EACL,SAAS,GAKV;OACM,EACL,KAAK,GAIN;OACM,EACL,QAAQ,GAyBT;OACM,EACL,WAAW,GASZ"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,EAAE,YAAY,EAAgE;OAC9E,EAAE,YAAY,EAAgE;OAC9E,EACL,SAAS,GAKV;OACM,EACL,IAAI,GAOL;OACM,EACL,eAAe,GAKhB;OACM,EACL,YAAY,GAKb;OACM,EACL,sBAAsB,GAMvB;OACM,EACL,SAAS,GAMV;OACM,EACL,cAAc,GAQf;OACM,EACL,wBAAwB,GAEzB;OACM,EACL,aAAa,GAgBd;OACM,EACL,cAAc,GAKf;OACM,EACL,OAAO,GAUR;OACM,EACL,QAAQ,GAOT;OACM,EACL,OAAO,GAKR;OACM,EACL,WAAW,GAUZ;OACM,EACL,UAAU,GAQX;OACM,EACL,UAAU,GAOX;OACM,EACL,MAAM,GAKP;OACM,EACL,QAAQ,GAIT;OACM,EAAE,cAAc,EAAsC;OACtD,EACL,OAAO,GAKR;OACM,EACL,WAAW,GAOZ;OACM,EACL,QAAQ,GAMT;OACM,EACL,aAAa,GAGd;OACM,EACL,cAAc,GAMf;OACM,EACL,QAAQ,GAYT;OACM,EACL,aAAa,GAId;OACM,EACL,KAAK,GAON;OACM,EACL,QAAQ,GAKT;OACM,EACL,UAAU,GASX;OACM,EACL,SAAS,GAKV;OACM,EACL,OAAO,GASR;OACM,EACL,OAAO,GAMR;OACM,EACL,YAAY,GAMb;OACM,EACL,SAAS,GAKV;OACM,EACL,eAAe,GAKhB;OACM,EACL,SAAS,GAKV;OACM,EACL,KAAK,GAIN;OACM,EACL,QAAQ,GAyBT;OACM,EACL,WAAW,GAWZ"}
@@ -32,93 +32,241 @@ export declare class PaymentMethods extends APIResource {
32
32
  }
33
33
  export type PaymentMethodListResponsesCursorPage = CursorPage<PaymentMethodListResponse>;
34
34
  /**
35
- * A stored payment method used to process payments. This could be a credit/debit
36
- * card, bank account, PayPal wallet, etc.
35
+ * A payment method with no additional properties
37
36
  */
38
- export interface PaymentMethodRetrieveResponse {
39
- /**
40
- * The ID of the payment method
41
- */
42
- id: string;
43
- /**
44
- * The card data associated with the payment method, if its a debit or credit card.
45
- */
46
- card: PaymentMethodRetrieveResponse.Card | null;
37
+ export type PaymentMethodRetrieveResponse = PaymentMethodRetrieveResponse.BasePaymentMethod | PaymentMethodRetrieveResponse.CardPaymentMethod | PaymentMethodRetrieveResponse.UsBankAccountPaymentMethod;
38
+ export declare namespace PaymentMethodRetrieveResponse {
47
39
  /**
48
- * The date and time the payment method was created
40
+ * A payment method with no additional properties
49
41
  */
50
- created_at: string;
42
+ interface BasePaymentMethod {
43
+ /**
44
+ * The ID of the payment method
45
+ */
46
+ id: string;
47
+ /**
48
+ * When the payment method was created
49
+ */
50
+ created_at: string;
51
+ /**
52
+ * The type of the payment method
53
+ */
54
+ payment_method_type: PaymentsAPI.PaymentMethodTypes;
55
+ /**
56
+ * The typename of this object
57
+ */
58
+ typename: 'BasePaymentMethod';
59
+ }
51
60
  /**
52
- * The payment method type of the payment method
61
+ * The card for the payment method
53
62
  */
54
- payment_method_type: PaymentsAPI.PaymentMethodTypes;
55
- }
56
- export declare namespace PaymentMethodRetrieveResponse {
63
+ interface CardPaymentMethod {
64
+ /**
65
+ * The ID of the payment method
66
+ */
67
+ id: string;
68
+ /**
69
+ * The card details associated with this payment method
70
+ */
71
+ card: CardPaymentMethod.Card;
72
+ /**
73
+ * When the payment method was created
74
+ */
75
+ created_at: string;
76
+ /**
77
+ * The type of the payment method
78
+ */
79
+ payment_method_type: PaymentsAPI.PaymentMethodTypes;
80
+ /**
81
+ * The typename of this object
82
+ */
83
+ typename: 'CardPaymentMethod';
84
+ }
85
+ namespace CardPaymentMethod {
86
+ /**
87
+ * The card details associated with this payment method
88
+ */
89
+ interface Card {
90
+ /**
91
+ * Possible card brands that a payment token can have
92
+ */
93
+ brand: PaymentsAPI.CardBrands | null;
94
+ /**
95
+ * Card expiration month, like 03 for March.
96
+ */
97
+ exp_month: number | null;
98
+ /**
99
+ * Card expiration year, like 27 for 2027.
100
+ */
101
+ exp_year: number | null;
102
+ /**
103
+ * Last four digits of the card.
104
+ */
105
+ last4: string | null;
106
+ }
107
+ }
57
108
  /**
58
- * The card data associated with the payment method, if its a debit or credit card.
109
+ * The bank account for the payment method
59
110
  */
60
- interface Card {
111
+ interface UsBankAccountPaymentMethod {
112
+ /**
113
+ * The ID of the payment method
114
+ */
115
+ id: string;
116
+ /**
117
+ * When the payment method was created
118
+ */
119
+ created_at: string;
61
120
  /**
62
- * Possible card brands that a payment token can have
121
+ * The type of the payment method
63
122
  */
64
- brand: PaymentsAPI.CardBrands | null;
123
+ payment_method_type: PaymentsAPI.PaymentMethodTypes;
65
124
  /**
66
- * Card expiration month, like 03 for March.
125
+ * The typename of this object
67
126
  */
68
- exp_month: number | null;
127
+ typename: 'UsBankAccountPaymentMethod';
69
128
  /**
70
- * Card expiration year, like 27 for 2027.
129
+ * The bank details associated with this payment method
71
130
  */
72
- exp_year: number | null;
131
+ us_bank_account: UsBankAccountPaymentMethod.UsBankAccount;
132
+ }
133
+ namespace UsBankAccountPaymentMethod {
73
134
  /**
74
- * Last four digits of the card.
135
+ * The bank details associated with this payment method
75
136
  */
76
- last4: string | null;
137
+ interface UsBankAccount {
138
+ /**
139
+ * The type of account
140
+ */
141
+ account_type: string;
142
+ /**
143
+ * The name of the bank
144
+ */
145
+ bank_name: string;
146
+ /**
147
+ * The last 4 digits of the account number
148
+ */
149
+ last4: string;
150
+ }
77
151
  }
78
152
  }
79
153
  /**
80
- * A stored payment method used to process payments. This could be a credit/debit
81
- * card, bank account, PayPal wallet, etc.
154
+ * A payment method with no additional properties
82
155
  */
83
- export interface PaymentMethodListResponse {
84
- /**
85
- * The ID of the payment method
86
- */
87
- id: string;
88
- /**
89
- * The card data associated with the payment method, if its a debit or credit card.
90
- */
91
- card: PaymentMethodListResponse.Card | null;
156
+ export type PaymentMethodListResponse = PaymentMethodListResponse.BasePaymentMethod | PaymentMethodListResponse.CardPaymentMethod | PaymentMethodListResponse.UsBankAccountPaymentMethod;
157
+ export declare namespace PaymentMethodListResponse {
92
158
  /**
93
- * The date and time the payment method was created
159
+ * A payment method with no additional properties
94
160
  */
95
- created_at: string;
161
+ interface BasePaymentMethod {
162
+ /**
163
+ * The ID of the payment method
164
+ */
165
+ id: string;
166
+ /**
167
+ * When the payment method was created
168
+ */
169
+ created_at: string;
170
+ /**
171
+ * The type of the payment method
172
+ */
173
+ payment_method_type: PaymentsAPI.PaymentMethodTypes;
174
+ /**
175
+ * The typename of this object
176
+ */
177
+ typename: 'BasePaymentMethod';
178
+ }
96
179
  /**
97
- * The payment method type of the payment method
180
+ * The card for the payment method
98
181
  */
99
- payment_method_type: PaymentsAPI.PaymentMethodTypes;
100
- }
101
- export declare namespace PaymentMethodListResponse {
182
+ interface CardPaymentMethod {
183
+ /**
184
+ * The ID of the payment method
185
+ */
186
+ id: string;
187
+ /**
188
+ * The card details associated with this payment method
189
+ */
190
+ card: CardPaymentMethod.Card;
191
+ /**
192
+ * When the payment method was created
193
+ */
194
+ created_at: string;
195
+ /**
196
+ * The type of the payment method
197
+ */
198
+ payment_method_type: PaymentsAPI.PaymentMethodTypes;
199
+ /**
200
+ * The typename of this object
201
+ */
202
+ typename: 'CardPaymentMethod';
203
+ }
204
+ namespace CardPaymentMethod {
205
+ /**
206
+ * The card details associated with this payment method
207
+ */
208
+ interface Card {
209
+ /**
210
+ * Possible card brands that a payment token can have
211
+ */
212
+ brand: PaymentsAPI.CardBrands | null;
213
+ /**
214
+ * Card expiration month, like 03 for March.
215
+ */
216
+ exp_month: number | null;
217
+ /**
218
+ * Card expiration year, like 27 for 2027.
219
+ */
220
+ exp_year: number | null;
221
+ /**
222
+ * Last four digits of the card.
223
+ */
224
+ last4: string | null;
225
+ }
226
+ }
102
227
  /**
103
- * The card data associated with the payment method, if its a debit or credit card.
228
+ * The bank account for the payment method
104
229
  */
105
- interface Card {
230
+ interface UsBankAccountPaymentMethod {
231
+ /**
232
+ * The ID of the payment method
233
+ */
234
+ id: string;
235
+ /**
236
+ * When the payment method was created
237
+ */
238
+ created_at: string;
106
239
  /**
107
- * Possible card brands that a payment token can have
240
+ * The type of the payment method
108
241
  */
109
- brand: PaymentsAPI.CardBrands | null;
242
+ payment_method_type: PaymentsAPI.PaymentMethodTypes;
110
243
  /**
111
- * Card expiration month, like 03 for March.
244
+ * The typename of this object
112
245
  */
113
- exp_month: number | null;
246
+ typename: 'UsBankAccountPaymentMethod';
114
247
  /**
115
- * Card expiration year, like 27 for 2027.
248
+ * The bank details associated with this payment method
116
249
  */
117
- exp_year: number | null;
250
+ us_bank_account: UsBankAccountPaymentMethod.UsBankAccount;
251
+ }
252
+ namespace UsBankAccountPaymentMethod {
118
253
  /**
119
- * Last four digits of the card.
254
+ * The bank details associated with this payment method
120
255
  */
121
- last4: string | null;
256
+ interface UsBankAccount {
257
+ /**
258
+ * The type of account
259
+ */
260
+ account_type: string;
261
+ /**
262
+ * The name of the bank
263
+ */
264
+ bank_name: string;
265
+ /**
266
+ * The last 4 digits of the account number
267
+ */
268
+ last4: string;
269
+ }
122
270
  }
123
271
  }
124
272
  export interface PaymentMethodRetrieveParams {
@@ -1 +1 @@
1
- {"version":3,"file":"payment-methods.d.mts","sourceRoot":"","sources":["../src/resources/payment-methods.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;;;;;;OAUG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,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AAC,SAAS,GAAG,IAAI,CAAC;IAEpC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EACL,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
@@ -32,93 +32,241 @@ export declare class PaymentMethods extends APIResource {
32
32
  }
33
33
  export type PaymentMethodListResponsesCursorPage = CursorPage<PaymentMethodListResponse>;
34
34
  /**
35
- * A stored payment method used to process payments. This could be a credit/debit
36
- * card, bank account, PayPal wallet, etc.
35
+ * A payment method with no additional properties
37
36
  */
38
- export interface PaymentMethodRetrieveResponse {
39
- /**
40
- * The ID of the payment method
41
- */
42
- id: string;
43
- /**
44
- * The card data associated with the payment method, if its a debit or credit card.
45
- */
46
- card: PaymentMethodRetrieveResponse.Card | null;
37
+ export type PaymentMethodRetrieveResponse = PaymentMethodRetrieveResponse.BasePaymentMethod | PaymentMethodRetrieveResponse.CardPaymentMethod | PaymentMethodRetrieveResponse.UsBankAccountPaymentMethod;
38
+ export declare namespace PaymentMethodRetrieveResponse {
47
39
  /**
48
- * The date and time the payment method was created
40
+ * A payment method with no additional properties
49
41
  */
50
- created_at: string;
42
+ interface BasePaymentMethod {
43
+ /**
44
+ * The ID of the payment method
45
+ */
46
+ id: string;
47
+ /**
48
+ * When the payment method was created
49
+ */
50
+ created_at: string;
51
+ /**
52
+ * The type of the payment method
53
+ */
54
+ payment_method_type: PaymentsAPI.PaymentMethodTypes;
55
+ /**
56
+ * The typename of this object
57
+ */
58
+ typename: 'BasePaymentMethod';
59
+ }
51
60
  /**
52
- * The payment method type of the payment method
61
+ * The card for the payment method
53
62
  */
54
- payment_method_type: PaymentsAPI.PaymentMethodTypes;
55
- }
56
- export declare namespace PaymentMethodRetrieveResponse {
63
+ interface CardPaymentMethod {
64
+ /**
65
+ * The ID of the payment method
66
+ */
67
+ id: string;
68
+ /**
69
+ * The card details associated with this payment method
70
+ */
71
+ card: CardPaymentMethod.Card;
72
+ /**
73
+ * When the payment method was created
74
+ */
75
+ created_at: string;
76
+ /**
77
+ * The type of the payment method
78
+ */
79
+ payment_method_type: PaymentsAPI.PaymentMethodTypes;
80
+ /**
81
+ * The typename of this object
82
+ */
83
+ typename: 'CardPaymentMethod';
84
+ }
85
+ namespace CardPaymentMethod {
86
+ /**
87
+ * The card details associated with this payment method
88
+ */
89
+ interface Card {
90
+ /**
91
+ * Possible card brands that a payment token can have
92
+ */
93
+ brand: PaymentsAPI.CardBrands | null;
94
+ /**
95
+ * Card expiration month, like 03 for March.
96
+ */
97
+ exp_month: number | null;
98
+ /**
99
+ * Card expiration year, like 27 for 2027.
100
+ */
101
+ exp_year: number | null;
102
+ /**
103
+ * Last four digits of the card.
104
+ */
105
+ last4: string | null;
106
+ }
107
+ }
57
108
  /**
58
- * The card data associated with the payment method, if its a debit or credit card.
109
+ * The bank account for the payment method
59
110
  */
60
- interface Card {
111
+ interface UsBankAccountPaymentMethod {
112
+ /**
113
+ * The ID of the payment method
114
+ */
115
+ id: string;
116
+ /**
117
+ * When the payment method was created
118
+ */
119
+ created_at: string;
61
120
  /**
62
- * Possible card brands that a payment token can have
121
+ * The type of the payment method
63
122
  */
64
- brand: PaymentsAPI.CardBrands | null;
123
+ payment_method_type: PaymentsAPI.PaymentMethodTypes;
65
124
  /**
66
- * Card expiration month, like 03 for March.
125
+ * The typename of this object
67
126
  */
68
- exp_month: number | null;
127
+ typename: 'UsBankAccountPaymentMethod';
69
128
  /**
70
- * Card expiration year, like 27 for 2027.
129
+ * The bank details associated with this payment method
71
130
  */
72
- exp_year: number | null;
131
+ us_bank_account: UsBankAccountPaymentMethod.UsBankAccount;
132
+ }
133
+ namespace UsBankAccountPaymentMethod {
73
134
  /**
74
- * Last four digits of the card.
135
+ * The bank details associated with this payment method
75
136
  */
76
- last4: string | null;
137
+ interface UsBankAccount {
138
+ /**
139
+ * The type of account
140
+ */
141
+ account_type: string;
142
+ /**
143
+ * The name of the bank
144
+ */
145
+ bank_name: string;
146
+ /**
147
+ * The last 4 digits of the account number
148
+ */
149
+ last4: string;
150
+ }
77
151
  }
78
152
  }
79
153
  /**
80
- * A stored payment method used to process payments. This could be a credit/debit
81
- * card, bank account, PayPal wallet, etc.
154
+ * A payment method with no additional properties
82
155
  */
83
- export interface PaymentMethodListResponse {
84
- /**
85
- * The ID of the payment method
86
- */
87
- id: string;
88
- /**
89
- * The card data associated with the payment method, if its a debit or credit card.
90
- */
91
- card: PaymentMethodListResponse.Card | null;
156
+ export type PaymentMethodListResponse = PaymentMethodListResponse.BasePaymentMethod | PaymentMethodListResponse.CardPaymentMethod | PaymentMethodListResponse.UsBankAccountPaymentMethod;
157
+ export declare namespace PaymentMethodListResponse {
92
158
  /**
93
- * The date and time the payment method was created
159
+ * A payment method with no additional properties
94
160
  */
95
- created_at: string;
161
+ interface BasePaymentMethod {
162
+ /**
163
+ * The ID of the payment method
164
+ */
165
+ id: string;
166
+ /**
167
+ * When the payment method was created
168
+ */
169
+ created_at: string;
170
+ /**
171
+ * The type of the payment method
172
+ */
173
+ payment_method_type: PaymentsAPI.PaymentMethodTypes;
174
+ /**
175
+ * The typename of this object
176
+ */
177
+ typename: 'BasePaymentMethod';
178
+ }
96
179
  /**
97
- * The payment method type of the payment method
180
+ * The card for the payment method
98
181
  */
99
- payment_method_type: PaymentsAPI.PaymentMethodTypes;
100
- }
101
- export declare namespace PaymentMethodListResponse {
182
+ interface CardPaymentMethod {
183
+ /**
184
+ * The ID of the payment method
185
+ */
186
+ id: string;
187
+ /**
188
+ * The card details associated with this payment method
189
+ */
190
+ card: CardPaymentMethod.Card;
191
+ /**
192
+ * When the payment method was created
193
+ */
194
+ created_at: string;
195
+ /**
196
+ * The type of the payment method
197
+ */
198
+ payment_method_type: PaymentsAPI.PaymentMethodTypes;
199
+ /**
200
+ * The typename of this object
201
+ */
202
+ typename: 'CardPaymentMethod';
203
+ }
204
+ namespace CardPaymentMethod {
205
+ /**
206
+ * The card details associated with this payment method
207
+ */
208
+ interface Card {
209
+ /**
210
+ * Possible card brands that a payment token can have
211
+ */
212
+ brand: PaymentsAPI.CardBrands | null;
213
+ /**
214
+ * Card expiration month, like 03 for March.
215
+ */
216
+ exp_month: number | null;
217
+ /**
218
+ * Card expiration year, like 27 for 2027.
219
+ */
220
+ exp_year: number | null;
221
+ /**
222
+ * Last four digits of the card.
223
+ */
224
+ last4: string | null;
225
+ }
226
+ }
102
227
  /**
103
- * The card data associated with the payment method, if its a debit or credit card.
228
+ * The bank account for the payment method
104
229
  */
105
- interface Card {
230
+ interface UsBankAccountPaymentMethod {
231
+ /**
232
+ * The ID of the payment method
233
+ */
234
+ id: string;
235
+ /**
236
+ * When the payment method was created
237
+ */
238
+ created_at: string;
106
239
  /**
107
- * Possible card brands that a payment token can have
240
+ * The type of the payment method
108
241
  */
109
- brand: PaymentsAPI.CardBrands | null;
242
+ payment_method_type: PaymentsAPI.PaymentMethodTypes;
110
243
  /**
111
- * Card expiration month, like 03 for March.
244
+ * The typename of this object
112
245
  */
113
- exp_month: number | null;
246
+ typename: 'UsBankAccountPaymentMethod';
114
247
  /**
115
- * Card expiration year, like 27 for 2027.
248
+ * The bank details associated with this payment method
116
249
  */
117
- exp_year: number | null;
250
+ us_bank_account: UsBankAccountPaymentMethod.UsBankAccount;
251
+ }
252
+ namespace UsBankAccountPaymentMethod {
118
253
  /**
119
- * Last four digits of the card.
254
+ * The bank details associated with this payment method
120
255
  */
121
- last4: string | null;
256
+ interface UsBankAccount {
257
+ /**
258
+ * The type of account
259
+ */
260
+ account_type: string;
261
+ /**
262
+ * The name of the bank
263
+ */
264
+ bank_name: string;
265
+ /**
266
+ * The last 4 digits of the account number
267
+ */
268
+ last4: string;
269
+ }
122
270
  }
123
271
  }
124
272
  export interface PaymentMethodRetrieveParams {
@@ -1 +1 @@
1
- {"version":3,"file":"payment-methods.d.ts","sourceRoot":"","sources":["../src/resources/payment-methods.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE;OAClD,EAAE,cAAc,EAAE;AAGzB,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;;;;;;OAUG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,2BAA2B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;IAI5C;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,EAAE,uBAAuB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,oCAAoC,EAAE,yBAAyB,CAAC;CAMhF;AAED,MAAM,MAAM,oCAAoC,GAAG,UAAU,CAAC,yBAAyB,CAAC,CAAC;AAEzF;;;GAGG;AACH,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,EAAE,6BAA6B,CAAC,IAAI,GAAG,IAAI,CAAC;IAEhD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,mBAAmB,EAAE,WAAW,CAAC,kBAAkB,CAAC;CACrD;AAED,yBAAiB,6BAA6B,CAAC;IAC7C;;OAEG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,KAAK,EAAE,WAAW,CAAC,UAAU,GAAG,IAAI,CAAC;QAErC;;WAEG;QACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAEzB;;WAEG;QACH,QAAQ,EAAE,MAAM,GAAG,IAAI,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