@amos.com/node 0.1.60 → 0.1.62
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/dist/index.d.mts +456 -45
- package/dist/index.d.ts +456 -45
- package/dist/index.js +0 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -2
- package/dist/index.mjs.map +1 -1
- package/openapi/schema.ts +455 -44
- package/package.json +1 -1
package/openapi/schema.ts
CHANGED
|
@@ -88,6 +88,8 @@ export interface paths {
|
|
|
88
88
|
* Create or reuse a customer
|
|
89
89
|
* @description Creates a registered customer, or returns the existing customer when
|
|
90
90
|
* `email` or `phone` already belongs to one in the organization.
|
|
91
|
+
* When `email` is sent, reuse is by email only; a phone match is not used
|
|
92
|
+
* as a fallback, so a mistyped email cannot attach to another customer.
|
|
91
93
|
* Reuse does not update the existing record; use PUT to change it.
|
|
92
94
|
* Returns 200 for reuse and 201 for create.
|
|
93
95
|
*/
|
|
@@ -299,7 +301,8 @@ export interface paths {
|
|
|
299
301
|
};
|
|
300
302
|
/** Retrieve a legal entity application by ID */
|
|
301
303
|
get: operations["GetLegalEntityApplication"];
|
|
302
|
-
|
|
304
|
+
/** Update a pending legal entity application */
|
|
305
|
+
put: operations["UpdateLegalEntityApplication"];
|
|
303
306
|
post?: never;
|
|
304
307
|
delete?: never;
|
|
305
308
|
options?: never;
|
|
@@ -367,7 +370,8 @@ export interface paths {
|
|
|
367
370
|
};
|
|
368
371
|
/** Retrieve a legal entity application principal by ID */
|
|
369
372
|
get: operations["GetLegalEntityApplicationPrincipal"];
|
|
370
|
-
|
|
373
|
+
/** Update a legal entity application principal */
|
|
374
|
+
put: operations["UpdateLegalEntityApplicationPrincipal"];
|
|
371
375
|
post?: never;
|
|
372
376
|
delete?: never;
|
|
373
377
|
options?: never;
|
|
@@ -435,7 +439,8 @@ export interface paths {
|
|
|
435
439
|
};
|
|
436
440
|
/** Retrieve a merchant application by ID */
|
|
437
441
|
get: operations["GetMerchantApplication"];
|
|
438
|
-
|
|
442
|
+
/** Update a pending merchant application */
|
|
443
|
+
put: operations["UpdateMerchantApplication"];
|
|
439
444
|
post?: never;
|
|
440
445
|
delete?: never;
|
|
441
446
|
options?: never;
|
|
@@ -474,7 +479,8 @@ export interface paths {
|
|
|
474
479
|
delete?: never;
|
|
475
480
|
options?: never;
|
|
476
481
|
head?: never;
|
|
477
|
-
|
|
482
|
+
/** Update a merchant by ID */
|
|
483
|
+
patch: operations["UpdateMerchant"];
|
|
478
484
|
trace?: never;
|
|
479
485
|
};
|
|
480
486
|
"/organization": {
|
|
@@ -688,7 +694,8 @@ export interface paths {
|
|
|
688
694
|
*/
|
|
689
695
|
get: operations["ListPaymentMethods"];
|
|
690
696
|
put?: never;
|
|
691
|
-
|
|
697
|
+
/** Create a payment method */
|
|
698
|
+
post: operations["CreatePaymentMethod"];
|
|
692
699
|
delete?: never;
|
|
693
700
|
options?: never;
|
|
694
701
|
head?: never;
|
|
@@ -860,9 +867,9 @@ export interface paths {
|
|
|
860
867
|
cookie?: never;
|
|
861
868
|
};
|
|
862
869
|
get?: never;
|
|
870
|
+
put?: never;
|
|
863
871
|
/** Cancel a refund */
|
|
864
|
-
|
|
865
|
-
post?: never;
|
|
872
|
+
post: operations["CancelRefund"];
|
|
866
873
|
delete?: never;
|
|
867
874
|
options?: never;
|
|
868
875
|
head?: never;
|
|
@@ -971,7 +978,10 @@ export interface paths {
|
|
|
971
978
|
};
|
|
972
979
|
get?: never;
|
|
973
980
|
put?: never;
|
|
974
|
-
/**
|
|
981
|
+
/**
|
|
982
|
+
* Create a new setup intent
|
|
983
|
+
* @description Creates an organization-scoped setup intent. X-Account-Id is ignored if sent. The customer must belong to the authenticated organization. Returns an embed token whose JWT payload includes organization_id and setup_intent_id.
|
|
984
|
+
*/
|
|
975
985
|
post: operations["CreateSetupIntent"];
|
|
976
986
|
delete?: never;
|
|
977
987
|
options?: never;
|
|
@@ -1247,13 +1257,33 @@ export interface components {
|
|
|
1247
1257
|
[key: string]: string[];
|
|
1248
1258
|
};
|
|
1249
1259
|
};
|
|
1250
|
-
/**
|
|
1260
|
+
/**
|
|
1261
|
+
* @description Decoded JWT payload for embed token responses.
|
|
1262
|
+
*
|
|
1263
|
+
* Payment intent tokens include `account_id` and `payment_intent_id`.
|
|
1264
|
+
* Setup intent tokens include `organization_id` and `setup_intent_id`
|
|
1265
|
+
* and do not use `account_id`. Unused fields are null.
|
|
1266
|
+
*/
|
|
1251
1267
|
EmbedTokenJwt: {
|
|
1252
|
-
/**
|
|
1253
|
-
|
|
1254
|
-
|
|
1268
|
+
/**
|
|
1269
|
+
* Format: uuid
|
|
1270
|
+
* @description Present for payment intent embed tokens. Null for setup intents.
|
|
1271
|
+
*/
|
|
1272
|
+
account_id?: string | null;
|
|
1273
|
+
/**
|
|
1274
|
+
* Format: uuid
|
|
1275
|
+
* @description Present for setup intent embed tokens. Null for payment intents.
|
|
1276
|
+
*/
|
|
1277
|
+
organization_id?: string | null;
|
|
1278
|
+
/**
|
|
1279
|
+
* Format: uuid
|
|
1280
|
+
* @description Present for payment intent embed tokens. Null for setup intents.
|
|
1281
|
+
*/
|
|
1255
1282
|
payment_intent_id?: string | null;
|
|
1256
|
-
/**
|
|
1283
|
+
/**
|
|
1284
|
+
* Format: uuid
|
|
1285
|
+
* @description Present for setup intent embed tokens. Null for payment intents.
|
|
1286
|
+
*/
|
|
1257
1287
|
setup_intent_id?: string | null;
|
|
1258
1288
|
};
|
|
1259
1289
|
/** @description Decoded JWT payload for render token responses. */
|
|
@@ -1266,7 +1296,13 @@ export interface components {
|
|
|
1266
1296
|
render_template_id?: string;
|
|
1267
1297
|
};
|
|
1268
1298
|
EmbedToken: {
|
|
1269
|
-
/**
|
|
1299
|
+
/**
|
|
1300
|
+
* @description JWT string used for embedded payment and setup intent flows.
|
|
1301
|
+
* When decoded, the JWT payload matches the EmbedTokenJwt schema.
|
|
1302
|
+
* Setup intent tokens are organization-scoped (`organization_id` +
|
|
1303
|
+
* `setup_intent_id`). Payment intent tokens remain account-scoped
|
|
1304
|
+
* (`account_id` + `payment_intent_id`).
|
|
1305
|
+
*/
|
|
1270
1306
|
token?: string;
|
|
1271
1307
|
ttl?: number;
|
|
1272
1308
|
};
|
|
@@ -1403,7 +1439,6 @@ export interface components {
|
|
|
1403
1439
|
/** Format: uuid */
|
|
1404
1440
|
id?: string;
|
|
1405
1441
|
name?: string;
|
|
1406
|
-
active?: boolean;
|
|
1407
1442
|
/** Format: uuid */
|
|
1408
1443
|
merchant_id?: string;
|
|
1409
1444
|
/** Format: uuid */
|
|
@@ -1474,8 +1509,6 @@ export interface components {
|
|
|
1474
1509
|
Customer: {
|
|
1475
1510
|
/** Format: uuid */
|
|
1476
1511
|
id?: string;
|
|
1477
|
-
/** Format: uuid */
|
|
1478
|
-
account_id?: string;
|
|
1479
1512
|
email?: string;
|
|
1480
1513
|
metadata?: components["schemas"]["Metadata"];
|
|
1481
1514
|
name?: string;
|
|
@@ -1491,12 +1524,9 @@ export interface components {
|
|
|
1491
1524
|
/** Format: date-time */
|
|
1492
1525
|
updated_at?: string;
|
|
1493
1526
|
};
|
|
1494
|
-
/** @enum {string} */
|
|
1495
|
-
DunningConfigurationExhaustedActionType: "cancel" | "pause" | "none";
|
|
1496
1527
|
CreateDunningConfigurationInput: {
|
|
1497
1528
|
/** @description Days after a failed collection to retry, in ascending order. */
|
|
1498
1529
|
retry_days: number[];
|
|
1499
|
-
exhausted_action?: components["schemas"]["DunningConfigurationExhaustedActionType"];
|
|
1500
1530
|
enabled?: boolean;
|
|
1501
1531
|
};
|
|
1502
1532
|
CreateDunningConfigurationRequest: {
|
|
@@ -1504,7 +1534,6 @@ export interface components {
|
|
|
1504
1534
|
};
|
|
1505
1535
|
UpdateDunningConfigurationInput: {
|
|
1506
1536
|
retry_days?: number[];
|
|
1507
|
-
exhausted_action?: components["schemas"]["DunningConfigurationExhaustedActionType"];
|
|
1508
1537
|
enabled?: boolean;
|
|
1509
1538
|
};
|
|
1510
1539
|
UpdateDunningConfigurationRequest: {
|
|
@@ -1514,7 +1543,6 @@ export interface components {
|
|
|
1514
1543
|
/** Format: uuid */
|
|
1515
1544
|
id?: string;
|
|
1516
1545
|
retry_days?: number[];
|
|
1517
|
-
exhausted_action?: components["schemas"]["DunningConfigurationExhaustedActionType"];
|
|
1518
1546
|
enabled?: boolean;
|
|
1519
1547
|
/** Format: date-time */
|
|
1520
1548
|
created_at?: string;
|
|
@@ -1562,6 +1590,10 @@ export interface components {
|
|
|
1562
1590
|
purpose: string;
|
|
1563
1591
|
state: string;
|
|
1564
1592
|
download: components["schemas"]["FileDownloadConfiguration"];
|
|
1593
|
+
/** Format: date-time */
|
|
1594
|
+
created_at?: string;
|
|
1595
|
+
/** Format: date-time */
|
|
1596
|
+
updated_at?: string;
|
|
1565
1597
|
};
|
|
1566
1598
|
FileDownloadConfiguration: {
|
|
1567
1599
|
/** Format: uri */
|
|
@@ -1578,6 +1610,10 @@ export interface components {
|
|
|
1578
1610
|
purpose: string;
|
|
1579
1611
|
state: string;
|
|
1580
1612
|
upload: components["schemas"]["FileUploadConfiguration"];
|
|
1613
|
+
/** Format: date-time */
|
|
1614
|
+
created_at?: string;
|
|
1615
|
+
/** Format: date-time */
|
|
1616
|
+
updated_at?: string;
|
|
1581
1617
|
};
|
|
1582
1618
|
FileUploadConfiguration: {
|
|
1583
1619
|
/** Format: uri */
|
|
@@ -1611,6 +1647,8 @@ export interface components {
|
|
|
1611
1647
|
byte_size?: number;
|
|
1612
1648
|
/** Format: date-time */
|
|
1613
1649
|
created_at?: string;
|
|
1650
|
+
/** Format: date-time */
|
|
1651
|
+
updated_at?: string;
|
|
1614
1652
|
};
|
|
1615
1653
|
CreateLegalEntityApplicationPrincipalInput: {
|
|
1616
1654
|
/** Format: uuid */
|
|
@@ -1652,6 +1690,10 @@ export interface components {
|
|
|
1652
1690
|
contact_phone?: string;
|
|
1653
1691
|
tax_id_last4?: string;
|
|
1654
1692
|
title?: string;
|
|
1693
|
+
/** Format: date-time */
|
|
1694
|
+
created_at?: string;
|
|
1695
|
+
/** Format: date-time */
|
|
1696
|
+
updated_at?: string;
|
|
1655
1697
|
};
|
|
1656
1698
|
LegalEntityPrincipal: {
|
|
1657
1699
|
/** Format: uuid */
|
|
@@ -1671,6 +1713,10 @@ export interface components {
|
|
|
1671
1713
|
postal_code?: string;
|
|
1672
1714
|
contact_phone?: string;
|
|
1673
1715
|
tax_id_last4?: string;
|
|
1716
|
+
/** Format: date-time */
|
|
1717
|
+
created_at?: string;
|
|
1718
|
+
/** Format: date-time */
|
|
1719
|
+
updated_at?: string;
|
|
1674
1720
|
};
|
|
1675
1721
|
/** @enum {string} */
|
|
1676
1722
|
LegalEntityEntityType: "individual_sole_proprietorship" | "corporation" | "limited_liability_company" | "partnership" | "limited_partnership" | "general_partnership" | "tax_exempt_organization" | "government_agency";
|
|
@@ -1892,6 +1938,10 @@ export interface components {
|
|
|
1892
1938
|
satisfied_at?: string | null;
|
|
1893
1939
|
/** Format: date-time */
|
|
1894
1940
|
waived_at?: string | null;
|
|
1941
|
+
/** Format: date-time */
|
|
1942
|
+
created_at?: string;
|
|
1943
|
+
/** Format: date-time */
|
|
1944
|
+
updated_at?: string;
|
|
1895
1945
|
};
|
|
1896
1946
|
LegalEntity: {
|
|
1897
1947
|
/** Format: uuid */
|
|
@@ -1914,6 +1964,8 @@ export interface components {
|
|
|
1914
1964
|
tax_id_last4?: string;
|
|
1915
1965
|
/** Format: date-time */
|
|
1916
1966
|
created_at?: string;
|
|
1967
|
+
/** Format: date-time */
|
|
1968
|
+
updated_at?: string;
|
|
1917
1969
|
};
|
|
1918
1970
|
LegalEntityApplication: {
|
|
1919
1971
|
/** Format: uuid */
|
|
@@ -1977,7 +2029,6 @@ export interface components {
|
|
|
1977
2029
|
/** Format: uuid */
|
|
1978
2030
|
id?: string;
|
|
1979
2031
|
annual_credit_card_sales_volume?: number;
|
|
1980
|
-
allowed_payment_methods?: components["schemas"]["AllowedPaymentMethod"][];
|
|
1981
2032
|
business_category?: components["schemas"]["MerchantBusinessCategoryType"];
|
|
1982
2033
|
business_description?: string;
|
|
1983
2034
|
city?: string;
|
|
@@ -1991,8 +2042,11 @@ export interface components {
|
|
|
1991
2042
|
has_accepted_credit_cards?: boolean;
|
|
1992
2043
|
/** Format: uuid */
|
|
1993
2044
|
legal_entity_application_id?: string;
|
|
1994
|
-
|
|
1995
|
-
|
|
2045
|
+
max_daily_credits_amount?: number;
|
|
2046
|
+
max_daily_debits_amount?: number;
|
|
2047
|
+
max_monthly_credits_amount?: number;
|
|
2048
|
+
max_monthly_debits_amount?: number;
|
|
2049
|
+
max_single_debit_amount?: number;
|
|
1996
2050
|
max_transaction_amount?: string;
|
|
1997
2051
|
mcc?: string;
|
|
1998
2052
|
postal_code?: string;
|
|
@@ -2002,10 +2056,15 @@ export interface components {
|
|
|
2002
2056
|
primary_contact_phone?: string;
|
|
2003
2057
|
purchase_currency?: string;
|
|
2004
2058
|
settlement_currency?: string;
|
|
2059
|
+
settlement_days?: number;
|
|
2005
2060
|
state_province?: string;
|
|
2006
2061
|
street_address1?: string;
|
|
2007
2062
|
street_address2?: string;
|
|
2008
2063
|
website_url?: string;
|
|
2064
|
+
/** Format: date-time */
|
|
2065
|
+
created_at?: string;
|
|
2066
|
+
/** Format: date-time */
|
|
2067
|
+
updated_at?: string;
|
|
2009
2068
|
};
|
|
2010
2069
|
Merchant: {
|
|
2011
2070
|
/** Format: uuid */
|
|
@@ -2146,7 +2205,6 @@ export interface components {
|
|
|
2146
2205
|
recurring_payment?: components["schemas"]["RecurringPayment"];
|
|
2147
2206
|
/** Format: uuid */
|
|
2148
2207
|
payment_method_id?: string;
|
|
2149
|
-
source?: components["schemas"]["TransactionSourceType"];
|
|
2150
2208
|
/** @enum {string} */
|
|
2151
2209
|
state?: "requires_payment_method" | "requires_confirmation" | "requires_capture" | "processing_authorization" | "processing_capture" | "processing_sale" | "requires_review" | "succeeded" | "cancelled" | "errored_authorization" | "errored_capture" | "errored_sale";
|
|
2152
2210
|
statement_descriptor?: string;
|
|
@@ -2238,6 +2296,113 @@ export interface components {
|
|
|
2238
2296
|
cancel_url?: string;
|
|
2239
2297
|
allowed_payment_methods?: components["schemas"]["AllowedPaymentMethod"][];
|
|
2240
2298
|
metadata?: components["schemas"]["Metadata"];
|
|
2299
|
+
/** Format: date-time */
|
|
2300
|
+
created_at?: string;
|
|
2301
|
+
/** Format: date-time */
|
|
2302
|
+
updated_at?: string;
|
|
2303
|
+
};
|
|
2304
|
+
CreatePaymentMethodInput: {
|
|
2305
|
+
/** Format: uuid */
|
|
2306
|
+
customer_id?: string;
|
|
2307
|
+
metadata?: components["schemas"]["Metadata"];
|
|
2308
|
+
billing_address_attributes?: components["schemas"]["BillingAddressInput"];
|
|
2309
|
+
card_profile_attributes?: {
|
|
2310
|
+
brand?: string;
|
|
2311
|
+
card_holder_name?: string;
|
|
2312
|
+
cvc?: string;
|
|
2313
|
+
encrypted_card_number?: string;
|
|
2314
|
+
exp_month?: number;
|
|
2315
|
+
exp_year?: number;
|
|
2316
|
+
first6?: string;
|
|
2317
|
+
last4?: string;
|
|
2318
|
+
pan_type?: string;
|
|
2319
|
+
token?: string;
|
|
2320
|
+
wallet_payload?: string;
|
|
2321
|
+
wallet_provider?: components["schemas"]["WalletProviderType"];
|
|
2322
|
+
};
|
|
2323
|
+
bank_account_profile_attributes?: {
|
|
2324
|
+
last4?: string;
|
|
2325
|
+
account_holder_name?: string;
|
|
2326
|
+
account_holder_type?: string;
|
|
2327
|
+
account_type?: string;
|
|
2328
|
+
bank_name?: string;
|
|
2329
|
+
currency?: string;
|
|
2330
|
+
encrypted_account_number?: string;
|
|
2331
|
+
token?: string;
|
|
2332
|
+
routing_number?: string;
|
|
2333
|
+
};
|
|
2334
|
+
};
|
|
2335
|
+
CreatePaymentMethodRequest: {
|
|
2336
|
+
payment_method: components["schemas"]["CreatePaymentMethodInput"];
|
|
2337
|
+
};
|
|
2338
|
+
UpdateMerchantInput: {
|
|
2339
|
+
active?: boolean;
|
|
2340
|
+
business_category?: components["schemas"]["MerchantBusinessCategoryType"];
|
|
2341
|
+
dba_name?: string;
|
|
2342
|
+
allowed_payment_methods?: components["schemas"]["AllowedPaymentMethodInput"][];
|
|
2343
|
+
};
|
|
2344
|
+
UpdateMerchantRequest: {
|
|
2345
|
+
merchant: components["schemas"]["UpdateMerchantInput"];
|
|
2346
|
+
};
|
|
2347
|
+
UpdateLegalEntityApplicationInput: {
|
|
2348
|
+
legal_name?: string;
|
|
2349
|
+
entity_type?: components["schemas"]["LegalEntityEntityType"];
|
|
2350
|
+
ownership_type?: components["schemas"]["LegalEntityOwnershipType"];
|
|
2351
|
+
tax_id?: string;
|
|
2352
|
+
contact_email?: string;
|
|
2353
|
+
contact_phone?: string;
|
|
2354
|
+
business_address_line1?: string;
|
|
2355
|
+
business_address_line2?: string;
|
|
2356
|
+
business_city?: string;
|
|
2357
|
+
business_state?: string;
|
|
2358
|
+
business_postal_code?: string;
|
|
2359
|
+
business_country?: string;
|
|
2360
|
+
};
|
|
2361
|
+
UpdateLegalEntityApplicationRequest: {
|
|
2362
|
+
legal_entity_application: components["schemas"]["UpdateLegalEntityApplicationInput"];
|
|
2363
|
+
};
|
|
2364
|
+
UpdateLegalEntityApplicationPrincipalInput: {
|
|
2365
|
+
title?: string;
|
|
2366
|
+
first_name?: string;
|
|
2367
|
+
last_name?: string;
|
|
2368
|
+
email?: string;
|
|
2369
|
+
tax_id?: string;
|
|
2370
|
+
date_of_birth?: string;
|
|
2371
|
+
address_line1?: string;
|
|
2372
|
+
address_line2?: string;
|
|
2373
|
+
city?: string;
|
|
2374
|
+
state?: string;
|
|
2375
|
+
country?: string;
|
|
2376
|
+
postal_code?: string;
|
|
2377
|
+
stake_percent?: number;
|
|
2378
|
+
contact_phone?: string;
|
|
2379
|
+
};
|
|
2380
|
+
UpdateLegalEntityApplicationPrincipalRequest: {
|
|
2381
|
+
legal_entity_application_principal: components["schemas"]["UpdateLegalEntityApplicationPrincipalInput"];
|
|
2382
|
+
};
|
|
2383
|
+
UpdateMerchantApplicationInput: {
|
|
2384
|
+
annual_credit_card_sales_volume?: number;
|
|
2385
|
+
bank_account_number?: string;
|
|
2386
|
+
bank_routing_number?: string;
|
|
2387
|
+
business_category?: components["schemas"]["MerchantBusinessCategoryType"];
|
|
2388
|
+
business_description?: string;
|
|
2389
|
+
city?: string;
|
|
2390
|
+
country_code?: string;
|
|
2391
|
+
customer_service_number?: string;
|
|
2392
|
+
dba_name?: string;
|
|
2393
|
+
max_transaction_amount?: number;
|
|
2394
|
+
postal_code?: string;
|
|
2395
|
+
primary_contact_email_address?: string;
|
|
2396
|
+
primary_contact_first_name?: string;
|
|
2397
|
+
primary_contact_last_name?: string;
|
|
2398
|
+
primary_contact_phone?: string;
|
|
2399
|
+
state_province?: string;
|
|
2400
|
+
street_address1?: string;
|
|
2401
|
+
street_address2?: string;
|
|
2402
|
+
website_url?: string;
|
|
2403
|
+
};
|
|
2404
|
+
UpdateMerchantApplicationRequest: {
|
|
2405
|
+
merchant_application: components["schemas"]["UpdateMerchantApplicationInput"];
|
|
2241
2406
|
};
|
|
2242
2407
|
PaymentMethod: {
|
|
2243
2408
|
/** Format: uuid */
|
|
@@ -2307,8 +2472,16 @@ export interface components {
|
|
|
2307
2472
|
ProcessorTransaction: {
|
|
2308
2473
|
/** Format: uuid */
|
|
2309
2474
|
id?: string;
|
|
2310
|
-
/**
|
|
2311
|
-
|
|
2475
|
+
/**
|
|
2476
|
+
* Format: uuid
|
|
2477
|
+
* @description Account the transaction was processed under. Null for setup intent verifications, which are scoped to the organization.
|
|
2478
|
+
*/
|
|
2479
|
+
account_id?: string | null;
|
|
2480
|
+
/**
|
|
2481
|
+
* Format: uuid
|
|
2482
|
+
* @description Organization the transaction belongs to.
|
|
2483
|
+
*/
|
|
2484
|
+
organization_id?: string | null;
|
|
2312
2485
|
approved?: boolean;
|
|
2313
2486
|
avs_check?: string;
|
|
2314
2487
|
avs_check_message?: string;
|
|
@@ -2322,8 +2495,6 @@ export interface components {
|
|
|
2322
2495
|
payment_transaction_id?: string;
|
|
2323
2496
|
/** @enum {string} */
|
|
2324
2497
|
payment_transaction_type?: "charge" | "refund" | "void";
|
|
2325
|
-
/** Format: uuid */
|
|
2326
|
-
processor_transaction_id?: string;
|
|
2327
2498
|
processor_reference?: string;
|
|
2328
2499
|
network_transaction_id?: string;
|
|
2329
2500
|
transaction_link_id?: string;
|
|
@@ -2360,7 +2531,6 @@ export interface components {
|
|
|
2360
2531
|
name?: string;
|
|
2361
2532
|
description?: string;
|
|
2362
2533
|
active?: boolean;
|
|
2363
|
-
metadata?: components["schemas"]["Metadata"];
|
|
2364
2534
|
/** Format: date-time */
|
|
2365
2535
|
created_at?: string;
|
|
2366
2536
|
/** Format: date-time */
|
|
@@ -2445,9 +2615,16 @@ export interface components {
|
|
|
2445
2615
|
/** Format: date-time */
|
|
2446
2616
|
last_used_at?: string | null;
|
|
2447
2617
|
origins: components["schemas"]["Origin"][];
|
|
2618
|
+
/** Format: date-time */
|
|
2619
|
+
created_at?: string;
|
|
2620
|
+
/** Format: date-time */
|
|
2621
|
+
updated_at?: string;
|
|
2448
2622
|
};
|
|
2449
2623
|
CreateSetupIntentInput: {
|
|
2450
|
-
/**
|
|
2624
|
+
/**
|
|
2625
|
+
* Format: uuid
|
|
2626
|
+
* @description Customer on the authenticated organization.
|
|
2627
|
+
*/
|
|
2451
2628
|
customer_id?: string;
|
|
2452
2629
|
metadata?: components["schemas"]["Metadata"];
|
|
2453
2630
|
};
|
|
@@ -2468,8 +2645,16 @@ export interface components {
|
|
|
2468
2645
|
SetupIntent: {
|
|
2469
2646
|
/** Format: uuid */
|
|
2470
2647
|
id?: string;
|
|
2471
|
-
/**
|
|
2472
|
-
|
|
2648
|
+
/**
|
|
2649
|
+
* Format: uuid
|
|
2650
|
+
* @description Legacy account association. Null for organization-scoped setup intents.
|
|
2651
|
+
*/
|
|
2652
|
+
account_id?: string | null;
|
|
2653
|
+
/**
|
|
2654
|
+
* Format: uuid
|
|
2655
|
+
* @description Organization that owns the setup intent.
|
|
2656
|
+
*/
|
|
2657
|
+
organization_id?: string;
|
|
2473
2658
|
/** Format: uuid */
|
|
2474
2659
|
customer_id?: string;
|
|
2475
2660
|
metadata?: components["schemas"]["Metadata"];
|
|
@@ -2514,9 +2699,12 @@ export interface components {
|
|
|
2514
2699
|
Subscription: {
|
|
2515
2700
|
/** Format: uuid */
|
|
2516
2701
|
id?: string;
|
|
2517
|
-
/** Format: uuid */
|
|
2518
|
-
account_id?: string;
|
|
2519
2702
|
amount?: number;
|
|
2703
|
+
/** Format: date-time */
|
|
2704
|
+
cancel_at?: string | null;
|
|
2705
|
+
cancel_at_period_end?: boolean;
|
|
2706
|
+
/** Format: date-time */
|
|
2707
|
+
cancelled_at?: string | null;
|
|
2520
2708
|
currency?: string;
|
|
2521
2709
|
cycles?: number;
|
|
2522
2710
|
/** Format: uuid */
|
|
@@ -2527,6 +2715,9 @@ export interface components {
|
|
|
2527
2715
|
payment_method_id?: string;
|
|
2528
2716
|
interval?: components["schemas"]["SubscriptionIntervalType"];
|
|
2529
2717
|
interval_count?: number;
|
|
2718
|
+
metadata?: components["schemas"]["Metadata"];
|
|
2719
|
+
/** Format: date-time */
|
|
2720
|
+
start_at?: string | null;
|
|
2530
2721
|
/** @enum {string} */
|
|
2531
2722
|
state?: "active" | "paused" | "past_due" | "cancelled";
|
|
2532
2723
|
cycles_completed?: number;
|
|
@@ -2537,8 +2728,6 @@ export interface components {
|
|
|
2537
2728
|
/** Format: date-time */
|
|
2538
2729
|
current_billing_period_end?: string;
|
|
2539
2730
|
/** Format: date-time */
|
|
2540
|
-
trial_ends_at?: string | null;
|
|
2541
|
-
/** Format: date-time */
|
|
2542
2731
|
created_at?: string;
|
|
2543
2732
|
/** Format: date-time */
|
|
2544
2733
|
updated_at?: string;
|
|
@@ -2697,6 +2886,11 @@ export interface components {
|
|
|
2697
2886
|
WebhookRequest: {
|
|
2698
2887
|
id?: string;
|
|
2699
2888
|
/** Format: uuid */
|
|
2889
|
+
eventable_id?: string;
|
|
2890
|
+
eventable_type?: string;
|
|
2891
|
+
/** Format: uuid */
|
|
2892
|
+
organization_id?: string;
|
|
2893
|
+
/** Format: uuid */
|
|
2700
2894
|
webhook_endpoint_id?: string;
|
|
2701
2895
|
/** Format: date-time */
|
|
2702
2896
|
expires_at?: string;
|
|
@@ -2710,6 +2904,8 @@ export interface components {
|
|
|
2710
2904
|
responses: never;
|
|
2711
2905
|
parameters: {
|
|
2712
2906
|
XIdempotencyHeader: string;
|
|
2907
|
+
/** @description Render template JWT required to create a payment or setup intent. */
|
|
2908
|
+
XRenderTokenHeader: string;
|
|
2713
2909
|
/** @description The ID of the customer to filter by */
|
|
2714
2910
|
CustomerIdQuery: string;
|
|
2715
2911
|
/** @description Exact email match (case-insensitive). For substring search, use `q`. */
|
|
@@ -2746,6 +2942,22 @@ export interface components {
|
|
|
2746
2942
|
OriginQQuery: string;
|
|
2747
2943
|
/** @description The ID of the webhook request to filter by */
|
|
2748
2944
|
WebhookRequestIdQuery: string;
|
|
2945
|
+
/** @description The customer ID to filter by */
|
|
2946
|
+
OptionalCustomerIdQuery: string;
|
|
2947
|
+
DbaNameQuery: string;
|
|
2948
|
+
LegalEntityIdQuery: string;
|
|
2949
|
+
LegalNameQuery: string;
|
|
2950
|
+
/** @description Filter payment intents by id */
|
|
2951
|
+
PaymentIntentRecordIdQuery: string;
|
|
2952
|
+
ProcessorReferenceQuery: string;
|
|
2953
|
+
OriginalTransactionIdQuery: string;
|
|
2954
|
+
SubscriptionStateQuery: string;
|
|
2955
|
+
ExternalReferenceQuery: string;
|
|
2956
|
+
PaymentSnapshotStateQuery: string;
|
|
2957
|
+
WebhookEndpointIdQuery: string;
|
|
2958
|
+
WebhookEventQuery: string;
|
|
2959
|
+
EventableIdQuery: string;
|
|
2960
|
+
WebhookSuccessQuery: boolean;
|
|
2749
2961
|
};
|
|
2750
2962
|
requestBodies: never;
|
|
2751
2963
|
headers: never;
|
|
@@ -2839,6 +3051,8 @@ export interface operations {
|
|
|
2839
3051
|
per_page?: components["parameters"]["PerPageQuery"];
|
|
2840
3052
|
/** @description The ID of the payment intent to filter by */
|
|
2841
3053
|
payment_intent_id?: components["parameters"]["PaymentIntentIdQuery"];
|
|
3054
|
+
/** @description The customer ID to filter by */
|
|
3055
|
+
customer_id?: components["parameters"]["OptionalCustomerIdQuery"];
|
|
2842
3056
|
};
|
|
2843
3057
|
header?: never;
|
|
2844
3058
|
path?: never;
|
|
@@ -2977,7 +3191,10 @@ export interface operations {
|
|
|
2977
3191
|
"application/json": components["schemas"]["Customer"];
|
|
2978
3192
|
};
|
|
2979
3193
|
};
|
|
2980
|
-
/**
|
|
3194
|
+
/**
|
|
3195
|
+
* @description Email and phone match different customers, or the email is new and
|
|
3196
|
+
* the phone already belongs to another customer.
|
|
3197
|
+
*/
|
|
2981
3198
|
409: {
|
|
2982
3199
|
headers: {
|
|
2983
3200
|
[name: string]: unknown;
|
|
@@ -3500,6 +3717,41 @@ export interface operations {
|
|
|
3500
3717
|
};
|
|
3501
3718
|
};
|
|
3502
3719
|
};
|
|
3720
|
+
UpdateLegalEntityApplication: {
|
|
3721
|
+
parameters: {
|
|
3722
|
+
query?: never;
|
|
3723
|
+
header?: never;
|
|
3724
|
+
path: {
|
|
3725
|
+
id: string;
|
|
3726
|
+
};
|
|
3727
|
+
cookie?: never;
|
|
3728
|
+
};
|
|
3729
|
+
requestBody: {
|
|
3730
|
+
content: {
|
|
3731
|
+
"application/json": components["schemas"]["UpdateLegalEntityApplicationRequest"];
|
|
3732
|
+
};
|
|
3733
|
+
};
|
|
3734
|
+
responses: {
|
|
3735
|
+
/** @description Legal entity application updated successfully */
|
|
3736
|
+
200: {
|
|
3737
|
+
headers: {
|
|
3738
|
+
[name: string]: unknown;
|
|
3739
|
+
};
|
|
3740
|
+
content: {
|
|
3741
|
+
"application/json": components["schemas"]["LegalEntityApplication"];
|
|
3742
|
+
};
|
|
3743
|
+
};
|
|
3744
|
+
/** @description Unprocessable entity */
|
|
3745
|
+
422: {
|
|
3746
|
+
headers: {
|
|
3747
|
+
[name: string]: unknown;
|
|
3748
|
+
};
|
|
3749
|
+
content: {
|
|
3750
|
+
"application/json": components["schemas"]["Error"];
|
|
3751
|
+
};
|
|
3752
|
+
};
|
|
3753
|
+
};
|
|
3754
|
+
};
|
|
3503
3755
|
SubmitLegalEntityApplication: {
|
|
3504
3756
|
parameters: {
|
|
3505
3757
|
query?: never;
|
|
@@ -3624,6 +3876,41 @@ export interface operations {
|
|
|
3624
3876
|
};
|
|
3625
3877
|
};
|
|
3626
3878
|
};
|
|
3879
|
+
UpdateLegalEntityApplicationPrincipal: {
|
|
3880
|
+
parameters: {
|
|
3881
|
+
query?: never;
|
|
3882
|
+
header?: never;
|
|
3883
|
+
path: {
|
|
3884
|
+
id: string;
|
|
3885
|
+
};
|
|
3886
|
+
cookie?: never;
|
|
3887
|
+
};
|
|
3888
|
+
requestBody: {
|
|
3889
|
+
content: {
|
|
3890
|
+
"application/json": components["schemas"]["UpdateLegalEntityApplicationPrincipalRequest"];
|
|
3891
|
+
};
|
|
3892
|
+
};
|
|
3893
|
+
responses: {
|
|
3894
|
+
/** @description Legal entity application principal updated successfully */
|
|
3895
|
+
200: {
|
|
3896
|
+
headers: {
|
|
3897
|
+
[name: string]: unknown;
|
|
3898
|
+
};
|
|
3899
|
+
content: {
|
|
3900
|
+
"application/json": components["schemas"]["LegalEntityApplicationPrincipal"];
|
|
3901
|
+
};
|
|
3902
|
+
};
|
|
3903
|
+
/** @description Unprocessable entity */
|
|
3904
|
+
422: {
|
|
3905
|
+
headers: {
|
|
3906
|
+
[name: string]: unknown;
|
|
3907
|
+
};
|
|
3908
|
+
content: {
|
|
3909
|
+
"application/json": components["schemas"]["Error"];
|
|
3910
|
+
};
|
|
3911
|
+
};
|
|
3912
|
+
};
|
|
3913
|
+
};
|
|
3627
3914
|
ListLegalEntityPrincipals: {
|
|
3628
3915
|
parameters: {
|
|
3629
3916
|
query: {
|
|
@@ -3740,6 +4027,42 @@ export interface operations {
|
|
|
3740
4027
|
};
|
|
3741
4028
|
};
|
|
3742
4029
|
};
|
|
4030
|
+
UpdateMerchantApplication: {
|
|
4031
|
+
parameters: {
|
|
4032
|
+
query?: never;
|
|
4033
|
+
header?: never;
|
|
4034
|
+
path: {
|
|
4035
|
+
/** @description The ID of the merchant application to update */
|
|
4036
|
+
id: string;
|
|
4037
|
+
};
|
|
4038
|
+
cookie?: never;
|
|
4039
|
+
};
|
|
4040
|
+
requestBody: {
|
|
4041
|
+
content: {
|
|
4042
|
+
"application/json": components["schemas"]["UpdateMerchantApplicationRequest"];
|
|
4043
|
+
};
|
|
4044
|
+
};
|
|
4045
|
+
responses: {
|
|
4046
|
+
/** @description Merchant application updated successfully */
|
|
4047
|
+
200: {
|
|
4048
|
+
headers: {
|
|
4049
|
+
[name: string]: unknown;
|
|
4050
|
+
};
|
|
4051
|
+
content: {
|
|
4052
|
+
"application/json": components["schemas"]["MerchantApplication"];
|
|
4053
|
+
};
|
|
4054
|
+
};
|
|
4055
|
+
/** @description Unprocessable entity */
|
|
4056
|
+
422: {
|
|
4057
|
+
headers: {
|
|
4058
|
+
[name: string]: unknown;
|
|
4059
|
+
};
|
|
4060
|
+
content: {
|
|
4061
|
+
"application/json": components["schemas"]["Error"];
|
|
4062
|
+
};
|
|
4063
|
+
};
|
|
4064
|
+
};
|
|
4065
|
+
};
|
|
3743
4066
|
ListMerchants: {
|
|
3744
4067
|
parameters: {
|
|
3745
4068
|
query?: {
|
|
@@ -3747,6 +4070,9 @@ export interface operations {
|
|
|
3747
4070
|
page?: components["parameters"]["PageQuery"];
|
|
3748
4071
|
/** @description Number of results per page. */
|
|
3749
4072
|
per_page?: components["parameters"]["PerPageQuery"];
|
|
4073
|
+
dba_name?: components["parameters"]["DbaNameQuery"];
|
|
4074
|
+
legal_entity_id?: components["parameters"]["LegalEntityIdQuery"];
|
|
4075
|
+
legal_name?: components["parameters"]["LegalNameQuery"];
|
|
3750
4076
|
};
|
|
3751
4077
|
header?: never;
|
|
3752
4078
|
path?: never;
|
|
@@ -3791,6 +4117,42 @@ export interface operations {
|
|
|
3791
4117
|
};
|
|
3792
4118
|
};
|
|
3793
4119
|
};
|
|
4120
|
+
UpdateMerchant: {
|
|
4121
|
+
parameters: {
|
|
4122
|
+
query?: never;
|
|
4123
|
+
header?: never;
|
|
4124
|
+
path: {
|
|
4125
|
+
/** @description The ID of the merchant to update */
|
|
4126
|
+
id: string;
|
|
4127
|
+
};
|
|
4128
|
+
cookie?: never;
|
|
4129
|
+
};
|
|
4130
|
+
requestBody: {
|
|
4131
|
+
content: {
|
|
4132
|
+
"application/json": components["schemas"]["UpdateMerchantRequest"];
|
|
4133
|
+
};
|
|
4134
|
+
};
|
|
4135
|
+
responses: {
|
|
4136
|
+
/** @description Merchant updated successfully */
|
|
4137
|
+
200: {
|
|
4138
|
+
headers: {
|
|
4139
|
+
[name: string]: unknown;
|
|
4140
|
+
};
|
|
4141
|
+
content: {
|
|
4142
|
+
"application/json": components["schemas"]["Merchant"];
|
|
4143
|
+
};
|
|
4144
|
+
};
|
|
4145
|
+
/** @description Unprocessable entity */
|
|
4146
|
+
422: {
|
|
4147
|
+
headers: {
|
|
4148
|
+
[name: string]: unknown;
|
|
4149
|
+
};
|
|
4150
|
+
content: {
|
|
4151
|
+
"application/json": components["schemas"]["Error"];
|
|
4152
|
+
};
|
|
4153
|
+
};
|
|
4154
|
+
};
|
|
4155
|
+
};
|
|
3794
4156
|
GetOrganization: {
|
|
3795
4157
|
parameters: {
|
|
3796
4158
|
query?: never;
|
|
@@ -4030,6 +4392,9 @@ export interface operations {
|
|
|
4030
4392
|
page?: components["parameters"]["PageQuery"];
|
|
4031
4393
|
/** @description Number of results per page. */
|
|
4032
4394
|
per_page?: components["parameters"]["PerPageQuery"];
|
|
4395
|
+
/** @description Filter payment intents by id */
|
|
4396
|
+
id?: components["parameters"]["PaymentIntentRecordIdQuery"];
|
|
4397
|
+
processor_reference?: components["parameters"]["ProcessorReferenceQuery"];
|
|
4033
4398
|
};
|
|
4034
4399
|
header?: never;
|
|
4035
4400
|
path?: never;
|
|
@@ -4054,7 +4419,10 @@ export interface operations {
|
|
|
4054
4419
|
CreatePaymentIntent: {
|
|
4055
4420
|
parameters: {
|
|
4056
4421
|
query?: never;
|
|
4057
|
-
header
|
|
4422
|
+
header: {
|
|
4423
|
+
/** @description Render template JWT required to create a payment or setup intent. */
|
|
4424
|
+
"X-Render-Token": components["parameters"]["XRenderTokenHeader"];
|
|
4425
|
+
};
|
|
4058
4426
|
path?: never;
|
|
4059
4427
|
cookie?: never;
|
|
4060
4428
|
};
|
|
@@ -4073,7 +4441,7 @@ export interface operations {
|
|
|
4073
4441
|
"application/json": components["schemas"]["EmbedToken"];
|
|
4074
4442
|
};
|
|
4075
4443
|
};
|
|
4076
|
-
/** @description Unprocessable entity */
|
|
4444
|
+
/** @description Unprocessable entity, including a missing X-Render-Token header. */
|
|
4077
4445
|
422: {
|
|
4078
4446
|
headers: {
|
|
4079
4447
|
[name: string]: unknown;
|
|
@@ -4341,6 +4709,39 @@ export interface operations {
|
|
|
4341
4709
|
};
|
|
4342
4710
|
};
|
|
4343
4711
|
};
|
|
4712
|
+
CreatePaymentMethod: {
|
|
4713
|
+
parameters: {
|
|
4714
|
+
query?: never;
|
|
4715
|
+
header?: never;
|
|
4716
|
+
path?: never;
|
|
4717
|
+
cookie?: never;
|
|
4718
|
+
};
|
|
4719
|
+
requestBody: {
|
|
4720
|
+
content: {
|
|
4721
|
+
"application/json": components["schemas"]["CreatePaymentMethodRequest"];
|
|
4722
|
+
};
|
|
4723
|
+
};
|
|
4724
|
+
responses: {
|
|
4725
|
+
/** @description Payment method created successfully */
|
|
4726
|
+
201: {
|
|
4727
|
+
headers: {
|
|
4728
|
+
[name: string]: unknown;
|
|
4729
|
+
};
|
|
4730
|
+
content: {
|
|
4731
|
+
"application/json": components["schemas"]["PaymentMethod"];
|
|
4732
|
+
};
|
|
4733
|
+
};
|
|
4734
|
+
/** @description Unprocessable entity */
|
|
4735
|
+
422: {
|
|
4736
|
+
headers: {
|
|
4737
|
+
[name: string]: unknown;
|
|
4738
|
+
};
|
|
4739
|
+
content: {
|
|
4740
|
+
"application/json": components["schemas"]["Error"];
|
|
4741
|
+
};
|
|
4742
|
+
};
|
|
4743
|
+
};
|
|
4744
|
+
};
|
|
4344
4745
|
GetPaymentMethod: {
|
|
4345
4746
|
parameters: {
|
|
4346
4747
|
query?: never;
|
|
@@ -4511,6 +4912,7 @@ export interface operations {
|
|
|
4511
4912
|
payment_method_id?: components["parameters"]["PaymentMethodIdQuery"];
|
|
4512
4913
|
/** @description The ID of the payment transaction to filter by */
|
|
4513
4914
|
payment_transaction_id?: components["parameters"]["PaymentTransactionIdQuery"];
|
|
4915
|
+
original_transaction_id?: components["parameters"]["OriginalTransactionIdQuery"];
|
|
4514
4916
|
};
|
|
4515
4917
|
header?: never;
|
|
4516
4918
|
path?: never;
|
|
@@ -5000,7 +5402,10 @@ export interface operations {
|
|
|
5000
5402
|
CreateSetupIntent: {
|
|
5001
5403
|
parameters: {
|
|
5002
5404
|
query?: never;
|
|
5003
|
-
header
|
|
5405
|
+
header: {
|
|
5406
|
+
/** @description Render template JWT required to create a payment or setup intent. */
|
|
5407
|
+
"X-Render-Token": components["parameters"]["XRenderTokenHeader"];
|
|
5408
|
+
};
|
|
5004
5409
|
path?: never;
|
|
5005
5410
|
cookie?: never;
|
|
5006
5411
|
};
|
|
@@ -5019,7 +5424,7 @@ export interface operations {
|
|
|
5019
5424
|
"application/json": components["schemas"]["EmbedToken"];
|
|
5020
5425
|
};
|
|
5021
5426
|
};
|
|
5022
|
-
/** @description Unprocessable entity */
|
|
5427
|
+
/** @description Unprocessable entity, including a missing X-Render-Token header. */
|
|
5023
5428
|
422: {
|
|
5024
5429
|
headers: {
|
|
5025
5430
|
[name: string]: unknown;
|
|
@@ -5037,6 +5442,8 @@ export interface operations {
|
|
|
5037
5442
|
page?: components["parameters"]["PageQuery"];
|
|
5038
5443
|
/** @description Number of results per page. */
|
|
5039
5444
|
per_page?: components["parameters"]["PerPageQuery"];
|
|
5445
|
+
/** @description Exact name match (case-insensitive). For substring search, use `q`. */
|
|
5446
|
+
name?: components["parameters"]["NameQuery"];
|
|
5040
5447
|
};
|
|
5041
5448
|
header?: never;
|
|
5042
5449
|
path?: never;
|
|
@@ -5121,6 +5528,7 @@ export interface operations {
|
|
|
5121
5528
|
page?: components["parameters"]["PageQuery"];
|
|
5122
5529
|
/** @description Number of results per page. */
|
|
5123
5530
|
per_page?: components["parameters"]["PerPageQuery"];
|
|
5531
|
+
state?: components["parameters"]["SubscriptionStateQuery"];
|
|
5124
5532
|
};
|
|
5125
5533
|
header?: never;
|
|
5126
5534
|
path?: never;
|
|
@@ -5576,6 +5984,10 @@ export interface operations {
|
|
|
5576
5984
|
page?: components["parameters"]["PageQuery"];
|
|
5577
5985
|
/** @description Number of results per page. */
|
|
5578
5986
|
per_page?: components["parameters"]["PerPageQuery"];
|
|
5987
|
+
webhook_endpoint_id?: components["parameters"]["WebhookEndpointIdQuery"];
|
|
5988
|
+
success?: components["parameters"]["WebhookSuccessQuery"];
|
|
5989
|
+
event?: components["parameters"]["WebhookEventQuery"];
|
|
5990
|
+
eventable_id?: components["parameters"]["EventableIdQuery"];
|
|
5579
5991
|
};
|
|
5580
5992
|
header?: never;
|
|
5581
5993
|
path?: never;
|
|
@@ -5663,7 +6075,6 @@ export const bankAccountProfileFailure_reasonValues: ReadonlyArray<FlattenedDeep
|
|
|
5663
6075
|
export const cardProfileFailure_reasonValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["CardProfile"]["failure_reason"]> = ["authorization_failed", "avs_blocked", "brand_not_allowed", "brand_not_found", "cvc_blocked", "processing_error", "vault_failed"];
|
|
5664
6076
|
export const chargeAllowed_reverse_actionValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Charge"]["allowed_reverse_action"]> = ["void", "refund"];
|
|
5665
6077
|
export const chargeStateValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Charge"]["state"]> = ["cancelled", "errored", "failed", "processing", "requires_capture", "requires_confirmation", "requires_review", "settlement_failed", "succeeded"];
|
|
5666
|
-
export const dunningConfigurationExhaustedActionTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["DunningConfigurationExhaustedActionType"]> = ["cancel", "pause", "none"];
|
|
5667
6078
|
export const externalAccountTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["ExternalAccount"]["type"]> = ["external_card", "external_bank_account"];
|
|
5668
6079
|
export const legalEntityEntityTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["LegalEntityEntityType"]> = ["individual_sole_proprietorship", "corporation", "limited_liability_company", "partnership", "limited_partnership", "general_partnership", "tax_exempt_organization", "government_agency"];
|
|
5669
6080
|
export const legalEntityOwnershipTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["LegalEntityOwnershipType"]> = ["public", "private"];
|