@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/dist/index.d.ts
CHANGED
|
@@ -91,6 +91,8 @@ interface paths {
|
|
|
91
91
|
* Create or reuse a customer
|
|
92
92
|
* @description Creates a registered customer, or returns the existing customer when
|
|
93
93
|
* `email` or `phone` already belongs to one in the organization.
|
|
94
|
+
* When `email` is sent, reuse is by email only; a phone match is not used
|
|
95
|
+
* as a fallback, so a mistyped email cannot attach to another customer.
|
|
94
96
|
* Reuse does not update the existing record; use PUT to change it.
|
|
95
97
|
* Returns 200 for reuse and 201 for create.
|
|
96
98
|
*/
|
|
@@ -302,7 +304,8 @@ interface paths {
|
|
|
302
304
|
};
|
|
303
305
|
/** Retrieve a legal entity application by ID */
|
|
304
306
|
get: operations["GetLegalEntityApplication"];
|
|
305
|
-
|
|
307
|
+
/** Update a pending legal entity application */
|
|
308
|
+
put: operations["UpdateLegalEntityApplication"];
|
|
306
309
|
post?: never;
|
|
307
310
|
delete?: never;
|
|
308
311
|
options?: never;
|
|
@@ -370,7 +373,8 @@ interface paths {
|
|
|
370
373
|
};
|
|
371
374
|
/** Retrieve a legal entity application principal by ID */
|
|
372
375
|
get: operations["GetLegalEntityApplicationPrincipal"];
|
|
373
|
-
|
|
376
|
+
/** Update a legal entity application principal */
|
|
377
|
+
put: operations["UpdateLegalEntityApplicationPrincipal"];
|
|
374
378
|
post?: never;
|
|
375
379
|
delete?: never;
|
|
376
380
|
options?: never;
|
|
@@ -438,7 +442,8 @@ interface paths {
|
|
|
438
442
|
};
|
|
439
443
|
/** Retrieve a merchant application by ID */
|
|
440
444
|
get: operations["GetMerchantApplication"];
|
|
441
|
-
|
|
445
|
+
/** Update a pending merchant application */
|
|
446
|
+
put: operations["UpdateMerchantApplication"];
|
|
442
447
|
post?: never;
|
|
443
448
|
delete?: never;
|
|
444
449
|
options?: never;
|
|
@@ -477,7 +482,8 @@ interface paths {
|
|
|
477
482
|
delete?: never;
|
|
478
483
|
options?: never;
|
|
479
484
|
head?: never;
|
|
480
|
-
|
|
485
|
+
/** Update a merchant by ID */
|
|
486
|
+
patch: operations["UpdateMerchant"];
|
|
481
487
|
trace?: never;
|
|
482
488
|
};
|
|
483
489
|
"/organization": {
|
|
@@ -691,7 +697,8 @@ interface paths {
|
|
|
691
697
|
*/
|
|
692
698
|
get: operations["ListPaymentMethods"];
|
|
693
699
|
put?: never;
|
|
694
|
-
|
|
700
|
+
/** Create a payment method */
|
|
701
|
+
post: operations["CreatePaymentMethod"];
|
|
695
702
|
delete?: never;
|
|
696
703
|
options?: never;
|
|
697
704
|
head?: never;
|
|
@@ -863,9 +870,9 @@ interface paths {
|
|
|
863
870
|
cookie?: never;
|
|
864
871
|
};
|
|
865
872
|
get?: never;
|
|
873
|
+
put?: never;
|
|
866
874
|
/** Cancel a refund */
|
|
867
|
-
|
|
868
|
-
post?: never;
|
|
875
|
+
post: operations["CancelRefund"];
|
|
869
876
|
delete?: never;
|
|
870
877
|
options?: never;
|
|
871
878
|
head?: never;
|
|
@@ -974,7 +981,10 @@ interface paths {
|
|
|
974
981
|
};
|
|
975
982
|
get?: never;
|
|
976
983
|
put?: never;
|
|
977
|
-
/**
|
|
984
|
+
/**
|
|
985
|
+
* Create a new setup intent
|
|
986
|
+
* @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.
|
|
987
|
+
*/
|
|
978
988
|
post: operations["CreateSetupIntent"];
|
|
979
989
|
delete?: never;
|
|
980
990
|
options?: never;
|
|
@@ -1250,13 +1260,33 @@ interface components {
|
|
|
1250
1260
|
[key: string]: string[];
|
|
1251
1261
|
};
|
|
1252
1262
|
};
|
|
1253
|
-
/**
|
|
1263
|
+
/**
|
|
1264
|
+
* @description Decoded JWT payload for embed token responses.
|
|
1265
|
+
*
|
|
1266
|
+
* Payment intent tokens include `account_id` and `payment_intent_id`.
|
|
1267
|
+
* Setup intent tokens include `organization_id` and `setup_intent_id`
|
|
1268
|
+
* and do not use `account_id`. Unused fields are null.
|
|
1269
|
+
*/
|
|
1254
1270
|
EmbedTokenJwt: {
|
|
1255
|
-
/**
|
|
1256
|
-
|
|
1257
|
-
|
|
1271
|
+
/**
|
|
1272
|
+
* Format: uuid
|
|
1273
|
+
* @description Present for payment intent embed tokens. Null for setup intents.
|
|
1274
|
+
*/
|
|
1275
|
+
account_id?: string | null;
|
|
1276
|
+
/**
|
|
1277
|
+
* Format: uuid
|
|
1278
|
+
* @description Present for setup intent embed tokens. Null for payment intents.
|
|
1279
|
+
*/
|
|
1280
|
+
organization_id?: string | null;
|
|
1281
|
+
/**
|
|
1282
|
+
* Format: uuid
|
|
1283
|
+
* @description Present for payment intent embed tokens. Null for setup intents.
|
|
1284
|
+
*/
|
|
1258
1285
|
payment_intent_id?: string | null;
|
|
1259
|
-
/**
|
|
1286
|
+
/**
|
|
1287
|
+
* Format: uuid
|
|
1288
|
+
* @description Present for setup intent embed tokens. Null for payment intents.
|
|
1289
|
+
*/
|
|
1260
1290
|
setup_intent_id?: string | null;
|
|
1261
1291
|
};
|
|
1262
1292
|
/** @description Decoded JWT payload for render token responses. */
|
|
@@ -1269,7 +1299,13 @@ interface components {
|
|
|
1269
1299
|
render_template_id?: string;
|
|
1270
1300
|
};
|
|
1271
1301
|
EmbedToken: {
|
|
1272
|
-
/**
|
|
1302
|
+
/**
|
|
1303
|
+
* @description JWT string used for embedded payment and setup intent flows.
|
|
1304
|
+
* When decoded, the JWT payload matches the EmbedTokenJwt schema.
|
|
1305
|
+
* Setup intent tokens are organization-scoped (`organization_id` +
|
|
1306
|
+
* `setup_intent_id`). Payment intent tokens remain account-scoped
|
|
1307
|
+
* (`account_id` + `payment_intent_id`).
|
|
1308
|
+
*/
|
|
1273
1309
|
token?: string;
|
|
1274
1310
|
ttl?: number;
|
|
1275
1311
|
};
|
|
@@ -1406,7 +1442,6 @@ interface components {
|
|
|
1406
1442
|
/** Format: uuid */
|
|
1407
1443
|
id?: string;
|
|
1408
1444
|
name?: string;
|
|
1409
|
-
active?: boolean;
|
|
1410
1445
|
/** Format: uuid */
|
|
1411
1446
|
merchant_id?: string;
|
|
1412
1447
|
/** Format: uuid */
|
|
@@ -1477,8 +1512,6 @@ interface components {
|
|
|
1477
1512
|
Customer: {
|
|
1478
1513
|
/** Format: uuid */
|
|
1479
1514
|
id?: string;
|
|
1480
|
-
/** Format: uuid */
|
|
1481
|
-
account_id?: string;
|
|
1482
1515
|
email?: string;
|
|
1483
1516
|
metadata?: components["schemas"]["Metadata"];
|
|
1484
1517
|
name?: string;
|
|
@@ -1494,12 +1527,9 @@ interface components {
|
|
|
1494
1527
|
/** Format: date-time */
|
|
1495
1528
|
updated_at?: string;
|
|
1496
1529
|
};
|
|
1497
|
-
/** @enum {string} */
|
|
1498
|
-
DunningConfigurationExhaustedActionType: "cancel" | "pause" | "none";
|
|
1499
1530
|
CreateDunningConfigurationInput: {
|
|
1500
1531
|
/** @description Days after a failed collection to retry, in ascending order. */
|
|
1501
1532
|
retry_days: number[];
|
|
1502
|
-
exhausted_action?: components["schemas"]["DunningConfigurationExhaustedActionType"];
|
|
1503
1533
|
enabled?: boolean;
|
|
1504
1534
|
};
|
|
1505
1535
|
CreateDunningConfigurationRequest: {
|
|
@@ -1507,7 +1537,6 @@ interface components {
|
|
|
1507
1537
|
};
|
|
1508
1538
|
UpdateDunningConfigurationInput: {
|
|
1509
1539
|
retry_days?: number[];
|
|
1510
|
-
exhausted_action?: components["schemas"]["DunningConfigurationExhaustedActionType"];
|
|
1511
1540
|
enabled?: boolean;
|
|
1512
1541
|
};
|
|
1513
1542
|
UpdateDunningConfigurationRequest: {
|
|
@@ -1517,7 +1546,6 @@ interface components {
|
|
|
1517
1546
|
/** Format: uuid */
|
|
1518
1547
|
id?: string;
|
|
1519
1548
|
retry_days?: number[];
|
|
1520
|
-
exhausted_action?: components["schemas"]["DunningConfigurationExhaustedActionType"];
|
|
1521
1549
|
enabled?: boolean;
|
|
1522
1550
|
/** Format: date-time */
|
|
1523
1551
|
created_at?: string;
|
|
@@ -1565,6 +1593,10 @@ interface components {
|
|
|
1565
1593
|
purpose: string;
|
|
1566
1594
|
state: string;
|
|
1567
1595
|
download: components["schemas"]["FileDownloadConfiguration"];
|
|
1596
|
+
/** Format: date-time */
|
|
1597
|
+
created_at?: string;
|
|
1598
|
+
/** Format: date-time */
|
|
1599
|
+
updated_at?: string;
|
|
1568
1600
|
};
|
|
1569
1601
|
FileDownloadConfiguration: {
|
|
1570
1602
|
/** Format: uri */
|
|
@@ -1581,6 +1613,10 @@ interface components {
|
|
|
1581
1613
|
purpose: string;
|
|
1582
1614
|
state: string;
|
|
1583
1615
|
upload: components["schemas"]["FileUploadConfiguration"];
|
|
1616
|
+
/** Format: date-time */
|
|
1617
|
+
created_at?: string;
|
|
1618
|
+
/** Format: date-time */
|
|
1619
|
+
updated_at?: string;
|
|
1584
1620
|
};
|
|
1585
1621
|
FileUploadConfiguration: {
|
|
1586
1622
|
/** Format: uri */
|
|
@@ -1614,6 +1650,8 @@ interface components {
|
|
|
1614
1650
|
byte_size?: number;
|
|
1615
1651
|
/** Format: date-time */
|
|
1616
1652
|
created_at?: string;
|
|
1653
|
+
/** Format: date-time */
|
|
1654
|
+
updated_at?: string;
|
|
1617
1655
|
};
|
|
1618
1656
|
CreateLegalEntityApplicationPrincipalInput: {
|
|
1619
1657
|
/** Format: uuid */
|
|
@@ -1655,6 +1693,10 @@ interface components {
|
|
|
1655
1693
|
contact_phone?: string;
|
|
1656
1694
|
tax_id_last4?: string;
|
|
1657
1695
|
title?: string;
|
|
1696
|
+
/** Format: date-time */
|
|
1697
|
+
created_at?: string;
|
|
1698
|
+
/** Format: date-time */
|
|
1699
|
+
updated_at?: string;
|
|
1658
1700
|
};
|
|
1659
1701
|
LegalEntityPrincipal: {
|
|
1660
1702
|
/** Format: uuid */
|
|
@@ -1674,6 +1716,10 @@ interface components {
|
|
|
1674
1716
|
postal_code?: string;
|
|
1675
1717
|
contact_phone?: string;
|
|
1676
1718
|
tax_id_last4?: string;
|
|
1719
|
+
/** Format: date-time */
|
|
1720
|
+
created_at?: string;
|
|
1721
|
+
/** Format: date-time */
|
|
1722
|
+
updated_at?: string;
|
|
1677
1723
|
};
|
|
1678
1724
|
/** @enum {string} */
|
|
1679
1725
|
LegalEntityEntityType: "individual_sole_proprietorship" | "corporation" | "limited_liability_company" | "partnership" | "limited_partnership" | "general_partnership" | "tax_exempt_organization" | "government_agency";
|
|
@@ -1895,6 +1941,10 @@ interface components {
|
|
|
1895
1941
|
satisfied_at?: string | null;
|
|
1896
1942
|
/** Format: date-time */
|
|
1897
1943
|
waived_at?: string | null;
|
|
1944
|
+
/** Format: date-time */
|
|
1945
|
+
created_at?: string;
|
|
1946
|
+
/** Format: date-time */
|
|
1947
|
+
updated_at?: string;
|
|
1898
1948
|
};
|
|
1899
1949
|
LegalEntity: {
|
|
1900
1950
|
/** Format: uuid */
|
|
@@ -1917,6 +1967,8 @@ interface components {
|
|
|
1917
1967
|
tax_id_last4?: string;
|
|
1918
1968
|
/** Format: date-time */
|
|
1919
1969
|
created_at?: string;
|
|
1970
|
+
/** Format: date-time */
|
|
1971
|
+
updated_at?: string;
|
|
1920
1972
|
};
|
|
1921
1973
|
LegalEntityApplication: {
|
|
1922
1974
|
/** Format: uuid */
|
|
@@ -1980,7 +2032,6 @@ interface components {
|
|
|
1980
2032
|
/** Format: uuid */
|
|
1981
2033
|
id?: string;
|
|
1982
2034
|
annual_credit_card_sales_volume?: number;
|
|
1983
|
-
allowed_payment_methods?: components["schemas"]["AllowedPaymentMethod"][];
|
|
1984
2035
|
business_category?: components["schemas"]["MerchantBusinessCategoryType"];
|
|
1985
2036
|
business_description?: string;
|
|
1986
2037
|
city?: string;
|
|
@@ -1994,8 +2045,11 @@ interface components {
|
|
|
1994
2045
|
has_accepted_credit_cards?: boolean;
|
|
1995
2046
|
/** Format: uuid */
|
|
1996
2047
|
legal_entity_application_id?: string;
|
|
1997
|
-
|
|
1998
|
-
|
|
2048
|
+
max_daily_credits_amount?: number;
|
|
2049
|
+
max_daily_debits_amount?: number;
|
|
2050
|
+
max_monthly_credits_amount?: number;
|
|
2051
|
+
max_monthly_debits_amount?: number;
|
|
2052
|
+
max_single_debit_amount?: number;
|
|
1999
2053
|
max_transaction_amount?: string;
|
|
2000
2054
|
mcc?: string;
|
|
2001
2055
|
postal_code?: string;
|
|
@@ -2005,10 +2059,15 @@ interface components {
|
|
|
2005
2059
|
primary_contact_phone?: string;
|
|
2006
2060
|
purchase_currency?: string;
|
|
2007
2061
|
settlement_currency?: string;
|
|
2062
|
+
settlement_days?: number;
|
|
2008
2063
|
state_province?: string;
|
|
2009
2064
|
street_address1?: string;
|
|
2010
2065
|
street_address2?: string;
|
|
2011
2066
|
website_url?: string;
|
|
2067
|
+
/** Format: date-time */
|
|
2068
|
+
created_at?: string;
|
|
2069
|
+
/** Format: date-time */
|
|
2070
|
+
updated_at?: string;
|
|
2012
2071
|
};
|
|
2013
2072
|
Merchant: {
|
|
2014
2073
|
/** Format: uuid */
|
|
@@ -2149,7 +2208,6 @@ interface components {
|
|
|
2149
2208
|
recurring_payment?: components["schemas"]["RecurringPayment"];
|
|
2150
2209
|
/** Format: uuid */
|
|
2151
2210
|
payment_method_id?: string;
|
|
2152
|
-
source?: components["schemas"]["TransactionSourceType"];
|
|
2153
2211
|
/** @enum {string} */
|
|
2154
2212
|
state?: "requires_payment_method" | "requires_confirmation" | "requires_capture" | "processing_authorization" | "processing_capture" | "processing_sale" | "requires_review" | "succeeded" | "cancelled" | "errored_authorization" | "errored_capture" | "errored_sale";
|
|
2155
2213
|
statement_descriptor?: string;
|
|
@@ -2241,6 +2299,113 @@ interface components {
|
|
|
2241
2299
|
cancel_url?: string;
|
|
2242
2300
|
allowed_payment_methods?: components["schemas"]["AllowedPaymentMethod"][];
|
|
2243
2301
|
metadata?: components["schemas"]["Metadata"];
|
|
2302
|
+
/** Format: date-time */
|
|
2303
|
+
created_at?: string;
|
|
2304
|
+
/** Format: date-time */
|
|
2305
|
+
updated_at?: string;
|
|
2306
|
+
};
|
|
2307
|
+
CreatePaymentMethodInput: {
|
|
2308
|
+
/** Format: uuid */
|
|
2309
|
+
customer_id?: string;
|
|
2310
|
+
metadata?: components["schemas"]["Metadata"];
|
|
2311
|
+
billing_address_attributes?: components["schemas"]["BillingAddressInput"];
|
|
2312
|
+
card_profile_attributes?: {
|
|
2313
|
+
brand?: string;
|
|
2314
|
+
card_holder_name?: string;
|
|
2315
|
+
cvc?: string;
|
|
2316
|
+
encrypted_card_number?: string;
|
|
2317
|
+
exp_month?: number;
|
|
2318
|
+
exp_year?: number;
|
|
2319
|
+
first6?: string;
|
|
2320
|
+
last4?: string;
|
|
2321
|
+
pan_type?: string;
|
|
2322
|
+
token?: string;
|
|
2323
|
+
wallet_payload?: string;
|
|
2324
|
+
wallet_provider?: components["schemas"]["WalletProviderType"];
|
|
2325
|
+
};
|
|
2326
|
+
bank_account_profile_attributes?: {
|
|
2327
|
+
last4?: string;
|
|
2328
|
+
account_holder_name?: string;
|
|
2329
|
+
account_holder_type?: string;
|
|
2330
|
+
account_type?: string;
|
|
2331
|
+
bank_name?: string;
|
|
2332
|
+
currency?: string;
|
|
2333
|
+
encrypted_account_number?: string;
|
|
2334
|
+
token?: string;
|
|
2335
|
+
routing_number?: string;
|
|
2336
|
+
};
|
|
2337
|
+
};
|
|
2338
|
+
CreatePaymentMethodRequest: {
|
|
2339
|
+
payment_method: components["schemas"]["CreatePaymentMethodInput"];
|
|
2340
|
+
};
|
|
2341
|
+
UpdateMerchantInput: {
|
|
2342
|
+
active?: boolean;
|
|
2343
|
+
business_category?: components["schemas"]["MerchantBusinessCategoryType"];
|
|
2344
|
+
dba_name?: string;
|
|
2345
|
+
allowed_payment_methods?: components["schemas"]["AllowedPaymentMethodInput"][];
|
|
2346
|
+
};
|
|
2347
|
+
UpdateMerchantRequest: {
|
|
2348
|
+
merchant: components["schemas"]["UpdateMerchantInput"];
|
|
2349
|
+
};
|
|
2350
|
+
UpdateLegalEntityApplicationInput: {
|
|
2351
|
+
legal_name?: string;
|
|
2352
|
+
entity_type?: components["schemas"]["LegalEntityEntityType"];
|
|
2353
|
+
ownership_type?: components["schemas"]["LegalEntityOwnershipType"];
|
|
2354
|
+
tax_id?: string;
|
|
2355
|
+
contact_email?: string;
|
|
2356
|
+
contact_phone?: string;
|
|
2357
|
+
business_address_line1?: string;
|
|
2358
|
+
business_address_line2?: string;
|
|
2359
|
+
business_city?: string;
|
|
2360
|
+
business_state?: string;
|
|
2361
|
+
business_postal_code?: string;
|
|
2362
|
+
business_country?: string;
|
|
2363
|
+
};
|
|
2364
|
+
UpdateLegalEntityApplicationRequest: {
|
|
2365
|
+
legal_entity_application: components["schemas"]["UpdateLegalEntityApplicationInput"];
|
|
2366
|
+
};
|
|
2367
|
+
UpdateLegalEntityApplicationPrincipalInput: {
|
|
2368
|
+
title?: string;
|
|
2369
|
+
first_name?: string;
|
|
2370
|
+
last_name?: string;
|
|
2371
|
+
email?: string;
|
|
2372
|
+
tax_id?: string;
|
|
2373
|
+
date_of_birth?: string;
|
|
2374
|
+
address_line1?: string;
|
|
2375
|
+
address_line2?: string;
|
|
2376
|
+
city?: string;
|
|
2377
|
+
state?: string;
|
|
2378
|
+
country?: string;
|
|
2379
|
+
postal_code?: string;
|
|
2380
|
+
stake_percent?: number;
|
|
2381
|
+
contact_phone?: string;
|
|
2382
|
+
};
|
|
2383
|
+
UpdateLegalEntityApplicationPrincipalRequest: {
|
|
2384
|
+
legal_entity_application_principal: components["schemas"]["UpdateLegalEntityApplicationPrincipalInput"];
|
|
2385
|
+
};
|
|
2386
|
+
UpdateMerchantApplicationInput: {
|
|
2387
|
+
annual_credit_card_sales_volume?: number;
|
|
2388
|
+
bank_account_number?: string;
|
|
2389
|
+
bank_routing_number?: string;
|
|
2390
|
+
business_category?: components["schemas"]["MerchantBusinessCategoryType"];
|
|
2391
|
+
business_description?: string;
|
|
2392
|
+
city?: string;
|
|
2393
|
+
country_code?: string;
|
|
2394
|
+
customer_service_number?: string;
|
|
2395
|
+
dba_name?: string;
|
|
2396
|
+
max_transaction_amount?: number;
|
|
2397
|
+
postal_code?: string;
|
|
2398
|
+
primary_contact_email_address?: string;
|
|
2399
|
+
primary_contact_first_name?: string;
|
|
2400
|
+
primary_contact_last_name?: string;
|
|
2401
|
+
primary_contact_phone?: string;
|
|
2402
|
+
state_province?: string;
|
|
2403
|
+
street_address1?: string;
|
|
2404
|
+
street_address2?: string;
|
|
2405
|
+
website_url?: string;
|
|
2406
|
+
};
|
|
2407
|
+
UpdateMerchantApplicationRequest: {
|
|
2408
|
+
merchant_application: components["schemas"]["UpdateMerchantApplicationInput"];
|
|
2244
2409
|
};
|
|
2245
2410
|
PaymentMethod: {
|
|
2246
2411
|
/** Format: uuid */
|
|
@@ -2310,8 +2475,16 @@ interface components {
|
|
|
2310
2475
|
ProcessorTransaction: {
|
|
2311
2476
|
/** Format: uuid */
|
|
2312
2477
|
id?: string;
|
|
2313
|
-
/**
|
|
2314
|
-
|
|
2478
|
+
/**
|
|
2479
|
+
* Format: uuid
|
|
2480
|
+
* @description Account the transaction was processed under. Null for setup intent verifications, which are scoped to the organization.
|
|
2481
|
+
*/
|
|
2482
|
+
account_id?: string | null;
|
|
2483
|
+
/**
|
|
2484
|
+
* Format: uuid
|
|
2485
|
+
* @description Organization the transaction belongs to.
|
|
2486
|
+
*/
|
|
2487
|
+
organization_id?: string | null;
|
|
2315
2488
|
approved?: boolean;
|
|
2316
2489
|
avs_check?: string;
|
|
2317
2490
|
avs_check_message?: string;
|
|
@@ -2325,8 +2498,6 @@ interface components {
|
|
|
2325
2498
|
payment_transaction_id?: string;
|
|
2326
2499
|
/** @enum {string} */
|
|
2327
2500
|
payment_transaction_type?: "charge" | "refund" | "void";
|
|
2328
|
-
/** Format: uuid */
|
|
2329
|
-
processor_transaction_id?: string;
|
|
2330
2501
|
processor_reference?: string;
|
|
2331
2502
|
network_transaction_id?: string;
|
|
2332
2503
|
transaction_link_id?: string;
|
|
@@ -2363,7 +2534,6 @@ interface components {
|
|
|
2363
2534
|
name?: string;
|
|
2364
2535
|
description?: string;
|
|
2365
2536
|
active?: boolean;
|
|
2366
|
-
metadata?: components["schemas"]["Metadata"];
|
|
2367
2537
|
/** Format: date-time */
|
|
2368
2538
|
created_at?: string;
|
|
2369
2539
|
/** Format: date-time */
|
|
@@ -2448,9 +2618,16 @@ interface components {
|
|
|
2448
2618
|
/** Format: date-time */
|
|
2449
2619
|
last_used_at?: string | null;
|
|
2450
2620
|
origins: components["schemas"]["Origin"][];
|
|
2621
|
+
/** Format: date-time */
|
|
2622
|
+
created_at?: string;
|
|
2623
|
+
/** Format: date-time */
|
|
2624
|
+
updated_at?: string;
|
|
2451
2625
|
};
|
|
2452
2626
|
CreateSetupIntentInput: {
|
|
2453
|
-
/**
|
|
2627
|
+
/**
|
|
2628
|
+
* Format: uuid
|
|
2629
|
+
* @description Customer on the authenticated organization.
|
|
2630
|
+
*/
|
|
2454
2631
|
customer_id?: string;
|
|
2455
2632
|
metadata?: components["schemas"]["Metadata"];
|
|
2456
2633
|
};
|
|
@@ -2471,8 +2648,16 @@ interface components {
|
|
|
2471
2648
|
SetupIntent: {
|
|
2472
2649
|
/** Format: uuid */
|
|
2473
2650
|
id?: string;
|
|
2474
|
-
/**
|
|
2475
|
-
|
|
2651
|
+
/**
|
|
2652
|
+
* Format: uuid
|
|
2653
|
+
* @description Legacy account association. Null for organization-scoped setup intents.
|
|
2654
|
+
*/
|
|
2655
|
+
account_id?: string | null;
|
|
2656
|
+
/**
|
|
2657
|
+
* Format: uuid
|
|
2658
|
+
* @description Organization that owns the setup intent.
|
|
2659
|
+
*/
|
|
2660
|
+
organization_id?: string;
|
|
2476
2661
|
/** Format: uuid */
|
|
2477
2662
|
customer_id?: string;
|
|
2478
2663
|
metadata?: components["schemas"]["Metadata"];
|
|
@@ -2517,9 +2702,12 @@ interface components {
|
|
|
2517
2702
|
Subscription: {
|
|
2518
2703
|
/** Format: uuid */
|
|
2519
2704
|
id?: string;
|
|
2520
|
-
/** Format: uuid */
|
|
2521
|
-
account_id?: string;
|
|
2522
2705
|
amount?: number;
|
|
2706
|
+
/** Format: date-time */
|
|
2707
|
+
cancel_at?: string | null;
|
|
2708
|
+
cancel_at_period_end?: boolean;
|
|
2709
|
+
/** Format: date-time */
|
|
2710
|
+
cancelled_at?: string | null;
|
|
2523
2711
|
currency?: string;
|
|
2524
2712
|
cycles?: number;
|
|
2525
2713
|
/** Format: uuid */
|
|
@@ -2530,6 +2718,9 @@ interface components {
|
|
|
2530
2718
|
payment_method_id?: string;
|
|
2531
2719
|
interval?: components["schemas"]["SubscriptionIntervalType"];
|
|
2532
2720
|
interval_count?: number;
|
|
2721
|
+
metadata?: components["schemas"]["Metadata"];
|
|
2722
|
+
/** Format: date-time */
|
|
2723
|
+
start_at?: string | null;
|
|
2533
2724
|
/** @enum {string} */
|
|
2534
2725
|
state?: "active" | "paused" | "past_due" | "cancelled";
|
|
2535
2726
|
cycles_completed?: number;
|
|
@@ -2540,8 +2731,6 @@ interface components {
|
|
|
2540
2731
|
/** Format: date-time */
|
|
2541
2732
|
current_billing_period_end?: string;
|
|
2542
2733
|
/** Format: date-time */
|
|
2543
|
-
trial_ends_at?: string | null;
|
|
2544
|
-
/** Format: date-time */
|
|
2545
2734
|
created_at?: string;
|
|
2546
2735
|
/** Format: date-time */
|
|
2547
2736
|
updated_at?: string;
|
|
@@ -2700,6 +2889,11 @@ interface components {
|
|
|
2700
2889
|
WebhookRequest: {
|
|
2701
2890
|
id?: string;
|
|
2702
2891
|
/** Format: uuid */
|
|
2892
|
+
eventable_id?: string;
|
|
2893
|
+
eventable_type?: string;
|
|
2894
|
+
/** Format: uuid */
|
|
2895
|
+
organization_id?: string;
|
|
2896
|
+
/** Format: uuid */
|
|
2703
2897
|
webhook_endpoint_id?: string;
|
|
2704
2898
|
/** Format: date-time */
|
|
2705
2899
|
expires_at?: string;
|
|
@@ -2713,6 +2907,8 @@ interface components {
|
|
|
2713
2907
|
responses: never;
|
|
2714
2908
|
parameters: {
|
|
2715
2909
|
XIdempotencyHeader: string;
|
|
2910
|
+
/** @description Render template JWT required to create a payment or setup intent. */
|
|
2911
|
+
XRenderTokenHeader: string;
|
|
2716
2912
|
/** @description The ID of the customer to filter by */
|
|
2717
2913
|
CustomerIdQuery: string;
|
|
2718
2914
|
/** @description Exact email match (case-insensitive). For substring search, use `q`. */
|
|
@@ -2749,6 +2945,22 @@ interface components {
|
|
|
2749
2945
|
OriginQQuery: string;
|
|
2750
2946
|
/** @description The ID of the webhook request to filter by */
|
|
2751
2947
|
WebhookRequestIdQuery: string;
|
|
2948
|
+
/** @description The customer ID to filter by */
|
|
2949
|
+
OptionalCustomerIdQuery: string;
|
|
2950
|
+
DbaNameQuery: string;
|
|
2951
|
+
LegalEntityIdQuery: string;
|
|
2952
|
+
LegalNameQuery: string;
|
|
2953
|
+
/** @description Filter payment intents by id */
|
|
2954
|
+
PaymentIntentRecordIdQuery: string;
|
|
2955
|
+
ProcessorReferenceQuery: string;
|
|
2956
|
+
OriginalTransactionIdQuery: string;
|
|
2957
|
+
SubscriptionStateQuery: string;
|
|
2958
|
+
ExternalReferenceQuery: string;
|
|
2959
|
+
PaymentSnapshotStateQuery: string;
|
|
2960
|
+
WebhookEndpointIdQuery: string;
|
|
2961
|
+
WebhookEventQuery: string;
|
|
2962
|
+
EventableIdQuery: string;
|
|
2963
|
+
WebhookSuccessQuery: boolean;
|
|
2752
2964
|
};
|
|
2753
2965
|
requestBodies: never;
|
|
2754
2966
|
headers: never;
|
|
@@ -2842,6 +3054,8 @@ interface operations {
|
|
|
2842
3054
|
per_page?: components["parameters"]["PerPageQuery"];
|
|
2843
3055
|
/** @description The ID of the payment intent to filter by */
|
|
2844
3056
|
payment_intent_id?: components["parameters"]["PaymentIntentIdQuery"];
|
|
3057
|
+
/** @description The customer ID to filter by */
|
|
3058
|
+
customer_id?: components["parameters"]["OptionalCustomerIdQuery"];
|
|
2845
3059
|
};
|
|
2846
3060
|
header?: never;
|
|
2847
3061
|
path?: never;
|
|
@@ -2980,7 +3194,10 @@ interface operations {
|
|
|
2980
3194
|
"application/json": components["schemas"]["Customer"];
|
|
2981
3195
|
};
|
|
2982
3196
|
};
|
|
2983
|
-
/**
|
|
3197
|
+
/**
|
|
3198
|
+
* @description Email and phone match different customers, or the email is new and
|
|
3199
|
+
* the phone already belongs to another customer.
|
|
3200
|
+
*/
|
|
2984
3201
|
409: {
|
|
2985
3202
|
headers: {
|
|
2986
3203
|
[name: string]: unknown;
|
|
@@ -3503,6 +3720,41 @@ interface operations {
|
|
|
3503
3720
|
};
|
|
3504
3721
|
};
|
|
3505
3722
|
};
|
|
3723
|
+
UpdateLegalEntityApplication: {
|
|
3724
|
+
parameters: {
|
|
3725
|
+
query?: never;
|
|
3726
|
+
header?: never;
|
|
3727
|
+
path: {
|
|
3728
|
+
id: string;
|
|
3729
|
+
};
|
|
3730
|
+
cookie?: never;
|
|
3731
|
+
};
|
|
3732
|
+
requestBody: {
|
|
3733
|
+
content: {
|
|
3734
|
+
"application/json": components["schemas"]["UpdateLegalEntityApplicationRequest"];
|
|
3735
|
+
};
|
|
3736
|
+
};
|
|
3737
|
+
responses: {
|
|
3738
|
+
/** @description Legal entity application updated successfully */
|
|
3739
|
+
200: {
|
|
3740
|
+
headers: {
|
|
3741
|
+
[name: string]: unknown;
|
|
3742
|
+
};
|
|
3743
|
+
content: {
|
|
3744
|
+
"application/json": components["schemas"]["LegalEntityApplication"];
|
|
3745
|
+
};
|
|
3746
|
+
};
|
|
3747
|
+
/** @description Unprocessable entity */
|
|
3748
|
+
422: {
|
|
3749
|
+
headers: {
|
|
3750
|
+
[name: string]: unknown;
|
|
3751
|
+
};
|
|
3752
|
+
content: {
|
|
3753
|
+
"application/json": components["schemas"]["Error"];
|
|
3754
|
+
};
|
|
3755
|
+
};
|
|
3756
|
+
};
|
|
3757
|
+
};
|
|
3506
3758
|
SubmitLegalEntityApplication: {
|
|
3507
3759
|
parameters: {
|
|
3508
3760
|
query?: never;
|
|
@@ -3627,6 +3879,41 @@ interface operations {
|
|
|
3627
3879
|
};
|
|
3628
3880
|
};
|
|
3629
3881
|
};
|
|
3882
|
+
UpdateLegalEntityApplicationPrincipal: {
|
|
3883
|
+
parameters: {
|
|
3884
|
+
query?: never;
|
|
3885
|
+
header?: never;
|
|
3886
|
+
path: {
|
|
3887
|
+
id: string;
|
|
3888
|
+
};
|
|
3889
|
+
cookie?: never;
|
|
3890
|
+
};
|
|
3891
|
+
requestBody: {
|
|
3892
|
+
content: {
|
|
3893
|
+
"application/json": components["schemas"]["UpdateLegalEntityApplicationPrincipalRequest"];
|
|
3894
|
+
};
|
|
3895
|
+
};
|
|
3896
|
+
responses: {
|
|
3897
|
+
/** @description Legal entity application principal updated successfully */
|
|
3898
|
+
200: {
|
|
3899
|
+
headers: {
|
|
3900
|
+
[name: string]: unknown;
|
|
3901
|
+
};
|
|
3902
|
+
content: {
|
|
3903
|
+
"application/json": components["schemas"]["LegalEntityApplicationPrincipal"];
|
|
3904
|
+
};
|
|
3905
|
+
};
|
|
3906
|
+
/** @description Unprocessable entity */
|
|
3907
|
+
422: {
|
|
3908
|
+
headers: {
|
|
3909
|
+
[name: string]: unknown;
|
|
3910
|
+
};
|
|
3911
|
+
content: {
|
|
3912
|
+
"application/json": components["schemas"]["Error"];
|
|
3913
|
+
};
|
|
3914
|
+
};
|
|
3915
|
+
};
|
|
3916
|
+
};
|
|
3630
3917
|
ListLegalEntityPrincipals: {
|
|
3631
3918
|
parameters: {
|
|
3632
3919
|
query: {
|
|
@@ -3743,6 +4030,42 @@ interface operations {
|
|
|
3743
4030
|
};
|
|
3744
4031
|
};
|
|
3745
4032
|
};
|
|
4033
|
+
UpdateMerchantApplication: {
|
|
4034
|
+
parameters: {
|
|
4035
|
+
query?: never;
|
|
4036
|
+
header?: never;
|
|
4037
|
+
path: {
|
|
4038
|
+
/** @description The ID of the merchant application to update */
|
|
4039
|
+
id: string;
|
|
4040
|
+
};
|
|
4041
|
+
cookie?: never;
|
|
4042
|
+
};
|
|
4043
|
+
requestBody: {
|
|
4044
|
+
content: {
|
|
4045
|
+
"application/json": components["schemas"]["UpdateMerchantApplicationRequest"];
|
|
4046
|
+
};
|
|
4047
|
+
};
|
|
4048
|
+
responses: {
|
|
4049
|
+
/** @description Merchant application updated successfully */
|
|
4050
|
+
200: {
|
|
4051
|
+
headers: {
|
|
4052
|
+
[name: string]: unknown;
|
|
4053
|
+
};
|
|
4054
|
+
content: {
|
|
4055
|
+
"application/json": components["schemas"]["MerchantApplication"];
|
|
4056
|
+
};
|
|
4057
|
+
};
|
|
4058
|
+
/** @description Unprocessable entity */
|
|
4059
|
+
422: {
|
|
4060
|
+
headers: {
|
|
4061
|
+
[name: string]: unknown;
|
|
4062
|
+
};
|
|
4063
|
+
content: {
|
|
4064
|
+
"application/json": components["schemas"]["Error"];
|
|
4065
|
+
};
|
|
4066
|
+
};
|
|
4067
|
+
};
|
|
4068
|
+
};
|
|
3746
4069
|
ListMerchants: {
|
|
3747
4070
|
parameters: {
|
|
3748
4071
|
query?: {
|
|
@@ -3750,6 +4073,9 @@ interface operations {
|
|
|
3750
4073
|
page?: components["parameters"]["PageQuery"];
|
|
3751
4074
|
/** @description Number of results per page. */
|
|
3752
4075
|
per_page?: components["parameters"]["PerPageQuery"];
|
|
4076
|
+
dba_name?: components["parameters"]["DbaNameQuery"];
|
|
4077
|
+
legal_entity_id?: components["parameters"]["LegalEntityIdQuery"];
|
|
4078
|
+
legal_name?: components["parameters"]["LegalNameQuery"];
|
|
3753
4079
|
};
|
|
3754
4080
|
header?: never;
|
|
3755
4081
|
path?: never;
|
|
@@ -3794,6 +4120,42 @@ interface operations {
|
|
|
3794
4120
|
};
|
|
3795
4121
|
};
|
|
3796
4122
|
};
|
|
4123
|
+
UpdateMerchant: {
|
|
4124
|
+
parameters: {
|
|
4125
|
+
query?: never;
|
|
4126
|
+
header?: never;
|
|
4127
|
+
path: {
|
|
4128
|
+
/** @description The ID of the merchant to update */
|
|
4129
|
+
id: string;
|
|
4130
|
+
};
|
|
4131
|
+
cookie?: never;
|
|
4132
|
+
};
|
|
4133
|
+
requestBody: {
|
|
4134
|
+
content: {
|
|
4135
|
+
"application/json": components["schemas"]["UpdateMerchantRequest"];
|
|
4136
|
+
};
|
|
4137
|
+
};
|
|
4138
|
+
responses: {
|
|
4139
|
+
/** @description Merchant updated successfully */
|
|
4140
|
+
200: {
|
|
4141
|
+
headers: {
|
|
4142
|
+
[name: string]: unknown;
|
|
4143
|
+
};
|
|
4144
|
+
content: {
|
|
4145
|
+
"application/json": components["schemas"]["Merchant"];
|
|
4146
|
+
};
|
|
4147
|
+
};
|
|
4148
|
+
/** @description Unprocessable entity */
|
|
4149
|
+
422: {
|
|
4150
|
+
headers: {
|
|
4151
|
+
[name: string]: unknown;
|
|
4152
|
+
};
|
|
4153
|
+
content: {
|
|
4154
|
+
"application/json": components["schemas"]["Error"];
|
|
4155
|
+
};
|
|
4156
|
+
};
|
|
4157
|
+
};
|
|
4158
|
+
};
|
|
3797
4159
|
GetOrganization: {
|
|
3798
4160
|
parameters: {
|
|
3799
4161
|
query?: never;
|
|
@@ -4033,6 +4395,9 @@ interface operations {
|
|
|
4033
4395
|
page?: components["parameters"]["PageQuery"];
|
|
4034
4396
|
/** @description Number of results per page. */
|
|
4035
4397
|
per_page?: components["parameters"]["PerPageQuery"];
|
|
4398
|
+
/** @description Filter payment intents by id */
|
|
4399
|
+
id?: components["parameters"]["PaymentIntentRecordIdQuery"];
|
|
4400
|
+
processor_reference?: components["parameters"]["ProcessorReferenceQuery"];
|
|
4036
4401
|
};
|
|
4037
4402
|
header?: never;
|
|
4038
4403
|
path?: never;
|
|
@@ -4057,7 +4422,10 @@ interface operations {
|
|
|
4057
4422
|
CreatePaymentIntent: {
|
|
4058
4423
|
parameters: {
|
|
4059
4424
|
query?: never;
|
|
4060
|
-
header
|
|
4425
|
+
header: {
|
|
4426
|
+
/** @description Render template JWT required to create a payment or setup intent. */
|
|
4427
|
+
"X-Render-Token": components["parameters"]["XRenderTokenHeader"];
|
|
4428
|
+
};
|
|
4061
4429
|
path?: never;
|
|
4062
4430
|
cookie?: never;
|
|
4063
4431
|
};
|
|
@@ -4076,7 +4444,7 @@ interface operations {
|
|
|
4076
4444
|
"application/json": components["schemas"]["EmbedToken"];
|
|
4077
4445
|
};
|
|
4078
4446
|
};
|
|
4079
|
-
/** @description Unprocessable entity */
|
|
4447
|
+
/** @description Unprocessable entity, including a missing X-Render-Token header. */
|
|
4080
4448
|
422: {
|
|
4081
4449
|
headers: {
|
|
4082
4450
|
[name: string]: unknown;
|
|
@@ -4344,6 +4712,39 @@ interface operations {
|
|
|
4344
4712
|
};
|
|
4345
4713
|
};
|
|
4346
4714
|
};
|
|
4715
|
+
CreatePaymentMethod: {
|
|
4716
|
+
parameters: {
|
|
4717
|
+
query?: never;
|
|
4718
|
+
header?: never;
|
|
4719
|
+
path?: never;
|
|
4720
|
+
cookie?: never;
|
|
4721
|
+
};
|
|
4722
|
+
requestBody: {
|
|
4723
|
+
content: {
|
|
4724
|
+
"application/json": components["schemas"]["CreatePaymentMethodRequest"];
|
|
4725
|
+
};
|
|
4726
|
+
};
|
|
4727
|
+
responses: {
|
|
4728
|
+
/** @description Payment method created successfully */
|
|
4729
|
+
201: {
|
|
4730
|
+
headers: {
|
|
4731
|
+
[name: string]: unknown;
|
|
4732
|
+
};
|
|
4733
|
+
content: {
|
|
4734
|
+
"application/json": components["schemas"]["PaymentMethod"];
|
|
4735
|
+
};
|
|
4736
|
+
};
|
|
4737
|
+
/** @description Unprocessable entity */
|
|
4738
|
+
422: {
|
|
4739
|
+
headers: {
|
|
4740
|
+
[name: string]: unknown;
|
|
4741
|
+
};
|
|
4742
|
+
content: {
|
|
4743
|
+
"application/json": components["schemas"]["Error"];
|
|
4744
|
+
};
|
|
4745
|
+
};
|
|
4746
|
+
};
|
|
4747
|
+
};
|
|
4347
4748
|
GetPaymentMethod: {
|
|
4348
4749
|
parameters: {
|
|
4349
4750
|
query?: never;
|
|
@@ -4514,6 +4915,7 @@ interface operations {
|
|
|
4514
4915
|
payment_method_id?: components["parameters"]["PaymentMethodIdQuery"];
|
|
4515
4916
|
/** @description The ID of the payment transaction to filter by */
|
|
4516
4917
|
payment_transaction_id?: components["parameters"]["PaymentTransactionIdQuery"];
|
|
4918
|
+
original_transaction_id?: components["parameters"]["OriginalTransactionIdQuery"];
|
|
4517
4919
|
};
|
|
4518
4920
|
header?: never;
|
|
4519
4921
|
path?: never;
|
|
@@ -5003,7 +5405,10 @@ interface operations {
|
|
|
5003
5405
|
CreateSetupIntent: {
|
|
5004
5406
|
parameters: {
|
|
5005
5407
|
query?: never;
|
|
5006
|
-
header
|
|
5408
|
+
header: {
|
|
5409
|
+
/** @description Render template JWT required to create a payment or setup intent. */
|
|
5410
|
+
"X-Render-Token": components["parameters"]["XRenderTokenHeader"];
|
|
5411
|
+
};
|
|
5007
5412
|
path?: never;
|
|
5008
5413
|
cookie?: never;
|
|
5009
5414
|
};
|
|
@@ -5022,7 +5427,7 @@ interface operations {
|
|
|
5022
5427
|
"application/json": components["schemas"]["EmbedToken"];
|
|
5023
5428
|
};
|
|
5024
5429
|
};
|
|
5025
|
-
/** @description Unprocessable entity */
|
|
5430
|
+
/** @description Unprocessable entity, including a missing X-Render-Token header. */
|
|
5026
5431
|
422: {
|
|
5027
5432
|
headers: {
|
|
5028
5433
|
[name: string]: unknown;
|
|
@@ -5040,6 +5445,8 @@ interface operations {
|
|
|
5040
5445
|
page?: components["parameters"]["PageQuery"];
|
|
5041
5446
|
/** @description Number of results per page. */
|
|
5042
5447
|
per_page?: components["parameters"]["PerPageQuery"];
|
|
5448
|
+
/** @description Exact name match (case-insensitive). For substring search, use `q`. */
|
|
5449
|
+
name?: components["parameters"]["NameQuery"];
|
|
5043
5450
|
};
|
|
5044
5451
|
header?: never;
|
|
5045
5452
|
path?: never;
|
|
@@ -5124,6 +5531,7 @@ interface operations {
|
|
|
5124
5531
|
page?: components["parameters"]["PageQuery"];
|
|
5125
5532
|
/** @description Number of results per page. */
|
|
5126
5533
|
per_page?: components["parameters"]["PerPageQuery"];
|
|
5534
|
+
state?: components["parameters"]["SubscriptionStateQuery"];
|
|
5127
5535
|
};
|
|
5128
5536
|
header?: never;
|
|
5129
5537
|
path?: never;
|
|
@@ -5579,6 +5987,10 @@ interface operations {
|
|
|
5579
5987
|
page?: components["parameters"]["PageQuery"];
|
|
5580
5988
|
/** @description Number of results per page. */
|
|
5581
5989
|
per_page?: components["parameters"]["PerPageQuery"];
|
|
5990
|
+
webhook_endpoint_id?: components["parameters"]["WebhookEndpointIdQuery"];
|
|
5991
|
+
success?: components["parameters"]["WebhookSuccessQuery"];
|
|
5992
|
+
event?: components["parameters"]["WebhookEventQuery"];
|
|
5993
|
+
eventable_id?: components["parameters"]["EventableIdQuery"];
|
|
5582
5994
|
};
|
|
5583
5995
|
header?: never;
|
|
5584
5996
|
path?: never;
|
|
@@ -5666,7 +6078,6 @@ declare const bankAccountProfileFailure_reasonValues: ReadonlyArray<FlattenedDee
|
|
|
5666
6078
|
declare const cardProfileFailure_reasonValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["CardProfile"]["failure_reason"]>;
|
|
5667
6079
|
declare const chargeAllowed_reverse_actionValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Charge"]["allowed_reverse_action"]>;
|
|
5668
6080
|
declare const chargeStateValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Charge"]["state"]>;
|
|
5669
|
-
declare const dunningConfigurationExhaustedActionTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["DunningConfigurationExhaustedActionType"]>;
|
|
5670
6081
|
declare const externalAccountTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["ExternalAccount"]["type"]>;
|
|
5671
6082
|
declare const legalEntityEntityTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["LegalEntityEntityType"]>;
|
|
5672
6083
|
declare const legalEntityOwnershipTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["LegalEntityOwnershipType"]>;
|
|
@@ -5746,4 +6157,4 @@ declare function createPayApiClient(options: ClientOptions): openapi_fetch.Clien
|
|
|
5746
6157
|
/** A configured Amos Pay API client returned by {@link createPayApiClient}. */
|
|
5747
6158
|
type PayApiClient = ReturnType<typeof createPayApiClient>;
|
|
5748
6159
|
|
|
5749
|
-
export { type $defs, AMOS_API_BASE_URL_PRODUCTION, AMOS_API_BASE_URL_SANDBOX, AMOS_API_VERSION, type PayApiClient, allowedApplePayPaymentMethodInputTypeValues, allowedApplePayPaymentMethodTypeValues, allowedBankAccountPaymentMethodInputTypeValues, allowedBankAccountPaymentMethodTypeValues, allowedCardPaymentMethodInputTypeValues, allowedCardPaymentMethodTypeValues, allowedGooglePayPaymentMethodInputTypeValues, allowedGooglePayPaymentMethodTypeValues, bankAccountProfileFailure_reasonValues, cardProfileFailure_reasonValues, chargeAllowed_reverse_actionValues, chargeStateValues, type components, createPayApiClient,
|
|
6160
|
+
export { type $defs, AMOS_API_BASE_URL_PRODUCTION, AMOS_API_BASE_URL_SANDBOX, AMOS_API_VERSION, type PayApiClient, allowedApplePayPaymentMethodInputTypeValues, allowedApplePayPaymentMethodTypeValues, allowedBankAccountPaymentMethodInputTypeValues, allowedBankAccountPaymentMethodTypeValues, allowedCardPaymentMethodInputTypeValues, allowedCardPaymentMethodTypeValues, allowedGooglePayPaymentMethodInputTypeValues, allowedGooglePayPaymentMethodTypeValues, bankAccountProfileFailure_reasonValues, cardProfileFailure_reasonValues, chargeAllowed_reverse_actionValues, chargeStateValues, type components, createPayApiClient, embedConfirmApplePayPaymentMethodInputTypeValues, embedConfirmBankAccountPaymentMethodInputTypeValues, embedConfirmCardPaymentMethodInputTypeValues, embedConfirmGooglePayPaymentMethodInputTypeValues, externalAccountTypeValues, internationalBillingAddressOptionsModeValues, legalEntityDocumentTypeValues, legalEntityEntityTypeValues, legalEntityOwnershipTypeValues, merchantBusinessCategoryTypeValues, type operations, organizationKindValues, originApplepayRegistrationStateTypeValues, type paths, paymentIntentCaptureMethodTypeValues, paymentIntentStateValues, paymentLinkAmountTypeValues, paymentMethodTypeValues, payoutDirectionTypeValues, payoutStateTypeValues, processorTransactionPayment_transaction_typeValues, processorTransactionTransaction_typeValues, refundAllowed_reverse_actionValues, refundStateTypeValues, setupIntentStateValues, subscriptionIntervalTypeValues, subscriptionPlanTypeValues, subscriptionStateValues, transactionSourceTypeValues, usOnlyBillingAddressOptionsModeValues, usStateTypeValues, walletProviderTypeValues, webhookEventTypeValues, type webhooks };
|