@amos.com/node 0.1.61 → 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 +399 -27
- package/dist/index.d.ts +399 -27
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/openapi/schema.ts +399 -27
- package/package.json +1 -1
package/openapi/schema.ts
CHANGED
|
@@ -301,7 +301,8 @@ export interface paths {
|
|
|
301
301
|
};
|
|
302
302
|
/** Retrieve a legal entity application by ID */
|
|
303
303
|
get: operations["GetLegalEntityApplication"];
|
|
304
|
-
|
|
304
|
+
/** Update a pending legal entity application */
|
|
305
|
+
put: operations["UpdateLegalEntityApplication"];
|
|
305
306
|
post?: never;
|
|
306
307
|
delete?: never;
|
|
307
308
|
options?: never;
|
|
@@ -369,7 +370,8 @@ export interface paths {
|
|
|
369
370
|
};
|
|
370
371
|
/** Retrieve a legal entity application principal by ID */
|
|
371
372
|
get: operations["GetLegalEntityApplicationPrincipal"];
|
|
372
|
-
|
|
373
|
+
/** Update a legal entity application principal */
|
|
374
|
+
put: operations["UpdateLegalEntityApplicationPrincipal"];
|
|
373
375
|
post?: never;
|
|
374
376
|
delete?: never;
|
|
375
377
|
options?: never;
|
|
@@ -437,7 +439,8 @@ export interface paths {
|
|
|
437
439
|
};
|
|
438
440
|
/** Retrieve a merchant application by ID */
|
|
439
441
|
get: operations["GetMerchantApplication"];
|
|
440
|
-
|
|
442
|
+
/** Update a pending merchant application */
|
|
443
|
+
put: operations["UpdateMerchantApplication"];
|
|
441
444
|
post?: never;
|
|
442
445
|
delete?: never;
|
|
443
446
|
options?: never;
|
|
@@ -476,7 +479,8 @@ export interface paths {
|
|
|
476
479
|
delete?: never;
|
|
477
480
|
options?: never;
|
|
478
481
|
head?: never;
|
|
479
|
-
|
|
482
|
+
/** Update a merchant by ID */
|
|
483
|
+
patch: operations["UpdateMerchant"];
|
|
480
484
|
trace?: never;
|
|
481
485
|
};
|
|
482
486
|
"/organization": {
|
|
@@ -690,7 +694,8 @@ export interface paths {
|
|
|
690
694
|
*/
|
|
691
695
|
get: operations["ListPaymentMethods"];
|
|
692
696
|
put?: never;
|
|
693
|
-
|
|
697
|
+
/** Create a payment method */
|
|
698
|
+
post: operations["CreatePaymentMethod"];
|
|
694
699
|
delete?: never;
|
|
695
700
|
options?: never;
|
|
696
701
|
head?: never;
|
|
@@ -862,9 +867,9 @@ export interface paths {
|
|
|
862
867
|
cookie?: never;
|
|
863
868
|
};
|
|
864
869
|
get?: never;
|
|
870
|
+
put?: never;
|
|
865
871
|
/** Cancel a refund */
|
|
866
|
-
|
|
867
|
-
post?: never;
|
|
872
|
+
post: operations["CancelRefund"];
|
|
868
873
|
delete?: never;
|
|
869
874
|
options?: never;
|
|
870
875
|
head?: never;
|
|
@@ -1434,7 +1439,6 @@ export interface components {
|
|
|
1434
1439
|
/** Format: uuid */
|
|
1435
1440
|
id?: string;
|
|
1436
1441
|
name?: string;
|
|
1437
|
-
active?: boolean;
|
|
1438
1442
|
/** Format: uuid */
|
|
1439
1443
|
merchant_id?: string;
|
|
1440
1444
|
/** Format: uuid */
|
|
@@ -1505,8 +1509,6 @@ export interface components {
|
|
|
1505
1509
|
Customer: {
|
|
1506
1510
|
/** Format: uuid */
|
|
1507
1511
|
id?: string;
|
|
1508
|
-
/** Format: uuid */
|
|
1509
|
-
account_id?: string;
|
|
1510
1512
|
email?: string;
|
|
1511
1513
|
metadata?: components["schemas"]["Metadata"];
|
|
1512
1514
|
name?: string;
|
|
@@ -1588,6 +1590,10 @@ export interface components {
|
|
|
1588
1590
|
purpose: string;
|
|
1589
1591
|
state: string;
|
|
1590
1592
|
download: components["schemas"]["FileDownloadConfiguration"];
|
|
1593
|
+
/** Format: date-time */
|
|
1594
|
+
created_at?: string;
|
|
1595
|
+
/** Format: date-time */
|
|
1596
|
+
updated_at?: string;
|
|
1591
1597
|
};
|
|
1592
1598
|
FileDownloadConfiguration: {
|
|
1593
1599
|
/** Format: uri */
|
|
@@ -1604,6 +1610,10 @@ export interface components {
|
|
|
1604
1610
|
purpose: string;
|
|
1605
1611
|
state: string;
|
|
1606
1612
|
upload: components["schemas"]["FileUploadConfiguration"];
|
|
1613
|
+
/** Format: date-time */
|
|
1614
|
+
created_at?: string;
|
|
1615
|
+
/** Format: date-time */
|
|
1616
|
+
updated_at?: string;
|
|
1607
1617
|
};
|
|
1608
1618
|
FileUploadConfiguration: {
|
|
1609
1619
|
/** Format: uri */
|
|
@@ -1637,6 +1647,8 @@ export interface components {
|
|
|
1637
1647
|
byte_size?: number;
|
|
1638
1648
|
/** Format: date-time */
|
|
1639
1649
|
created_at?: string;
|
|
1650
|
+
/** Format: date-time */
|
|
1651
|
+
updated_at?: string;
|
|
1640
1652
|
};
|
|
1641
1653
|
CreateLegalEntityApplicationPrincipalInput: {
|
|
1642
1654
|
/** Format: uuid */
|
|
@@ -1678,6 +1690,10 @@ export interface components {
|
|
|
1678
1690
|
contact_phone?: string;
|
|
1679
1691
|
tax_id_last4?: string;
|
|
1680
1692
|
title?: string;
|
|
1693
|
+
/** Format: date-time */
|
|
1694
|
+
created_at?: string;
|
|
1695
|
+
/** Format: date-time */
|
|
1696
|
+
updated_at?: string;
|
|
1681
1697
|
};
|
|
1682
1698
|
LegalEntityPrincipal: {
|
|
1683
1699
|
/** Format: uuid */
|
|
@@ -1697,6 +1713,10 @@ export interface components {
|
|
|
1697
1713
|
postal_code?: string;
|
|
1698
1714
|
contact_phone?: string;
|
|
1699
1715
|
tax_id_last4?: string;
|
|
1716
|
+
/** Format: date-time */
|
|
1717
|
+
created_at?: string;
|
|
1718
|
+
/** Format: date-time */
|
|
1719
|
+
updated_at?: string;
|
|
1700
1720
|
};
|
|
1701
1721
|
/** @enum {string} */
|
|
1702
1722
|
LegalEntityEntityType: "individual_sole_proprietorship" | "corporation" | "limited_liability_company" | "partnership" | "limited_partnership" | "general_partnership" | "tax_exempt_organization" | "government_agency";
|
|
@@ -1918,6 +1938,10 @@ export interface components {
|
|
|
1918
1938
|
satisfied_at?: string | null;
|
|
1919
1939
|
/** Format: date-time */
|
|
1920
1940
|
waived_at?: string | null;
|
|
1941
|
+
/** Format: date-time */
|
|
1942
|
+
created_at?: string;
|
|
1943
|
+
/** Format: date-time */
|
|
1944
|
+
updated_at?: string;
|
|
1921
1945
|
};
|
|
1922
1946
|
LegalEntity: {
|
|
1923
1947
|
/** Format: uuid */
|
|
@@ -1940,6 +1964,8 @@ export interface components {
|
|
|
1940
1964
|
tax_id_last4?: string;
|
|
1941
1965
|
/** Format: date-time */
|
|
1942
1966
|
created_at?: string;
|
|
1967
|
+
/** Format: date-time */
|
|
1968
|
+
updated_at?: string;
|
|
1943
1969
|
};
|
|
1944
1970
|
LegalEntityApplication: {
|
|
1945
1971
|
/** Format: uuid */
|
|
@@ -2003,7 +2029,6 @@ export interface components {
|
|
|
2003
2029
|
/** Format: uuid */
|
|
2004
2030
|
id?: string;
|
|
2005
2031
|
annual_credit_card_sales_volume?: number;
|
|
2006
|
-
allowed_payment_methods?: components["schemas"]["AllowedPaymentMethod"][];
|
|
2007
2032
|
business_category?: components["schemas"]["MerchantBusinessCategoryType"];
|
|
2008
2033
|
business_description?: string;
|
|
2009
2034
|
city?: string;
|
|
@@ -2017,8 +2042,11 @@ export interface components {
|
|
|
2017
2042
|
has_accepted_credit_cards?: boolean;
|
|
2018
2043
|
/** Format: uuid */
|
|
2019
2044
|
legal_entity_application_id?: string;
|
|
2020
|
-
|
|
2021
|
-
|
|
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;
|
|
2022
2050
|
max_transaction_amount?: string;
|
|
2023
2051
|
mcc?: string;
|
|
2024
2052
|
postal_code?: string;
|
|
@@ -2028,10 +2056,15 @@ export interface components {
|
|
|
2028
2056
|
primary_contact_phone?: string;
|
|
2029
2057
|
purchase_currency?: string;
|
|
2030
2058
|
settlement_currency?: string;
|
|
2059
|
+
settlement_days?: number;
|
|
2031
2060
|
state_province?: string;
|
|
2032
2061
|
street_address1?: string;
|
|
2033
2062
|
street_address2?: string;
|
|
2034
2063
|
website_url?: string;
|
|
2064
|
+
/** Format: date-time */
|
|
2065
|
+
created_at?: string;
|
|
2066
|
+
/** Format: date-time */
|
|
2067
|
+
updated_at?: string;
|
|
2035
2068
|
};
|
|
2036
2069
|
Merchant: {
|
|
2037
2070
|
/** Format: uuid */
|
|
@@ -2172,7 +2205,6 @@ export interface components {
|
|
|
2172
2205
|
recurring_payment?: components["schemas"]["RecurringPayment"];
|
|
2173
2206
|
/** Format: uuid */
|
|
2174
2207
|
payment_method_id?: string;
|
|
2175
|
-
source?: components["schemas"]["TransactionSourceType"];
|
|
2176
2208
|
/** @enum {string} */
|
|
2177
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";
|
|
2178
2210
|
statement_descriptor?: string;
|
|
@@ -2264,6 +2296,113 @@ export interface components {
|
|
|
2264
2296
|
cancel_url?: string;
|
|
2265
2297
|
allowed_payment_methods?: components["schemas"]["AllowedPaymentMethod"][];
|
|
2266
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"];
|
|
2267
2406
|
};
|
|
2268
2407
|
PaymentMethod: {
|
|
2269
2408
|
/** Format: uuid */
|
|
@@ -2333,8 +2472,16 @@ export interface components {
|
|
|
2333
2472
|
ProcessorTransaction: {
|
|
2334
2473
|
/** Format: uuid */
|
|
2335
2474
|
id?: string;
|
|
2336
|
-
/**
|
|
2337
|
-
|
|
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;
|
|
2338
2485
|
approved?: boolean;
|
|
2339
2486
|
avs_check?: string;
|
|
2340
2487
|
avs_check_message?: string;
|
|
@@ -2348,8 +2495,6 @@ export interface components {
|
|
|
2348
2495
|
payment_transaction_id?: string;
|
|
2349
2496
|
/** @enum {string} */
|
|
2350
2497
|
payment_transaction_type?: "charge" | "refund" | "void";
|
|
2351
|
-
/** Format: uuid */
|
|
2352
|
-
processor_transaction_id?: string;
|
|
2353
2498
|
processor_reference?: string;
|
|
2354
2499
|
network_transaction_id?: string;
|
|
2355
2500
|
transaction_link_id?: string;
|
|
@@ -2386,7 +2531,6 @@ export interface components {
|
|
|
2386
2531
|
name?: string;
|
|
2387
2532
|
description?: string;
|
|
2388
2533
|
active?: boolean;
|
|
2389
|
-
metadata?: components["schemas"]["Metadata"];
|
|
2390
2534
|
/** Format: date-time */
|
|
2391
2535
|
created_at?: string;
|
|
2392
2536
|
/** Format: date-time */
|
|
@@ -2471,6 +2615,10 @@ export interface components {
|
|
|
2471
2615
|
/** Format: date-time */
|
|
2472
2616
|
last_used_at?: string | null;
|
|
2473
2617
|
origins: components["schemas"]["Origin"][];
|
|
2618
|
+
/** Format: date-time */
|
|
2619
|
+
created_at?: string;
|
|
2620
|
+
/** Format: date-time */
|
|
2621
|
+
updated_at?: string;
|
|
2474
2622
|
};
|
|
2475
2623
|
CreateSetupIntentInput: {
|
|
2476
2624
|
/**
|
|
@@ -2551,9 +2699,12 @@ export interface components {
|
|
|
2551
2699
|
Subscription: {
|
|
2552
2700
|
/** Format: uuid */
|
|
2553
2701
|
id?: string;
|
|
2554
|
-
/** Format: uuid */
|
|
2555
|
-
account_id?: string;
|
|
2556
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;
|
|
2557
2708
|
currency?: string;
|
|
2558
2709
|
cycles?: number;
|
|
2559
2710
|
/** Format: uuid */
|
|
@@ -2564,6 +2715,9 @@ export interface components {
|
|
|
2564
2715
|
payment_method_id?: string;
|
|
2565
2716
|
interval?: components["schemas"]["SubscriptionIntervalType"];
|
|
2566
2717
|
interval_count?: number;
|
|
2718
|
+
metadata?: components["schemas"]["Metadata"];
|
|
2719
|
+
/** Format: date-time */
|
|
2720
|
+
start_at?: string | null;
|
|
2567
2721
|
/** @enum {string} */
|
|
2568
2722
|
state?: "active" | "paused" | "past_due" | "cancelled";
|
|
2569
2723
|
cycles_completed?: number;
|
|
@@ -2574,8 +2728,6 @@ export interface components {
|
|
|
2574
2728
|
/** Format: date-time */
|
|
2575
2729
|
current_billing_period_end?: string;
|
|
2576
2730
|
/** Format: date-time */
|
|
2577
|
-
trial_ends_at?: string | null;
|
|
2578
|
-
/** Format: date-time */
|
|
2579
2731
|
created_at?: string;
|
|
2580
2732
|
/** Format: date-time */
|
|
2581
2733
|
updated_at?: string;
|
|
@@ -2734,6 +2886,11 @@ export interface components {
|
|
|
2734
2886
|
WebhookRequest: {
|
|
2735
2887
|
id?: string;
|
|
2736
2888
|
/** Format: uuid */
|
|
2889
|
+
eventable_id?: string;
|
|
2890
|
+
eventable_type?: string;
|
|
2891
|
+
/** Format: uuid */
|
|
2892
|
+
organization_id?: string;
|
|
2893
|
+
/** Format: uuid */
|
|
2737
2894
|
webhook_endpoint_id?: string;
|
|
2738
2895
|
/** Format: date-time */
|
|
2739
2896
|
expires_at?: string;
|
|
@@ -2747,6 +2904,8 @@ export interface components {
|
|
|
2747
2904
|
responses: never;
|
|
2748
2905
|
parameters: {
|
|
2749
2906
|
XIdempotencyHeader: string;
|
|
2907
|
+
/** @description Render template JWT required to create a payment or setup intent. */
|
|
2908
|
+
XRenderTokenHeader: string;
|
|
2750
2909
|
/** @description The ID of the customer to filter by */
|
|
2751
2910
|
CustomerIdQuery: string;
|
|
2752
2911
|
/** @description Exact email match (case-insensitive). For substring search, use `q`. */
|
|
@@ -2783,6 +2942,22 @@ export interface components {
|
|
|
2783
2942
|
OriginQQuery: string;
|
|
2784
2943
|
/** @description The ID of the webhook request to filter by */
|
|
2785
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;
|
|
2786
2961
|
};
|
|
2787
2962
|
requestBodies: never;
|
|
2788
2963
|
headers: never;
|
|
@@ -2876,6 +3051,8 @@ export interface operations {
|
|
|
2876
3051
|
per_page?: components["parameters"]["PerPageQuery"];
|
|
2877
3052
|
/** @description The ID of the payment intent to filter by */
|
|
2878
3053
|
payment_intent_id?: components["parameters"]["PaymentIntentIdQuery"];
|
|
3054
|
+
/** @description The customer ID to filter by */
|
|
3055
|
+
customer_id?: components["parameters"]["OptionalCustomerIdQuery"];
|
|
2879
3056
|
};
|
|
2880
3057
|
header?: never;
|
|
2881
3058
|
path?: never;
|
|
@@ -3540,6 +3717,41 @@ export interface operations {
|
|
|
3540
3717
|
};
|
|
3541
3718
|
};
|
|
3542
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
|
+
};
|
|
3543
3755
|
SubmitLegalEntityApplication: {
|
|
3544
3756
|
parameters: {
|
|
3545
3757
|
query?: never;
|
|
@@ -3664,6 +3876,41 @@ export interface operations {
|
|
|
3664
3876
|
};
|
|
3665
3877
|
};
|
|
3666
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
|
+
};
|
|
3667
3914
|
ListLegalEntityPrincipals: {
|
|
3668
3915
|
parameters: {
|
|
3669
3916
|
query: {
|
|
@@ -3780,6 +4027,42 @@ export interface operations {
|
|
|
3780
4027
|
};
|
|
3781
4028
|
};
|
|
3782
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
|
+
};
|
|
3783
4066
|
ListMerchants: {
|
|
3784
4067
|
parameters: {
|
|
3785
4068
|
query?: {
|
|
@@ -3787,6 +4070,9 @@ export interface operations {
|
|
|
3787
4070
|
page?: components["parameters"]["PageQuery"];
|
|
3788
4071
|
/** @description Number of results per page. */
|
|
3789
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"];
|
|
3790
4076
|
};
|
|
3791
4077
|
header?: never;
|
|
3792
4078
|
path?: never;
|
|
@@ -3831,6 +4117,42 @@ export interface operations {
|
|
|
3831
4117
|
};
|
|
3832
4118
|
};
|
|
3833
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
|
+
};
|
|
3834
4156
|
GetOrganization: {
|
|
3835
4157
|
parameters: {
|
|
3836
4158
|
query?: never;
|
|
@@ -4070,6 +4392,9 @@ export interface operations {
|
|
|
4070
4392
|
page?: components["parameters"]["PageQuery"];
|
|
4071
4393
|
/** @description Number of results per page. */
|
|
4072
4394
|
per_page?: components["parameters"]["PerPageQuery"];
|
|
4395
|
+
/** @description Filter payment intents by id */
|
|
4396
|
+
id?: components["parameters"]["PaymentIntentRecordIdQuery"];
|
|
4397
|
+
processor_reference?: components["parameters"]["ProcessorReferenceQuery"];
|
|
4073
4398
|
};
|
|
4074
4399
|
header?: never;
|
|
4075
4400
|
path?: never;
|
|
@@ -4094,7 +4419,10 @@ export interface operations {
|
|
|
4094
4419
|
CreatePaymentIntent: {
|
|
4095
4420
|
parameters: {
|
|
4096
4421
|
query?: never;
|
|
4097
|
-
header
|
|
4422
|
+
header: {
|
|
4423
|
+
/** @description Render template JWT required to create a payment or setup intent. */
|
|
4424
|
+
"X-Render-Token": components["parameters"]["XRenderTokenHeader"];
|
|
4425
|
+
};
|
|
4098
4426
|
path?: never;
|
|
4099
4427
|
cookie?: never;
|
|
4100
4428
|
};
|
|
@@ -4113,7 +4441,7 @@ export interface operations {
|
|
|
4113
4441
|
"application/json": components["schemas"]["EmbedToken"];
|
|
4114
4442
|
};
|
|
4115
4443
|
};
|
|
4116
|
-
/** @description Unprocessable entity */
|
|
4444
|
+
/** @description Unprocessable entity, including a missing X-Render-Token header. */
|
|
4117
4445
|
422: {
|
|
4118
4446
|
headers: {
|
|
4119
4447
|
[name: string]: unknown;
|
|
@@ -4381,6 +4709,39 @@ export interface operations {
|
|
|
4381
4709
|
};
|
|
4382
4710
|
};
|
|
4383
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
|
+
};
|
|
4384
4745
|
GetPaymentMethod: {
|
|
4385
4746
|
parameters: {
|
|
4386
4747
|
query?: never;
|
|
@@ -4551,6 +4912,7 @@ export interface operations {
|
|
|
4551
4912
|
payment_method_id?: components["parameters"]["PaymentMethodIdQuery"];
|
|
4552
4913
|
/** @description The ID of the payment transaction to filter by */
|
|
4553
4914
|
payment_transaction_id?: components["parameters"]["PaymentTransactionIdQuery"];
|
|
4915
|
+
original_transaction_id?: components["parameters"]["OriginalTransactionIdQuery"];
|
|
4554
4916
|
};
|
|
4555
4917
|
header?: never;
|
|
4556
4918
|
path?: never;
|
|
@@ -5040,7 +5402,10 @@ export interface operations {
|
|
|
5040
5402
|
CreateSetupIntent: {
|
|
5041
5403
|
parameters: {
|
|
5042
5404
|
query?: never;
|
|
5043
|
-
header
|
|
5405
|
+
header: {
|
|
5406
|
+
/** @description Render template JWT required to create a payment or setup intent. */
|
|
5407
|
+
"X-Render-Token": components["parameters"]["XRenderTokenHeader"];
|
|
5408
|
+
};
|
|
5044
5409
|
path?: never;
|
|
5045
5410
|
cookie?: never;
|
|
5046
5411
|
};
|
|
@@ -5059,7 +5424,7 @@ export interface operations {
|
|
|
5059
5424
|
"application/json": components["schemas"]["EmbedToken"];
|
|
5060
5425
|
};
|
|
5061
5426
|
};
|
|
5062
|
-
/** @description Unprocessable entity */
|
|
5427
|
+
/** @description Unprocessable entity, including a missing X-Render-Token header. */
|
|
5063
5428
|
422: {
|
|
5064
5429
|
headers: {
|
|
5065
5430
|
[name: string]: unknown;
|
|
@@ -5077,6 +5442,8 @@ export interface operations {
|
|
|
5077
5442
|
page?: components["parameters"]["PageQuery"];
|
|
5078
5443
|
/** @description Number of results per page. */
|
|
5079
5444
|
per_page?: components["parameters"]["PerPageQuery"];
|
|
5445
|
+
/** @description Exact name match (case-insensitive). For substring search, use `q`. */
|
|
5446
|
+
name?: components["parameters"]["NameQuery"];
|
|
5080
5447
|
};
|
|
5081
5448
|
header?: never;
|
|
5082
5449
|
path?: never;
|
|
@@ -5161,6 +5528,7 @@ export interface operations {
|
|
|
5161
5528
|
page?: components["parameters"]["PageQuery"];
|
|
5162
5529
|
/** @description Number of results per page. */
|
|
5163
5530
|
per_page?: components["parameters"]["PerPageQuery"];
|
|
5531
|
+
state?: components["parameters"]["SubscriptionStateQuery"];
|
|
5164
5532
|
};
|
|
5165
5533
|
header?: never;
|
|
5166
5534
|
path?: never;
|
|
@@ -5616,6 +5984,10 @@ export interface operations {
|
|
|
5616
5984
|
page?: components["parameters"]["PageQuery"];
|
|
5617
5985
|
/** @description Number of results per page. */
|
|
5618
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"];
|
|
5619
5991
|
};
|
|
5620
5992
|
header?: never;
|
|
5621
5993
|
path?: never;
|