@whop/elements 1.1.0 → 1.3.0
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/checkout.d.cts +1 -1
- package/checkout.d.ts +1 -1
- package/dashboard.d.cts +1 -1
- package/dashboard.d.ts +1 -1
- package/index.d.cts +1 -1
- package/index.d.ts +1 -1
- package/package.json +2 -2
- package/payments.d.cts +9 -5
- package/payments.d.ts +9 -5
- package/wallet.d.cts +48 -8
- package/wallet.d.ts +48 -8
package/checkout.d.cts
CHANGED
|
@@ -43,7 +43,7 @@ export interface CheckoutOptions {
|
|
|
43
43
|
*/
|
|
44
44
|
metadata?: Record<string, string>;
|
|
45
45
|
/**
|
|
46
|
-
* Where the buyer lands after an off-site payment step. Https-only (http for localhost). Set at create only.
|
|
46
|
+
* Where the buyer lands after an off-site payment step, whatever its outcome. The tab arrives with `payment` (the `pay_` ID; `setup` with the `sint_` ID for a setup-mode checkout) and `status` (`succeeded`, `failed`, or `canceled`) appended, and your other query parameters intact. Branch on `status` before showing a success page: a declined or abandoned off-site step lands here too. Fulfill from webhooks, not from this visit. Https-only (http for localhost). Set at create only.
|
|
47
47
|
*/
|
|
48
48
|
returnUrl?: string;
|
|
49
49
|
/**
|
package/checkout.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ export interface CheckoutOptions {
|
|
|
43
43
|
*/
|
|
44
44
|
metadata?: Record<string, string>;
|
|
45
45
|
/**
|
|
46
|
-
* Where the buyer lands after an off-site payment step. Https-only (http for localhost). Set at create only.
|
|
46
|
+
* Where the buyer lands after an off-site payment step, whatever its outcome. The tab arrives with `payment` (the `pay_` ID; `setup` with the `sint_` ID for a setup-mode checkout) and `status` (`succeeded`, `failed`, or `canceled`) appended, and your other query parameters intact. Branch on `status` before showing a success page: a declined or abandoned off-site step lands here too. Fulfill from webhooks, not from this visit. Https-only (http for localhost). Set at create only.
|
|
47
47
|
*/
|
|
48
48
|
returnUrl?: string;
|
|
49
49
|
/**
|
package/dashboard.d.cts
CHANGED
|
@@ -89,7 +89,7 @@ export interface RequiredActionsElementCreateOptions {
|
|
|
89
89
|
/**
|
|
90
90
|
* The viewer pressed a banner button. Fires for every action, including ones the element also handles itself.
|
|
91
91
|
*/
|
|
92
|
-
onActionRequested?: ((payload: { action: "deposit_funds" | "review_held_payments" | "submit_information_request" | "update_automatic_withdrawal_method" | "reauthorize_payout_methods" | "update_payout_profile" | "card_usage_review" | "verify_identity" | "scale_account_setup" | "sign_formation_documents" | "connect_fulfillment_tracker" | "setup_apple_pay_domains" | "configure_tax_remitter" | "add_vat_registration" | "enable_two_factor_authentication"; accountId: string; }) => void);
|
|
92
|
+
onActionRequested?: ((payload: { action: "deposit_funds" | "review_held_payments" | "submit_information_request" | "update_automatic_withdrawal_method" | "reauthorize_payout_methods" | "update_payout_profile" | "card_usage_review" | "verify_identity" | "scale_account_setup" | "sign_formation_documents" | "connect_fulfillment_tracker" | "setup_apple_pay_domains" | "configure_tax_remitter" | "add_vat_registration" | "accept_payout_terms" | "enable_two_factor_authentication"; accountId: string; }) => void);
|
|
93
93
|
/**
|
|
94
94
|
* The viewer pressed Verify on a `verify_identity` action the element can start. The element opens identity verification itself — this fires alongside, so a host can record the trip.
|
|
95
95
|
*/
|
package/dashboard.d.ts
CHANGED
|
@@ -89,7 +89,7 @@ export interface RequiredActionsElementCreateOptions {
|
|
|
89
89
|
/**
|
|
90
90
|
* The viewer pressed a banner button. Fires for every action, including ones the element also handles itself.
|
|
91
91
|
*/
|
|
92
|
-
onActionRequested?: ((payload: { action: "deposit_funds" | "review_held_payments" | "submit_information_request" | "update_automatic_withdrawal_method" | "reauthorize_payout_methods" | "update_payout_profile" | "card_usage_review" | "verify_identity" | "scale_account_setup" | "sign_formation_documents" | "connect_fulfillment_tracker" | "setup_apple_pay_domains" | "configure_tax_remitter" | "add_vat_registration" | "enable_two_factor_authentication"; accountId: string; }) => void);
|
|
92
|
+
onActionRequested?: ((payload: { action: "deposit_funds" | "review_held_payments" | "submit_information_request" | "update_automatic_withdrawal_method" | "reauthorize_payout_methods" | "update_payout_profile" | "card_usage_review" | "verify_identity" | "scale_account_setup" | "sign_formation_documents" | "connect_fulfillment_tracker" | "setup_apple_pay_domains" | "configure_tax_remitter" | "add_vat_registration" | "accept_payout_terms" | "enable_two_factor_authentication"; accountId: string; }) => void);
|
|
93
93
|
/**
|
|
94
94
|
* The viewer pressed Verify on a `verify_identity` action the element can start. The element opens identity verification itself — this fires alongside, so a host can record the trip.
|
|
95
95
|
*/
|
package/index.d.cts
CHANGED
|
@@ -22,7 +22,7 @@ export interface Whop {
|
|
|
22
22
|
*/
|
|
23
23
|
verifications: { create(options: VerificationsOptions): VerificationsHandle } & VerificationsStatics;
|
|
24
24
|
/**
|
|
25
|
-
* Drives a full hosted checkout for one or more plans — itemized price summary, promo codes, the currency the buyer pays in, and the whole payment collection surface (the payments elements, composed inside) — against the Whop checkout sessions API. Mount it with `items`, a single `plan`, or a `checkoutConfiguration` you authored and the element opens the checkout session itself; the session credential never leaves the element. A setup-mode checkout configuration mounts the same element as a payment-method save: nothing is charged, the buyer’s method is stored for you to charge later, and the finished checkout redirects with `setup_intent_id`. The buyer pays inside the element, and a finished checkout redirects the current tab to `returnUrl`, including the page that contains the element. Fulfill from webhooks rather than a browser callback. Without a `returnUrl`, the buyer rests on the element’s own success face. The element automatically drives an off-site payment step, such as 3DS or a bank page. On whop.com, it brings the buyer back into the restored checkout; in an embed, the buyer returns to the same `returnUrl
|
|
25
|
+
* Drives a full hosted checkout for one or more plans — itemized price summary, promo codes, the currency the buyer pays in, and the whole payment collection surface (the payments elements, composed inside) — against the Whop checkout sessions API. Mount it with `items`, a single `plan`, or a `checkoutConfiguration` you authored and the element opens the checkout session itself; the session credential never leaves the element. A setup-mode checkout configuration mounts the same element as a payment-method save: nothing is charged, the buyer’s method is stored for you to charge later, and the finished checkout redirects with `setup_intent_id`. The buyer pays inside the element, and a finished checkout redirects the current tab to `returnUrl`, including the page that contains the element. Fulfill from webhooks rather than a browser callback. Without a `returnUrl`, the buyer rests on the element’s own success face. The element automatically drives an off-site payment step, such as 3DS or a bank page. On whop.com, it brings the buyer back into the restored checkout; in an embed, the buyer returns to the same `returnUrl` whatever the outcome, with `payment` and `status` query parameters (`succeeded`, `failed`, or `canceled`), so the page at `returnUrl` must read `status` before it treats the visit as a sale. A payment that fails inside the element reopens the same checkout with the reason shown, so the buyer can pay again. Every option is set at creation: the element mints a checkout session from these values when it mounts. Changing one later with `update()` or new React props fails instead of changing the existing order. Mount a new checkout to change what is being purchased.
|
|
26
26
|
*/
|
|
27
27
|
checkout: { create(options: CheckoutOptions): CheckoutHandle } & CheckoutStatics;
|
|
28
28
|
/**
|
package/index.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export interface Whop {
|
|
|
22
22
|
*/
|
|
23
23
|
verifications: { create(options: VerificationsOptions): VerificationsHandle } & VerificationsStatics;
|
|
24
24
|
/**
|
|
25
|
-
* Drives a full hosted checkout for one or more plans — itemized price summary, promo codes, the currency the buyer pays in, and the whole payment collection surface (the payments elements, composed inside) — against the Whop checkout sessions API. Mount it with `items`, a single `plan`, or a `checkoutConfiguration` you authored and the element opens the checkout session itself; the session credential never leaves the element. A setup-mode checkout configuration mounts the same element as a payment-method save: nothing is charged, the buyer’s method is stored for you to charge later, and the finished checkout redirects with `setup_intent_id`. The buyer pays inside the element, and a finished checkout redirects the current tab to `returnUrl`, including the page that contains the element. Fulfill from webhooks rather than a browser callback. Without a `returnUrl`, the buyer rests on the element’s own success face. The element automatically drives an off-site payment step, such as 3DS or a bank page. On whop.com, it brings the buyer back into the restored checkout; in an embed, the buyer returns to the same `returnUrl
|
|
25
|
+
* Drives a full hosted checkout for one or more plans — itemized price summary, promo codes, the currency the buyer pays in, and the whole payment collection surface (the payments elements, composed inside) — against the Whop checkout sessions API. Mount it with `items`, a single `plan`, or a `checkoutConfiguration` you authored and the element opens the checkout session itself; the session credential never leaves the element. A setup-mode checkout configuration mounts the same element as a payment-method save: nothing is charged, the buyer’s method is stored for you to charge later, and the finished checkout redirects with `setup_intent_id`. The buyer pays inside the element, and a finished checkout redirects the current tab to `returnUrl`, including the page that contains the element. Fulfill from webhooks rather than a browser callback. Without a `returnUrl`, the buyer rests on the element’s own success face. The element automatically drives an off-site payment step, such as 3DS or a bank page. On whop.com, it brings the buyer back into the restored checkout; in an embed, the buyer returns to the same `returnUrl` whatever the outcome, with `payment` and `status` query parameters (`succeeded`, `failed`, or `canceled`), so the page at `returnUrl` must read `status` before it treats the visit as a sale. A payment that fails inside the element reopens the same checkout with the reason shown, so the buyer can pay again. Every option is set at creation: the element mints a checkout session from these values when it mounts. Changing one later with `update()` or new React props fails instead of changing the existing order. Mount a new checkout to change what is being purchased.
|
|
26
26
|
*/
|
|
27
27
|
checkout: { create(options: CheckoutOptions): CheckoutHandle } & CheckoutStatics;
|
|
28
28
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@whop/elements",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Whop Elements — vanilla-js loader + types. Loads the hosted SDK and exposes the typed WhopElements factory.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"checkout",
|
|
@@ -97,5 +97,5 @@
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
},
|
|
100
|
-
"whopElementsApiHash": "
|
|
100
|
+
"whopElementsApiHash": "e01164998bb759c635b8c36948d68516eca5cb8e9e3550e04ebc9360043609e4"
|
|
101
101
|
}
|
package/payments.d.cts
CHANGED
|
@@ -28,7 +28,7 @@ export type PaymentsOptions = (
|
|
|
28
28
|
*/
|
|
29
29
|
offerAmounts?: undefined;
|
|
30
30
|
/**
|
|
31
|
-
* Return URL for off-site bank or 3DS steps. Defaults to the mounting page.
|
|
31
|
+
* Return URL for off-site bank or 3DS steps. Defaults to the mounting page. The buyer lands there whatever the outcome, with `payment` (or `setup`), `status` (`succeeded`, `failed`, `canceled`, or a still-pending status such as `processing`), and `client_secret` appended, so branch on `status` before showing a success page.
|
|
32
32
|
*/
|
|
33
33
|
returnUrl?: string;
|
|
34
34
|
/**
|
|
@@ -78,7 +78,7 @@ export type PaymentsOptions = (
|
|
|
78
78
|
*/
|
|
79
79
|
paymentMethodConfiguration?: { enabled?: string[] | undefined; disabled?: string[] | undefined; include_platform_defaults?: boolean | undefined; };
|
|
80
80
|
/**
|
|
81
|
-
* Return URL for off-site bank or 3DS steps. Defaults to the mounting page.
|
|
81
|
+
* Return URL for off-site bank or 3DS steps. Defaults to the mounting page. The buyer lands there whatever the outcome, with `payment` (or `setup`), `status` (`succeeded`, `failed`, `canceled`, or a still-pending status such as `processing`), and `client_secret` appended, so branch on `status` before showing a success page.
|
|
82
82
|
*/
|
|
83
83
|
returnUrl?: string;
|
|
84
84
|
/**
|
|
@@ -132,7 +132,7 @@ export type PaymentsOptions = (
|
|
|
132
132
|
*/
|
|
133
133
|
paymentMethodConfiguration?: { enabled?: string[] | undefined; disabled?: string[] | undefined; include_platform_defaults?: boolean | undefined; };
|
|
134
134
|
/**
|
|
135
|
-
* Return URL for off-site bank or 3DS steps. Defaults to the mounting page.
|
|
135
|
+
* Return URL for off-site bank or 3DS steps. Defaults to the mounting page. The buyer lands there whatever the outcome, with `payment` (or `setup`), `status` (`succeeded`, `failed`, `canceled`, or a still-pending status such as `processing`), and `client_secret` appended, so branch on `status` before showing a success page.
|
|
136
136
|
*/
|
|
137
137
|
returnUrl?: string;
|
|
138
138
|
/**
|
|
@@ -186,7 +186,7 @@ export type PaymentsOptions = (
|
|
|
186
186
|
*/
|
|
187
187
|
paymentMethodConfiguration?: undefined;
|
|
188
188
|
/**
|
|
189
|
-
* Return URL for off-site bank or 3DS steps. Defaults to the mounting page.
|
|
189
|
+
* Return URL for off-site bank or 3DS steps. Defaults to the mounting page. The buyer lands there whatever the outcome, with `payment` (or `setup`), `status` (`succeeded`, `failed`, `canceled`, or a still-pending status such as `processing`), and `client_secret` appended, so branch on `status` before showing a success page.
|
|
190
190
|
*/
|
|
191
191
|
returnUrl?: string;
|
|
192
192
|
/**
|
|
@@ -1063,7 +1063,7 @@ export interface PaymentRequestResource {
|
|
|
1063
1063
|
*/
|
|
1064
1064
|
show: (type: "apple_pay" | "google_pay", provided?: { email?: string | undefined; } | undefined) => Promise<PaymentRequestResult>;
|
|
1065
1065
|
/**
|
|
1066
|
-
* The sheet's shipping address changed (redacted pre-authorization: city/state/postal/country only).
|
|
1066
|
+
* The sheet's shipping address changed (redacted pre-authorization: city/state/postal/country only). An error in the answer that names a `field` (`city`, `state`, `postal_code`, `country`) marks that field in Apple Pay; Google Pay shows the message alone.
|
|
1067
1067
|
* Call `updateWith(…)` exactly once per event or the flow waits until the vendor times out.
|
|
1068
1068
|
* Returns the unsubscribe function.
|
|
1069
1069
|
*/
|
|
@@ -1239,6 +1239,10 @@ export interface PaymentRequestResult {
|
|
|
1239
1239
|
export interface PaymentRequestError {
|
|
1240
1240
|
code?: "shipping_address_invalid" | "shipping_address_unserviceable" | "shipping_option_invalid" | "other" | undefined;
|
|
1241
1241
|
message: string;
|
|
1242
|
+
/**
|
|
1243
|
+
* The address field the error is about: one of the fields the redacted address carries. Apple Pay marks that field with the message, whatever the `code`; Google Pay shows the message alone. Omit it for an error about the whole address.
|
|
1244
|
+
*/
|
|
1245
|
+
field?: "state" | "city" | "postal_code" | "country" | undefined;
|
|
1242
1246
|
}
|
|
1243
1247
|
|
|
1244
1248
|
/**
|
package/payments.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export type PaymentsOptions = (
|
|
|
28
28
|
*/
|
|
29
29
|
offerAmounts?: undefined;
|
|
30
30
|
/**
|
|
31
|
-
* Return URL for off-site bank or 3DS steps. Defaults to the mounting page.
|
|
31
|
+
* Return URL for off-site bank or 3DS steps. Defaults to the mounting page. The buyer lands there whatever the outcome, with `payment` (or `setup`), `status` (`succeeded`, `failed`, `canceled`, or a still-pending status such as `processing`), and `client_secret` appended, so branch on `status` before showing a success page.
|
|
32
32
|
*/
|
|
33
33
|
returnUrl?: string;
|
|
34
34
|
/**
|
|
@@ -78,7 +78,7 @@ export type PaymentsOptions = (
|
|
|
78
78
|
*/
|
|
79
79
|
paymentMethodConfiguration?: { enabled?: string[] | undefined; disabled?: string[] | undefined; include_platform_defaults?: boolean | undefined; };
|
|
80
80
|
/**
|
|
81
|
-
* Return URL for off-site bank or 3DS steps. Defaults to the mounting page.
|
|
81
|
+
* Return URL for off-site bank or 3DS steps. Defaults to the mounting page. The buyer lands there whatever the outcome, with `payment` (or `setup`), `status` (`succeeded`, `failed`, `canceled`, or a still-pending status such as `processing`), and `client_secret` appended, so branch on `status` before showing a success page.
|
|
82
82
|
*/
|
|
83
83
|
returnUrl?: string;
|
|
84
84
|
/**
|
|
@@ -132,7 +132,7 @@ export type PaymentsOptions = (
|
|
|
132
132
|
*/
|
|
133
133
|
paymentMethodConfiguration?: { enabled?: string[] | undefined; disabled?: string[] | undefined; include_platform_defaults?: boolean | undefined; };
|
|
134
134
|
/**
|
|
135
|
-
* Return URL for off-site bank or 3DS steps. Defaults to the mounting page.
|
|
135
|
+
* Return URL for off-site bank or 3DS steps. Defaults to the mounting page. The buyer lands there whatever the outcome, with `payment` (or `setup`), `status` (`succeeded`, `failed`, `canceled`, or a still-pending status such as `processing`), and `client_secret` appended, so branch on `status` before showing a success page.
|
|
136
136
|
*/
|
|
137
137
|
returnUrl?: string;
|
|
138
138
|
/**
|
|
@@ -186,7 +186,7 @@ export type PaymentsOptions = (
|
|
|
186
186
|
*/
|
|
187
187
|
paymentMethodConfiguration?: undefined;
|
|
188
188
|
/**
|
|
189
|
-
* Return URL for off-site bank or 3DS steps. Defaults to the mounting page.
|
|
189
|
+
* Return URL for off-site bank or 3DS steps. Defaults to the mounting page. The buyer lands there whatever the outcome, with `payment` (or `setup`), `status` (`succeeded`, `failed`, `canceled`, or a still-pending status such as `processing`), and `client_secret` appended, so branch on `status` before showing a success page.
|
|
190
190
|
*/
|
|
191
191
|
returnUrl?: string;
|
|
192
192
|
/**
|
|
@@ -1063,7 +1063,7 @@ export interface PaymentRequestResource {
|
|
|
1063
1063
|
*/
|
|
1064
1064
|
show: (type: "apple_pay" | "google_pay", provided?: { email?: string | undefined; } | undefined) => Promise<PaymentRequestResult>;
|
|
1065
1065
|
/**
|
|
1066
|
-
* The sheet's shipping address changed (redacted pre-authorization: city/state/postal/country only).
|
|
1066
|
+
* The sheet's shipping address changed (redacted pre-authorization: city/state/postal/country only). An error in the answer that names a `field` (`city`, `state`, `postal_code`, `country`) marks that field in Apple Pay; Google Pay shows the message alone.
|
|
1067
1067
|
* Call `updateWith(…)` exactly once per event or the flow waits until the vendor times out.
|
|
1068
1068
|
* Returns the unsubscribe function.
|
|
1069
1069
|
*/
|
|
@@ -1239,6 +1239,10 @@ export interface PaymentRequestResult {
|
|
|
1239
1239
|
export interface PaymentRequestError {
|
|
1240
1240
|
code?: "shipping_address_invalid" | "shipping_address_unserviceable" | "shipping_option_invalid" | "other" | undefined;
|
|
1241
1241
|
message: string;
|
|
1242
|
+
/**
|
|
1243
|
+
* The address field the error is about: one of the fields the redacted address carries. Apple Pay marks that field with the message, whatever the `code`; Google Pay shows the message alone. Omit it for an error about the whole address.
|
|
1244
|
+
*/
|
|
1245
|
+
field?: "state" | "city" | "postal_code" | "country" | undefined;
|
|
1242
1246
|
}
|
|
1243
1247
|
|
|
1244
1248
|
/**
|
package/wallet.d.cts
CHANGED
|
@@ -28,6 +28,10 @@ export interface WalletOptions {
|
|
|
28
28
|
* Account or user ID whose money these surfaces read. Account IDs are prefixed `biz_`; user IDs are prefixed `user_` and can read only the viewer's own balance.
|
|
29
29
|
*/
|
|
30
30
|
accountId: string;
|
|
31
|
+
/**
|
|
32
|
+
* A deposit requires identity verification. Handle this callback to open your settings or verification flow; Wallet does not navigate.
|
|
33
|
+
*/
|
|
34
|
+
onIdentityVerificationRequested?: ((payload: { accountId: string; }) => void);
|
|
31
35
|
/**
|
|
32
36
|
* Runs when the grouped loading state changes. The value is `true` while any mounted element is still loading.
|
|
33
37
|
*/
|
|
@@ -242,7 +246,7 @@ export interface ActivityElementProps {
|
|
|
242
246
|
* Activity types selected when the element mounts or its account changes. The viewer can change them with the built-in filters.
|
|
243
247
|
* @default []
|
|
244
248
|
*/
|
|
245
|
-
defaultLineTypes?: ("platform_balance_transfer_outgoing" | "payment_gross" | "withdrawal" | "topup" | "payment_dispute" | "payment_revshare" | "card_spend_authorization" | "airdrop" | "onchain_swap_target" | "cashback" | "ad_budget_release" | "ad_campaign_budget" | "ad_publisher_payout" | "ad_publisher_payout_received" | "ad_spend_charge" | "affiliate_fee" | "airdrop_link_created" | "airdrop_link_redeemed" | "airdrop_link_returned" | "airdrop_reversal" | "application_fee" | "application_fee_payout" | "bank_transfer" | "billing_percentage_fee" | "buyer_fee" | "card_spend_authorization_void" | "card_spend_refund" | "cross_border_percentage_fee" | "currency_conversion_incoming" | "currency_conversion_outgoing" | "dispute_alert_fee" | "dispute_hold_adjustment" | "economic_intelligence_percentage_fee" | "fraud_prevention_fee" | "fx_percentage_fee" | "high_risk_merchant_fee" | "internal_balance_transfer_incoming" | "internal_balance_transfer_outgoing" | "misc_reversal" | "onboarding_reward" | "onchain_deposit" | "onchain_wallet_transfer_incoming" | "onchain_wallet_transfer_outgoing" | "orchestration_percentage_fee" | "partner_grant_reward" | "passthrough_gmv" | "payment_dispute_adjustment" | "payment_dispute_fee" | "payment_dispute_reversal" | "payment_gross_reversal" | "payment_processing_fixed_fee" | "payment_processing_percentage_fee" | "payment_referral" | "payment_referral_reversal" | "payment_refund" | "payment_refund_reversal" | "payment_revshare_payout" | "payment_revshare_refund" | "payment_revshare_reversal" | "payout_fee" | "platform_affiliate_payment" | "platform_affiliate_payment_reversal" | "platform_balance_payment" | "platform_balance_payment_refund" | "platform_balance_transfer_incoming" | "platform_covered_dispute" | "platform_markup_fee" | "platform_markup_fee_payout" | "promo_reversal" | "resolution_center_refund" | "revshare_percentage_fee" | "sales_tax_fee" | "sales_tax_remittance" | "sales_tax_remittance_reversal" | "stripe_domestic_processing_fee" | "stripe_international_processing_fee" | "three_ds_fixed_fee" | "topup_reversal" | "treasury_payin" | "whop_processing_fee" | "withdrawal_clawback" | "withdrawal_clawback_reversal" | "withdrawal_reclassification" | "withdrawal_reversal")[];
|
|
249
|
+
defaultLineTypes?: ("platform_balance_transfer_outgoing" | "payment_gross" | "withdrawal" | "topup" | "payment_dispute" | "payment_revshare" | "card_spend_authorization" | "airdrop" | "onchain_swap_target" | "cashback" | "ad_budget_release" | "ad_campaign_budget" | "ad_publisher_payout" | "ad_publisher_payout_received" | "ad_spend_charge" | "affiliate_fee" | "airdrop_link_created" | "airdrop_link_redeemed" | "airdrop_link_returned" | "airdrop_reversal" | "application_fee" | "application_fee_payout" | "bank_transfer" | "billing_percentage_fee" | "buyer_fee" | "card_spend_authorization_void" | "card_spend_refund" | "cross_border_percentage_fee" | "currency_conversion_incoming" | "currency_conversion_outgoing" | "dispute_alert_fee" | "dispute_hold_adjustment" | "economic_intelligence_percentage_fee" | "fraud_prevention_fee" | "fx_percentage_fee" | "high_risk_merchant_fee" | "internal_balance_transfer_incoming" | "internal_balance_transfer_outgoing" | "misc_reversal" | "onboarding_reward" | "onchain_deposit" | "onchain_wallet_transfer_incoming" | "onchain_wallet_transfer_outgoing" | "orchestration_percentage_fee" | "partner_grant_reward" | "passthrough_gmv" | "payment_dispute_adjustment" | "payment_dispute_fee" | "payment_dispute_reversal" | "payment_gross_reversal" | "payment_processing_fixed_fee" | "payment_processing_percentage_fee" | "payment_referral" | "payment_referral_reversal" | "payment_refund" | "payment_refund_reversal" | "payment_revshare_payout" | "payment_revshare_refund" | "payment_revshare_reversal" | "payout_fee" | "platform_affiliate_payment" | "platform_affiliate_payment_reversal" | "platform_balance_payment" | "platform_balance_payment_refund" | "platform_balance_transfer_incoming" | "platform_covered_dispute" | "platform_credits_granted" | "platform_credits_payment" | "platform_credits_payment_refund" | "platform_markup_fee" | "platform_markup_fee_payout" | "promo_reversal" | "resolution_center_refund" | "revshare_percentage_fee" | "sales_tax_fee" | "sales_tax_remittance" | "sales_tax_remittance_reversal" | "stripe_domestic_processing_fee" | "stripe_international_processing_fee" | "three_ds_fixed_fee" | "topup_reversal" | "treasury_payin" | "whop_processing_fee" | "withdrawal_clawback" | "withdrawal_clawback_reversal" | "withdrawal_reclassification" | "withdrawal_reversal")[];
|
|
246
250
|
/**
|
|
247
251
|
* Hide the filter chips, for a compact list that the viewer does not filter.
|
|
248
252
|
* @default false
|
|
@@ -308,7 +312,7 @@ export interface ActivityElementCreateOptions {
|
|
|
308
312
|
* Activity types selected when the element mounts or its account changes. The viewer can change them with the built-in filters.
|
|
309
313
|
* @default []
|
|
310
314
|
*/
|
|
311
|
-
defaultLineTypes?: ("platform_balance_transfer_outgoing" | "payment_gross" | "withdrawal" | "topup" | "payment_dispute" | "payment_revshare" | "card_spend_authorization" | "airdrop" | "onchain_swap_target" | "cashback" | "ad_budget_release" | "ad_campaign_budget" | "ad_publisher_payout" | "ad_publisher_payout_received" | "ad_spend_charge" | "affiliate_fee" | "airdrop_link_created" | "airdrop_link_redeemed" | "airdrop_link_returned" | "airdrop_reversal" | "application_fee" | "application_fee_payout" | "bank_transfer" | "billing_percentage_fee" | "buyer_fee" | "card_spend_authorization_void" | "card_spend_refund" | "cross_border_percentage_fee" | "currency_conversion_incoming" | "currency_conversion_outgoing" | "dispute_alert_fee" | "dispute_hold_adjustment" | "economic_intelligence_percentage_fee" | "fraud_prevention_fee" | "fx_percentage_fee" | "high_risk_merchant_fee" | "internal_balance_transfer_incoming" | "internal_balance_transfer_outgoing" | "misc_reversal" | "onboarding_reward" | "onchain_deposit" | "onchain_wallet_transfer_incoming" | "onchain_wallet_transfer_outgoing" | "orchestration_percentage_fee" | "partner_grant_reward" | "passthrough_gmv" | "payment_dispute_adjustment" | "payment_dispute_fee" | "payment_dispute_reversal" | "payment_gross_reversal" | "payment_processing_fixed_fee" | "payment_processing_percentage_fee" | "payment_referral" | "payment_referral_reversal" | "payment_refund" | "payment_refund_reversal" | "payment_revshare_payout" | "payment_revshare_refund" | "payment_revshare_reversal" | "payout_fee" | "platform_affiliate_payment" | "platform_affiliate_payment_reversal" | "platform_balance_payment" | "platform_balance_payment_refund" | "platform_balance_transfer_incoming" | "platform_covered_dispute" | "platform_markup_fee" | "platform_markup_fee_payout" | "promo_reversal" | "resolution_center_refund" | "revshare_percentage_fee" | "sales_tax_fee" | "sales_tax_remittance" | "sales_tax_remittance_reversal" | "stripe_domestic_processing_fee" | "stripe_international_processing_fee" | "three_ds_fixed_fee" | "topup_reversal" | "treasury_payin" | "whop_processing_fee" | "withdrawal_clawback" | "withdrawal_clawback_reversal" | "withdrawal_reclassification" | "withdrawal_reversal")[];
|
|
315
|
+
defaultLineTypes?: ("platform_balance_transfer_outgoing" | "payment_gross" | "withdrawal" | "topup" | "payment_dispute" | "payment_revshare" | "card_spend_authorization" | "airdrop" | "onchain_swap_target" | "cashback" | "ad_budget_release" | "ad_campaign_budget" | "ad_publisher_payout" | "ad_publisher_payout_received" | "ad_spend_charge" | "affiliate_fee" | "airdrop_link_created" | "airdrop_link_redeemed" | "airdrop_link_returned" | "airdrop_reversal" | "application_fee" | "application_fee_payout" | "bank_transfer" | "billing_percentage_fee" | "buyer_fee" | "card_spend_authorization_void" | "card_spend_refund" | "cross_border_percentage_fee" | "currency_conversion_incoming" | "currency_conversion_outgoing" | "dispute_alert_fee" | "dispute_hold_adjustment" | "economic_intelligence_percentage_fee" | "fraud_prevention_fee" | "fx_percentage_fee" | "high_risk_merchant_fee" | "internal_balance_transfer_incoming" | "internal_balance_transfer_outgoing" | "misc_reversal" | "onboarding_reward" | "onchain_deposit" | "onchain_wallet_transfer_incoming" | "onchain_wallet_transfer_outgoing" | "orchestration_percentage_fee" | "partner_grant_reward" | "passthrough_gmv" | "payment_dispute_adjustment" | "payment_dispute_fee" | "payment_dispute_reversal" | "payment_gross_reversal" | "payment_processing_fixed_fee" | "payment_processing_percentage_fee" | "payment_referral" | "payment_referral_reversal" | "payment_refund" | "payment_refund_reversal" | "payment_revshare_payout" | "payment_revshare_refund" | "payment_revshare_reversal" | "payout_fee" | "platform_affiliate_payment" | "platform_affiliate_payment_reversal" | "platform_balance_payment" | "platform_balance_payment_refund" | "platform_balance_transfer_incoming" | "platform_covered_dispute" | "platform_credits_granted" | "platform_credits_payment" | "platform_credits_payment_refund" | "platform_markup_fee" | "platform_markup_fee_payout" | "promo_reversal" | "resolution_center_refund" | "revshare_percentage_fee" | "sales_tax_fee" | "sales_tax_remittance" | "sales_tax_remittance_reversal" | "stripe_domestic_processing_fee" | "stripe_international_processing_fee" | "three_ds_fixed_fee" | "topup_reversal" | "treasury_payin" | "whop_processing_fee" | "withdrawal_clawback" | "withdrawal_clawback_reversal" | "withdrawal_reclassification" | "withdrawal_reversal")[];
|
|
312
316
|
/**
|
|
313
317
|
* Hide the filter chips, for a compact list that the viewer does not filter.
|
|
314
318
|
* @default false
|
|
@@ -1726,7 +1730,7 @@ export interface BreakdownElementCreateOptions {
|
|
|
1726
1730
|
/**
|
|
1727
1731
|
* A balance row or its matching bar segment was clicked. The host can open details for `available`, `pending`, `reserve`, or `debt`.
|
|
1728
1732
|
*/
|
|
1729
|
-
onBreakdownSelected?: ((payload: { category: "available" | "
|
|
1733
|
+
onBreakdownSelected?: ((payload: { category: "available" | "debt" | "pending" | "reserve"; }) => void);
|
|
1730
1734
|
/**
|
|
1731
1735
|
* Runs after the loading skeleton first paints and before `onReady`.
|
|
1732
1736
|
*/
|
|
@@ -1928,6 +1932,10 @@ export interface ListElementCreateOptions {
|
|
|
1928
1932
|
* An account row was clicked, with `includeOwnedAccounts` on. `accountId` is the personal `user_…` tag or an owned `biz_…` tag, and `kind` lets you route without inspecting it. The element never navigates.
|
|
1929
1933
|
*/
|
|
1930
1934
|
onAccountSelected?: ((payload: { accountId: string; kind: "personal" | "business"; }) => void);
|
|
1935
|
+
/**
|
|
1936
|
+
* The Whop credits row was clicked. Credits are spendable on Whop only and never withdrawable, so they sit outside every holding row; the host opens its own credits screen. The element never navigates.
|
|
1937
|
+
*/
|
|
1938
|
+
onCreditsSelected?: ((payload: Record<string, never>) => void);
|
|
1931
1939
|
/**
|
|
1932
1940
|
* Runs after the loading skeleton first paints and before `onReady`.
|
|
1933
1941
|
*/
|
|
@@ -2820,6 +2828,38 @@ export interface Money {
|
|
|
2820
2828
|
display_decimals: number;
|
|
2821
2829
|
}
|
|
2822
2830
|
|
|
2831
|
+
/**
|
|
2832
|
+
* Declared from the app's `UserProfilePicture`, referenced by a host-capability surface.
|
|
2833
|
+
*/
|
|
2834
|
+
export interface UserProfilePicture {
|
|
2835
|
+
/**
|
|
2836
|
+
* Avatar image URL. Always present — a generated placeholder when the user set no picture.
|
|
2837
|
+
*/
|
|
2838
|
+
url: string;
|
|
2839
|
+
}
|
|
2840
|
+
|
|
2841
|
+
/**
|
|
2842
|
+
* Declared from the app's `UserSummary`, referenced by a host-capability surface.
|
|
2843
|
+
*/
|
|
2844
|
+
export interface UserSummary {
|
|
2845
|
+
/**
|
|
2846
|
+
* User ID, prefixed `user_`.
|
|
2847
|
+
*/
|
|
2848
|
+
id: string;
|
|
2849
|
+
/**
|
|
2850
|
+
* Public username.
|
|
2851
|
+
*/
|
|
2852
|
+
username: string;
|
|
2853
|
+
/**
|
|
2854
|
+
* Display name.
|
|
2855
|
+
*/
|
|
2856
|
+
name: string | null;
|
|
2857
|
+
/**
|
|
2858
|
+
* Avatar wrapper; its `url` is always present, using a generated placeholder when the user set no picture.
|
|
2859
|
+
*/
|
|
2860
|
+
profile_picture: UserProfilePicture;
|
|
2861
|
+
}
|
|
2862
|
+
|
|
2823
2863
|
/**
|
|
2824
2864
|
* Declared from the app's `LedgerActivity`, referenced by a host-capability surface.
|
|
2825
2865
|
*/
|
|
@@ -2832,7 +2872,7 @@ export interface LedgerActivity {
|
|
|
2832
2872
|
/**
|
|
2833
2873
|
* The ledger line category this activity was posted under.
|
|
2834
2874
|
*/
|
|
2835
|
-
line_type: "platform_balance_transfer_outgoing" | "payment_gross" | "withdrawal" | "topup" | "payment_dispute" | "payment_revshare" | "card_spend_authorization" | "airdrop" | "onchain_swap_target" | "cashback" | "account_settlement" | "ad_budget_release" | "ad_campaign_budget" | "ad_publisher_payout" | "ad_publisher_payout_received" | "ad_spend_charge" | "affiliate_fee" | "airdrop_link_created" | "airdrop_link_redeemed" | "airdrop_link_returned" | "airdrop_reversal" | "application_fee" | "application_fee_payout" | "balance_reservation" | "balance_reservation_reversal" | "bank_transfer" | "billing_percentage_fee" | "buyer_fee" | "card_interchange" | "card_load_deposit" | "card_load_transfer" | "card_spend_authorization_void" | "card_spend_refund" | "card_unload_deposit" | "card_unload_transfer" | "cashback_funding" | "company_referral" | "connected_account_negative_balance" | "cross_border_percentage_fee" | "currency_conversion_incoming" | "currency_conversion_outgoing" | "dispute_alert_fee" | "dispute_hold_adjustment" | "dispute_representment_fee" | "economic_intelligence_percentage_fee" | "external_card_load_deposit" | "fraud_prevention_fee" | "fx_percentage_fee" | "high_risk_merchant_fee" | "installment_default" | "internal_balance_transfer_incoming" | "internal_balance_transfer_outgoing" | "internal_withdrawal" | "internal_withdrawal_complete" | "internal_withdrawal_fee" | "internal_withdrawal_fee_reversal" | "internal_withdrawal_in_transit" | "internal_withdrawal_in_transit_reversal" | "internal_withdrawal_markup_fee" | "internal_withdrawal_markup_fee_payout" | "internal_withdrawal_markup_fee_payout_reversal" | "internal_withdrawal_markup_fee_reversal" | "internal_withdrawal_reversal" | "legacy_crypto_payment" | "legacy_payment" | "legacy_payment_refund" | "license_sale" | "license_sale_commission" | "license_sale_revenue" | "marketplace_affiliate_fee" | "misc_purchase" | "misc_refund" | "misc_reversal" | "onboarding_reward" | "onchain_deposit" | "onchain_swap_source" | "onchain_wallet_transfer_incoming" | "onchain_wallet_transfer_outgoing" | "onchain_withdrawal" | "orchestration_percentage_fee" | "partner_grant_reward" | "passthrough_gmv" | "payment_dispute_adjustment" | "payment_dispute_fee" | "payment_dispute_reversal" | "payment_gross_reversal" | "payment_processing_fixed_fee" | "payment_processing_percentage_fee" | "payment_referral" | "payment_referral_refund" | "payment_referral_reversal" | "payment_refund" | "payment_refund_reversal" | "payment_revshare_payout" | "payment_revshare_refund" | "payment_revshare_reversal" | "payout_fee" | "platform_affiliate_payment" | "platform_affiliate_payment_reversal" | "platform_balance_payment" | "platform_balance_payment_refund" | "platform_balance_transfer_fee" | "platform_balance_transfer_incoming" | "platform_covered_dispute" | "platform_earning" | "platform_markup_fee" | "platform_markup_fee_payout" | "promo_reversal" | "referral_bonus" | "resolution_center_refund" | "revshare_percentage_fee" | "sales_tax_fee" | "sales_tax_remittance" | "sales_tax_remittance_reversal" | "software_rental_revshare" | "software_rental_transaction" | "stripe_domestic_processing_fee" | "stripe_international_processing_fee" | "swap_fee" | "three_ds_fixed_fee" | "topup_fee" | "topup_reversal" | "treasury_payin" | "whop_processing_fee" | "withdrawal_clawback" | "withdrawal_clawback_reversal" | "withdrawal_fee" | "withdrawal_fee_reversal" | "withdrawal_markup_fee" | "withdrawal_markup_fee_payout" | "withdrawal_markup_fee_payout_reversal" | "withdrawal_markup_fee_reversal" | "withdrawal_reclassification" | "withdrawal_reversal" | "withdrawal_topup_adjustment" | "deposit" | "wallet_transfer_incoming" | "wallet_transfer_outgoing" | "swap_source" | "swap_target";
|
|
2875
|
+
line_type: "platform_balance_transfer_outgoing" | "payment_gross" | "withdrawal" | "topup" | "payment_dispute" | "payment_revshare" | "card_spend_authorization" | "airdrop" | "onchain_swap_target" | "cashback" | "account_settlement" | "ad_budget_release" | "ad_campaign_budget" | "ad_publisher_payout" | "ad_publisher_payout_received" | "ad_spend_charge" | "affiliate_fee" | "airdrop_link_created" | "airdrop_link_redeemed" | "airdrop_link_returned" | "airdrop_reversal" | "application_fee" | "application_fee_payout" | "balance_reservation" | "balance_reservation_reversal" | "bank_transfer" | "billing_percentage_fee" | "buyer_fee" | "card_interchange" | "card_load_deposit" | "card_load_transfer" | "card_spend_authorization_void" | "card_spend_refund" | "card_unload_deposit" | "card_unload_transfer" | "cashback_funding" | "company_referral" | "connected_account_negative_balance" | "cross_border_percentage_fee" | "currency_conversion_incoming" | "currency_conversion_outgoing" | "dispute_alert_fee" | "dispute_hold_adjustment" | "dispute_representment_fee" | "economic_intelligence_percentage_fee" | "external_card_load_deposit" | "fraud_prevention_fee" | "fx_percentage_fee" | "high_risk_merchant_fee" | "installment_default" | "internal_balance_transfer_incoming" | "internal_balance_transfer_outgoing" | "internal_withdrawal" | "internal_withdrawal_complete" | "internal_withdrawal_fee" | "internal_withdrawal_fee_reversal" | "internal_withdrawal_in_transit" | "internal_withdrawal_in_transit_reversal" | "internal_withdrawal_markup_fee" | "internal_withdrawal_markup_fee_payout" | "internal_withdrawal_markup_fee_payout_reversal" | "internal_withdrawal_markup_fee_reversal" | "internal_withdrawal_reversal" | "legacy_crypto_payment" | "legacy_payment" | "legacy_payment_refund" | "license_sale" | "license_sale_commission" | "license_sale_revenue" | "marketplace_affiliate_fee" | "misc_purchase" | "misc_refund" | "misc_reversal" | "onboarding_reward" | "onchain_deposit" | "onchain_swap_source" | "onchain_wallet_transfer_incoming" | "onchain_wallet_transfer_outgoing" | "onchain_withdrawal" | "orchestration_percentage_fee" | "partner_grant_reward" | "passthrough_gmv" | "payment_dispute_adjustment" | "payment_dispute_fee" | "payment_dispute_reversal" | "payment_gross_reversal" | "payment_processing_fixed_fee" | "payment_processing_percentage_fee" | "payment_referral" | "payment_referral_refund" | "payment_referral_reversal" | "payment_refund" | "payment_refund_reversal" | "payment_revshare_payout" | "payment_revshare_refund" | "payment_revshare_reversal" | "payout_fee" | "platform_affiliate_payment" | "platform_affiliate_payment_reversal" | "platform_balance_payment" | "platform_balance_payment_refund" | "platform_balance_transfer_fee" | "platform_balance_transfer_incoming" | "platform_covered_dispute" | "platform_credits_granted" | "platform_credits_payment" | "platform_credits_payment_refund" | "platform_earning" | "platform_markup_fee" | "platform_markup_fee_payout" | "promo_reversal" | "referral_bonus" | "resolution_center_refund" | "revshare_percentage_fee" | "sales_tax_fee" | "sales_tax_remittance" | "sales_tax_remittance_reversal" | "software_rental_revshare" | "software_rental_transaction" | "stripe_domestic_processing_fee" | "stripe_international_processing_fee" | "swap_fee" | "three_ds_fixed_fee" | "topup_fee" | "topup_reversal" | "treasury_payin" | "whop_processing_fee" | "withdrawal_clawback" | "withdrawal_clawback_reversal" | "withdrawal_fee" | "withdrawal_fee_reversal" | "withdrawal_markup_fee" | "withdrawal_markup_fee_payout" | "withdrawal_markup_fee_payout_reversal" | "withdrawal_markup_fee_reversal" | "withdrawal_reclassification" | "withdrawal_reversal" | "withdrawal_topup_adjustment" | "psp_payment_receivable" | "ad_spend_purchase" | "psp_refund_payable" | "passthrough_gmv_offset" | "aggregated_fee" | "sales_tax_collected" | "sales_tax_collected_reversal" | "sales_tax_remitted" | "dispute_hold_blocked" | "psp_dispute_payable" | "withdrawal_payable" | "withdrawal_payable_reversal" | "payout_receivable" | "clawback_receivable" | "clawback_receivable_reversal" | "treasury_payin_receivable" | "onchain_deposit_offset" | "onchain_withdrawal_offset" | "trading_account_withdrawal" | "trading_account_withdrawal_offset" | "trading_account_deposit" | "trading_account_deposit_offset" | "onchain_swap_offset" | "whop_swap_fee_received" | "internal_withdrawal_payable" | "internal_withdrawal_payable_reversal" | "external_card_load_offset" | "card_spend_authorization_hold" | "card_spend_capture" | "card_spend_capture_offset" | "card_spend_authorization_void_release" | "card_spend_refund_offset" | "cashback_expense" | "card_interchange_receivable" | "balance_reservation_hold" | "balance_reservation_release" | "bad_debt_offset" | "bad_debt_expense" | "connected_account_clawback" | "payment_referral_payable" | "application_fee_payable" | "airdrop_expense" | "airdrop_expense_reversal" | "airdrop_link_funded" | "airdrop_link_canceled" | "airdrop_link_claimed" | "ad_funding_disbursement" | "ads_card_spread" | "ad_network_cost" | "ad_spend_margin" | "ad_income_expense" | "ad_income_receipt" | "ad_network_settlement" | "ad_balance_funding_receipt" | "fx_gain_loss" | "fx_markup" | "payment_receivable_settlement" | "platform_earning_settlement" | "platform_earning_unreconciled_clearing" | "payment_receivable_clearing" | "payment_receivable_reversal" | "payment_unreconciled_clearing" | "payment_unreconciled_reversal" | "settlement_shortfall_loss" | "fx_settlement_gain_loss" | "settlement_rounding_variance" | "psp_payout_settlement" | "psp_payout_deposit" | "psp_payout_receivable" | "psp_payout_receivable_clearing" | "payout_unreconciled_clearing" | "psp_currency_conversion_outgoing" | "psp_currency_conversion_incoming" | "psp_currency_conversion_receivable" | "psp_currency_conversion_receivable_clearing" | "psp_fx_adjustment" | "refund_settlement" | "refund_settlement_reversal" | "refund_payable_clearing" | "refund_payable_reversal" | "refund_unreconciled_clearing" | "refund_unreconciled_reversal" | "psp_account_debit" | "payment_refund_fee" | "dispute_settlement" | "dispute_settlement_reversal" | "dispute_payable_clearing" | "dispute_payable_reversal" | "dispute_unreconciled_clearing" | "dispute_unreconciled_reversal" | "psp_reserve_hold" | "psp_reserve_release" | "psp_dispute_fee" | "psp_dispute_alert_fee" | "psp_refund_fee" | "psp_account_updater_fee" | "psp_adjusted_processing_fee" | "psp_authentication_fee" | "psp_commission_fee" | "psp_fixed_fee" | "psp_gateway_fee" | "psp_interchange_fee" | "psp_invoice_tax_fee" | "psp_markup_fee" | "psp_network_token_fee" | "psp_optimization_fee" | "psp_payment_method_fee" | "psp_payout_fee" | "psp_processing_fee" | "psp_risk_fee" | "psp_scheme_fee" | "psp_variable_fee" | "psp_billing_fee" | "psp_tax_service_fee" | "psp_connect_fee" | "external_account_connection_fee" | "psp_external_account_connection_fee" | "psp_invoicing_fee" | "psp_terminal_fee" | "treasury_fee" | "psp_treasury_fee" | "accelerated_settlement_fee" | "psp_accelerated_settlement_fee" | "psp_receivable_pooled" | "psp_pool_settlement" | "psp_pool_clearing" | "psp_pool_refund_settlement" | "psp_pool_refund_clearing" | "psp_correction" | "psp_payin_settlement" | "psp_payin_clearing" | "psp_bank_pull_settlement" | "psp_bank_pull_clearing" | "psp_pool_dispute_settlement" | "psp_payout_consolidation" | "psp_withholding_tax" | "psp_payout_settlement_reversal" | "psp_transfer_settlement" | "psp_transfer_settlement_reversal" | "psp_collection_settlement" | "payout_subsidy" | "withdrawal_payable_clearing" | "withdrawal_payable_clearing_reversal" | "identity_verification_fee" | "psp_identity_verification_fee" | "tax_filing_fee" | "psp_tax_filing_fee" | "psp_service_fee" | "recipient_wallet_load" | "psp_recipient_wallet_load" | "dispute_management_fee" | "psp_dispute_management_fee" | "psp_clawback_settlement" | "psp_clawback_settlement_reversal" | "clawback_receivable_settlement" | "clawback_receivable_settlement_reversal" | "clawback_fee" | "psp_clawback_fee" | "deposit" | "wallet_transfer_incoming" | "wallet_transfer_outgoing" | "swap_source" | "swap_target";
|
|
2836
2876
|
/**
|
|
2837
2877
|
* Signed amount in the currency's smallest precision units.
|
|
2838
2878
|
*/
|
|
@@ -2860,7 +2900,7 @@ export interface LedgerActivity {
|
|
|
2860
2900
|
/**
|
|
2861
2901
|
* Source of this ledger activity. Platform markup fees use object platform_fee and the ledger activity ID.
|
|
2862
2902
|
*/
|
|
2863
|
-
source: { object: string; id: string; fee_kind?: "transfer" | "card_spend" | "deposit" | "swap" | "payout" | null | undefined; status?: string | null | undefined; payment_amount?: Money | null | undefined; payment_method_type?: string | null | undefined; payment_processor?: string | null | undefined; card_brand?: string | null | undefined; reason?: string | null | undefined; notes?: string | null | undefined; risk_review_hold?: boolean | null | undefined; claim_url?: string | null | undefined; amount_float?: number | null | undefined; created_at?: string | null | undefined; estimated_arrival?: string | null | undefined; payer_name?: string | null | undefined; payout_token_nickname?: string | null | undefined; tx_hash?: string | null | undefined; sender_address?: string | null | undefined; chain?: string | null | undefined; from_amount?: string | null | undefined; from_currency?: string | null | undefined; to_amount?: string | null | undefined; to_currency?: string | null | undefined; payout_destination?: { payer_name?: string | null | undefined; icon_url?: string | null | undefined; } | null | undefined; [key: string]: unknown; } | null;
|
|
2903
|
+
source: { object: string; id: string; fee_kind?: "transfer" | "card_spend" | "deposit" | "swap" | "payout" | null | undefined; status?: string | null | undefined; payment_amount?: Money | null | undefined; payment_method_type?: string | null | undefined; payment_processor?: string | null | undefined; card_brand?: string | null | undefined; reason?: string | null | undefined; notes?: string | null | undefined; risk_review_hold?: boolean | null | undefined; claim_url?: string | null | undefined; amount_float?: number | null | undefined; payout_amount?: Money | null | undefined; fee_amount?: Money | null | undefined; fee_type?: "exclusive" | "inclusive" | null | undefined; created_by_user?: UserSummary | null | undefined; trace_code?: string | null | undefined; created_at?: string | null | undefined; estimated_arrival?: string | null | undefined; payer_name?: string | null | undefined; payout_token_nickname?: string | null | undefined; tx_hash?: string | null | undefined; sender_address?: string | null | undefined; chain?: string | null | undefined; from_amount?: string | null | undefined; from_currency?: string | null | undefined; to_amount?: string | null | undefined; to_currency?: string | null | undefined; payout_destination?: { payer_name?: string | null | undefined; icon_url?: string | null | undefined; } | null | undefined; [key: string]: unknown; } | null;
|
|
2864
2904
|
/**
|
|
2865
2905
|
* Payment related to this ledger activity. Included when rich resource hydration is enabled and the movement is tied to a payment.
|
|
2866
2906
|
*/
|
|
@@ -2890,11 +2930,11 @@ export interface LedgerActivity {
|
|
|
2890
2930
|
*/
|
|
2891
2931
|
product_name?: string | null | undefined;
|
|
2892
2932
|
/**
|
|
2893
|
-
* ID of the
|
|
2933
|
+
* ID of the variant associated with the payment, when applicable.
|
|
2894
2934
|
*/
|
|
2895
2935
|
plan_id?: string | null | undefined;
|
|
2896
2936
|
/**
|
|
2897
|
-
* Name of the
|
|
2937
|
+
* Name of the variant associated with the payment, when applicable.
|
|
2898
2938
|
*/
|
|
2899
2939
|
plan_name?: string | null | undefined;
|
|
2900
2940
|
/**
|
|
@@ -3162,7 +3202,7 @@ export interface ReportActivityFilters {
|
|
|
3162
3202
|
postedAfter?: string | undefined;
|
|
3163
3203
|
postedBefore?: string | undefined;
|
|
3164
3204
|
direction?: "money_in" | "money_out" | undefined;
|
|
3165
|
-
lineTypes?: ("platform_balance_transfer_outgoing" | "payment_gross" | "withdrawal" | "topup" | "payment_dispute" | "payment_revshare" | "card_spend_authorization" | "airdrop" | "onchain_swap_target" | "cashback" | "account_settlement" | "ad_budget_release" | "ad_campaign_budget" | "ad_publisher_payout" | "ad_publisher_payout_received" | "ad_spend_charge" | "affiliate_fee" | "airdrop_link_created" | "airdrop_link_redeemed" | "airdrop_link_returned" | "airdrop_reversal" | "application_fee" | "application_fee_payout" | "balance_reservation" | "balance_reservation_reversal" | "bank_transfer" | "billing_percentage_fee" | "buyer_fee" | "card_interchange" | "card_load_deposit" | "card_load_transfer" | "card_spend_authorization_void" | "card_spend_refund" | "card_unload_deposit" | "card_unload_transfer" | "cashback_funding" | "company_referral" | "connected_account_negative_balance" | "cross_border_percentage_fee" | "currency_conversion_incoming" | "currency_conversion_outgoing" | "dispute_alert_fee" | "dispute_hold_adjustment" | "dispute_representment_fee" | "economic_intelligence_percentage_fee" | "external_card_load_deposit" | "fees" | "fraud_prevention_fee" | "fx_percentage_fee" | "high_risk_merchant_fee" | "installment_default" | "internal_balance_transfer_incoming" | "internal_balance_transfer_outgoing" | "internal_withdrawal" | "internal_withdrawal_complete" | "internal_withdrawal_fee" | "internal_withdrawal_fee_reversal" | "internal_withdrawal_in_transit" | "internal_withdrawal_in_transit_reversal" | "internal_withdrawal_markup_fee" | "internal_withdrawal_markup_fee_payout" | "internal_withdrawal_markup_fee_payout_reversal" | "internal_withdrawal_markup_fee_reversal" | "internal_withdrawal_reversal" | "legacy_crypto_payment" | "legacy_payment" | "legacy_payment_refund" | "license_sale" | "license_sale_commission" | "license_sale_revenue" | "marketplace_affiliate_fee" | "misc_purchase" | "misc_refund" | "misc_reversal" | "onboarding_reward" | "onchain_deposit" | "onchain_swap_source" | "onchain_wallet_transfer_incoming" | "onchain_wallet_transfer_outgoing" | "onchain_withdrawal" | "orchestration_percentage_fee" | "partner_grant_reward" | "passthrough_gmv" | "payment_dispute_adjustment" | "payment_dispute_fee" | "payment_dispute_reversal" | "payment_gross_reversal" | "payment_processing_fixed_fee" | "payment_processing_percentage_fee" | "payment_referral" | "payment_referral_refund" | "payment_referral_reversal" | "payment_refund" | "payment_refund_reversal" | "payment_revshare_payout" | "payment_revshare_refund" | "payment_revshare_reversal" | "payout_fee" | "platform_affiliate_payment" | "platform_affiliate_payment_reversal" | "platform_balance_payment" | "platform_balance_payment_refund" | "platform_balance_transfer_fee" | "platform_balance_transfer_incoming" | "platform_covered_dispute" | "platform_earning" | "platform_markup_fee" | "platform_markup_fee_payout" | "promo_reversal" | "referral_bonus" | "resolution_center_refund" | "revshare_percentage_fee" | "sales_tax_fee" | "sales_tax_remittance" | "sales_tax_remittance_reversal" | "software_rental_revshare" | "software_rental_transaction" | "stripe_domestic_processing_fee" | "stripe_international_processing_fee" | "swap_fee" | "three_ds_fixed_fee" | "topup_fee" | "topup_reversal" | "treasury_payin" | "whop_processing_fee" | "withdrawal_clawback" | "withdrawal_clawback_reversal" | "withdrawal_fee" | "withdrawal_fee_reversal" | "withdrawal_markup_fee" | "withdrawal_markup_fee_payout" | "withdrawal_markup_fee_payout_reversal" | "withdrawal_markup_fee_reversal" | "withdrawal_reclassification" | "withdrawal_reversal" | "withdrawal_topup_adjustment")[] | undefined;
|
|
3205
|
+
lineTypes?: ("platform_balance_transfer_outgoing" | "payment_gross" | "withdrawal" | "topup" | "payment_dispute" | "payment_revshare" | "card_spend_authorization" | "airdrop" | "onchain_swap_target" | "cashback" | "account_settlement" | "ad_budget_release" | "ad_campaign_budget" | "ad_publisher_payout" | "ad_publisher_payout_received" | "ad_spend_charge" | "affiliate_fee" | "airdrop_link_created" | "airdrop_link_redeemed" | "airdrop_link_returned" | "airdrop_reversal" | "application_fee" | "application_fee_payout" | "balance_reservation" | "balance_reservation_reversal" | "bank_transfer" | "billing_percentage_fee" | "buyer_fee" | "card_interchange" | "card_load_deposit" | "card_load_transfer" | "card_spend_authorization_void" | "card_spend_refund" | "card_unload_deposit" | "card_unload_transfer" | "cashback_funding" | "company_referral" | "connected_account_negative_balance" | "cross_border_percentage_fee" | "currency_conversion_incoming" | "currency_conversion_outgoing" | "dispute_alert_fee" | "dispute_hold_adjustment" | "dispute_representment_fee" | "economic_intelligence_percentage_fee" | "external_card_load_deposit" | "fees" | "fraud_prevention_fee" | "fx_percentage_fee" | "high_risk_merchant_fee" | "installment_default" | "internal_balance_transfer_incoming" | "internal_balance_transfer_outgoing" | "internal_withdrawal" | "internal_withdrawal_complete" | "internal_withdrawal_fee" | "internal_withdrawal_fee_reversal" | "internal_withdrawal_in_transit" | "internal_withdrawal_in_transit_reversal" | "internal_withdrawal_markup_fee" | "internal_withdrawal_markup_fee_payout" | "internal_withdrawal_markup_fee_payout_reversal" | "internal_withdrawal_markup_fee_reversal" | "internal_withdrawal_reversal" | "legacy_crypto_payment" | "legacy_payment" | "legacy_payment_refund" | "license_sale" | "license_sale_commission" | "license_sale_revenue" | "marketplace_affiliate_fee" | "misc_purchase" | "misc_refund" | "misc_reversal" | "onboarding_reward" | "onchain_deposit" | "onchain_swap_source" | "onchain_wallet_transfer_incoming" | "onchain_wallet_transfer_outgoing" | "onchain_withdrawal" | "orchestration_percentage_fee" | "partner_grant_reward" | "passthrough_gmv" | "payment_dispute_adjustment" | "payment_dispute_fee" | "payment_dispute_reversal" | "payment_gross_reversal" | "payment_processing_fixed_fee" | "payment_processing_percentage_fee" | "payment_referral" | "payment_referral_refund" | "payment_referral_reversal" | "payment_refund" | "payment_refund_reversal" | "payment_revshare_payout" | "payment_revshare_refund" | "payment_revshare_reversal" | "payout_fee" | "platform_affiliate_payment" | "platform_affiliate_payment_reversal" | "platform_balance_payment" | "platform_balance_payment_refund" | "platform_balance_transfer_fee" | "platform_balance_transfer_incoming" | "platform_covered_dispute" | "platform_credits_granted" | "platform_credits_payment" | "platform_credits_payment_refund" | "platform_earning" | "platform_markup_fee" | "platform_markup_fee_payout" | "promo_reversal" | "referral_bonus" | "resolution_center_refund" | "revshare_percentage_fee" | "sales_tax_fee" | "sales_tax_remittance" | "sales_tax_remittance_reversal" | "software_rental_revshare" | "software_rental_transaction" | "stripe_domestic_processing_fee" | "stripe_international_processing_fee" | "swap_fee" | "three_ds_fixed_fee" | "topup_fee" | "topup_reversal" | "treasury_payin" | "whop_processing_fee" | "withdrawal_clawback" | "withdrawal_clawback_reversal" | "withdrawal_fee" | "withdrawal_fee_reversal" | "withdrawal_markup_fee" | "withdrawal_markup_fee_payout" | "withdrawal_markup_fee_payout_reversal" | "withdrawal_markup_fee_reversal" | "withdrawal_reclassification" | "withdrawal_reversal" | "withdrawal_topup_adjustment")[] | undefined;
|
|
3166
3206
|
resourceId?: string | undefined;
|
|
3167
3207
|
}
|
|
3168
3208
|
|
package/wallet.d.ts
CHANGED
|
@@ -28,6 +28,10 @@ export interface WalletOptions {
|
|
|
28
28
|
* Account or user ID whose money these surfaces read. Account IDs are prefixed `biz_`; user IDs are prefixed `user_` and can read only the viewer's own balance.
|
|
29
29
|
*/
|
|
30
30
|
accountId: string;
|
|
31
|
+
/**
|
|
32
|
+
* A deposit requires identity verification. Handle this callback to open your settings or verification flow; Wallet does not navigate.
|
|
33
|
+
*/
|
|
34
|
+
onIdentityVerificationRequested?: ((payload: { accountId: string; }) => void);
|
|
31
35
|
/**
|
|
32
36
|
* Runs when the grouped loading state changes. The value is `true` while any mounted element is still loading.
|
|
33
37
|
*/
|
|
@@ -242,7 +246,7 @@ export interface ActivityElementProps {
|
|
|
242
246
|
* Activity types selected when the element mounts or its account changes. The viewer can change them with the built-in filters.
|
|
243
247
|
* @default []
|
|
244
248
|
*/
|
|
245
|
-
defaultLineTypes?: ("platform_balance_transfer_outgoing" | "payment_gross" | "withdrawal" | "topup" | "payment_dispute" | "payment_revshare" | "card_spend_authorization" | "airdrop" | "onchain_swap_target" | "cashback" | "ad_budget_release" | "ad_campaign_budget" | "ad_publisher_payout" | "ad_publisher_payout_received" | "ad_spend_charge" | "affiliate_fee" | "airdrop_link_created" | "airdrop_link_redeemed" | "airdrop_link_returned" | "airdrop_reversal" | "application_fee" | "application_fee_payout" | "bank_transfer" | "billing_percentage_fee" | "buyer_fee" | "card_spend_authorization_void" | "card_spend_refund" | "cross_border_percentage_fee" | "currency_conversion_incoming" | "currency_conversion_outgoing" | "dispute_alert_fee" | "dispute_hold_adjustment" | "economic_intelligence_percentage_fee" | "fraud_prevention_fee" | "fx_percentage_fee" | "high_risk_merchant_fee" | "internal_balance_transfer_incoming" | "internal_balance_transfer_outgoing" | "misc_reversal" | "onboarding_reward" | "onchain_deposit" | "onchain_wallet_transfer_incoming" | "onchain_wallet_transfer_outgoing" | "orchestration_percentage_fee" | "partner_grant_reward" | "passthrough_gmv" | "payment_dispute_adjustment" | "payment_dispute_fee" | "payment_dispute_reversal" | "payment_gross_reversal" | "payment_processing_fixed_fee" | "payment_processing_percentage_fee" | "payment_referral" | "payment_referral_reversal" | "payment_refund" | "payment_refund_reversal" | "payment_revshare_payout" | "payment_revshare_refund" | "payment_revshare_reversal" | "payout_fee" | "platform_affiliate_payment" | "platform_affiliate_payment_reversal" | "platform_balance_payment" | "platform_balance_payment_refund" | "platform_balance_transfer_incoming" | "platform_covered_dispute" | "platform_markup_fee" | "platform_markup_fee_payout" | "promo_reversal" | "resolution_center_refund" | "revshare_percentage_fee" | "sales_tax_fee" | "sales_tax_remittance" | "sales_tax_remittance_reversal" | "stripe_domestic_processing_fee" | "stripe_international_processing_fee" | "three_ds_fixed_fee" | "topup_reversal" | "treasury_payin" | "whop_processing_fee" | "withdrawal_clawback" | "withdrawal_clawback_reversal" | "withdrawal_reclassification" | "withdrawal_reversal")[];
|
|
249
|
+
defaultLineTypes?: ("platform_balance_transfer_outgoing" | "payment_gross" | "withdrawal" | "topup" | "payment_dispute" | "payment_revshare" | "card_spend_authorization" | "airdrop" | "onchain_swap_target" | "cashback" | "ad_budget_release" | "ad_campaign_budget" | "ad_publisher_payout" | "ad_publisher_payout_received" | "ad_spend_charge" | "affiliate_fee" | "airdrop_link_created" | "airdrop_link_redeemed" | "airdrop_link_returned" | "airdrop_reversal" | "application_fee" | "application_fee_payout" | "bank_transfer" | "billing_percentage_fee" | "buyer_fee" | "card_spend_authorization_void" | "card_spend_refund" | "cross_border_percentage_fee" | "currency_conversion_incoming" | "currency_conversion_outgoing" | "dispute_alert_fee" | "dispute_hold_adjustment" | "economic_intelligence_percentage_fee" | "fraud_prevention_fee" | "fx_percentage_fee" | "high_risk_merchant_fee" | "internal_balance_transfer_incoming" | "internal_balance_transfer_outgoing" | "misc_reversal" | "onboarding_reward" | "onchain_deposit" | "onchain_wallet_transfer_incoming" | "onchain_wallet_transfer_outgoing" | "orchestration_percentage_fee" | "partner_grant_reward" | "passthrough_gmv" | "payment_dispute_adjustment" | "payment_dispute_fee" | "payment_dispute_reversal" | "payment_gross_reversal" | "payment_processing_fixed_fee" | "payment_processing_percentage_fee" | "payment_referral" | "payment_referral_reversal" | "payment_refund" | "payment_refund_reversal" | "payment_revshare_payout" | "payment_revshare_refund" | "payment_revshare_reversal" | "payout_fee" | "platform_affiliate_payment" | "platform_affiliate_payment_reversal" | "platform_balance_payment" | "platform_balance_payment_refund" | "platform_balance_transfer_incoming" | "platform_covered_dispute" | "platform_credits_granted" | "platform_credits_payment" | "platform_credits_payment_refund" | "platform_markup_fee" | "platform_markup_fee_payout" | "promo_reversal" | "resolution_center_refund" | "revshare_percentage_fee" | "sales_tax_fee" | "sales_tax_remittance" | "sales_tax_remittance_reversal" | "stripe_domestic_processing_fee" | "stripe_international_processing_fee" | "three_ds_fixed_fee" | "topup_reversal" | "treasury_payin" | "whop_processing_fee" | "withdrawal_clawback" | "withdrawal_clawback_reversal" | "withdrawal_reclassification" | "withdrawal_reversal")[];
|
|
246
250
|
/**
|
|
247
251
|
* Hide the filter chips, for a compact list that the viewer does not filter.
|
|
248
252
|
* @default false
|
|
@@ -308,7 +312,7 @@ export interface ActivityElementCreateOptions {
|
|
|
308
312
|
* Activity types selected when the element mounts or its account changes. The viewer can change them with the built-in filters.
|
|
309
313
|
* @default []
|
|
310
314
|
*/
|
|
311
|
-
defaultLineTypes?: ("platform_balance_transfer_outgoing" | "payment_gross" | "withdrawal" | "topup" | "payment_dispute" | "payment_revshare" | "card_spend_authorization" | "airdrop" | "onchain_swap_target" | "cashback" | "ad_budget_release" | "ad_campaign_budget" | "ad_publisher_payout" | "ad_publisher_payout_received" | "ad_spend_charge" | "affiliate_fee" | "airdrop_link_created" | "airdrop_link_redeemed" | "airdrop_link_returned" | "airdrop_reversal" | "application_fee" | "application_fee_payout" | "bank_transfer" | "billing_percentage_fee" | "buyer_fee" | "card_spend_authorization_void" | "card_spend_refund" | "cross_border_percentage_fee" | "currency_conversion_incoming" | "currency_conversion_outgoing" | "dispute_alert_fee" | "dispute_hold_adjustment" | "economic_intelligence_percentage_fee" | "fraud_prevention_fee" | "fx_percentage_fee" | "high_risk_merchant_fee" | "internal_balance_transfer_incoming" | "internal_balance_transfer_outgoing" | "misc_reversal" | "onboarding_reward" | "onchain_deposit" | "onchain_wallet_transfer_incoming" | "onchain_wallet_transfer_outgoing" | "orchestration_percentage_fee" | "partner_grant_reward" | "passthrough_gmv" | "payment_dispute_adjustment" | "payment_dispute_fee" | "payment_dispute_reversal" | "payment_gross_reversal" | "payment_processing_fixed_fee" | "payment_processing_percentage_fee" | "payment_referral" | "payment_referral_reversal" | "payment_refund" | "payment_refund_reversal" | "payment_revshare_payout" | "payment_revshare_refund" | "payment_revshare_reversal" | "payout_fee" | "platform_affiliate_payment" | "platform_affiliate_payment_reversal" | "platform_balance_payment" | "platform_balance_payment_refund" | "platform_balance_transfer_incoming" | "platform_covered_dispute" | "platform_markup_fee" | "platform_markup_fee_payout" | "promo_reversal" | "resolution_center_refund" | "revshare_percentage_fee" | "sales_tax_fee" | "sales_tax_remittance" | "sales_tax_remittance_reversal" | "stripe_domestic_processing_fee" | "stripe_international_processing_fee" | "three_ds_fixed_fee" | "topup_reversal" | "treasury_payin" | "whop_processing_fee" | "withdrawal_clawback" | "withdrawal_clawback_reversal" | "withdrawal_reclassification" | "withdrawal_reversal")[];
|
|
315
|
+
defaultLineTypes?: ("platform_balance_transfer_outgoing" | "payment_gross" | "withdrawal" | "topup" | "payment_dispute" | "payment_revshare" | "card_spend_authorization" | "airdrop" | "onchain_swap_target" | "cashback" | "ad_budget_release" | "ad_campaign_budget" | "ad_publisher_payout" | "ad_publisher_payout_received" | "ad_spend_charge" | "affiliate_fee" | "airdrop_link_created" | "airdrop_link_redeemed" | "airdrop_link_returned" | "airdrop_reversal" | "application_fee" | "application_fee_payout" | "bank_transfer" | "billing_percentage_fee" | "buyer_fee" | "card_spend_authorization_void" | "card_spend_refund" | "cross_border_percentage_fee" | "currency_conversion_incoming" | "currency_conversion_outgoing" | "dispute_alert_fee" | "dispute_hold_adjustment" | "economic_intelligence_percentage_fee" | "fraud_prevention_fee" | "fx_percentage_fee" | "high_risk_merchant_fee" | "internal_balance_transfer_incoming" | "internal_balance_transfer_outgoing" | "misc_reversal" | "onboarding_reward" | "onchain_deposit" | "onchain_wallet_transfer_incoming" | "onchain_wallet_transfer_outgoing" | "orchestration_percentage_fee" | "partner_grant_reward" | "passthrough_gmv" | "payment_dispute_adjustment" | "payment_dispute_fee" | "payment_dispute_reversal" | "payment_gross_reversal" | "payment_processing_fixed_fee" | "payment_processing_percentage_fee" | "payment_referral" | "payment_referral_reversal" | "payment_refund" | "payment_refund_reversal" | "payment_revshare_payout" | "payment_revshare_refund" | "payment_revshare_reversal" | "payout_fee" | "platform_affiliate_payment" | "platform_affiliate_payment_reversal" | "platform_balance_payment" | "platform_balance_payment_refund" | "platform_balance_transfer_incoming" | "platform_covered_dispute" | "platform_credits_granted" | "platform_credits_payment" | "platform_credits_payment_refund" | "platform_markup_fee" | "platform_markup_fee_payout" | "promo_reversal" | "resolution_center_refund" | "revshare_percentage_fee" | "sales_tax_fee" | "sales_tax_remittance" | "sales_tax_remittance_reversal" | "stripe_domestic_processing_fee" | "stripe_international_processing_fee" | "three_ds_fixed_fee" | "topup_reversal" | "treasury_payin" | "whop_processing_fee" | "withdrawal_clawback" | "withdrawal_clawback_reversal" | "withdrawal_reclassification" | "withdrawal_reversal")[];
|
|
312
316
|
/**
|
|
313
317
|
* Hide the filter chips, for a compact list that the viewer does not filter.
|
|
314
318
|
* @default false
|
|
@@ -1726,7 +1730,7 @@ export interface BreakdownElementCreateOptions {
|
|
|
1726
1730
|
/**
|
|
1727
1731
|
* A balance row or its matching bar segment was clicked. The host can open details for `available`, `pending`, `reserve`, or `debt`.
|
|
1728
1732
|
*/
|
|
1729
|
-
onBreakdownSelected?: ((payload: { category: "available" | "
|
|
1733
|
+
onBreakdownSelected?: ((payload: { category: "available" | "debt" | "pending" | "reserve"; }) => void);
|
|
1730
1734
|
/**
|
|
1731
1735
|
* Runs after the loading skeleton first paints and before `onReady`.
|
|
1732
1736
|
*/
|
|
@@ -1928,6 +1932,10 @@ export interface ListElementCreateOptions {
|
|
|
1928
1932
|
* An account row was clicked, with `includeOwnedAccounts` on. `accountId` is the personal `user_…` tag or an owned `biz_…` tag, and `kind` lets you route without inspecting it. The element never navigates.
|
|
1929
1933
|
*/
|
|
1930
1934
|
onAccountSelected?: ((payload: { accountId: string; kind: "personal" | "business"; }) => void);
|
|
1935
|
+
/**
|
|
1936
|
+
* The Whop credits row was clicked. Credits are spendable on Whop only and never withdrawable, so they sit outside every holding row; the host opens its own credits screen. The element never navigates.
|
|
1937
|
+
*/
|
|
1938
|
+
onCreditsSelected?: ((payload: Record<string, never>) => void);
|
|
1931
1939
|
/**
|
|
1932
1940
|
* Runs after the loading skeleton first paints and before `onReady`.
|
|
1933
1941
|
*/
|
|
@@ -2820,6 +2828,38 @@ export interface Money {
|
|
|
2820
2828
|
display_decimals: number;
|
|
2821
2829
|
}
|
|
2822
2830
|
|
|
2831
|
+
/**
|
|
2832
|
+
* Declared from the app's `UserProfilePicture`, referenced by a host-capability surface.
|
|
2833
|
+
*/
|
|
2834
|
+
export interface UserProfilePicture {
|
|
2835
|
+
/**
|
|
2836
|
+
* Avatar image URL. Always present — a generated placeholder when the user set no picture.
|
|
2837
|
+
*/
|
|
2838
|
+
url: string;
|
|
2839
|
+
}
|
|
2840
|
+
|
|
2841
|
+
/**
|
|
2842
|
+
* Declared from the app's `UserSummary`, referenced by a host-capability surface.
|
|
2843
|
+
*/
|
|
2844
|
+
export interface UserSummary {
|
|
2845
|
+
/**
|
|
2846
|
+
* User ID, prefixed `user_`.
|
|
2847
|
+
*/
|
|
2848
|
+
id: string;
|
|
2849
|
+
/**
|
|
2850
|
+
* Public username.
|
|
2851
|
+
*/
|
|
2852
|
+
username: string;
|
|
2853
|
+
/**
|
|
2854
|
+
* Display name.
|
|
2855
|
+
*/
|
|
2856
|
+
name: string | null;
|
|
2857
|
+
/**
|
|
2858
|
+
* Avatar wrapper; its `url` is always present, using a generated placeholder when the user set no picture.
|
|
2859
|
+
*/
|
|
2860
|
+
profile_picture: UserProfilePicture;
|
|
2861
|
+
}
|
|
2862
|
+
|
|
2823
2863
|
/**
|
|
2824
2864
|
* Declared from the app's `LedgerActivity`, referenced by a host-capability surface.
|
|
2825
2865
|
*/
|
|
@@ -2832,7 +2872,7 @@ export interface LedgerActivity {
|
|
|
2832
2872
|
/**
|
|
2833
2873
|
* The ledger line category this activity was posted under.
|
|
2834
2874
|
*/
|
|
2835
|
-
line_type: "platform_balance_transfer_outgoing" | "payment_gross" | "withdrawal" | "topup" | "payment_dispute" | "payment_revshare" | "card_spend_authorization" | "airdrop" | "onchain_swap_target" | "cashback" | "account_settlement" | "ad_budget_release" | "ad_campaign_budget" | "ad_publisher_payout" | "ad_publisher_payout_received" | "ad_spend_charge" | "affiliate_fee" | "airdrop_link_created" | "airdrop_link_redeemed" | "airdrop_link_returned" | "airdrop_reversal" | "application_fee" | "application_fee_payout" | "balance_reservation" | "balance_reservation_reversal" | "bank_transfer" | "billing_percentage_fee" | "buyer_fee" | "card_interchange" | "card_load_deposit" | "card_load_transfer" | "card_spend_authorization_void" | "card_spend_refund" | "card_unload_deposit" | "card_unload_transfer" | "cashback_funding" | "company_referral" | "connected_account_negative_balance" | "cross_border_percentage_fee" | "currency_conversion_incoming" | "currency_conversion_outgoing" | "dispute_alert_fee" | "dispute_hold_adjustment" | "dispute_representment_fee" | "economic_intelligence_percentage_fee" | "external_card_load_deposit" | "fraud_prevention_fee" | "fx_percentage_fee" | "high_risk_merchant_fee" | "installment_default" | "internal_balance_transfer_incoming" | "internal_balance_transfer_outgoing" | "internal_withdrawal" | "internal_withdrawal_complete" | "internal_withdrawal_fee" | "internal_withdrawal_fee_reversal" | "internal_withdrawal_in_transit" | "internal_withdrawal_in_transit_reversal" | "internal_withdrawal_markup_fee" | "internal_withdrawal_markup_fee_payout" | "internal_withdrawal_markup_fee_payout_reversal" | "internal_withdrawal_markup_fee_reversal" | "internal_withdrawal_reversal" | "legacy_crypto_payment" | "legacy_payment" | "legacy_payment_refund" | "license_sale" | "license_sale_commission" | "license_sale_revenue" | "marketplace_affiliate_fee" | "misc_purchase" | "misc_refund" | "misc_reversal" | "onboarding_reward" | "onchain_deposit" | "onchain_swap_source" | "onchain_wallet_transfer_incoming" | "onchain_wallet_transfer_outgoing" | "onchain_withdrawal" | "orchestration_percentage_fee" | "partner_grant_reward" | "passthrough_gmv" | "payment_dispute_adjustment" | "payment_dispute_fee" | "payment_dispute_reversal" | "payment_gross_reversal" | "payment_processing_fixed_fee" | "payment_processing_percentage_fee" | "payment_referral" | "payment_referral_refund" | "payment_referral_reversal" | "payment_refund" | "payment_refund_reversal" | "payment_revshare_payout" | "payment_revshare_refund" | "payment_revshare_reversal" | "payout_fee" | "platform_affiliate_payment" | "platform_affiliate_payment_reversal" | "platform_balance_payment" | "platform_balance_payment_refund" | "platform_balance_transfer_fee" | "platform_balance_transfer_incoming" | "platform_covered_dispute" | "platform_earning" | "platform_markup_fee" | "platform_markup_fee_payout" | "promo_reversal" | "referral_bonus" | "resolution_center_refund" | "revshare_percentage_fee" | "sales_tax_fee" | "sales_tax_remittance" | "sales_tax_remittance_reversal" | "software_rental_revshare" | "software_rental_transaction" | "stripe_domestic_processing_fee" | "stripe_international_processing_fee" | "swap_fee" | "three_ds_fixed_fee" | "topup_fee" | "topup_reversal" | "treasury_payin" | "whop_processing_fee" | "withdrawal_clawback" | "withdrawal_clawback_reversal" | "withdrawal_fee" | "withdrawal_fee_reversal" | "withdrawal_markup_fee" | "withdrawal_markup_fee_payout" | "withdrawal_markup_fee_payout_reversal" | "withdrawal_markup_fee_reversal" | "withdrawal_reclassification" | "withdrawal_reversal" | "withdrawal_topup_adjustment" | "deposit" | "wallet_transfer_incoming" | "wallet_transfer_outgoing" | "swap_source" | "swap_target";
|
|
2875
|
+
line_type: "platform_balance_transfer_outgoing" | "payment_gross" | "withdrawal" | "topup" | "payment_dispute" | "payment_revshare" | "card_spend_authorization" | "airdrop" | "onchain_swap_target" | "cashback" | "account_settlement" | "ad_budget_release" | "ad_campaign_budget" | "ad_publisher_payout" | "ad_publisher_payout_received" | "ad_spend_charge" | "affiliate_fee" | "airdrop_link_created" | "airdrop_link_redeemed" | "airdrop_link_returned" | "airdrop_reversal" | "application_fee" | "application_fee_payout" | "balance_reservation" | "balance_reservation_reversal" | "bank_transfer" | "billing_percentage_fee" | "buyer_fee" | "card_interchange" | "card_load_deposit" | "card_load_transfer" | "card_spend_authorization_void" | "card_spend_refund" | "card_unload_deposit" | "card_unload_transfer" | "cashback_funding" | "company_referral" | "connected_account_negative_balance" | "cross_border_percentage_fee" | "currency_conversion_incoming" | "currency_conversion_outgoing" | "dispute_alert_fee" | "dispute_hold_adjustment" | "dispute_representment_fee" | "economic_intelligence_percentage_fee" | "external_card_load_deposit" | "fraud_prevention_fee" | "fx_percentage_fee" | "high_risk_merchant_fee" | "installment_default" | "internal_balance_transfer_incoming" | "internal_balance_transfer_outgoing" | "internal_withdrawal" | "internal_withdrawal_complete" | "internal_withdrawal_fee" | "internal_withdrawal_fee_reversal" | "internal_withdrawal_in_transit" | "internal_withdrawal_in_transit_reversal" | "internal_withdrawal_markup_fee" | "internal_withdrawal_markup_fee_payout" | "internal_withdrawal_markup_fee_payout_reversal" | "internal_withdrawal_markup_fee_reversal" | "internal_withdrawal_reversal" | "legacy_crypto_payment" | "legacy_payment" | "legacy_payment_refund" | "license_sale" | "license_sale_commission" | "license_sale_revenue" | "marketplace_affiliate_fee" | "misc_purchase" | "misc_refund" | "misc_reversal" | "onboarding_reward" | "onchain_deposit" | "onchain_swap_source" | "onchain_wallet_transfer_incoming" | "onchain_wallet_transfer_outgoing" | "onchain_withdrawal" | "orchestration_percentage_fee" | "partner_grant_reward" | "passthrough_gmv" | "payment_dispute_adjustment" | "payment_dispute_fee" | "payment_dispute_reversal" | "payment_gross_reversal" | "payment_processing_fixed_fee" | "payment_processing_percentage_fee" | "payment_referral" | "payment_referral_refund" | "payment_referral_reversal" | "payment_refund" | "payment_refund_reversal" | "payment_revshare_payout" | "payment_revshare_refund" | "payment_revshare_reversal" | "payout_fee" | "platform_affiliate_payment" | "platform_affiliate_payment_reversal" | "platform_balance_payment" | "platform_balance_payment_refund" | "platform_balance_transfer_fee" | "platform_balance_transfer_incoming" | "platform_covered_dispute" | "platform_credits_granted" | "platform_credits_payment" | "platform_credits_payment_refund" | "platform_earning" | "platform_markup_fee" | "platform_markup_fee_payout" | "promo_reversal" | "referral_bonus" | "resolution_center_refund" | "revshare_percentage_fee" | "sales_tax_fee" | "sales_tax_remittance" | "sales_tax_remittance_reversal" | "software_rental_revshare" | "software_rental_transaction" | "stripe_domestic_processing_fee" | "stripe_international_processing_fee" | "swap_fee" | "three_ds_fixed_fee" | "topup_fee" | "topup_reversal" | "treasury_payin" | "whop_processing_fee" | "withdrawal_clawback" | "withdrawal_clawback_reversal" | "withdrawal_fee" | "withdrawal_fee_reversal" | "withdrawal_markup_fee" | "withdrawal_markup_fee_payout" | "withdrawal_markup_fee_payout_reversal" | "withdrawal_markup_fee_reversal" | "withdrawal_reclassification" | "withdrawal_reversal" | "withdrawal_topup_adjustment" | "psp_payment_receivable" | "ad_spend_purchase" | "psp_refund_payable" | "passthrough_gmv_offset" | "aggregated_fee" | "sales_tax_collected" | "sales_tax_collected_reversal" | "sales_tax_remitted" | "dispute_hold_blocked" | "psp_dispute_payable" | "withdrawal_payable" | "withdrawal_payable_reversal" | "payout_receivable" | "clawback_receivable" | "clawback_receivable_reversal" | "treasury_payin_receivable" | "onchain_deposit_offset" | "onchain_withdrawal_offset" | "trading_account_withdrawal" | "trading_account_withdrawal_offset" | "trading_account_deposit" | "trading_account_deposit_offset" | "onchain_swap_offset" | "whop_swap_fee_received" | "internal_withdrawal_payable" | "internal_withdrawal_payable_reversal" | "external_card_load_offset" | "card_spend_authorization_hold" | "card_spend_capture" | "card_spend_capture_offset" | "card_spend_authorization_void_release" | "card_spend_refund_offset" | "cashback_expense" | "card_interchange_receivable" | "balance_reservation_hold" | "balance_reservation_release" | "bad_debt_offset" | "bad_debt_expense" | "connected_account_clawback" | "payment_referral_payable" | "application_fee_payable" | "airdrop_expense" | "airdrop_expense_reversal" | "airdrop_link_funded" | "airdrop_link_canceled" | "airdrop_link_claimed" | "ad_funding_disbursement" | "ads_card_spread" | "ad_network_cost" | "ad_spend_margin" | "ad_income_expense" | "ad_income_receipt" | "ad_network_settlement" | "ad_balance_funding_receipt" | "fx_gain_loss" | "fx_markup" | "payment_receivable_settlement" | "platform_earning_settlement" | "platform_earning_unreconciled_clearing" | "payment_receivable_clearing" | "payment_receivable_reversal" | "payment_unreconciled_clearing" | "payment_unreconciled_reversal" | "settlement_shortfall_loss" | "fx_settlement_gain_loss" | "settlement_rounding_variance" | "psp_payout_settlement" | "psp_payout_deposit" | "psp_payout_receivable" | "psp_payout_receivable_clearing" | "payout_unreconciled_clearing" | "psp_currency_conversion_outgoing" | "psp_currency_conversion_incoming" | "psp_currency_conversion_receivable" | "psp_currency_conversion_receivable_clearing" | "psp_fx_adjustment" | "refund_settlement" | "refund_settlement_reversal" | "refund_payable_clearing" | "refund_payable_reversal" | "refund_unreconciled_clearing" | "refund_unreconciled_reversal" | "psp_account_debit" | "payment_refund_fee" | "dispute_settlement" | "dispute_settlement_reversal" | "dispute_payable_clearing" | "dispute_payable_reversal" | "dispute_unreconciled_clearing" | "dispute_unreconciled_reversal" | "psp_reserve_hold" | "psp_reserve_release" | "psp_dispute_fee" | "psp_dispute_alert_fee" | "psp_refund_fee" | "psp_account_updater_fee" | "psp_adjusted_processing_fee" | "psp_authentication_fee" | "psp_commission_fee" | "psp_fixed_fee" | "psp_gateway_fee" | "psp_interchange_fee" | "psp_invoice_tax_fee" | "psp_markup_fee" | "psp_network_token_fee" | "psp_optimization_fee" | "psp_payment_method_fee" | "psp_payout_fee" | "psp_processing_fee" | "psp_risk_fee" | "psp_scheme_fee" | "psp_variable_fee" | "psp_billing_fee" | "psp_tax_service_fee" | "psp_connect_fee" | "external_account_connection_fee" | "psp_external_account_connection_fee" | "psp_invoicing_fee" | "psp_terminal_fee" | "treasury_fee" | "psp_treasury_fee" | "accelerated_settlement_fee" | "psp_accelerated_settlement_fee" | "psp_receivable_pooled" | "psp_pool_settlement" | "psp_pool_clearing" | "psp_pool_refund_settlement" | "psp_pool_refund_clearing" | "psp_correction" | "psp_payin_settlement" | "psp_payin_clearing" | "psp_bank_pull_settlement" | "psp_bank_pull_clearing" | "psp_pool_dispute_settlement" | "psp_payout_consolidation" | "psp_withholding_tax" | "psp_payout_settlement_reversal" | "psp_transfer_settlement" | "psp_transfer_settlement_reversal" | "psp_collection_settlement" | "payout_subsidy" | "withdrawal_payable_clearing" | "withdrawal_payable_clearing_reversal" | "identity_verification_fee" | "psp_identity_verification_fee" | "tax_filing_fee" | "psp_tax_filing_fee" | "psp_service_fee" | "recipient_wallet_load" | "psp_recipient_wallet_load" | "dispute_management_fee" | "psp_dispute_management_fee" | "psp_clawback_settlement" | "psp_clawback_settlement_reversal" | "clawback_receivable_settlement" | "clawback_receivable_settlement_reversal" | "clawback_fee" | "psp_clawback_fee" | "deposit" | "wallet_transfer_incoming" | "wallet_transfer_outgoing" | "swap_source" | "swap_target";
|
|
2836
2876
|
/**
|
|
2837
2877
|
* Signed amount in the currency's smallest precision units.
|
|
2838
2878
|
*/
|
|
@@ -2860,7 +2900,7 @@ export interface LedgerActivity {
|
|
|
2860
2900
|
/**
|
|
2861
2901
|
* Source of this ledger activity. Platform markup fees use object platform_fee and the ledger activity ID.
|
|
2862
2902
|
*/
|
|
2863
|
-
source: { object: string; id: string; fee_kind?: "transfer" | "card_spend" | "deposit" | "swap" | "payout" | null | undefined; status?: string | null | undefined; payment_amount?: Money | null | undefined; payment_method_type?: string | null | undefined; payment_processor?: string | null | undefined; card_brand?: string | null | undefined; reason?: string | null | undefined; notes?: string | null | undefined; risk_review_hold?: boolean | null | undefined; claim_url?: string | null | undefined; amount_float?: number | null | undefined; created_at?: string | null | undefined; estimated_arrival?: string | null | undefined; payer_name?: string | null | undefined; payout_token_nickname?: string | null | undefined; tx_hash?: string | null | undefined; sender_address?: string | null | undefined; chain?: string | null | undefined; from_amount?: string | null | undefined; from_currency?: string | null | undefined; to_amount?: string | null | undefined; to_currency?: string | null | undefined; payout_destination?: { payer_name?: string | null | undefined; icon_url?: string | null | undefined; } | null | undefined; [key: string]: unknown; } | null;
|
|
2903
|
+
source: { object: string; id: string; fee_kind?: "transfer" | "card_spend" | "deposit" | "swap" | "payout" | null | undefined; status?: string | null | undefined; payment_amount?: Money | null | undefined; payment_method_type?: string | null | undefined; payment_processor?: string | null | undefined; card_brand?: string | null | undefined; reason?: string | null | undefined; notes?: string | null | undefined; risk_review_hold?: boolean | null | undefined; claim_url?: string | null | undefined; amount_float?: number | null | undefined; payout_amount?: Money | null | undefined; fee_amount?: Money | null | undefined; fee_type?: "exclusive" | "inclusive" | null | undefined; created_by_user?: UserSummary | null | undefined; trace_code?: string | null | undefined; created_at?: string | null | undefined; estimated_arrival?: string | null | undefined; payer_name?: string | null | undefined; payout_token_nickname?: string | null | undefined; tx_hash?: string | null | undefined; sender_address?: string | null | undefined; chain?: string | null | undefined; from_amount?: string | null | undefined; from_currency?: string | null | undefined; to_amount?: string | null | undefined; to_currency?: string | null | undefined; payout_destination?: { payer_name?: string | null | undefined; icon_url?: string | null | undefined; } | null | undefined; [key: string]: unknown; } | null;
|
|
2864
2904
|
/**
|
|
2865
2905
|
* Payment related to this ledger activity. Included when rich resource hydration is enabled and the movement is tied to a payment.
|
|
2866
2906
|
*/
|
|
@@ -2890,11 +2930,11 @@ export interface LedgerActivity {
|
|
|
2890
2930
|
*/
|
|
2891
2931
|
product_name?: string | null | undefined;
|
|
2892
2932
|
/**
|
|
2893
|
-
* ID of the
|
|
2933
|
+
* ID of the variant associated with the payment, when applicable.
|
|
2894
2934
|
*/
|
|
2895
2935
|
plan_id?: string | null | undefined;
|
|
2896
2936
|
/**
|
|
2897
|
-
* Name of the
|
|
2937
|
+
* Name of the variant associated with the payment, when applicable.
|
|
2898
2938
|
*/
|
|
2899
2939
|
plan_name?: string | null | undefined;
|
|
2900
2940
|
/**
|
|
@@ -3162,7 +3202,7 @@ export interface ReportActivityFilters {
|
|
|
3162
3202
|
postedAfter?: string | undefined;
|
|
3163
3203
|
postedBefore?: string | undefined;
|
|
3164
3204
|
direction?: "money_in" | "money_out" | undefined;
|
|
3165
|
-
lineTypes?: ("platform_balance_transfer_outgoing" | "payment_gross" | "withdrawal" | "topup" | "payment_dispute" | "payment_revshare" | "card_spend_authorization" | "airdrop" | "onchain_swap_target" | "cashback" | "account_settlement" | "ad_budget_release" | "ad_campaign_budget" | "ad_publisher_payout" | "ad_publisher_payout_received" | "ad_spend_charge" | "affiliate_fee" | "airdrop_link_created" | "airdrop_link_redeemed" | "airdrop_link_returned" | "airdrop_reversal" | "application_fee" | "application_fee_payout" | "balance_reservation" | "balance_reservation_reversal" | "bank_transfer" | "billing_percentage_fee" | "buyer_fee" | "card_interchange" | "card_load_deposit" | "card_load_transfer" | "card_spend_authorization_void" | "card_spend_refund" | "card_unload_deposit" | "card_unload_transfer" | "cashback_funding" | "company_referral" | "connected_account_negative_balance" | "cross_border_percentage_fee" | "currency_conversion_incoming" | "currency_conversion_outgoing" | "dispute_alert_fee" | "dispute_hold_adjustment" | "dispute_representment_fee" | "economic_intelligence_percentage_fee" | "external_card_load_deposit" | "fees" | "fraud_prevention_fee" | "fx_percentage_fee" | "high_risk_merchant_fee" | "installment_default" | "internal_balance_transfer_incoming" | "internal_balance_transfer_outgoing" | "internal_withdrawal" | "internal_withdrawal_complete" | "internal_withdrawal_fee" | "internal_withdrawal_fee_reversal" | "internal_withdrawal_in_transit" | "internal_withdrawal_in_transit_reversal" | "internal_withdrawal_markup_fee" | "internal_withdrawal_markup_fee_payout" | "internal_withdrawal_markup_fee_payout_reversal" | "internal_withdrawal_markup_fee_reversal" | "internal_withdrawal_reversal" | "legacy_crypto_payment" | "legacy_payment" | "legacy_payment_refund" | "license_sale" | "license_sale_commission" | "license_sale_revenue" | "marketplace_affiliate_fee" | "misc_purchase" | "misc_refund" | "misc_reversal" | "onboarding_reward" | "onchain_deposit" | "onchain_swap_source" | "onchain_wallet_transfer_incoming" | "onchain_wallet_transfer_outgoing" | "onchain_withdrawal" | "orchestration_percentage_fee" | "partner_grant_reward" | "passthrough_gmv" | "payment_dispute_adjustment" | "payment_dispute_fee" | "payment_dispute_reversal" | "payment_gross_reversal" | "payment_processing_fixed_fee" | "payment_processing_percentage_fee" | "payment_referral" | "payment_referral_refund" | "payment_referral_reversal" | "payment_refund" | "payment_refund_reversal" | "payment_revshare_payout" | "payment_revshare_refund" | "payment_revshare_reversal" | "payout_fee" | "platform_affiliate_payment" | "platform_affiliate_payment_reversal" | "platform_balance_payment" | "platform_balance_payment_refund" | "platform_balance_transfer_fee" | "platform_balance_transfer_incoming" | "platform_covered_dispute" | "platform_earning" | "platform_markup_fee" | "platform_markup_fee_payout" | "promo_reversal" | "referral_bonus" | "resolution_center_refund" | "revshare_percentage_fee" | "sales_tax_fee" | "sales_tax_remittance" | "sales_tax_remittance_reversal" | "software_rental_revshare" | "software_rental_transaction" | "stripe_domestic_processing_fee" | "stripe_international_processing_fee" | "swap_fee" | "three_ds_fixed_fee" | "topup_fee" | "topup_reversal" | "treasury_payin" | "whop_processing_fee" | "withdrawal_clawback" | "withdrawal_clawback_reversal" | "withdrawal_fee" | "withdrawal_fee_reversal" | "withdrawal_markup_fee" | "withdrawal_markup_fee_payout" | "withdrawal_markup_fee_payout_reversal" | "withdrawal_markup_fee_reversal" | "withdrawal_reclassification" | "withdrawal_reversal" | "withdrawal_topup_adjustment")[] | undefined;
|
|
3205
|
+
lineTypes?: ("platform_balance_transfer_outgoing" | "payment_gross" | "withdrawal" | "topup" | "payment_dispute" | "payment_revshare" | "card_spend_authorization" | "airdrop" | "onchain_swap_target" | "cashback" | "account_settlement" | "ad_budget_release" | "ad_campaign_budget" | "ad_publisher_payout" | "ad_publisher_payout_received" | "ad_spend_charge" | "affiliate_fee" | "airdrop_link_created" | "airdrop_link_redeemed" | "airdrop_link_returned" | "airdrop_reversal" | "application_fee" | "application_fee_payout" | "balance_reservation" | "balance_reservation_reversal" | "bank_transfer" | "billing_percentage_fee" | "buyer_fee" | "card_interchange" | "card_load_deposit" | "card_load_transfer" | "card_spend_authorization_void" | "card_spend_refund" | "card_unload_deposit" | "card_unload_transfer" | "cashback_funding" | "company_referral" | "connected_account_negative_balance" | "cross_border_percentage_fee" | "currency_conversion_incoming" | "currency_conversion_outgoing" | "dispute_alert_fee" | "dispute_hold_adjustment" | "dispute_representment_fee" | "economic_intelligence_percentage_fee" | "external_card_load_deposit" | "fees" | "fraud_prevention_fee" | "fx_percentage_fee" | "high_risk_merchant_fee" | "installment_default" | "internal_balance_transfer_incoming" | "internal_balance_transfer_outgoing" | "internal_withdrawal" | "internal_withdrawal_complete" | "internal_withdrawal_fee" | "internal_withdrawal_fee_reversal" | "internal_withdrawal_in_transit" | "internal_withdrawal_in_transit_reversal" | "internal_withdrawal_markup_fee" | "internal_withdrawal_markup_fee_payout" | "internal_withdrawal_markup_fee_payout_reversal" | "internal_withdrawal_markup_fee_reversal" | "internal_withdrawal_reversal" | "legacy_crypto_payment" | "legacy_payment" | "legacy_payment_refund" | "license_sale" | "license_sale_commission" | "license_sale_revenue" | "marketplace_affiliate_fee" | "misc_purchase" | "misc_refund" | "misc_reversal" | "onboarding_reward" | "onchain_deposit" | "onchain_swap_source" | "onchain_wallet_transfer_incoming" | "onchain_wallet_transfer_outgoing" | "onchain_withdrawal" | "orchestration_percentage_fee" | "partner_grant_reward" | "passthrough_gmv" | "payment_dispute_adjustment" | "payment_dispute_fee" | "payment_dispute_reversal" | "payment_gross_reversal" | "payment_processing_fixed_fee" | "payment_processing_percentage_fee" | "payment_referral" | "payment_referral_refund" | "payment_referral_reversal" | "payment_refund" | "payment_refund_reversal" | "payment_revshare_payout" | "payment_revshare_refund" | "payment_revshare_reversal" | "payout_fee" | "platform_affiliate_payment" | "platform_affiliate_payment_reversal" | "platform_balance_payment" | "platform_balance_payment_refund" | "platform_balance_transfer_fee" | "platform_balance_transfer_incoming" | "platform_covered_dispute" | "platform_credits_granted" | "platform_credits_payment" | "platform_credits_payment_refund" | "platform_earning" | "platform_markup_fee" | "platform_markup_fee_payout" | "promo_reversal" | "referral_bonus" | "resolution_center_refund" | "revshare_percentage_fee" | "sales_tax_fee" | "sales_tax_remittance" | "sales_tax_remittance_reversal" | "software_rental_revshare" | "software_rental_transaction" | "stripe_domestic_processing_fee" | "stripe_international_processing_fee" | "swap_fee" | "three_ds_fixed_fee" | "topup_fee" | "topup_reversal" | "treasury_payin" | "whop_processing_fee" | "withdrawal_clawback" | "withdrawal_clawback_reversal" | "withdrawal_fee" | "withdrawal_fee_reversal" | "withdrawal_markup_fee" | "withdrawal_markup_fee_payout" | "withdrawal_markup_fee_payout_reversal" | "withdrawal_markup_fee_reversal" | "withdrawal_reclassification" | "withdrawal_reversal" | "withdrawal_topup_adjustment")[] | undefined;
|
|
3166
3206
|
resourceId?: string | undefined;
|
|
3167
3207
|
}
|
|
3168
3208
|
|