@amos.com/node 0.1.10 → 0.1.12
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 +76 -61
- package/dist/index.d.ts +76 -61
- package/openapi/schema.ts +76 -61
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1241,7 +1241,7 @@ interface components {
|
|
|
1241
1241
|
wallet_brand?: string;
|
|
1242
1242
|
wallet_last4?: string;
|
|
1243
1243
|
wallet_payload?: string;
|
|
1244
|
-
wallet_provider?:
|
|
1244
|
+
wallet_provider?: components["schemas"]["WalletProviderType"];
|
|
1245
1245
|
};
|
|
1246
1246
|
CardProfile: {
|
|
1247
1247
|
avs_check?: string;
|
|
@@ -1258,7 +1258,7 @@ interface components {
|
|
|
1258
1258
|
state?: string;
|
|
1259
1259
|
three_d_secure_supported?: boolean | null;
|
|
1260
1260
|
token?: string;
|
|
1261
|
-
wallet_provider?:
|
|
1261
|
+
wallet_provider?: components["schemas"]["WalletProviderType"];
|
|
1262
1262
|
/** Format: date-time */
|
|
1263
1263
|
created_at?: string;
|
|
1264
1264
|
/** Format: date-time */
|
|
@@ -1308,8 +1308,7 @@ interface components {
|
|
|
1308
1308
|
/** Format: uuid */
|
|
1309
1309
|
payment_method_id?: string;
|
|
1310
1310
|
platform_fee?: number;
|
|
1311
|
-
|
|
1312
|
-
source?: "api" | "dashboard" | "iframe" | "system" | "subscription";
|
|
1311
|
+
source?: components["schemas"]["TransactionSourceType"];
|
|
1313
1312
|
/** @enum {string} */
|
|
1314
1313
|
state?: "cancelled" | "errored" | "failed" | "processing" | "requires_capture" | "requires_confirmation" | "requires_review" | "succeeded";
|
|
1315
1314
|
statement_descriptor?: string;
|
|
@@ -1430,8 +1429,7 @@ interface components {
|
|
|
1430
1429
|
CreateLegalEntityApplicationDocumentInput: {
|
|
1431
1430
|
/** Format: uuid */
|
|
1432
1431
|
legal_entity_application_id?: string;
|
|
1433
|
-
|
|
1434
|
-
document_type?: "irs_cp_575";
|
|
1432
|
+
document_type?: components["schemas"]["LegalEntityDocumentType"];
|
|
1435
1433
|
/** Format: uuid */
|
|
1436
1434
|
file_upload_id?: string;
|
|
1437
1435
|
};
|
|
@@ -1443,8 +1441,7 @@ interface components {
|
|
|
1443
1441
|
id?: string;
|
|
1444
1442
|
/** Format: uuid */
|
|
1445
1443
|
legal_entity_application_id?: string;
|
|
1446
|
-
|
|
1447
|
-
document_type?: "irs_cp_575";
|
|
1444
|
+
document_type?: components["schemas"]["LegalEntityDocumentType"];
|
|
1448
1445
|
/** Format: uuid */
|
|
1449
1446
|
file_upload_id?: string;
|
|
1450
1447
|
};
|
|
@@ -1508,10 +1505,38 @@ interface components {
|
|
|
1508
1505
|
contact_phone?: string;
|
|
1509
1506
|
tax_id_last4?: string;
|
|
1510
1507
|
};
|
|
1508
|
+
/** @enum {string} */
|
|
1509
|
+
LegalEntityEntityType: "individual_sole_proprietorship" | "corporation" | "limited_liability_company" | "partnership" | "limited_partnership" | "general_partnership" | "tax_exempt_organization" | "government_agency";
|
|
1510
|
+
/** @enum {string} */
|
|
1511
|
+
LegalEntityOwnershipType: "public" | "private";
|
|
1512
|
+
/** @enum {string} */
|
|
1513
|
+
LegalEntityDocumentType: "irs_cp_575";
|
|
1514
|
+
/** @enum {string} */
|
|
1515
|
+
MerchantBusinessCategoryType: "business_association" | "charity" | "church" | "county" | "federal" | "fraternal_org" | "government" | "higher_education" | "k12" | "labor_union" | "local" | "ministry" | "pac" | "parachurch" | "party" | "preschool" | "social_club" | "social_welfare" | "state" | "tribal" | "vendor" | "veterans_org";
|
|
1516
|
+
/** @enum {string} */
|
|
1517
|
+
PaymentLinkAmountType: "fixed" | "open";
|
|
1518
|
+
/** @enum {string} */
|
|
1519
|
+
PaymentMethodType: "card" | "bank_account";
|
|
1520
|
+
/** @enum {string} */
|
|
1521
|
+
PayoutDirectionType: "credit" | "debit";
|
|
1522
|
+
/** @enum {string} */
|
|
1523
|
+
PayoutStateType: "pending" | "succeeded" | "failed" | "accepted" | "rejected";
|
|
1524
|
+
/** @enum {string} */
|
|
1525
|
+
RefundStateType: "pending" | "processing" | "requires_review" | "succeeded" | "cancelled" | "failed";
|
|
1526
|
+
/** @enum {string} */
|
|
1527
|
+
SubscriptionIntervalType: "day" | "week" | "month" | "year";
|
|
1528
|
+
/** @enum {string} */
|
|
1529
|
+
SubscriptionPlanType: "fixed" | "variable";
|
|
1530
|
+
/** @enum {string} */
|
|
1531
|
+
TransactionSourceType: "api" | "dashboard" | "iframe" | "system" | "subscription";
|
|
1532
|
+
/** @enum {string} */
|
|
1533
|
+
WalletProviderType: "googlepay" | "applepay";
|
|
1534
|
+
/** @enum {string} */
|
|
1535
|
+
WebhookEventType: "charge.cancelled" | "charge.created" | "charge.errored" | "charge.failed" | "charge.processing" | "charge.requires_capture" | "charge.requires_confirmation" | "charge.requires_review" | "charge.succeeded" | "customer.created" | "customer.updated" | "legal_entity.created" | "legal_entity.updated" | "legal_entity_principal.created" | "legal_entity_principal.updated" | "merchant.created" | "merchant.updated" | "payment_intent.cancelled" | "payment_intent.created" | "payment_intent.errored_authorization" | "payment_intent.errored_capture" | "payment_intent.errored_sale" | "payment_intent.processing_authorization" | "payment_intent.processing_capture" | "payment_intent.processing_sale" | "payment_intent.requires_capture" | "payment_intent.requires_confirmation" | "payment_intent.requires_payment_method" | "payment_intent.requires_review" | "payment_intent.succeeded" | "processor_transaction.completed" | "reconciliation.created" | "refund.cancelled" | "refund.created" | "refund.failed" | "refund.pending" | "refund.processing" | "refund.requires_review" | "refund.succeeded" | "void.created" | "void.failed" | "void.pending" | "void.processing" | "void.requires_review" | "void.succeeded";
|
|
1511
1536
|
CreateLegalEntityApplicationInput: {
|
|
1512
1537
|
legal_name?: string;
|
|
1513
|
-
entity_type?:
|
|
1514
|
-
ownership_type?:
|
|
1538
|
+
entity_type?: components["schemas"]["LegalEntityEntityType"];
|
|
1539
|
+
ownership_type?: components["schemas"]["LegalEntityOwnershipType"];
|
|
1515
1540
|
tax_id?: string;
|
|
1516
1541
|
contact_email?: string;
|
|
1517
1542
|
contact_phone?: string;
|
|
@@ -1541,8 +1566,8 @@ interface components {
|
|
|
1541
1566
|
/** Format: uuid */
|
|
1542
1567
|
id?: string;
|
|
1543
1568
|
legal_name?: string;
|
|
1544
|
-
entity_type?:
|
|
1545
|
-
ownership_type?:
|
|
1569
|
+
entity_type?: components["schemas"]["LegalEntityEntityType"];
|
|
1570
|
+
ownership_type?: components["schemas"]["LegalEntityOwnershipType"];
|
|
1546
1571
|
contact_email?: string;
|
|
1547
1572
|
contact_phone?: string;
|
|
1548
1573
|
business_address_line1?: string;
|
|
@@ -1559,8 +1584,8 @@ interface components {
|
|
|
1559
1584
|
legal_name?: string;
|
|
1560
1585
|
/** Format: uuid */
|
|
1561
1586
|
legal_entity_id?: string;
|
|
1562
|
-
entity_type?:
|
|
1563
|
-
ownership_type?:
|
|
1587
|
+
entity_type?: components["schemas"]["LegalEntityEntityType"];
|
|
1588
|
+
ownership_type?: components["schemas"]["LegalEntityOwnershipType"];
|
|
1564
1589
|
contact_email?: string;
|
|
1565
1590
|
contact_phone?: string;
|
|
1566
1591
|
business_address_line1?: string;
|
|
@@ -1577,8 +1602,7 @@ interface components {
|
|
|
1577
1602
|
annual_credit_card_sales_volume?: number;
|
|
1578
1603
|
bank_account_number?: string;
|
|
1579
1604
|
bank_routing_number?: string;
|
|
1580
|
-
|
|
1581
|
-
business_category?: "business_association" | "charity" | "church" | "county" | "federal" | "fraternal_org" | "government" | "higher_education" | "k12" | "labor_union" | "local" | "ministry" | "pac" | "parachurch" | "party" | "preschool" | "social_club" | "social_welfare" | "state" | "tribal" | "vendor" | "veterans_org";
|
|
1605
|
+
business_category?: components["schemas"]["MerchantBusinessCategoryType"];
|
|
1582
1606
|
business_description?: string;
|
|
1583
1607
|
city?: string;
|
|
1584
1608
|
country_code?: string;
|
|
@@ -1604,8 +1628,7 @@ interface components {
|
|
|
1604
1628
|
/** Format: uuid */
|
|
1605
1629
|
id?: string;
|
|
1606
1630
|
annual_credit_card_sales_volume?: number;
|
|
1607
|
-
|
|
1608
|
-
business_category?: "business_association" | "charity" | "church" | "county" | "federal" | "fraternal_org" | "government" | "higher_education" | "k12" | "labor_union" | "local" | "ministry" | "pac" | "parachurch" | "party" | "preschool" | "social_club" | "social_welfare" | "state" | "tribal" | "vendor" | "veterans_org";
|
|
1631
|
+
business_category?: components["schemas"]["MerchantBusinessCategoryType"];
|
|
1609
1632
|
business_description?: string;
|
|
1610
1633
|
city?: string;
|
|
1611
1634
|
country_code?: string;
|
|
@@ -1674,6 +1697,7 @@ interface components {
|
|
|
1674
1697
|
description?: string | null;
|
|
1675
1698
|
statement_descriptor?: string;
|
|
1676
1699
|
metadata?: components["schemas"]["Metadata"];
|
|
1700
|
+
recurring_payment?: components["schemas"]["RecurringPayment"];
|
|
1677
1701
|
};
|
|
1678
1702
|
CreatePaymentIntentRequest: {
|
|
1679
1703
|
payment_intent: components["schemas"]["CreatePaymentIntentInput"];
|
|
@@ -1697,6 +1721,7 @@ interface components {
|
|
|
1697
1721
|
payment_method_id?: string;
|
|
1698
1722
|
amount?: number;
|
|
1699
1723
|
metadata?: components["schemas"]["Metadata"];
|
|
1724
|
+
recurring_payment?: components["schemas"]["RecurringPayment"];
|
|
1700
1725
|
};
|
|
1701
1726
|
UpdatePaymentIntentRequest: {
|
|
1702
1727
|
payment_intent: components["schemas"]["UpdatePaymentIntentInput"];
|
|
@@ -1715,10 +1740,10 @@ interface components {
|
|
|
1715
1740
|
customer_id?: string;
|
|
1716
1741
|
description?: string;
|
|
1717
1742
|
metadata?: components["schemas"]["Metadata"];
|
|
1743
|
+
recurring_payment?: components["schemas"]["RecurringPayment"];
|
|
1718
1744
|
/** Format: uuid */
|
|
1719
1745
|
payment_method_id?: string;
|
|
1720
|
-
|
|
1721
|
-
source?: "api" | "dashboard" | "iframe" | "system" | "subscription";
|
|
1746
|
+
source?: components["schemas"]["TransactionSourceType"];
|
|
1722
1747
|
/** @enum {string} */
|
|
1723
1748
|
state?: "requires_payment_method" | "requires_confirmation" | "requires_capture" | "processing_authorization" | "processing_capture" | "processing_sale" | "requires_review" | "succeeded" | "cancelled" | "errored_authorization" | "errored_capture" | "errored_sale";
|
|
1724
1749
|
statement_descriptor?: string;
|
|
@@ -1727,11 +1752,13 @@ interface components {
|
|
|
1727
1752
|
/** Format: date-time */
|
|
1728
1753
|
updated_at?: string;
|
|
1729
1754
|
};
|
|
1755
|
+
RecurringPayment: {
|
|
1756
|
+
network_transaction_id?: string;
|
|
1757
|
+
};
|
|
1730
1758
|
CreatePaymentLinkInput: {
|
|
1731
1759
|
slug?: string;
|
|
1732
1760
|
active?: boolean;
|
|
1733
|
-
|
|
1734
|
-
amount_type?: "fixed" | "open";
|
|
1761
|
+
amount_type?: components["schemas"]["PaymentLinkAmountType"];
|
|
1735
1762
|
amount?: number;
|
|
1736
1763
|
/** Format: uri */
|
|
1737
1764
|
image_url?: string;
|
|
@@ -1761,8 +1788,7 @@ interface components {
|
|
|
1761
1788
|
account_id?: string;
|
|
1762
1789
|
slug?: string;
|
|
1763
1790
|
active?: boolean;
|
|
1764
|
-
|
|
1765
|
-
amount_type?: "fixed" | "open";
|
|
1791
|
+
amount_type?: components["schemas"]["PaymentLinkAmountType"];
|
|
1766
1792
|
amount?: number;
|
|
1767
1793
|
/** Format: uri */
|
|
1768
1794
|
image_url?: string;
|
|
@@ -1786,8 +1812,7 @@ interface components {
|
|
|
1786
1812
|
/** Format: uuid */
|
|
1787
1813
|
customer_id?: string;
|
|
1788
1814
|
metadata?: components["schemas"]["Metadata"];
|
|
1789
|
-
|
|
1790
|
-
type?: "card" | "bank_account";
|
|
1815
|
+
type?: components["schemas"]["PaymentMethodType"];
|
|
1791
1816
|
bank_account_profile?: components["schemas"]["BankAccountProfile"];
|
|
1792
1817
|
billing_address?: components["schemas"]["BillingAddress"];
|
|
1793
1818
|
card_profile?: components["schemas"]["CardProfile"];
|
|
@@ -1801,8 +1826,7 @@ interface components {
|
|
|
1801
1826
|
external_account_id: string;
|
|
1802
1827
|
amount: number;
|
|
1803
1828
|
currency?: string;
|
|
1804
|
-
|
|
1805
|
-
direction: "credit" | "debit";
|
|
1829
|
+
direction: components["schemas"]["PayoutDirectionType"];
|
|
1806
1830
|
metadata?: components["schemas"]["Metadata"];
|
|
1807
1831
|
};
|
|
1808
1832
|
CreatePayoutRequest: {
|
|
@@ -1815,8 +1839,7 @@ interface components {
|
|
|
1815
1839
|
external_account_id: string;
|
|
1816
1840
|
amount: number;
|
|
1817
1841
|
currency?: string;
|
|
1818
|
-
|
|
1819
|
-
direction: "credit" | "debit";
|
|
1842
|
+
direction: components["schemas"]["PayoutDirectionType"];
|
|
1820
1843
|
metadata?: components["schemas"]["Metadata"];
|
|
1821
1844
|
};
|
|
1822
1845
|
CreateBulkPayoutsRequest: {
|
|
@@ -1831,11 +1854,9 @@ interface components {
|
|
|
1831
1854
|
external_account_id?: string;
|
|
1832
1855
|
amount?: number;
|
|
1833
1856
|
currency?: string;
|
|
1834
|
-
|
|
1835
|
-
direction?: "credit" | "debit";
|
|
1857
|
+
direction?: components["schemas"]["PayoutDirectionType"];
|
|
1836
1858
|
metadata?: components["schemas"]["Metadata"];
|
|
1837
|
-
|
|
1838
|
-
state?: "pending" | "succeeded" | "failed" | "accepted" | "rejected";
|
|
1859
|
+
state?: components["schemas"]["PayoutStateType"];
|
|
1839
1860
|
/** Format: date-time */
|
|
1840
1861
|
created_at?: string;
|
|
1841
1862
|
/** Format: date-time */
|
|
@@ -1862,6 +1883,7 @@ interface components {
|
|
|
1862
1883
|
/** Format: uuid */
|
|
1863
1884
|
processor_transaction_id?: string;
|
|
1864
1885
|
processor_reference?: string;
|
|
1886
|
+
network_transaction_id?: string;
|
|
1865
1887
|
/** @enum {string} */
|
|
1866
1888
|
transaction_type?: "authorization" | "authorization_reversal" | "capture" | "credit" | "echeck_credit" | "echeck_sale" | "echeck_void" | "sale" | "void";
|
|
1867
1889
|
/** Format: date-time */
|
|
@@ -1942,10 +1964,8 @@ interface components {
|
|
|
1942
1964
|
/** Format: uuid */
|
|
1943
1965
|
payment_method_id?: string;
|
|
1944
1966
|
platform_fee?: number;
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
/** @enum {string} */
|
|
1948
|
-
state?: "pending" | "processing" | "requires_review" | "succeeded" | "cancelled" | "failed";
|
|
1967
|
+
source?: components["schemas"]["TransactionSourceType"];
|
|
1968
|
+
state?: components["schemas"]["RefundStateType"];
|
|
1949
1969
|
statement_descriptor?: string;
|
|
1950
1970
|
/** Format: date-time */
|
|
1951
1971
|
succeeded_at?: string;
|
|
@@ -1957,8 +1977,9 @@ interface components {
|
|
|
1957
1977
|
allowed_reverse_action?: "void" | null;
|
|
1958
1978
|
};
|
|
1959
1979
|
CreateRenderTemplateInput: {
|
|
1960
|
-
allowed_payment_method_types?:
|
|
1980
|
+
allowed_payment_method_types?: components["schemas"]["PaymentMethodType"][];
|
|
1961
1981
|
currency?: string;
|
|
1982
|
+
moto?: boolean;
|
|
1962
1983
|
origin_ids?: string[];
|
|
1963
1984
|
};
|
|
1964
1985
|
CreateRenderTemplateRequest: {
|
|
@@ -1969,8 +1990,9 @@ interface components {
|
|
|
1969
1990
|
id?: string;
|
|
1970
1991
|
/** Format: uuid */
|
|
1971
1992
|
organization_id?: string;
|
|
1972
|
-
allowed_payment_method_types?:
|
|
1993
|
+
allowed_payment_method_types?: components["schemas"]["PaymentMethodType"][];
|
|
1973
1994
|
currency?: string;
|
|
1995
|
+
moto?: boolean;
|
|
1974
1996
|
};
|
|
1975
1997
|
CreateSetupIntentInput: {
|
|
1976
1998
|
/** Format: uuid */
|
|
@@ -2002,8 +2024,7 @@ interface components {
|
|
|
2002
2024
|
metadata?: components["schemas"]["Metadata"];
|
|
2003
2025
|
/** Format: uuid */
|
|
2004
2026
|
payment_method_id?: string;
|
|
2005
|
-
|
|
2006
|
-
source?: "api" | "dashboard" | "iframe" | "system" | "subscription";
|
|
2027
|
+
source?: components["schemas"]["TransactionSourceType"];
|
|
2007
2028
|
/** @enum {string} */
|
|
2008
2029
|
state?: "requires_payment_method" | "requires_confirmation" | "verifying" | "requires_review" | "succeeded" | "failed" | "cancelled" | "errored";
|
|
2009
2030
|
/** Format: date-time */
|
|
@@ -2017,8 +2038,7 @@ interface components {
|
|
|
2017
2038
|
/** Format: uuid */
|
|
2018
2039
|
customer_id?: string;
|
|
2019
2040
|
cycles?: number;
|
|
2020
|
-
|
|
2021
|
-
interval?: "day" | "week" | "month" | "year";
|
|
2041
|
+
interval?: components["schemas"]["SubscriptionIntervalType"];
|
|
2022
2042
|
interval_count?: number;
|
|
2023
2043
|
/** Format: uuid */
|
|
2024
2044
|
subscription_plan_id?: string;
|
|
@@ -2054,8 +2074,7 @@ interface components {
|
|
|
2054
2074
|
customer_id?: string;
|
|
2055
2075
|
/** Format: uuid */
|
|
2056
2076
|
payment_method_id?: string;
|
|
2057
|
-
|
|
2058
|
-
interval?: "day" | "week" | "month" | "year";
|
|
2077
|
+
interval?: components["schemas"]["SubscriptionIntervalType"];
|
|
2059
2078
|
interval_count?: number;
|
|
2060
2079
|
/** @enum {string} */
|
|
2061
2080
|
state?: "active" | "paused" | "past_due" | "cancelled";
|
|
@@ -2081,13 +2100,11 @@ interface components {
|
|
|
2081
2100
|
/** Format: uuid */
|
|
2082
2101
|
product_id?: string;
|
|
2083
2102
|
description?: string;
|
|
2084
|
-
|
|
2085
|
-
interval?: "day" | "week" | "month" | "year";
|
|
2103
|
+
interval?: components["schemas"]["SubscriptionIntervalType"];
|
|
2086
2104
|
interval_count?: number;
|
|
2087
2105
|
metadata?: components["schemas"]["Metadata"];
|
|
2088
2106
|
name?: string;
|
|
2089
|
-
|
|
2090
|
-
plan_type?: "fixed" | "variable";
|
|
2107
|
+
plan_type?: components["schemas"]["SubscriptionPlanType"];
|
|
2091
2108
|
trial_period_days?: number;
|
|
2092
2109
|
};
|
|
2093
2110
|
CreateSubscriptionPlanRequest: {
|
|
@@ -2112,13 +2129,11 @@ interface components {
|
|
|
2112
2129
|
currency?: string;
|
|
2113
2130
|
cycles?: number;
|
|
2114
2131
|
description?: string;
|
|
2115
|
-
|
|
2116
|
-
interval?: "day" | "week" | "month" | "year";
|
|
2132
|
+
interval?: components["schemas"]["SubscriptionIntervalType"];
|
|
2117
2133
|
interval_count?: number;
|
|
2118
2134
|
metadata?: components["schemas"]["Metadata"];
|
|
2119
2135
|
name?: string;
|
|
2120
|
-
|
|
2121
|
-
plan_type?: "fixed" | "variable";
|
|
2136
|
+
plan_type?: components["schemas"]["SubscriptionPlanType"];
|
|
2122
2137
|
trial_period_days?: number;
|
|
2123
2138
|
/** Format: date-time */
|
|
2124
2139
|
created_at?: string;
|
|
@@ -2165,10 +2180,8 @@ interface components {
|
|
|
2165
2180
|
/** Format: uuid */
|
|
2166
2181
|
payment_method_id?: string;
|
|
2167
2182
|
platform_fee?: number;
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
/** @enum {string} */
|
|
2171
|
-
state?: "pending" | "processing" | "requires_review" | "succeeded" | "cancelled" | "failed";
|
|
2183
|
+
source?: components["schemas"]["TransactionSourceType"];
|
|
2184
|
+
state?: components["schemas"]["RefundStateType"];
|
|
2172
2185
|
statement_descriptor?: string;
|
|
2173
2186
|
/** Format: date-time */
|
|
2174
2187
|
succeeded_at?: string;
|
|
@@ -2192,7 +2205,7 @@ interface components {
|
|
|
2192
2205
|
updated_at?: string;
|
|
2193
2206
|
};
|
|
2194
2207
|
CreateWebhookEndpointInput: {
|
|
2195
|
-
events?:
|
|
2208
|
+
events?: components["schemas"]["WebhookEventType"][];
|
|
2196
2209
|
metadata?: components["schemas"]["Metadata"];
|
|
2197
2210
|
active?: boolean;
|
|
2198
2211
|
url?: string;
|
|
@@ -2203,7 +2216,7 @@ interface components {
|
|
|
2203
2216
|
WebhookEndpoint: {
|
|
2204
2217
|
/** Format: uuid */
|
|
2205
2218
|
id?: string;
|
|
2206
|
-
events?:
|
|
2219
|
+
events?: components["schemas"]["WebhookEventType"][];
|
|
2207
2220
|
metadata?: components["schemas"]["Metadata"];
|
|
2208
2221
|
secret?: string;
|
|
2209
2222
|
url?: string;
|
|
@@ -2217,6 +2230,8 @@ interface components {
|
|
|
2217
2230
|
id?: string;
|
|
2218
2231
|
/** Format: uuid */
|
|
2219
2232
|
webhook_endpoint_id?: string;
|
|
2233
|
+
/** Format: date-time */
|
|
2234
|
+
expires_at?: string;
|
|
2220
2235
|
request_body?: Record<string, never>;
|
|
2221
2236
|
/** Format: date-time */
|
|
2222
2237
|
created_at?: string;
|
|
@@ -2244,7 +2259,7 @@ interface components {
|
|
|
2244
2259
|
/** @description The ID of the payment transaction to filter by */
|
|
2245
2260
|
PaymentTransactionIdQuery: string;
|
|
2246
2261
|
/** @description The payout state to filter by */
|
|
2247
|
-
PayoutStateQuery: "
|
|
2262
|
+
PayoutStateQuery: components["schemas"]["PayoutStateType"];
|
|
2248
2263
|
/** @description Number of results per page. */
|
|
2249
2264
|
PerPageQuery: number;
|
|
2250
2265
|
/** @description The phone to filter by */
|
package/dist/index.d.ts
CHANGED
|
@@ -1241,7 +1241,7 @@ interface components {
|
|
|
1241
1241
|
wallet_brand?: string;
|
|
1242
1242
|
wallet_last4?: string;
|
|
1243
1243
|
wallet_payload?: string;
|
|
1244
|
-
wallet_provider?:
|
|
1244
|
+
wallet_provider?: components["schemas"]["WalletProviderType"];
|
|
1245
1245
|
};
|
|
1246
1246
|
CardProfile: {
|
|
1247
1247
|
avs_check?: string;
|
|
@@ -1258,7 +1258,7 @@ interface components {
|
|
|
1258
1258
|
state?: string;
|
|
1259
1259
|
three_d_secure_supported?: boolean | null;
|
|
1260
1260
|
token?: string;
|
|
1261
|
-
wallet_provider?:
|
|
1261
|
+
wallet_provider?: components["schemas"]["WalletProviderType"];
|
|
1262
1262
|
/** Format: date-time */
|
|
1263
1263
|
created_at?: string;
|
|
1264
1264
|
/** Format: date-time */
|
|
@@ -1308,8 +1308,7 @@ interface components {
|
|
|
1308
1308
|
/** Format: uuid */
|
|
1309
1309
|
payment_method_id?: string;
|
|
1310
1310
|
platform_fee?: number;
|
|
1311
|
-
|
|
1312
|
-
source?: "api" | "dashboard" | "iframe" | "system" | "subscription";
|
|
1311
|
+
source?: components["schemas"]["TransactionSourceType"];
|
|
1313
1312
|
/** @enum {string} */
|
|
1314
1313
|
state?: "cancelled" | "errored" | "failed" | "processing" | "requires_capture" | "requires_confirmation" | "requires_review" | "succeeded";
|
|
1315
1314
|
statement_descriptor?: string;
|
|
@@ -1430,8 +1429,7 @@ interface components {
|
|
|
1430
1429
|
CreateLegalEntityApplicationDocumentInput: {
|
|
1431
1430
|
/** Format: uuid */
|
|
1432
1431
|
legal_entity_application_id?: string;
|
|
1433
|
-
|
|
1434
|
-
document_type?: "irs_cp_575";
|
|
1432
|
+
document_type?: components["schemas"]["LegalEntityDocumentType"];
|
|
1435
1433
|
/** Format: uuid */
|
|
1436
1434
|
file_upload_id?: string;
|
|
1437
1435
|
};
|
|
@@ -1443,8 +1441,7 @@ interface components {
|
|
|
1443
1441
|
id?: string;
|
|
1444
1442
|
/** Format: uuid */
|
|
1445
1443
|
legal_entity_application_id?: string;
|
|
1446
|
-
|
|
1447
|
-
document_type?: "irs_cp_575";
|
|
1444
|
+
document_type?: components["schemas"]["LegalEntityDocumentType"];
|
|
1448
1445
|
/** Format: uuid */
|
|
1449
1446
|
file_upload_id?: string;
|
|
1450
1447
|
};
|
|
@@ -1508,10 +1505,38 @@ interface components {
|
|
|
1508
1505
|
contact_phone?: string;
|
|
1509
1506
|
tax_id_last4?: string;
|
|
1510
1507
|
};
|
|
1508
|
+
/** @enum {string} */
|
|
1509
|
+
LegalEntityEntityType: "individual_sole_proprietorship" | "corporation" | "limited_liability_company" | "partnership" | "limited_partnership" | "general_partnership" | "tax_exempt_organization" | "government_agency";
|
|
1510
|
+
/** @enum {string} */
|
|
1511
|
+
LegalEntityOwnershipType: "public" | "private";
|
|
1512
|
+
/** @enum {string} */
|
|
1513
|
+
LegalEntityDocumentType: "irs_cp_575";
|
|
1514
|
+
/** @enum {string} */
|
|
1515
|
+
MerchantBusinessCategoryType: "business_association" | "charity" | "church" | "county" | "federal" | "fraternal_org" | "government" | "higher_education" | "k12" | "labor_union" | "local" | "ministry" | "pac" | "parachurch" | "party" | "preschool" | "social_club" | "social_welfare" | "state" | "tribal" | "vendor" | "veterans_org";
|
|
1516
|
+
/** @enum {string} */
|
|
1517
|
+
PaymentLinkAmountType: "fixed" | "open";
|
|
1518
|
+
/** @enum {string} */
|
|
1519
|
+
PaymentMethodType: "card" | "bank_account";
|
|
1520
|
+
/** @enum {string} */
|
|
1521
|
+
PayoutDirectionType: "credit" | "debit";
|
|
1522
|
+
/** @enum {string} */
|
|
1523
|
+
PayoutStateType: "pending" | "succeeded" | "failed" | "accepted" | "rejected";
|
|
1524
|
+
/** @enum {string} */
|
|
1525
|
+
RefundStateType: "pending" | "processing" | "requires_review" | "succeeded" | "cancelled" | "failed";
|
|
1526
|
+
/** @enum {string} */
|
|
1527
|
+
SubscriptionIntervalType: "day" | "week" | "month" | "year";
|
|
1528
|
+
/** @enum {string} */
|
|
1529
|
+
SubscriptionPlanType: "fixed" | "variable";
|
|
1530
|
+
/** @enum {string} */
|
|
1531
|
+
TransactionSourceType: "api" | "dashboard" | "iframe" | "system" | "subscription";
|
|
1532
|
+
/** @enum {string} */
|
|
1533
|
+
WalletProviderType: "googlepay" | "applepay";
|
|
1534
|
+
/** @enum {string} */
|
|
1535
|
+
WebhookEventType: "charge.cancelled" | "charge.created" | "charge.errored" | "charge.failed" | "charge.processing" | "charge.requires_capture" | "charge.requires_confirmation" | "charge.requires_review" | "charge.succeeded" | "customer.created" | "customer.updated" | "legal_entity.created" | "legal_entity.updated" | "legal_entity_principal.created" | "legal_entity_principal.updated" | "merchant.created" | "merchant.updated" | "payment_intent.cancelled" | "payment_intent.created" | "payment_intent.errored_authorization" | "payment_intent.errored_capture" | "payment_intent.errored_sale" | "payment_intent.processing_authorization" | "payment_intent.processing_capture" | "payment_intent.processing_sale" | "payment_intent.requires_capture" | "payment_intent.requires_confirmation" | "payment_intent.requires_payment_method" | "payment_intent.requires_review" | "payment_intent.succeeded" | "processor_transaction.completed" | "reconciliation.created" | "refund.cancelled" | "refund.created" | "refund.failed" | "refund.pending" | "refund.processing" | "refund.requires_review" | "refund.succeeded" | "void.created" | "void.failed" | "void.pending" | "void.processing" | "void.requires_review" | "void.succeeded";
|
|
1511
1536
|
CreateLegalEntityApplicationInput: {
|
|
1512
1537
|
legal_name?: string;
|
|
1513
|
-
entity_type?:
|
|
1514
|
-
ownership_type?:
|
|
1538
|
+
entity_type?: components["schemas"]["LegalEntityEntityType"];
|
|
1539
|
+
ownership_type?: components["schemas"]["LegalEntityOwnershipType"];
|
|
1515
1540
|
tax_id?: string;
|
|
1516
1541
|
contact_email?: string;
|
|
1517
1542
|
contact_phone?: string;
|
|
@@ -1541,8 +1566,8 @@ interface components {
|
|
|
1541
1566
|
/** Format: uuid */
|
|
1542
1567
|
id?: string;
|
|
1543
1568
|
legal_name?: string;
|
|
1544
|
-
entity_type?:
|
|
1545
|
-
ownership_type?:
|
|
1569
|
+
entity_type?: components["schemas"]["LegalEntityEntityType"];
|
|
1570
|
+
ownership_type?: components["schemas"]["LegalEntityOwnershipType"];
|
|
1546
1571
|
contact_email?: string;
|
|
1547
1572
|
contact_phone?: string;
|
|
1548
1573
|
business_address_line1?: string;
|
|
@@ -1559,8 +1584,8 @@ interface components {
|
|
|
1559
1584
|
legal_name?: string;
|
|
1560
1585
|
/** Format: uuid */
|
|
1561
1586
|
legal_entity_id?: string;
|
|
1562
|
-
entity_type?:
|
|
1563
|
-
ownership_type?:
|
|
1587
|
+
entity_type?: components["schemas"]["LegalEntityEntityType"];
|
|
1588
|
+
ownership_type?: components["schemas"]["LegalEntityOwnershipType"];
|
|
1564
1589
|
contact_email?: string;
|
|
1565
1590
|
contact_phone?: string;
|
|
1566
1591
|
business_address_line1?: string;
|
|
@@ -1577,8 +1602,7 @@ interface components {
|
|
|
1577
1602
|
annual_credit_card_sales_volume?: number;
|
|
1578
1603
|
bank_account_number?: string;
|
|
1579
1604
|
bank_routing_number?: string;
|
|
1580
|
-
|
|
1581
|
-
business_category?: "business_association" | "charity" | "church" | "county" | "federal" | "fraternal_org" | "government" | "higher_education" | "k12" | "labor_union" | "local" | "ministry" | "pac" | "parachurch" | "party" | "preschool" | "social_club" | "social_welfare" | "state" | "tribal" | "vendor" | "veterans_org";
|
|
1605
|
+
business_category?: components["schemas"]["MerchantBusinessCategoryType"];
|
|
1582
1606
|
business_description?: string;
|
|
1583
1607
|
city?: string;
|
|
1584
1608
|
country_code?: string;
|
|
@@ -1604,8 +1628,7 @@ interface components {
|
|
|
1604
1628
|
/** Format: uuid */
|
|
1605
1629
|
id?: string;
|
|
1606
1630
|
annual_credit_card_sales_volume?: number;
|
|
1607
|
-
|
|
1608
|
-
business_category?: "business_association" | "charity" | "church" | "county" | "federal" | "fraternal_org" | "government" | "higher_education" | "k12" | "labor_union" | "local" | "ministry" | "pac" | "parachurch" | "party" | "preschool" | "social_club" | "social_welfare" | "state" | "tribal" | "vendor" | "veterans_org";
|
|
1631
|
+
business_category?: components["schemas"]["MerchantBusinessCategoryType"];
|
|
1609
1632
|
business_description?: string;
|
|
1610
1633
|
city?: string;
|
|
1611
1634
|
country_code?: string;
|
|
@@ -1674,6 +1697,7 @@ interface components {
|
|
|
1674
1697
|
description?: string | null;
|
|
1675
1698
|
statement_descriptor?: string;
|
|
1676
1699
|
metadata?: components["schemas"]["Metadata"];
|
|
1700
|
+
recurring_payment?: components["schemas"]["RecurringPayment"];
|
|
1677
1701
|
};
|
|
1678
1702
|
CreatePaymentIntentRequest: {
|
|
1679
1703
|
payment_intent: components["schemas"]["CreatePaymentIntentInput"];
|
|
@@ -1697,6 +1721,7 @@ interface components {
|
|
|
1697
1721
|
payment_method_id?: string;
|
|
1698
1722
|
amount?: number;
|
|
1699
1723
|
metadata?: components["schemas"]["Metadata"];
|
|
1724
|
+
recurring_payment?: components["schemas"]["RecurringPayment"];
|
|
1700
1725
|
};
|
|
1701
1726
|
UpdatePaymentIntentRequest: {
|
|
1702
1727
|
payment_intent: components["schemas"]["UpdatePaymentIntentInput"];
|
|
@@ -1715,10 +1740,10 @@ interface components {
|
|
|
1715
1740
|
customer_id?: string;
|
|
1716
1741
|
description?: string;
|
|
1717
1742
|
metadata?: components["schemas"]["Metadata"];
|
|
1743
|
+
recurring_payment?: components["schemas"]["RecurringPayment"];
|
|
1718
1744
|
/** Format: uuid */
|
|
1719
1745
|
payment_method_id?: string;
|
|
1720
|
-
|
|
1721
|
-
source?: "api" | "dashboard" | "iframe" | "system" | "subscription";
|
|
1746
|
+
source?: components["schemas"]["TransactionSourceType"];
|
|
1722
1747
|
/** @enum {string} */
|
|
1723
1748
|
state?: "requires_payment_method" | "requires_confirmation" | "requires_capture" | "processing_authorization" | "processing_capture" | "processing_sale" | "requires_review" | "succeeded" | "cancelled" | "errored_authorization" | "errored_capture" | "errored_sale";
|
|
1724
1749
|
statement_descriptor?: string;
|
|
@@ -1727,11 +1752,13 @@ interface components {
|
|
|
1727
1752
|
/** Format: date-time */
|
|
1728
1753
|
updated_at?: string;
|
|
1729
1754
|
};
|
|
1755
|
+
RecurringPayment: {
|
|
1756
|
+
network_transaction_id?: string;
|
|
1757
|
+
};
|
|
1730
1758
|
CreatePaymentLinkInput: {
|
|
1731
1759
|
slug?: string;
|
|
1732
1760
|
active?: boolean;
|
|
1733
|
-
|
|
1734
|
-
amount_type?: "fixed" | "open";
|
|
1761
|
+
amount_type?: components["schemas"]["PaymentLinkAmountType"];
|
|
1735
1762
|
amount?: number;
|
|
1736
1763
|
/** Format: uri */
|
|
1737
1764
|
image_url?: string;
|
|
@@ -1761,8 +1788,7 @@ interface components {
|
|
|
1761
1788
|
account_id?: string;
|
|
1762
1789
|
slug?: string;
|
|
1763
1790
|
active?: boolean;
|
|
1764
|
-
|
|
1765
|
-
amount_type?: "fixed" | "open";
|
|
1791
|
+
amount_type?: components["schemas"]["PaymentLinkAmountType"];
|
|
1766
1792
|
amount?: number;
|
|
1767
1793
|
/** Format: uri */
|
|
1768
1794
|
image_url?: string;
|
|
@@ -1786,8 +1812,7 @@ interface components {
|
|
|
1786
1812
|
/** Format: uuid */
|
|
1787
1813
|
customer_id?: string;
|
|
1788
1814
|
metadata?: components["schemas"]["Metadata"];
|
|
1789
|
-
|
|
1790
|
-
type?: "card" | "bank_account";
|
|
1815
|
+
type?: components["schemas"]["PaymentMethodType"];
|
|
1791
1816
|
bank_account_profile?: components["schemas"]["BankAccountProfile"];
|
|
1792
1817
|
billing_address?: components["schemas"]["BillingAddress"];
|
|
1793
1818
|
card_profile?: components["schemas"]["CardProfile"];
|
|
@@ -1801,8 +1826,7 @@ interface components {
|
|
|
1801
1826
|
external_account_id: string;
|
|
1802
1827
|
amount: number;
|
|
1803
1828
|
currency?: string;
|
|
1804
|
-
|
|
1805
|
-
direction: "credit" | "debit";
|
|
1829
|
+
direction: components["schemas"]["PayoutDirectionType"];
|
|
1806
1830
|
metadata?: components["schemas"]["Metadata"];
|
|
1807
1831
|
};
|
|
1808
1832
|
CreatePayoutRequest: {
|
|
@@ -1815,8 +1839,7 @@ interface components {
|
|
|
1815
1839
|
external_account_id: string;
|
|
1816
1840
|
amount: number;
|
|
1817
1841
|
currency?: string;
|
|
1818
|
-
|
|
1819
|
-
direction: "credit" | "debit";
|
|
1842
|
+
direction: components["schemas"]["PayoutDirectionType"];
|
|
1820
1843
|
metadata?: components["schemas"]["Metadata"];
|
|
1821
1844
|
};
|
|
1822
1845
|
CreateBulkPayoutsRequest: {
|
|
@@ -1831,11 +1854,9 @@ interface components {
|
|
|
1831
1854
|
external_account_id?: string;
|
|
1832
1855
|
amount?: number;
|
|
1833
1856
|
currency?: string;
|
|
1834
|
-
|
|
1835
|
-
direction?: "credit" | "debit";
|
|
1857
|
+
direction?: components["schemas"]["PayoutDirectionType"];
|
|
1836
1858
|
metadata?: components["schemas"]["Metadata"];
|
|
1837
|
-
|
|
1838
|
-
state?: "pending" | "succeeded" | "failed" | "accepted" | "rejected";
|
|
1859
|
+
state?: components["schemas"]["PayoutStateType"];
|
|
1839
1860
|
/** Format: date-time */
|
|
1840
1861
|
created_at?: string;
|
|
1841
1862
|
/** Format: date-time */
|
|
@@ -1862,6 +1883,7 @@ interface components {
|
|
|
1862
1883
|
/** Format: uuid */
|
|
1863
1884
|
processor_transaction_id?: string;
|
|
1864
1885
|
processor_reference?: string;
|
|
1886
|
+
network_transaction_id?: string;
|
|
1865
1887
|
/** @enum {string} */
|
|
1866
1888
|
transaction_type?: "authorization" | "authorization_reversal" | "capture" | "credit" | "echeck_credit" | "echeck_sale" | "echeck_void" | "sale" | "void";
|
|
1867
1889
|
/** Format: date-time */
|
|
@@ -1942,10 +1964,8 @@ interface components {
|
|
|
1942
1964
|
/** Format: uuid */
|
|
1943
1965
|
payment_method_id?: string;
|
|
1944
1966
|
platform_fee?: number;
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
/** @enum {string} */
|
|
1948
|
-
state?: "pending" | "processing" | "requires_review" | "succeeded" | "cancelled" | "failed";
|
|
1967
|
+
source?: components["schemas"]["TransactionSourceType"];
|
|
1968
|
+
state?: components["schemas"]["RefundStateType"];
|
|
1949
1969
|
statement_descriptor?: string;
|
|
1950
1970
|
/** Format: date-time */
|
|
1951
1971
|
succeeded_at?: string;
|
|
@@ -1957,8 +1977,9 @@ interface components {
|
|
|
1957
1977
|
allowed_reverse_action?: "void" | null;
|
|
1958
1978
|
};
|
|
1959
1979
|
CreateRenderTemplateInput: {
|
|
1960
|
-
allowed_payment_method_types?:
|
|
1980
|
+
allowed_payment_method_types?: components["schemas"]["PaymentMethodType"][];
|
|
1961
1981
|
currency?: string;
|
|
1982
|
+
moto?: boolean;
|
|
1962
1983
|
origin_ids?: string[];
|
|
1963
1984
|
};
|
|
1964
1985
|
CreateRenderTemplateRequest: {
|
|
@@ -1969,8 +1990,9 @@ interface components {
|
|
|
1969
1990
|
id?: string;
|
|
1970
1991
|
/** Format: uuid */
|
|
1971
1992
|
organization_id?: string;
|
|
1972
|
-
allowed_payment_method_types?:
|
|
1993
|
+
allowed_payment_method_types?: components["schemas"]["PaymentMethodType"][];
|
|
1973
1994
|
currency?: string;
|
|
1995
|
+
moto?: boolean;
|
|
1974
1996
|
};
|
|
1975
1997
|
CreateSetupIntentInput: {
|
|
1976
1998
|
/** Format: uuid */
|
|
@@ -2002,8 +2024,7 @@ interface components {
|
|
|
2002
2024
|
metadata?: components["schemas"]["Metadata"];
|
|
2003
2025
|
/** Format: uuid */
|
|
2004
2026
|
payment_method_id?: string;
|
|
2005
|
-
|
|
2006
|
-
source?: "api" | "dashboard" | "iframe" | "system" | "subscription";
|
|
2027
|
+
source?: components["schemas"]["TransactionSourceType"];
|
|
2007
2028
|
/** @enum {string} */
|
|
2008
2029
|
state?: "requires_payment_method" | "requires_confirmation" | "verifying" | "requires_review" | "succeeded" | "failed" | "cancelled" | "errored";
|
|
2009
2030
|
/** Format: date-time */
|
|
@@ -2017,8 +2038,7 @@ interface components {
|
|
|
2017
2038
|
/** Format: uuid */
|
|
2018
2039
|
customer_id?: string;
|
|
2019
2040
|
cycles?: number;
|
|
2020
|
-
|
|
2021
|
-
interval?: "day" | "week" | "month" | "year";
|
|
2041
|
+
interval?: components["schemas"]["SubscriptionIntervalType"];
|
|
2022
2042
|
interval_count?: number;
|
|
2023
2043
|
/** Format: uuid */
|
|
2024
2044
|
subscription_plan_id?: string;
|
|
@@ -2054,8 +2074,7 @@ interface components {
|
|
|
2054
2074
|
customer_id?: string;
|
|
2055
2075
|
/** Format: uuid */
|
|
2056
2076
|
payment_method_id?: string;
|
|
2057
|
-
|
|
2058
|
-
interval?: "day" | "week" | "month" | "year";
|
|
2077
|
+
interval?: components["schemas"]["SubscriptionIntervalType"];
|
|
2059
2078
|
interval_count?: number;
|
|
2060
2079
|
/** @enum {string} */
|
|
2061
2080
|
state?: "active" | "paused" | "past_due" | "cancelled";
|
|
@@ -2081,13 +2100,11 @@ interface components {
|
|
|
2081
2100
|
/** Format: uuid */
|
|
2082
2101
|
product_id?: string;
|
|
2083
2102
|
description?: string;
|
|
2084
|
-
|
|
2085
|
-
interval?: "day" | "week" | "month" | "year";
|
|
2103
|
+
interval?: components["schemas"]["SubscriptionIntervalType"];
|
|
2086
2104
|
interval_count?: number;
|
|
2087
2105
|
metadata?: components["schemas"]["Metadata"];
|
|
2088
2106
|
name?: string;
|
|
2089
|
-
|
|
2090
|
-
plan_type?: "fixed" | "variable";
|
|
2107
|
+
plan_type?: components["schemas"]["SubscriptionPlanType"];
|
|
2091
2108
|
trial_period_days?: number;
|
|
2092
2109
|
};
|
|
2093
2110
|
CreateSubscriptionPlanRequest: {
|
|
@@ -2112,13 +2129,11 @@ interface components {
|
|
|
2112
2129
|
currency?: string;
|
|
2113
2130
|
cycles?: number;
|
|
2114
2131
|
description?: string;
|
|
2115
|
-
|
|
2116
|
-
interval?: "day" | "week" | "month" | "year";
|
|
2132
|
+
interval?: components["schemas"]["SubscriptionIntervalType"];
|
|
2117
2133
|
interval_count?: number;
|
|
2118
2134
|
metadata?: components["schemas"]["Metadata"];
|
|
2119
2135
|
name?: string;
|
|
2120
|
-
|
|
2121
|
-
plan_type?: "fixed" | "variable";
|
|
2136
|
+
plan_type?: components["schemas"]["SubscriptionPlanType"];
|
|
2122
2137
|
trial_period_days?: number;
|
|
2123
2138
|
/** Format: date-time */
|
|
2124
2139
|
created_at?: string;
|
|
@@ -2165,10 +2180,8 @@ interface components {
|
|
|
2165
2180
|
/** Format: uuid */
|
|
2166
2181
|
payment_method_id?: string;
|
|
2167
2182
|
platform_fee?: number;
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
/** @enum {string} */
|
|
2171
|
-
state?: "pending" | "processing" | "requires_review" | "succeeded" | "cancelled" | "failed";
|
|
2183
|
+
source?: components["schemas"]["TransactionSourceType"];
|
|
2184
|
+
state?: components["schemas"]["RefundStateType"];
|
|
2172
2185
|
statement_descriptor?: string;
|
|
2173
2186
|
/** Format: date-time */
|
|
2174
2187
|
succeeded_at?: string;
|
|
@@ -2192,7 +2205,7 @@ interface components {
|
|
|
2192
2205
|
updated_at?: string;
|
|
2193
2206
|
};
|
|
2194
2207
|
CreateWebhookEndpointInput: {
|
|
2195
|
-
events?:
|
|
2208
|
+
events?: components["schemas"]["WebhookEventType"][];
|
|
2196
2209
|
metadata?: components["schemas"]["Metadata"];
|
|
2197
2210
|
active?: boolean;
|
|
2198
2211
|
url?: string;
|
|
@@ -2203,7 +2216,7 @@ interface components {
|
|
|
2203
2216
|
WebhookEndpoint: {
|
|
2204
2217
|
/** Format: uuid */
|
|
2205
2218
|
id?: string;
|
|
2206
|
-
events?:
|
|
2219
|
+
events?: components["schemas"]["WebhookEventType"][];
|
|
2207
2220
|
metadata?: components["schemas"]["Metadata"];
|
|
2208
2221
|
secret?: string;
|
|
2209
2222
|
url?: string;
|
|
@@ -2217,6 +2230,8 @@ interface components {
|
|
|
2217
2230
|
id?: string;
|
|
2218
2231
|
/** Format: uuid */
|
|
2219
2232
|
webhook_endpoint_id?: string;
|
|
2233
|
+
/** Format: date-time */
|
|
2234
|
+
expires_at?: string;
|
|
2220
2235
|
request_body?: Record<string, never>;
|
|
2221
2236
|
/** Format: date-time */
|
|
2222
2237
|
created_at?: string;
|
|
@@ -2244,7 +2259,7 @@ interface components {
|
|
|
2244
2259
|
/** @description The ID of the payment transaction to filter by */
|
|
2245
2260
|
PaymentTransactionIdQuery: string;
|
|
2246
2261
|
/** @description The payout state to filter by */
|
|
2247
|
-
PayoutStateQuery: "
|
|
2262
|
+
PayoutStateQuery: components["schemas"]["PayoutStateType"];
|
|
2248
2263
|
/** @description Number of results per page. */
|
|
2249
2264
|
PerPageQuery: number;
|
|
2250
2265
|
/** @description The phone to filter by */
|
package/openapi/schema.ts
CHANGED
|
@@ -1238,7 +1238,7 @@ export interface components {
|
|
|
1238
1238
|
wallet_brand?: string;
|
|
1239
1239
|
wallet_last4?: string;
|
|
1240
1240
|
wallet_payload?: string;
|
|
1241
|
-
wallet_provider?:
|
|
1241
|
+
wallet_provider?: components["schemas"]["WalletProviderType"];
|
|
1242
1242
|
};
|
|
1243
1243
|
CardProfile: {
|
|
1244
1244
|
avs_check?: string;
|
|
@@ -1255,7 +1255,7 @@ export interface components {
|
|
|
1255
1255
|
state?: string;
|
|
1256
1256
|
three_d_secure_supported?: boolean | null;
|
|
1257
1257
|
token?: string;
|
|
1258
|
-
wallet_provider?:
|
|
1258
|
+
wallet_provider?: components["schemas"]["WalletProviderType"];
|
|
1259
1259
|
/** Format: date-time */
|
|
1260
1260
|
created_at?: string;
|
|
1261
1261
|
/** Format: date-time */
|
|
@@ -1305,8 +1305,7 @@ export interface components {
|
|
|
1305
1305
|
/** Format: uuid */
|
|
1306
1306
|
payment_method_id?: string;
|
|
1307
1307
|
platform_fee?: number;
|
|
1308
|
-
|
|
1309
|
-
source?: "api" | "dashboard" | "iframe" | "system" | "subscription";
|
|
1308
|
+
source?: components["schemas"]["TransactionSourceType"];
|
|
1310
1309
|
/** @enum {string} */
|
|
1311
1310
|
state?: "cancelled" | "errored" | "failed" | "processing" | "requires_capture" | "requires_confirmation" | "requires_review" | "succeeded";
|
|
1312
1311
|
statement_descriptor?: string;
|
|
@@ -1427,8 +1426,7 @@ export interface components {
|
|
|
1427
1426
|
CreateLegalEntityApplicationDocumentInput: {
|
|
1428
1427
|
/** Format: uuid */
|
|
1429
1428
|
legal_entity_application_id?: string;
|
|
1430
|
-
|
|
1431
|
-
document_type?: "irs_cp_575";
|
|
1429
|
+
document_type?: components["schemas"]["LegalEntityDocumentType"];
|
|
1432
1430
|
/** Format: uuid */
|
|
1433
1431
|
file_upload_id?: string;
|
|
1434
1432
|
};
|
|
@@ -1440,8 +1438,7 @@ export interface components {
|
|
|
1440
1438
|
id?: string;
|
|
1441
1439
|
/** Format: uuid */
|
|
1442
1440
|
legal_entity_application_id?: string;
|
|
1443
|
-
|
|
1444
|
-
document_type?: "irs_cp_575";
|
|
1441
|
+
document_type?: components["schemas"]["LegalEntityDocumentType"];
|
|
1445
1442
|
/** Format: uuid */
|
|
1446
1443
|
file_upload_id?: string;
|
|
1447
1444
|
};
|
|
@@ -1505,10 +1502,38 @@ export interface components {
|
|
|
1505
1502
|
contact_phone?: string;
|
|
1506
1503
|
tax_id_last4?: string;
|
|
1507
1504
|
};
|
|
1505
|
+
/** @enum {string} */
|
|
1506
|
+
LegalEntityEntityType: "individual_sole_proprietorship" | "corporation" | "limited_liability_company" | "partnership" | "limited_partnership" | "general_partnership" | "tax_exempt_organization" | "government_agency";
|
|
1507
|
+
/** @enum {string} */
|
|
1508
|
+
LegalEntityOwnershipType: "public" | "private";
|
|
1509
|
+
/** @enum {string} */
|
|
1510
|
+
LegalEntityDocumentType: "irs_cp_575";
|
|
1511
|
+
/** @enum {string} */
|
|
1512
|
+
MerchantBusinessCategoryType: "business_association" | "charity" | "church" | "county" | "federal" | "fraternal_org" | "government" | "higher_education" | "k12" | "labor_union" | "local" | "ministry" | "pac" | "parachurch" | "party" | "preschool" | "social_club" | "social_welfare" | "state" | "tribal" | "vendor" | "veterans_org";
|
|
1513
|
+
/** @enum {string} */
|
|
1514
|
+
PaymentLinkAmountType: "fixed" | "open";
|
|
1515
|
+
/** @enum {string} */
|
|
1516
|
+
PaymentMethodType: "card" | "bank_account";
|
|
1517
|
+
/** @enum {string} */
|
|
1518
|
+
PayoutDirectionType: "credit" | "debit";
|
|
1519
|
+
/** @enum {string} */
|
|
1520
|
+
PayoutStateType: "pending" | "succeeded" | "failed" | "accepted" | "rejected";
|
|
1521
|
+
/** @enum {string} */
|
|
1522
|
+
RefundStateType: "pending" | "processing" | "requires_review" | "succeeded" | "cancelled" | "failed";
|
|
1523
|
+
/** @enum {string} */
|
|
1524
|
+
SubscriptionIntervalType: "day" | "week" | "month" | "year";
|
|
1525
|
+
/** @enum {string} */
|
|
1526
|
+
SubscriptionPlanType: "fixed" | "variable";
|
|
1527
|
+
/** @enum {string} */
|
|
1528
|
+
TransactionSourceType: "api" | "dashboard" | "iframe" | "system" | "subscription";
|
|
1529
|
+
/** @enum {string} */
|
|
1530
|
+
WalletProviderType: "googlepay" | "applepay";
|
|
1531
|
+
/** @enum {string} */
|
|
1532
|
+
WebhookEventType: "charge.cancelled" | "charge.created" | "charge.errored" | "charge.failed" | "charge.processing" | "charge.requires_capture" | "charge.requires_confirmation" | "charge.requires_review" | "charge.succeeded" | "customer.created" | "customer.updated" | "legal_entity.created" | "legal_entity.updated" | "legal_entity_principal.created" | "legal_entity_principal.updated" | "merchant.created" | "merchant.updated" | "payment_intent.cancelled" | "payment_intent.created" | "payment_intent.errored_authorization" | "payment_intent.errored_capture" | "payment_intent.errored_sale" | "payment_intent.processing_authorization" | "payment_intent.processing_capture" | "payment_intent.processing_sale" | "payment_intent.requires_capture" | "payment_intent.requires_confirmation" | "payment_intent.requires_payment_method" | "payment_intent.requires_review" | "payment_intent.succeeded" | "processor_transaction.completed" | "reconciliation.created" | "refund.cancelled" | "refund.created" | "refund.failed" | "refund.pending" | "refund.processing" | "refund.requires_review" | "refund.succeeded" | "void.created" | "void.failed" | "void.pending" | "void.processing" | "void.requires_review" | "void.succeeded";
|
|
1508
1533
|
CreateLegalEntityApplicationInput: {
|
|
1509
1534
|
legal_name?: string;
|
|
1510
|
-
entity_type?:
|
|
1511
|
-
ownership_type?:
|
|
1535
|
+
entity_type?: components["schemas"]["LegalEntityEntityType"];
|
|
1536
|
+
ownership_type?: components["schemas"]["LegalEntityOwnershipType"];
|
|
1512
1537
|
tax_id?: string;
|
|
1513
1538
|
contact_email?: string;
|
|
1514
1539
|
contact_phone?: string;
|
|
@@ -1538,8 +1563,8 @@ export interface components {
|
|
|
1538
1563
|
/** Format: uuid */
|
|
1539
1564
|
id?: string;
|
|
1540
1565
|
legal_name?: string;
|
|
1541
|
-
entity_type?:
|
|
1542
|
-
ownership_type?:
|
|
1566
|
+
entity_type?: components["schemas"]["LegalEntityEntityType"];
|
|
1567
|
+
ownership_type?: components["schemas"]["LegalEntityOwnershipType"];
|
|
1543
1568
|
contact_email?: string;
|
|
1544
1569
|
contact_phone?: string;
|
|
1545
1570
|
business_address_line1?: string;
|
|
@@ -1556,8 +1581,8 @@ export interface components {
|
|
|
1556
1581
|
legal_name?: string;
|
|
1557
1582
|
/** Format: uuid */
|
|
1558
1583
|
legal_entity_id?: string;
|
|
1559
|
-
entity_type?:
|
|
1560
|
-
ownership_type?:
|
|
1584
|
+
entity_type?: components["schemas"]["LegalEntityEntityType"];
|
|
1585
|
+
ownership_type?: components["schemas"]["LegalEntityOwnershipType"];
|
|
1561
1586
|
contact_email?: string;
|
|
1562
1587
|
contact_phone?: string;
|
|
1563
1588
|
business_address_line1?: string;
|
|
@@ -1574,8 +1599,7 @@ export interface components {
|
|
|
1574
1599
|
annual_credit_card_sales_volume?: number;
|
|
1575
1600
|
bank_account_number?: string;
|
|
1576
1601
|
bank_routing_number?: string;
|
|
1577
|
-
|
|
1578
|
-
business_category?: "business_association" | "charity" | "church" | "county" | "federal" | "fraternal_org" | "government" | "higher_education" | "k12" | "labor_union" | "local" | "ministry" | "pac" | "parachurch" | "party" | "preschool" | "social_club" | "social_welfare" | "state" | "tribal" | "vendor" | "veterans_org";
|
|
1602
|
+
business_category?: components["schemas"]["MerchantBusinessCategoryType"];
|
|
1579
1603
|
business_description?: string;
|
|
1580
1604
|
city?: string;
|
|
1581
1605
|
country_code?: string;
|
|
@@ -1601,8 +1625,7 @@ export interface components {
|
|
|
1601
1625
|
/** Format: uuid */
|
|
1602
1626
|
id?: string;
|
|
1603
1627
|
annual_credit_card_sales_volume?: number;
|
|
1604
|
-
|
|
1605
|
-
business_category?: "business_association" | "charity" | "church" | "county" | "federal" | "fraternal_org" | "government" | "higher_education" | "k12" | "labor_union" | "local" | "ministry" | "pac" | "parachurch" | "party" | "preschool" | "social_club" | "social_welfare" | "state" | "tribal" | "vendor" | "veterans_org";
|
|
1628
|
+
business_category?: components["schemas"]["MerchantBusinessCategoryType"];
|
|
1606
1629
|
business_description?: string;
|
|
1607
1630
|
city?: string;
|
|
1608
1631
|
country_code?: string;
|
|
@@ -1671,6 +1694,7 @@ export interface components {
|
|
|
1671
1694
|
description?: string | null;
|
|
1672
1695
|
statement_descriptor?: string;
|
|
1673
1696
|
metadata?: components["schemas"]["Metadata"];
|
|
1697
|
+
recurring_payment?: components["schemas"]["RecurringPayment"];
|
|
1674
1698
|
};
|
|
1675
1699
|
CreatePaymentIntentRequest: {
|
|
1676
1700
|
payment_intent: components["schemas"]["CreatePaymentIntentInput"];
|
|
@@ -1694,6 +1718,7 @@ export interface components {
|
|
|
1694
1718
|
payment_method_id?: string;
|
|
1695
1719
|
amount?: number;
|
|
1696
1720
|
metadata?: components["schemas"]["Metadata"];
|
|
1721
|
+
recurring_payment?: components["schemas"]["RecurringPayment"];
|
|
1697
1722
|
};
|
|
1698
1723
|
UpdatePaymentIntentRequest: {
|
|
1699
1724
|
payment_intent: components["schemas"]["UpdatePaymentIntentInput"];
|
|
@@ -1712,10 +1737,10 @@ export interface components {
|
|
|
1712
1737
|
customer_id?: string;
|
|
1713
1738
|
description?: string;
|
|
1714
1739
|
metadata?: components["schemas"]["Metadata"];
|
|
1740
|
+
recurring_payment?: components["schemas"]["RecurringPayment"];
|
|
1715
1741
|
/** Format: uuid */
|
|
1716
1742
|
payment_method_id?: string;
|
|
1717
|
-
|
|
1718
|
-
source?: "api" | "dashboard" | "iframe" | "system" | "subscription";
|
|
1743
|
+
source?: components["schemas"]["TransactionSourceType"];
|
|
1719
1744
|
/** @enum {string} */
|
|
1720
1745
|
state?: "requires_payment_method" | "requires_confirmation" | "requires_capture" | "processing_authorization" | "processing_capture" | "processing_sale" | "requires_review" | "succeeded" | "cancelled" | "errored_authorization" | "errored_capture" | "errored_sale";
|
|
1721
1746
|
statement_descriptor?: string;
|
|
@@ -1724,11 +1749,13 @@ export interface components {
|
|
|
1724
1749
|
/** Format: date-time */
|
|
1725
1750
|
updated_at?: string;
|
|
1726
1751
|
};
|
|
1752
|
+
RecurringPayment: {
|
|
1753
|
+
network_transaction_id?: string;
|
|
1754
|
+
};
|
|
1727
1755
|
CreatePaymentLinkInput: {
|
|
1728
1756
|
slug?: string;
|
|
1729
1757
|
active?: boolean;
|
|
1730
|
-
|
|
1731
|
-
amount_type?: "fixed" | "open";
|
|
1758
|
+
amount_type?: components["schemas"]["PaymentLinkAmountType"];
|
|
1732
1759
|
amount?: number;
|
|
1733
1760
|
/** Format: uri */
|
|
1734
1761
|
image_url?: string;
|
|
@@ -1758,8 +1785,7 @@ export interface components {
|
|
|
1758
1785
|
account_id?: string;
|
|
1759
1786
|
slug?: string;
|
|
1760
1787
|
active?: boolean;
|
|
1761
|
-
|
|
1762
|
-
amount_type?: "fixed" | "open";
|
|
1788
|
+
amount_type?: components["schemas"]["PaymentLinkAmountType"];
|
|
1763
1789
|
amount?: number;
|
|
1764
1790
|
/** Format: uri */
|
|
1765
1791
|
image_url?: string;
|
|
@@ -1783,8 +1809,7 @@ export interface components {
|
|
|
1783
1809
|
/** Format: uuid */
|
|
1784
1810
|
customer_id?: string;
|
|
1785
1811
|
metadata?: components["schemas"]["Metadata"];
|
|
1786
|
-
|
|
1787
|
-
type?: "card" | "bank_account";
|
|
1812
|
+
type?: components["schemas"]["PaymentMethodType"];
|
|
1788
1813
|
bank_account_profile?: components["schemas"]["BankAccountProfile"];
|
|
1789
1814
|
billing_address?: components["schemas"]["BillingAddress"];
|
|
1790
1815
|
card_profile?: components["schemas"]["CardProfile"];
|
|
@@ -1798,8 +1823,7 @@ export interface components {
|
|
|
1798
1823
|
external_account_id: string;
|
|
1799
1824
|
amount: number;
|
|
1800
1825
|
currency?: string;
|
|
1801
|
-
|
|
1802
|
-
direction: "credit" | "debit";
|
|
1826
|
+
direction: components["schemas"]["PayoutDirectionType"];
|
|
1803
1827
|
metadata?: components["schemas"]["Metadata"];
|
|
1804
1828
|
};
|
|
1805
1829
|
CreatePayoutRequest: {
|
|
@@ -1812,8 +1836,7 @@ export interface components {
|
|
|
1812
1836
|
external_account_id: string;
|
|
1813
1837
|
amount: number;
|
|
1814
1838
|
currency?: string;
|
|
1815
|
-
|
|
1816
|
-
direction: "credit" | "debit";
|
|
1839
|
+
direction: components["schemas"]["PayoutDirectionType"];
|
|
1817
1840
|
metadata?: components["schemas"]["Metadata"];
|
|
1818
1841
|
};
|
|
1819
1842
|
CreateBulkPayoutsRequest: {
|
|
@@ -1828,11 +1851,9 @@ export interface components {
|
|
|
1828
1851
|
external_account_id?: string;
|
|
1829
1852
|
amount?: number;
|
|
1830
1853
|
currency?: string;
|
|
1831
|
-
|
|
1832
|
-
direction?: "credit" | "debit";
|
|
1854
|
+
direction?: components["schemas"]["PayoutDirectionType"];
|
|
1833
1855
|
metadata?: components["schemas"]["Metadata"];
|
|
1834
|
-
|
|
1835
|
-
state?: "pending" | "succeeded" | "failed" | "accepted" | "rejected";
|
|
1856
|
+
state?: components["schemas"]["PayoutStateType"];
|
|
1836
1857
|
/** Format: date-time */
|
|
1837
1858
|
created_at?: string;
|
|
1838
1859
|
/** Format: date-time */
|
|
@@ -1859,6 +1880,7 @@ export interface components {
|
|
|
1859
1880
|
/** Format: uuid */
|
|
1860
1881
|
processor_transaction_id?: string;
|
|
1861
1882
|
processor_reference?: string;
|
|
1883
|
+
network_transaction_id?: string;
|
|
1862
1884
|
/** @enum {string} */
|
|
1863
1885
|
transaction_type?: "authorization" | "authorization_reversal" | "capture" | "credit" | "echeck_credit" | "echeck_sale" | "echeck_void" | "sale" | "void";
|
|
1864
1886
|
/** Format: date-time */
|
|
@@ -1939,10 +1961,8 @@ export interface components {
|
|
|
1939
1961
|
/** Format: uuid */
|
|
1940
1962
|
payment_method_id?: string;
|
|
1941
1963
|
platform_fee?: number;
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
/** @enum {string} */
|
|
1945
|
-
state?: "pending" | "processing" | "requires_review" | "succeeded" | "cancelled" | "failed";
|
|
1964
|
+
source?: components["schemas"]["TransactionSourceType"];
|
|
1965
|
+
state?: components["schemas"]["RefundStateType"];
|
|
1946
1966
|
statement_descriptor?: string;
|
|
1947
1967
|
/** Format: date-time */
|
|
1948
1968
|
succeeded_at?: string;
|
|
@@ -1954,8 +1974,9 @@ export interface components {
|
|
|
1954
1974
|
allowed_reverse_action?: "void" | null;
|
|
1955
1975
|
};
|
|
1956
1976
|
CreateRenderTemplateInput: {
|
|
1957
|
-
allowed_payment_method_types?:
|
|
1977
|
+
allowed_payment_method_types?: components["schemas"]["PaymentMethodType"][];
|
|
1958
1978
|
currency?: string;
|
|
1979
|
+
moto?: boolean;
|
|
1959
1980
|
origin_ids?: string[];
|
|
1960
1981
|
};
|
|
1961
1982
|
CreateRenderTemplateRequest: {
|
|
@@ -1966,8 +1987,9 @@ export interface components {
|
|
|
1966
1987
|
id?: string;
|
|
1967
1988
|
/** Format: uuid */
|
|
1968
1989
|
organization_id?: string;
|
|
1969
|
-
allowed_payment_method_types?:
|
|
1990
|
+
allowed_payment_method_types?: components["schemas"]["PaymentMethodType"][];
|
|
1970
1991
|
currency?: string;
|
|
1992
|
+
moto?: boolean;
|
|
1971
1993
|
};
|
|
1972
1994
|
CreateSetupIntentInput: {
|
|
1973
1995
|
/** Format: uuid */
|
|
@@ -1999,8 +2021,7 @@ export interface components {
|
|
|
1999
2021
|
metadata?: components["schemas"]["Metadata"];
|
|
2000
2022
|
/** Format: uuid */
|
|
2001
2023
|
payment_method_id?: string;
|
|
2002
|
-
|
|
2003
|
-
source?: "api" | "dashboard" | "iframe" | "system" | "subscription";
|
|
2024
|
+
source?: components["schemas"]["TransactionSourceType"];
|
|
2004
2025
|
/** @enum {string} */
|
|
2005
2026
|
state?: "requires_payment_method" | "requires_confirmation" | "verifying" | "requires_review" | "succeeded" | "failed" | "cancelled" | "errored";
|
|
2006
2027
|
/** Format: date-time */
|
|
@@ -2014,8 +2035,7 @@ export interface components {
|
|
|
2014
2035
|
/** Format: uuid */
|
|
2015
2036
|
customer_id?: string;
|
|
2016
2037
|
cycles?: number;
|
|
2017
|
-
|
|
2018
|
-
interval?: "day" | "week" | "month" | "year";
|
|
2038
|
+
interval?: components["schemas"]["SubscriptionIntervalType"];
|
|
2019
2039
|
interval_count?: number;
|
|
2020
2040
|
/** Format: uuid */
|
|
2021
2041
|
subscription_plan_id?: string;
|
|
@@ -2051,8 +2071,7 @@ export interface components {
|
|
|
2051
2071
|
customer_id?: string;
|
|
2052
2072
|
/** Format: uuid */
|
|
2053
2073
|
payment_method_id?: string;
|
|
2054
|
-
|
|
2055
|
-
interval?: "day" | "week" | "month" | "year";
|
|
2074
|
+
interval?: components["schemas"]["SubscriptionIntervalType"];
|
|
2056
2075
|
interval_count?: number;
|
|
2057
2076
|
/** @enum {string} */
|
|
2058
2077
|
state?: "active" | "paused" | "past_due" | "cancelled";
|
|
@@ -2078,13 +2097,11 @@ export interface components {
|
|
|
2078
2097
|
/** Format: uuid */
|
|
2079
2098
|
product_id?: string;
|
|
2080
2099
|
description?: string;
|
|
2081
|
-
|
|
2082
|
-
interval?: "day" | "week" | "month" | "year";
|
|
2100
|
+
interval?: components["schemas"]["SubscriptionIntervalType"];
|
|
2083
2101
|
interval_count?: number;
|
|
2084
2102
|
metadata?: components["schemas"]["Metadata"];
|
|
2085
2103
|
name?: string;
|
|
2086
|
-
|
|
2087
|
-
plan_type?: "fixed" | "variable";
|
|
2104
|
+
plan_type?: components["schemas"]["SubscriptionPlanType"];
|
|
2088
2105
|
trial_period_days?: number;
|
|
2089
2106
|
};
|
|
2090
2107
|
CreateSubscriptionPlanRequest: {
|
|
@@ -2109,13 +2126,11 @@ export interface components {
|
|
|
2109
2126
|
currency?: string;
|
|
2110
2127
|
cycles?: number;
|
|
2111
2128
|
description?: string;
|
|
2112
|
-
|
|
2113
|
-
interval?: "day" | "week" | "month" | "year";
|
|
2129
|
+
interval?: components["schemas"]["SubscriptionIntervalType"];
|
|
2114
2130
|
interval_count?: number;
|
|
2115
2131
|
metadata?: components["schemas"]["Metadata"];
|
|
2116
2132
|
name?: string;
|
|
2117
|
-
|
|
2118
|
-
plan_type?: "fixed" | "variable";
|
|
2133
|
+
plan_type?: components["schemas"]["SubscriptionPlanType"];
|
|
2119
2134
|
trial_period_days?: number;
|
|
2120
2135
|
/** Format: date-time */
|
|
2121
2136
|
created_at?: string;
|
|
@@ -2162,10 +2177,8 @@ export interface components {
|
|
|
2162
2177
|
/** Format: uuid */
|
|
2163
2178
|
payment_method_id?: string;
|
|
2164
2179
|
platform_fee?: number;
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
/** @enum {string} */
|
|
2168
|
-
state?: "pending" | "processing" | "requires_review" | "succeeded" | "cancelled" | "failed";
|
|
2180
|
+
source?: components["schemas"]["TransactionSourceType"];
|
|
2181
|
+
state?: components["schemas"]["RefundStateType"];
|
|
2169
2182
|
statement_descriptor?: string;
|
|
2170
2183
|
/** Format: date-time */
|
|
2171
2184
|
succeeded_at?: string;
|
|
@@ -2189,7 +2202,7 @@ export interface components {
|
|
|
2189
2202
|
updated_at?: string;
|
|
2190
2203
|
};
|
|
2191
2204
|
CreateWebhookEndpointInput: {
|
|
2192
|
-
events?:
|
|
2205
|
+
events?: components["schemas"]["WebhookEventType"][];
|
|
2193
2206
|
metadata?: components["schemas"]["Metadata"];
|
|
2194
2207
|
active?: boolean;
|
|
2195
2208
|
url?: string;
|
|
@@ -2200,7 +2213,7 @@ export interface components {
|
|
|
2200
2213
|
WebhookEndpoint: {
|
|
2201
2214
|
/** Format: uuid */
|
|
2202
2215
|
id?: string;
|
|
2203
|
-
events?:
|
|
2216
|
+
events?: components["schemas"]["WebhookEventType"][];
|
|
2204
2217
|
metadata?: components["schemas"]["Metadata"];
|
|
2205
2218
|
secret?: string;
|
|
2206
2219
|
url?: string;
|
|
@@ -2214,6 +2227,8 @@ export interface components {
|
|
|
2214
2227
|
id?: string;
|
|
2215
2228
|
/** Format: uuid */
|
|
2216
2229
|
webhook_endpoint_id?: string;
|
|
2230
|
+
/** Format: date-time */
|
|
2231
|
+
expires_at?: string;
|
|
2217
2232
|
request_body?: Record<string, never>;
|
|
2218
2233
|
/** Format: date-time */
|
|
2219
2234
|
created_at?: string;
|
|
@@ -2241,7 +2256,7 @@ export interface components {
|
|
|
2241
2256
|
/** @description The ID of the payment transaction to filter by */
|
|
2242
2257
|
PaymentTransactionIdQuery: string;
|
|
2243
2258
|
/** @description The payout state to filter by */
|
|
2244
|
-
PayoutStateQuery: "
|
|
2259
|
+
PayoutStateQuery: components["schemas"]["PayoutStateType"];
|
|
2245
2260
|
/** @description Number of results per page. */
|
|
2246
2261
|
PerPageQuery: number;
|
|
2247
2262
|
/** @description The phone to filter by */
|