@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/dist/index.d.mts
CHANGED
|
@@ -304,7 +304,8 @@ interface paths {
|
|
|
304
304
|
};
|
|
305
305
|
/** Retrieve a legal entity application by ID */
|
|
306
306
|
get: operations["GetLegalEntityApplication"];
|
|
307
|
-
|
|
307
|
+
/** Update a pending legal entity application */
|
|
308
|
+
put: operations["UpdateLegalEntityApplication"];
|
|
308
309
|
post?: never;
|
|
309
310
|
delete?: never;
|
|
310
311
|
options?: never;
|
|
@@ -372,7 +373,8 @@ interface paths {
|
|
|
372
373
|
};
|
|
373
374
|
/** Retrieve a legal entity application principal by ID */
|
|
374
375
|
get: operations["GetLegalEntityApplicationPrincipal"];
|
|
375
|
-
|
|
376
|
+
/** Update a legal entity application principal */
|
|
377
|
+
put: operations["UpdateLegalEntityApplicationPrincipal"];
|
|
376
378
|
post?: never;
|
|
377
379
|
delete?: never;
|
|
378
380
|
options?: never;
|
|
@@ -440,7 +442,8 @@ interface paths {
|
|
|
440
442
|
};
|
|
441
443
|
/** Retrieve a merchant application by ID */
|
|
442
444
|
get: operations["GetMerchantApplication"];
|
|
443
|
-
|
|
445
|
+
/** Update a pending merchant application */
|
|
446
|
+
put: operations["UpdateMerchantApplication"];
|
|
444
447
|
post?: never;
|
|
445
448
|
delete?: never;
|
|
446
449
|
options?: never;
|
|
@@ -479,7 +482,8 @@ interface paths {
|
|
|
479
482
|
delete?: never;
|
|
480
483
|
options?: never;
|
|
481
484
|
head?: never;
|
|
482
|
-
|
|
485
|
+
/** Update a merchant by ID */
|
|
486
|
+
patch: operations["UpdateMerchant"];
|
|
483
487
|
trace?: never;
|
|
484
488
|
};
|
|
485
489
|
"/organization": {
|
|
@@ -693,7 +697,8 @@ interface paths {
|
|
|
693
697
|
*/
|
|
694
698
|
get: operations["ListPaymentMethods"];
|
|
695
699
|
put?: never;
|
|
696
|
-
|
|
700
|
+
/** Create a payment method */
|
|
701
|
+
post: operations["CreatePaymentMethod"];
|
|
697
702
|
delete?: never;
|
|
698
703
|
options?: never;
|
|
699
704
|
head?: never;
|
|
@@ -865,9 +870,9 @@ interface paths {
|
|
|
865
870
|
cookie?: never;
|
|
866
871
|
};
|
|
867
872
|
get?: never;
|
|
873
|
+
put?: never;
|
|
868
874
|
/** Cancel a refund */
|
|
869
|
-
|
|
870
|
-
post?: never;
|
|
875
|
+
post: operations["CancelRefund"];
|
|
871
876
|
delete?: never;
|
|
872
877
|
options?: never;
|
|
873
878
|
head?: never;
|
|
@@ -1437,7 +1442,6 @@ interface components {
|
|
|
1437
1442
|
/** Format: uuid */
|
|
1438
1443
|
id?: string;
|
|
1439
1444
|
name?: string;
|
|
1440
|
-
active?: boolean;
|
|
1441
1445
|
/** Format: uuid */
|
|
1442
1446
|
merchant_id?: string;
|
|
1443
1447
|
/** Format: uuid */
|
|
@@ -1508,8 +1512,6 @@ interface components {
|
|
|
1508
1512
|
Customer: {
|
|
1509
1513
|
/** Format: uuid */
|
|
1510
1514
|
id?: string;
|
|
1511
|
-
/** Format: uuid */
|
|
1512
|
-
account_id?: string;
|
|
1513
1515
|
email?: string;
|
|
1514
1516
|
metadata?: components["schemas"]["Metadata"];
|
|
1515
1517
|
name?: string;
|
|
@@ -1591,6 +1593,10 @@ interface components {
|
|
|
1591
1593
|
purpose: string;
|
|
1592
1594
|
state: string;
|
|
1593
1595
|
download: components["schemas"]["FileDownloadConfiguration"];
|
|
1596
|
+
/** Format: date-time */
|
|
1597
|
+
created_at?: string;
|
|
1598
|
+
/** Format: date-time */
|
|
1599
|
+
updated_at?: string;
|
|
1594
1600
|
};
|
|
1595
1601
|
FileDownloadConfiguration: {
|
|
1596
1602
|
/** Format: uri */
|
|
@@ -1607,6 +1613,10 @@ interface components {
|
|
|
1607
1613
|
purpose: string;
|
|
1608
1614
|
state: string;
|
|
1609
1615
|
upload: components["schemas"]["FileUploadConfiguration"];
|
|
1616
|
+
/** Format: date-time */
|
|
1617
|
+
created_at?: string;
|
|
1618
|
+
/** Format: date-time */
|
|
1619
|
+
updated_at?: string;
|
|
1610
1620
|
};
|
|
1611
1621
|
FileUploadConfiguration: {
|
|
1612
1622
|
/** Format: uri */
|
|
@@ -1640,6 +1650,8 @@ interface components {
|
|
|
1640
1650
|
byte_size?: number;
|
|
1641
1651
|
/** Format: date-time */
|
|
1642
1652
|
created_at?: string;
|
|
1653
|
+
/** Format: date-time */
|
|
1654
|
+
updated_at?: string;
|
|
1643
1655
|
};
|
|
1644
1656
|
CreateLegalEntityApplicationPrincipalInput: {
|
|
1645
1657
|
/** Format: uuid */
|
|
@@ -1681,6 +1693,10 @@ interface components {
|
|
|
1681
1693
|
contact_phone?: string;
|
|
1682
1694
|
tax_id_last4?: string;
|
|
1683
1695
|
title?: string;
|
|
1696
|
+
/** Format: date-time */
|
|
1697
|
+
created_at?: string;
|
|
1698
|
+
/** Format: date-time */
|
|
1699
|
+
updated_at?: string;
|
|
1684
1700
|
};
|
|
1685
1701
|
LegalEntityPrincipal: {
|
|
1686
1702
|
/** Format: uuid */
|
|
@@ -1700,6 +1716,10 @@ interface components {
|
|
|
1700
1716
|
postal_code?: string;
|
|
1701
1717
|
contact_phone?: string;
|
|
1702
1718
|
tax_id_last4?: string;
|
|
1719
|
+
/** Format: date-time */
|
|
1720
|
+
created_at?: string;
|
|
1721
|
+
/** Format: date-time */
|
|
1722
|
+
updated_at?: string;
|
|
1703
1723
|
};
|
|
1704
1724
|
/** @enum {string} */
|
|
1705
1725
|
LegalEntityEntityType: "individual_sole_proprietorship" | "corporation" | "limited_liability_company" | "partnership" | "limited_partnership" | "general_partnership" | "tax_exempt_organization" | "government_agency";
|
|
@@ -1921,6 +1941,10 @@ interface components {
|
|
|
1921
1941
|
satisfied_at?: string | null;
|
|
1922
1942
|
/** Format: date-time */
|
|
1923
1943
|
waived_at?: string | null;
|
|
1944
|
+
/** Format: date-time */
|
|
1945
|
+
created_at?: string;
|
|
1946
|
+
/** Format: date-time */
|
|
1947
|
+
updated_at?: string;
|
|
1924
1948
|
};
|
|
1925
1949
|
LegalEntity: {
|
|
1926
1950
|
/** Format: uuid */
|
|
@@ -1943,6 +1967,8 @@ interface components {
|
|
|
1943
1967
|
tax_id_last4?: string;
|
|
1944
1968
|
/** Format: date-time */
|
|
1945
1969
|
created_at?: string;
|
|
1970
|
+
/** Format: date-time */
|
|
1971
|
+
updated_at?: string;
|
|
1946
1972
|
};
|
|
1947
1973
|
LegalEntityApplication: {
|
|
1948
1974
|
/** Format: uuid */
|
|
@@ -2006,7 +2032,6 @@ interface components {
|
|
|
2006
2032
|
/** Format: uuid */
|
|
2007
2033
|
id?: string;
|
|
2008
2034
|
annual_credit_card_sales_volume?: number;
|
|
2009
|
-
allowed_payment_methods?: components["schemas"]["AllowedPaymentMethod"][];
|
|
2010
2035
|
business_category?: components["schemas"]["MerchantBusinessCategoryType"];
|
|
2011
2036
|
business_description?: string;
|
|
2012
2037
|
city?: string;
|
|
@@ -2020,8 +2045,11 @@ interface components {
|
|
|
2020
2045
|
has_accepted_credit_cards?: boolean;
|
|
2021
2046
|
/** Format: uuid */
|
|
2022
2047
|
legal_entity_application_id?: string;
|
|
2023
|
-
|
|
2024
|
-
|
|
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;
|
|
2025
2053
|
max_transaction_amount?: string;
|
|
2026
2054
|
mcc?: string;
|
|
2027
2055
|
postal_code?: string;
|
|
@@ -2031,10 +2059,15 @@ interface components {
|
|
|
2031
2059
|
primary_contact_phone?: string;
|
|
2032
2060
|
purchase_currency?: string;
|
|
2033
2061
|
settlement_currency?: string;
|
|
2062
|
+
settlement_days?: number;
|
|
2034
2063
|
state_province?: string;
|
|
2035
2064
|
street_address1?: string;
|
|
2036
2065
|
street_address2?: string;
|
|
2037
2066
|
website_url?: string;
|
|
2067
|
+
/** Format: date-time */
|
|
2068
|
+
created_at?: string;
|
|
2069
|
+
/** Format: date-time */
|
|
2070
|
+
updated_at?: string;
|
|
2038
2071
|
};
|
|
2039
2072
|
Merchant: {
|
|
2040
2073
|
/** Format: uuid */
|
|
@@ -2175,7 +2208,6 @@ interface components {
|
|
|
2175
2208
|
recurring_payment?: components["schemas"]["RecurringPayment"];
|
|
2176
2209
|
/** Format: uuid */
|
|
2177
2210
|
payment_method_id?: string;
|
|
2178
|
-
source?: components["schemas"]["TransactionSourceType"];
|
|
2179
2211
|
/** @enum {string} */
|
|
2180
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";
|
|
2181
2213
|
statement_descriptor?: string;
|
|
@@ -2267,6 +2299,113 @@ interface components {
|
|
|
2267
2299
|
cancel_url?: string;
|
|
2268
2300
|
allowed_payment_methods?: components["schemas"]["AllowedPaymentMethod"][];
|
|
2269
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"];
|
|
2270
2409
|
};
|
|
2271
2410
|
PaymentMethod: {
|
|
2272
2411
|
/** Format: uuid */
|
|
@@ -2336,8 +2475,16 @@ interface components {
|
|
|
2336
2475
|
ProcessorTransaction: {
|
|
2337
2476
|
/** Format: uuid */
|
|
2338
2477
|
id?: string;
|
|
2339
|
-
/**
|
|
2340
|
-
|
|
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;
|
|
2341
2488
|
approved?: boolean;
|
|
2342
2489
|
avs_check?: string;
|
|
2343
2490
|
avs_check_message?: string;
|
|
@@ -2351,8 +2498,6 @@ interface components {
|
|
|
2351
2498
|
payment_transaction_id?: string;
|
|
2352
2499
|
/** @enum {string} */
|
|
2353
2500
|
payment_transaction_type?: "charge" | "refund" | "void";
|
|
2354
|
-
/** Format: uuid */
|
|
2355
|
-
processor_transaction_id?: string;
|
|
2356
2501
|
processor_reference?: string;
|
|
2357
2502
|
network_transaction_id?: string;
|
|
2358
2503
|
transaction_link_id?: string;
|
|
@@ -2389,7 +2534,6 @@ interface components {
|
|
|
2389
2534
|
name?: string;
|
|
2390
2535
|
description?: string;
|
|
2391
2536
|
active?: boolean;
|
|
2392
|
-
metadata?: components["schemas"]["Metadata"];
|
|
2393
2537
|
/** Format: date-time */
|
|
2394
2538
|
created_at?: string;
|
|
2395
2539
|
/** Format: date-time */
|
|
@@ -2474,6 +2618,10 @@ interface components {
|
|
|
2474
2618
|
/** Format: date-time */
|
|
2475
2619
|
last_used_at?: string | null;
|
|
2476
2620
|
origins: components["schemas"]["Origin"][];
|
|
2621
|
+
/** Format: date-time */
|
|
2622
|
+
created_at?: string;
|
|
2623
|
+
/** Format: date-time */
|
|
2624
|
+
updated_at?: string;
|
|
2477
2625
|
};
|
|
2478
2626
|
CreateSetupIntentInput: {
|
|
2479
2627
|
/**
|
|
@@ -2554,9 +2702,12 @@ interface components {
|
|
|
2554
2702
|
Subscription: {
|
|
2555
2703
|
/** Format: uuid */
|
|
2556
2704
|
id?: string;
|
|
2557
|
-
/** Format: uuid */
|
|
2558
|
-
account_id?: string;
|
|
2559
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;
|
|
2560
2711
|
currency?: string;
|
|
2561
2712
|
cycles?: number;
|
|
2562
2713
|
/** Format: uuid */
|
|
@@ -2567,6 +2718,9 @@ interface components {
|
|
|
2567
2718
|
payment_method_id?: string;
|
|
2568
2719
|
interval?: components["schemas"]["SubscriptionIntervalType"];
|
|
2569
2720
|
interval_count?: number;
|
|
2721
|
+
metadata?: components["schemas"]["Metadata"];
|
|
2722
|
+
/** Format: date-time */
|
|
2723
|
+
start_at?: string | null;
|
|
2570
2724
|
/** @enum {string} */
|
|
2571
2725
|
state?: "active" | "paused" | "past_due" | "cancelled";
|
|
2572
2726
|
cycles_completed?: number;
|
|
@@ -2577,8 +2731,6 @@ interface components {
|
|
|
2577
2731
|
/** Format: date-time */
|
|
2578
2732
|
current_billing_period_end?: string;
|
|
2579
2733
|
/** Format: date-time */
|
|
2580
|
-
trial_ends_at?: string | null;
|
|
2581
|
-
/** Format: date-time */
|
|
2582
2734
|
created_at?: string;
|
|
2583
2735
|
/** Format: date-time */
|
|
2584
2736
|
updated_at?: string;
|
|
@@ -2737,6 +2889,11 @@ interface components {
|
|
|
2737
2889
|
WebhookRequest: {
|
|
2738
2890
|
id?: string;
|
|
2739
2891
|
/** Format: uuid */
|
|
2892
|
+
eventable_id?: string;
|
|
2893
|
+
eventable_type?: string;
|
|
2894
|
+
/** Format: uuid */
|
|
2895
|
+
organization_id?: string;
|
|
2896
|
+
/** Format: uuid */
|
|
2740
2897
|
webhook_endpoint_id?: string;
|
|
2741
2898
|
/** Format: date-time */
|
|
2742
2899
|
expires_at?: string;
|
|
@@ -2750,6 +2907,8 @@ interface components {
|
|
|
2750
2907
|
responses: never;
|
|
2751
2908
|
parameters: {
|
|
2752
2909
|
XIdempotencyHeader: string;
|
|
2910
|
+
/** @description Render template JWT required to create a payment or setup intent. */
|
|
2911
|
+
XRenderTokenHeader: string;
|
|
2753
2912
|
/** @description The ID of the customer to filter by */
|
|
2754
2913
|
CustomerIdQuery: string;
|
|
2755
2914
|
/** @description Exact email match (case-insensitive). For substring search, use `q`. */
|
|
@@ -2786,6 +2945,22 @@ interface components {
|
|
|
2786
2945
|
OriginQQuery: string;
|
|
2787
2946
|
/** @description The ID of the webhook request to filter by */
|
|
2788
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;
|
|
2789
2964
|
};
|
|
2790
2965
|
requestBodies: never;
|
|
2791
2966
|
headers: never;
|
|
@@ -2879,6 +3054,8 @@ interface operations {
|
|
|
2879
3054
|
per_page?: components["parameters"]["PerPageQuery"];
|
|
2880
3055
|
/** @description The ID of the payment intent to filter by */
|
|
2881
3056
|
payment_intent_id?: components["parameters"]["PaymentIntentIdQuery"];
|
|
3057
|
+
/** @description The customer ID to filter by */
|
|
3058
|
+
customer_id?: components["parameters"]["OptionalCustomerIdQuery"];
|
|
2882
3059
|
};
|
|
2883
3060
|
header?: never;
|
|
2884
3061
|
path?: never;
|
|
@@ -3543,6 +3720,41 @@ interface operations {
|
|
|
3543
3720
|
};
|
|
3544
3721
|
};
|
|
3545
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
|
+
};
|
|
3546
3758
|
SubmitLegalEntityApplication: {
|
|
3547
3759
|
parameters: {
|
|
3548
3760
|
query?: never;
|
|
@@ -3667,6 +3879,41 @@ interface operations {
|
|
|
3667
3879
|
};
|
|
3668
3880
|
};
|
|
3669
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
|
+
};
|
|
3670
3917
|
ListLegalEntityPrincipals: {
|
|
3671
3918
|
parameters: {
|
|
3672
3919
|
query: {
|
|
@@ -3783,6 +4030,42 @@ interface operations {
|
|
|
3783
4030
|
};
|
|
3784
4031
|
};
|
|
3785
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
|
+
};
|
|
3786
4069
|
ListMerchants: {
|
|
3787
4070
|
parameters: {
|
|
3788
4071
|
query?: {
|
|
@@ -3790,6 +4073,9 @@ interface operations {
|
|
|
3790
4073
|
page?: components["parameters"]["PageQuery"];
|
|
3791
4074
|
/** @description Number of results per page. */
|
|
3792
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"];
|
|
3793
4079
|
};
|
|
3794
4080
|
header?: never;
|
|
3795
4081
|
path?: never;
|
|
@@ -3834,6 +4120,42 @@ interface operations {
|
|
|
3834
4120
|
};
|
|
3835
4121
|
};
|
|
3836
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
|
+
};
|
|
3837
4159
|
GetOrganization: {
|
|
3838
4160
|
parameters: {
|
|
3839
4161
|
query?: never;
|
|
@@ -4073,6 +4395,9 @@ interface operations {
|
|
|
4073
4395
|
page?: components["parameters"]["PageQuery"];
|
|
4074
4396
|
/** @description Number of results per page. */
|
|
4075
4397
|
per_page?: components["parameters"]["PerPageQuery"];
|
|
4398
|
+
/** @description Filter payment intents by id */
|
|
4399
|
+
id?: components["parameters"]["PaymentIntentRecordIdQuery"];
|
|
4400
|
+
processor_reference?: components["parameters"]["ProcessorReferenceQuery"];
|
|
4076
4401
|
};
|
|
4077
4402
|
header?: never;
|
|
4078
4403
|
path?: never;
|
|
@@ -4097,7 +4422,10 @@ interface operations {
|
|
|
4097
4422
|
CreatePaymentIntent: {
|
|
4098
4423
|
parameters: {
|
|
4099
4424
|
query?: never;
|
|
4100
|
-
header
|
|
4425
|
+
header: {
|
|
4426
|
+
/** @description Render template JWT required to create a payment or setup intent. */
|
|
4427
|
+
"X-Render-Token": components["parameters"]["XRenderTokenHeader"];
|
|
4428
|
+
};
|
|
4101
4429
|
path?: never;
|
|
4102
4430
|
cookie?: never;
|
|
4103
4431
|
};
|
|
@@ -4116,7 +4444,7 @@ interface operations {
|
|
|
4116
4444
|
"application/json": components["schemas"]["EmbedToken"];
|
|
4117
4445
|
};
|
|
4118
4446
|
};
|
|
4119
|
-
/** @description Unprocessable entity */
|
|
4447
|
+
/** @description Unprocessable entity, including a missing X-Render-Token header. */
|
|
4120
4448
|
422: {
|
|
4121
4449
|
headers: {
|
|
4122
4450
|
[name: string]: unknown;
|
|
@@ -4384,6 +4712,39 @@ interface operations {
|
|
|
4384
4712
|
};
|
|
4385
4713
|
};
|
|
4386
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
|
+
};
|
|
4387
4748
|
GetPaymentMethod: {
|
|
4388
4749
|
parameters: {
|
|
4389
4750
|
query?: never;
|
|
@@ -4554,6 +4915,7 @@ interface operations {
|
|
|
4554
4915
|
payment_method_id?: components["parameters"]["PaymentMethodIdQuery"];
|
|
4555
4916
|
/** @description The ID of the payment transaction to filter by */
|
|
4556
4917
|
payment_transaction_id?: components["parameters"]["PaymentTransactionIdQuery"];
|
|
4918
|
+
original_transaction_id?: components["parameters"]["OriginalTransactionIdQuery"];
|
|
4557
4919
|
};
|
|
4558
4920
|
header?: never;
|
|
4559
4921
|
path?: never;
|
|
@@ -5043,7 +5405,10 @@ interface operations {
|
|
|
5043
5405
|
CreateSetupIntent: {
|
|
5044
5406
|
parameters: {
|
|
5045
5407
|
query?: never;
|
|
5046
|
-
header
|
|
5408
|
+
header: {
|
|
5409
|
+
/** @description Render template JWT required to create a payment or setup intent. */
|
|
5410
|
+
"X-Render-Token": components["parameters"]["XRenderTokenHeader"];
|
|
5411
|
+
};
|
|
5047
5412
|
path?: never;
|
|
5048
5413
|
cookie?: never;
|
|
5049
5414
|
};
|
|
@@ -5062,7 +5427,7 @@ interface operations {
|
|
|
5062
5427
|
"application/json": components["schemas"]["EmbedToken"];
|
|
5063
5428
|
};
|
|
5064
5429
|
};
|
|
5065
|
-
/** @description Unprocessable entity */
|
|
5430
|
+
/** @description Unprocessable entity, including a missing X-Render-Token header. */
|
|
5066
5431
|
422: {
|
|
5067
5432
|
headers: {
|
|
5068
5433
|
[name: string]: unknown;
|
|
@@ -5080,6 +5445,8 @@ interface operations {
|
|
|
5080
5445
|
page?: components["parameters"]["PageQuery"];
|
|
5081
5446
|
/** @description Number of results per page. */
|
|
5082
5447
|
per_page?: components["parameters"]["PerPageQuery"];
|
|
5448
|
+
/** @description Exact name match (case-insensitive). For substring search, use `q`. */
|
|
5449
|
+
name?: components["parameters"]["NameQuery"];
|
|
5083
5450
|
};
|
|
5084
5451
|
header?: never;
|
|
5085
5452
|
path?: never;
|
|
@@ -5164,6 +5531,7 @@ interface operations {
|
|
|
5164
5531
|
page?: components["parameters"]["PageQuery"];
|
|
5165
5532
|
/** @description Number of results per page. */
|
|
5166
5533
|
per_page?: components["parameters"]["PerPageQuery"];
|
|
5534
|
+
state?: components["parameters"]["SubscriptionStateQuery"];
|
|
5167
5535
|
};
|
|
5168
5536
|
header?: never;
|
|
5169
5537
|
path?: never;
|
|
@@ -5619,6 +5987,10 @@ interface operations {
|
|
|
5619
5987
|
page?: components["parameters"]["PageQuery"];
|
|
5620
5988
|
/** @description Number of results per page. */
|
|
5621
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"];
|
|
5622
5994
|
};
|
|
5623
5995
|
header?: never;
|
|
5624
5996
|
path?: never;
|