@chargebee/code-sample-generator 0.5.9 → 0.6.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/dist/{LanguageSwitcher-B6BOtmjh.js → LanguageSwitcher-BGbaXdWc.js} +201 -113
- package/dist/LanguageSwitcher-BGbaXdWc.js.map +1 -0
- package/dist/browser/index.d.ts +6 -0
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser.js +20 -8
- package/dist/browser.js.map +1 -1
- package/dist/code-sample-generator.css +45 -0
- package/dist/components/Carousel.d.ts +9 -1
- package/dist/components/Carousel.d.ts.map +1 -1
- package/dist/components/CodeSamples.d.ts.map +1 -1
- package/dist/core/descriptor-extraction.d.ts +124 -0
- package/dist/core/descriptor-extraction.d.ts.map +1 -0
- package/dist/core/expander.d.ts.map +1 -1
- package/dist/core/ir-builder.d.ts.map +1 -1
- package/dist/core/minimal-types.d.ts +29 -0
- package/dist/core/minimal-types.d.ts.map +1 -1
- package/dist/core/spec-context.d.ts +17 -0
- package/dist/core/spec-context.d.ts.map +1 -0
- package/dist/core/types.d.ts +27 -0
- package/dist/core/types.d.ts.map +1 -1
- package/dist/{generate-from-sample-BknGUtaj.js → generate-from-sample-DKnqaFrs.js} +4455 -2197
- package/dist/{generate-from-sample-BknGUtaj.js.map → generate-from-sample-DKnqaFrs.js.map} +1 -1
- package/dist/generated/ops/operation-ids.d.ts +2 -2
- package/dist/generated/ops/operation-ids.d.ts.map +1 -1
- package/dist/generated/ops/operation-params.d.ts +180 -69
- package/dist/generated/ops/operation-params.d.ts.map +1 -1
- package/dist/generated/ops/v1/checkout_existing_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v1/checkout_new_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v1/checkout_onetime_addons.d.ts.map +1 -1
- package/dist/generated/ops/v1/checkout_onetime_charge.d.ts.map +1 -1
- package/dist/generated/ops/v1/create_a_customer.d.ts.map +1 -1
- package/dist/generated/ops/v1/create_a_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v1/create_invoice_estimate.d.ts.map +1 -1
- package/dist/generated/ops/v1/create_subscription_estimate.d.ts.map +1 -1
- package/dist/generated/ops/v1/create_subscription_for_a_customer_estimate.d.ts.map +1 -1
- package/dist/generated/ops/v1/record_refund_for_an_invoice.d.ts.map +1 -1
- package/dist/generated/ops/v1/update_a_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v1/update_subscription_estimate.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/checkout_existing_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/checkout_gift_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/checkout_new_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/checkout_one-time_payments.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/claim_a_gift_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/collect_payment_for_customer.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/convert_a_quote.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/create_a_customer.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/create_a_gift.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/create_a_payment_intent.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/create_a_refundable_credit_note.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/create_a_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/create_a_webhook_endpoint.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/create_an_invoice.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/create_quote_for_a_new_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/create_quote_for_updating_a_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/create_subscription_estimate.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/create_subscription_for_a_customer_estimate.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/create_subscription_for_customer.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/create_using_gateway_temporary_token.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/create_using_payment_intent.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/create_using_permanent_token.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/edit_quote_for_a_new_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/edit_quote_for_updating_a_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/export_subscriptions.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/export_transactions.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/gift_subscription_estimate.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/import_a_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/import_contract_term.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/import_credit_note.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/import_invoice.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/import_subscription_for_customer.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/import_unbilled_charges.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/index.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/list_events.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/list_grant_blocks.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/list_invoices.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/list_payment_sources.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/list_subscriptions.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/list_transactions.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/override_billing_profile.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/reactivate_a_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/record_an_excess_payment_for_a_customer.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/record_an_invoice_payment.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/record_an_offline_refund.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/record_refund_for_a_credit_note.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/record_refund_for_an_invoice.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/refund_an_invoice.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/remove_scheduled_cancellation.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/resend_failed_einvoice_in_invoices.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/resume_a_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/retrieve_vaulted_payment_method.d.ts +4 -0
- package/dist/generated/ops/v2-pcv1/retrieve_vaulted_payment_method.d.ts.map +1 -0
- package/dist/generated/ops/v2-pcv1/send_an_einvoice_for_invoices.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/update_a_payment_intent.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/update_a_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/update_a_webhook_endpoint.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/update_credit_note_details.d.ts +4 -0
- package/dist/generated/ops/v2-pcv1/update_credit_note_details.d.ts.map +1 -0
- package/dist/generated/ops/v2-pcv1/update_payment_method_for_a_customer.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv1/update_subscription_estimate.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/allocate.d.ts +4 -0
- package/dist/generated/ops/v2-pcv2/allocate.d.ts.map +1 -0
- package/dist/generated/ops/v2-pcv2/archive_a_credit_unit.d.ts +4 -0
- package/dist/generated/ops/v2-pcv2/archive_a_credit_unit.d.ts.map +1 -0
- package/dist/generated/ops/v2-pcv2/archive_a_metered_feature.d.ts +4 -0
- package/dist/generated/ops/v2-pcv2/archive_a_metered_feature.d.ts.map +1 -0
- package/dist/generated/ops/v2-pcv2/authorize.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/cancel_subscription_for_items.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/cancel_subscription_for_items_estimate.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/capture.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/capture_authorization.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/checkout_charge-items_and_one-time_charges.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/claim_a_gift_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/collect_payment_for_customer.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/convert_a_quote.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/create_a_credit_unit.d.ts +4 -0
- package/dist/generated/ops/v2-pcv2/create_a_credit_unit.d.ts.map +1 -0
- package/dist/generated/ops/v2-pcv2/create_a_customer.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/create_a_gift_subscription_for_items.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/create_a_metered_feature.d.ts +4 -0
- package/dist/generated/ops/v2-pcv2/create_a_metered_feature.d.ts.map +1 -0
- package/dist/generated/ops/v2-pcv2/create_a_payment_intent.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/create_a_purchase.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/create_a_quote_for_a_new_subscription_items.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/create_a_quote_for_charge_and_charge_items.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/create_a_quote_for_update_subscription_items.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/create_a_ramp.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/create_a_refundable_credit_note.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/create_a_webhook_endpoint.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/create_an_alert.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/create_checkout_for_a_new_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/create_checkout_to_update_a_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/create_invoice_for_items_and_one-time_charges.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/create_invoice_for_items_estimate.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/create_pricing_page_for_existing_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/create_pricing_page_for_new_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/create_subscription_for_items.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/create_using_gateway_temporary_token.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/create_using_payment_intent.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/create_using_permanent_token.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/delete_a_metered_feature.d.ts +4 -0
- package/dist/generated/ops/v2-pcv2/delete_a_metered_feature.d.ts.map +1 -0
- package/dist/generated/ops/v2-pcv2/edit_create_subscription_quote_for_items.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/edit_quote_for_charge_items_and_charges.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/edit_update_subscription_quote_for_items.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/estimate_for_creating_a_customer_and_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/estimate_for_creating_a_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/estimate_for_updating_a_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/estimates_for_purchase.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/export_subscription_ramps.d.ts +4 -0
- package/dist/generated/ops/v2-pcv2/export_subscription_ramps.d.ts.map +1 -0
- package/dist/generated/ops/v2-pcv2/export_subscriptions.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/export_transactions.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/gift_subscription_estimate_for_items.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/import_contract_term.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/import_credit_note.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/import_invoice.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/import_subscription_for_items.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/import_unbilled_charges.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/index.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/list_alerts.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/list_all_available_meters.d.ts +4 -0
- package/dist/generated/ops/v2-pcv2/list_all_available_meters.d.ts.map +1 -0
- package/dist/generated/ops/v2-pcv2/list_applicable_alerts_for_a_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/list_credit_units.d.ts +4 -0
- package/dist/generated/ops/v2-pcv2/list_credit_units.d.ts.map +1 -0
- package/dist/generated/ops/v2-pcv2/list_events.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/list_features.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/list_grant_blocks.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/list_invoices.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/list_ledger_account_balances.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/list_ledger_operations.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/list_omnichannel_subscriptions.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/list_payment_sources.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/list_subscriptions.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/list_transactions.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/override_billing_profile.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/reactivate_a_credit_unit.d.ts +4 -0
- package/dist/generated/ops/v2-pcv2/reactivate_a_credit_unit.d.ts.map +1 -0
- package/dist/generated/ops/v2-pcv2/reactivate_a_metered_feature.d.ts +4 -0
- package/dist/generated/ops/v2-pcv2/reactivate_a_metered_feature.d.ts.map +1 -0
- package/dist/generated/ops/v2-pcv2/reactivate_a_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/record_a_purchase.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/record_an_excess_payment_for_a_customer.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/record_an_invoice_payment.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/record_an_offline_refund.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/record_refund_for_a_credit_note.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/record_refund_for_an_invoice.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/refund_an_invoice.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/release_authorization.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/remove_scheduled_cancellation.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/resend_failed_einvoice_in_invoices.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/resume_a_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/retrieve_vaulted_payment_method.d.ts +4 -0
- package/dist/generated/ops/v2-pcv2/retrieve_vaulted_payment_method.d.ts.map +1 -0
- package/dist/generated/ops/v2-pcv2/send_an_einvoice_for_invoices.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/update_a_credit_unit.d.ts +4 -0
- package/dist/generated/ops/v2-pcv2/update_a_credit_unit.d.ts.map +1 -0
- package/dist/generated/ops/v2-pcv2/update_a_payment_intent.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/update_a_subscription_ramp.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/update_a_webhook_endpoint.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/update_credit_note_details.d.ts +4 -0
- package/dist/generated/ops/v2-pcv2/update_credit_note_details.d.ts.map +1 -0
- package/dist/generated/ops/v2-pcv2/update_payment_method_for_a_customer.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/update_subscription_for_items.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/upsert_or_remove_entitlement_overrides_for_a_subscription.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/upsert_or_remove_entitlements_for_a_feature.d.ts.map +1 -1
- package/dist/generated/ops/v2-pcv2/upsert_or_remove_item_entitlements_for_a_feature.d.ts.map +1 -1
- package/dist/generators/curl.d.ts.map +1 -1
- package/dist/generators/dotnet.d.ts.map +1 -1
- package/dist/generators/enum-resolution.d.ts +45 -13
- package/dist/generators/enum-resolution.d.ts.map +1 -1
- package/dist/generators/go.d.ts.map +1 -1
- package/dist/generators/index.d.ts +4 -38
- package/dist/generators/index.d.ts.map +1 -1
- package/dist/generators/java/v3.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -62
- package/dist/index.js.map +1 -1
- package/dist/node/index.d.ts +1 -0
- package/dist/node/index.d.ts.map +1 -1
- package/dist/node.js +13 -7
- package/dist/node.js.map +1 -1
- package/dist/utils/generate-code-sample.d.ts +6 -0
- package/dist/utils/generate-code-sample.d.ts.map +1 -1
- package/dist/utils/generate-from-sample.d.ts.map +1 -1
- package/dist/utils/resolve-descriptor.d.ts +17 -0
- package/dist/utils/resolve-descriptor.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/LanguageSwitcher-B6BOtmjh.js.map +0 -1
|
@@ -137,6 +137,13 @@ export interface AdvanceInvoiceEstimateParams {
|
|
|
137
137
|
date?: (number)[];
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
|
+
export interface AllocateParams {
|
|
141
|
+
subscription_id?: string;
|
|
142
|
+
unit_id?: string;
|
|
143
|
+
amount?: string;
|
|
144
|
+
expires_at?: number;
|
|
145
|
+
metadata?: Record<string, unknown>;
|
|
146
|
+
}
|
|
140
147
|
export interface ApplyCreditsForAnInvoiceParams {
|
|
141
148
|
comment?: string;
|
|
142
149
|
credit_notes?: {
|
|
@@ -186,6 +193,7 @@ export interface CancelSubscriptionForItemsParams {
|
|
|
186
193
|
refundable_credits_handling?: "no_action" | "schedule_refund";
|
|
187
194
|
contract_term_cancel_option?: "terminate_immediately" | "end_of_contract_term" | "specific_date" | "end_of_subscription_billing_term";
|
|
188
195
|
invoice_date?: number;
|
|
196
|
+
include_cancellation_day_in_billing?: boolean;
|
|
189
197
|
cancel_reason_code?: string;
|
|
190
198
|
decommissioned?: boolean;
|
|
191
199
|
subscription_items?: {
|
|
@@ -207,6 +215,7 @@ export interface CancelSubscriptionForItemsEstimateParams {
|
|
|
207
215
|
refundable_credits_handling?: "no_action" | "schedule_refund";
|
|
208
216
|
contract_term_cancel_option?: "terminate_immediately" | "end_of_contract_term" | "specific_date" | "end_of_subscription_billing_term";
|
|
209
217
|
invoice_date?: number;
|
|
218
|
+
include_cancellation_day_in_billing?: boolean;
|
|
210
219
|
cancel_reason_code?: string;
|
|
211
220
|
subscription_items?: {
|
|
212
221
|
item_price_id?: (string)[];
|
|
@@ -402,7 +411,6 @@ export interface CheckoutGiftSubscriptionForItemsParams {
|
|
|
402
411
|
};
|
|
403
412
|
}
|
|
404
413
|
export interface ClaimAGiftSubscriptionParams {
|
|
405
|
-
layout?: "in_app" | "full_page";
|
|
406
414
|
redirect_url?: string;
|
|
407
415
|
gift?: {
|
|
408
416
|
id?: string;
|
|
@@ -447,7 +455,7 @@ export interface CollectPaymentForCustomerParams {
|
|
|
447
455
|
retain_payment_source?: boolean;
|
|
448
456
|
payment_initiator?: "customer" | "merchant";
|
|
449
457
|
payment_method?: {
|
|
450
|
-
type?: "card" | "paypal_express_checkout" | "amazon_payments" | "direct_debit" | "generic" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "upi" | "netbanking_emandates" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
458
|
+
type?: "card" | "paypal_express_checkout" | "amazon_payments" | "direct_debit" | "generic" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "upi" | "netbanking_emandates" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
451
459
|
gateway_account_id?: string;
|
|
452
460
|
reference_id?: string;
|
|
453
461
|
tmp_token?: string;
|
|
@@ -475,7 +483,7 @@ export interface CollectPaymentForCustomerParams {
|
|
|
475
483
|
id?: string;
|
|
476
484
|
gateway_account_id?: string;
|
|
477
485
|
gw_token?: string;
|
|
478
|
-
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
486
|
+
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
479
487
|
reference_id?: string;
|
|
480
488
|
additional_information?: Record<string, unknown>;
|
|
481
489
|
};
|
|
@@ -600,6 +608,13 @@ export interface CreateACouponSetParams {
|
|
|
600
608
|
id?: string;
|
|
601
609
|
meta_data?: Record<string, unknown>;
|
|
602
610
|
}
|
|
611
|
+
export interface CreateACreditUnitParams {
|
|
612
|
+
id?: string;
|
|
613
|
+
name?: string;
|
|
614
|
+
is_unlimited?: boolean;
|
|
615
|
+
overdraft_amount?: string;
|
|
616
|
+
external_name?: string;
|
|
617
|
+
}
|
|
603
618
|
export interface CreateACustomerParams {
|
|
604
619
|
id?: string;
|
|
605
620
|
first_name?: string;
|
|
@@ -672,7 +687,7 @@ export interface CreateACustomerParams {
|
|
|
672
687
|
billing_address?: Record<string, unknown>;
|
|
673
688
|
};
|
|
674
689
|
payment_method?: {
|
|
675
|
-
type?: "card" | "paypal_express_checkout" | "amazon_payments" | "direct_debit" | "generic" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "upi" | "netbanking_emandates" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
690
|
+
type?: "card" | "paypal_express_checkout" | "amazon_payments" | "direct_debit" | "generic" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "upi" | "netbanking_emandates" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
676
691
|
gateway_account_id?: string;
|
|
677
692
|
reference_id?: string;
|
|
678
693
|
tmp_token?: string;
|
|
@@ -683,7 +698,7 @@ export interface CreateACustomerParams {
|
|
|
683
698
|
id?: string;
|
|
684
699
|
gateway_account_id?: string;
|
|
685
700
|
gw_token?: string;
|
|
686
|
-
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
701
|
+
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
687
702
|
reference_id?: string;
|
|
688
703
|
additional_information?: Record<string, unknown>;
|
|
689
704
|
};
|
|
@@ -772,7 +787,7 @@ export interface CreateAGiftSubscriptionForItemsParams {
|
|
|
772
787
|
id?: string;
|
|
773
788
|
gateway_account_id?: string;
|
|
774
789
|
gw_token?: string;
|
|
775
|
-
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
790
|
+
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
776
791
|
reference_id?: string;
|
|
777
792
|
additional_information?: Record<string, unknown>;
|
|
778
793
|
};
|
|
@@ -817,6 +832,16 @@ export interface CreateAHostedPageToViewBoletoVouchersParams {
|
|
|
817
832
|
locale?: string;
|
|
818
833
|
};
|
|
819
834
|
}
|
|
835
|
+
export interface CreateAMeteredFeatureParams {
|
|
836
|
+
name?: string;
|
|
837
|
+
description?: string;
|
|
838
|
+
feature_unit?: string;
|
|
839
|
+
query?: string;
|
|
840
|
+
column_definitions?: {
|
|
841
|
+
column_name?: (string)[];
|
|
842
|
+
data_type?: ("number" | "string")[];
|
|
843
|
+
};
|
|
844
|
+
}
|
|
820
845
|
export interface CreateAPaymentIntentParams {
|
|
821
846
|
business_entity_id?: string;
|
|
822
847
|
customer_id?: string;
|
|
@@ -825,7 +850,7 @@ export interface CreateAPaymentIntentParams {
|
|
|
825
850
|
gateway_account_id?: string;
|
|
826
851
|
reference_id?: string;
|
|
827
852
|
defer_payment_method_type?: boolean;
|
|
828
|
-
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
853
|
+
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
829
854
|
success_url?: string;
|
|
830
855
|
failure_url?: string;
|
|
831
856
|
}
|
|
@@ -885,7 +910,7 @@ export interface CreateAPurchaseParams {
|
|
|
885
910
|
id?: string;
|
|
886
911
|
gateway_account_id?: string;
|
|
887
912
|
gw_token?: string;
|
|
888
|
-
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
913
|
+
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
889
914
|
reference_id?: string;
|
|
890
915
|
additional_information?: Record<string, unknown>;
|
|
891
916
|
};
|
|
@@ -1015,6 +1040,7 @@ export interface CreateAQuoteForANewSubscriptionItemsParams {
|
|
|
1015
1040
|
charge_on_option?: ("immediately" | "on_event")[];
|
|
1016
1041
|
start_date?: (number)[];
|
|
1017
1042
|
end_date?: (number)[];
|
|
1043
|
+
description?: (string)[];
|
|
1018
1044
|
ramp_tier_id?: (string)[];
|
|
1019
1045
|
};
|
|
1020
1046
|
discounts?: {
|
|
@@ -1213,6 +1239,7 @@ export interface CreateAQuoteForUpdateSubscriptionItemsParams {
|
|
|
1213
1239
|
charge_on_option?: ("immediately" | "on_event")[];
|
|
1214
1240
|
start_date?: (number)[];
|
|
1215
1241
|
end_date?: (number)[];
|
|
1242
|
+
description?: (string)[];
|
|
1216
1243
|
ramp_tier_id?: (string)[];
|
|
1217
1244
|
};
|
|
1218
1245
|
discounts?: {
|
|
@@ -1303,6 +1330,7 @@ export interface CreateARampParams {
|
|
|
1303
1330
|
duration_type?: ("one_time" | "forever" | "limited_period")[];
|
|
1304
1331
|
percentage?: (number)[];
|
|
1305
1332
|
amount?: (number)[];
|
|
1333
|
+
quantity?: (number)[];
|
|
1306
1334
|
period?: (number)[];
|
|
1307
1335
|
period_unit?: ("day" | "week" | "month" | "year")[];
|
|
1308
1336
|
included_in_mrr?: (boolean)[];
|
|
@@ -1371,13 +1399,15 @@ export interface CreateAWebhookEndpointParams {
|
|
|
1371
1399
|
basic_auth_username?: string;
|
|
1372
1400
|
send_card_resource?: boolean;
|
|
1373
1401
|
chargebee_response_schema_type?: "plans_addons" | "items" | "compat";
|
|
1374
|
-
enabled_events?: ("coupon_created" | "coupon_updated" | "coupon_deleted" | "coupon_set_created" | "coupon_set_updated" | "coupon_set_deleted" | "coupon_codes_added" | "coupon_codes_deleted" | "coupon_codes_updated" | "customer_created" | "customer_changed" | "customer_deleted" | "customer_moved_out" | "customer_moved_in" | "promotional_credits_added" | "promotional_credits_deducted" | "subscription_created" | "subscription_created_with_backdating" | "subscription_started" | "subscription_trial_end_reminder" | "subscription_activated" | "subscription_activated_with_backdating" | "subscription_changed" | "subscription_trial_extended" | "mrr_updated" | "subscription_changed_with_backdating" | "subscription_cancellation_scheduled" | "subscription_cancellation_reminder" | "subscription_cancelled" | "subscription_canceled_with_backdating" | "subscription_reactivated" | "subscription_reactivated_with_backdating" | "subscription_renewed" | "subscription_items_renewed" | "subscription_scheduled_cancellation_removed" | "subscription_changes_scheduled" | "subscription_scheduled_changes_removed" | "subscription_shipping_address_updated" | "subscription_deleted" | "subscription_paused" | "subscription_pause_scheduled" | "subscription_scheduled_pause_removed" | "subscription_resumed" | "subscription_resumption_scheduled" | "subscription_scheduled_resumption_removed" | "subscription_advance_invoice_schedule_added" | "subscription_advance_invoice_schedule_updated" | "subscription_advance_invoice_schedule_removed" | "pending_invoice_created" | "pending_invoice_updated" | "invoice_generated" | "invoice_generated_with_backdating" | "invoice_updated" | "invoice_deleted" | "credit_note_created" | "credit_note_created_with_backdating" | "credit_note_updated" | "credit_note_deleted" | "payment_schedules_created" | "payment_schedules_updated" | "payment_schedule_scheme_created" | "payment_schedule_scheme_deleted" | "subscription_renewal_reminder" | "add_usages_reminder" | "payment_due_reminder" | "transaction_created" | "transaction_updated" | "transaction_deleted" | "payment_succeeded" | "payment_failed" | "dunning_updated" | "payment_refunded" | "payment_initiated" | "refund_initiated" | "authorization_succeeded" | "authorization_voided" | "card_added" | "card_updated" | "card_expiry_reminder" | "card_expired" | "card_deleted" | "payment_source_added" | "payment_source_updated" | "payment_source_deleted" | "payment_source_expiring" | "payment_source_expired" | "payment_source_locally_deleted" | "virtual_bank_account_added" | "virtual_bank_account_updated" | "virtual_bank_account_deleted" | "token_created" | "token_consumed" | "token_expired" | "unbilled_charges_created" | "unbilled_charges_voided" | "unbilled_charges_deleted" | "unbilled_charges_invoiced" | "order_created" | "order_updated" | "order_cancelled" | "order_delivered" | "order_returned" | "order_ready_to_process" | "order_ready_to_ship" | "order_deleted" | "order_resent" | "quote_created" | "quote_updated" | "quote_deleted" | "tax_withheld_recorded" | "tax_withheld_deleted" | "tax_withheld_refunded" | "gift_scheduled" | "gift_unclaimed" | "gift_claimed" | "gift_expired" | "gift_cancelled" | "gift_updated" | "hierarchy_created" | "hierarchy_deleted" | "payment_intent_created" | "payment_intent_updated" | "contract_term_created" | "contract_term_renewed" | "contract_term_terminated" | "contract_term_completed" | "contract_term_cancelled" | "item_family_created" | "item_family_updated" | "item_family_deleted" | "item_created" | "item_updated" | "item_deleted" | "item_price_created" | "item_price_updated" | "item_price_deleted" | "attached_item_created" | "attached_item_updated" | "attached_item_deleted" | "differential_price_created" | "differential_price_updated" | "differential_price_deleted" | "feature_created" | "feature_updated" | "feature_deleted" | "feature_activated" | "feature_reactivated" | "feature_archived" | "item_entitlements_updated" | "entitlement_overrides_updated" | "entitlement_overrides_removed" | "item_entitlements_removed" | "entitlement_overrides_auto_removed" | "subscription_entitlements_created" | "subscription_entitlements_updated" | "business_entity_created" | "business_entity_updated" | "business_entity_deleted" | "customer_business_entity_changed" | "subscription_business_entity_changed" | "purchase_created" | "voucher_created" | "voucher_expired" | "voucher_create_failed" | "item_price_entitlements_updated" | "item_price_entitlements_removed" | "subscription_ramp_created" | "subscription_ramp_deleted" | "subscription_ramp_applied" | "subscription_ramp_drafted" | "subscription_ramp_updated" | "price_variant_created" | "price_variant_updated" | "price_variant_deleted" | "customer_entitlements_updated" | "subscription_moved_in" | "subscription_moved_out" | "subscription_movement_failed" | "omnichannel_subscription_created" | "omnichannel_subscription_item_renewed" | "omnichannel_subscription_item_downgraded" | "omnichannel_subscription_item_expired" | "omnichannel_subscription_item_cancellation_scheduled" | "omnichannel_subscription_item_scheduled_cancellation_removed" | "omnichannel_subscription_item_resubscribed" | "omnichannel_subscription_item_upgraded" | "omnichannel_subscription_item_cancelled" | "omnichannel_subscription_imported" | "omnichannel_subscription_item_grace_period_started" | "omnichannel_subscription_item_grace_period_expired" | "omnichannel_subscription_item_dunning_started" | "omnichannel_subscription_item_dunning_expired" | "rule_created" | "rule_updated" | "rule_deleted" | "record_purchase_failed" | "omnichannel_subscription_item_change_scheduled" | "omnichannel_subscription_item_scheduled_change_removed" | "omnichannel_subscription_item_reactivated" | "sales_order_created" | "sales_order_updated" | "omnichannel_subscription_item_changed" | "omnichannel_subscription_item_paused" | "omnichannel_subscription_item_resumed" | "omnichannel_one_time_order_created" | "omnichannel_one_time_order_item_cancelled" | "usage_file_ingested" | "omnichannel_subscription_item_pause_scheduled" | "omnichannel_subscription_moved_in" | "omnichannel_transaction_created" | "alert_status_changed" | "omnichannel_subscription_item_updated" | "omnichannel_subscription_item_recovered")[];
|
|
1402
|
+
enabled_events?: ("coupon_created" | "coupon_updated" | "coupon_deleted" | "coupon_set_created" | "coupon_set_updated" | "coupon_set_deleted" | "coupon_codes_added" | "coupon_codes_deleted" | "coupon_codes_updated" | "customer_created" | "customer_changed" | "customer_deleted" | "customer_moved_out" | "customer_moved_in" | "promotional_credits_added" | "promotional_credits_deducted" | "subscription_created" | "subscription_created_with_backdating" | "subscription_started" | "subscription_trial_end_reminder" | "subscription_activated" | "subscription_activated_with_backdating" | "subscription_changed" | "subscription_trial_extended" | "mrr_updated" | "subscription_changed_with_backdating" | "subscription_cancellation_scheduled" | "subscription_cancellation_reminder" | "subscription_cancelled" | "subscription_canceled_with_backdating" | "subscription_reactivated" | "subscription_reactivated_with_backdating" | "subscription_renewed" | "subscription_items_renewed" | "subscription_scheduled_cancellation_removed" | "subscription_changes_scheduled" | "subscription_scheduled_changes_removed" | "subscription_shipping_address_updated" | "subscription_deleted" | "subscription_paused" | "subscription_pause_scheduled" | "subscription_scheduled_pause_removed" | "subscription_resumed" | "subscription_resumption_scheduled" | "subscription_scheduled_resumption_removed" | "subscription_advance_invoice_schedule_added" | "subscription_advance_invoice_schedule_updated" | "subscription_advance_invoice_schedule_removed" | "pending_invoice_created" | "pending_invoice_updated" | "invoice_generated" | "invoice_generated_with_backdating" | "invoice_updated" | "invoice_deleted" | "credit_note_created" | "credit_note_created_with_backdating" | "credit_note_updated" | "credit_note_deleted" | "payment_schedules_created" | "payment_schedules_updated" | "payment_schedule_scheme_created" | "payment_schedule_scheme_deleted" | "subscription_renewal_reminder" | "add_usages_reminder" | "payment_due_reminder" | "transaction_created" | "transaction_updated" | "transaction_deleted" | "payment_succeeded" | "payment_failed" | "dunning_updated" | "payment_refunded" | "payment_initiated" | "refund_initiated" | "authorization_succeeded" | "authorization_voided" | "card_added" | "card_updated" | "card_expiry_reminder" | "card_expired" | "card_deleted" | "payment_source_added" | "payment_source_updated" | "payment_source_deleted" | "payment_source_expiring" | "payment_source_expired" | "payment_source_locally_deleted" | "virtual_bank_account_added" | "virtual_bank_account_updated" | "virtual_bank_account_deleted" | "token_created" | "token_consumed" | "token_expired" | "unbilled_charges_created" | "unbilled_charges_voided" | "unbilled_charges_deleted" | "unbilled_charges_invoiced" | "order_created" | "order_updated" | "order_cancelled" | "order_delivered" | "order_returned" | "order_ready_to_process" | "order_ready_to_ship" | "order_deleted" | "order_resent" | "quote_created" | "quote_updated" | "quote_deleted" | "tax_withheld_recorded" | "tax_withheld_deleted" | "tax_withheld_refunded" | "gift_scheduled" | "gift_unclaimed" | "gift_claimed" | "gift_expired" | "gift_cancelled" | "gift_updated" | "hierarchy_created" | "hierarchy_deleted" | "payment_intent_created" | "payment_intent_updated" | "contract_term_created" | "contract_term_renewed" | "contract_term_terminated" | "contract_term_completed" | "contract_term_cancelled" | "item_family_created" | "item_family_updated" | "item_family_deleted" | "item_created" | "item_updated" | "item_deleted" | "item_price_created" | "item_price_updated" | "item_price_deleted" | "attached_item_created" | "attached_item_updated" | "attached_item_deleted" | "differential_price_created" | "differential_price_updated" | "differential_price_deleted" | "feature_created" | "feature_updated" | "feature_deleted" | "feature_activated" | "feature_reactivated" | "feature_archived" | "item_entitlements_updated" | "entitlement_overrides_updated" | "entitlement_overrides_removed" | "item_entitlements_removed" | "entitlement_overrides_auto_removed" | "subscription_entitlements_created" | "subscription_entitlements_updated" | "business_entity_created" | "business_entity_updated" | "business_entity_deleted" | "customer_business_entity_changed" | "subscription_business_entity_changed" | "payment_source_business_entity_changed" | "purchase_created" | "voucher_created" | "voucher_expired" | "voucher_create_failed" | "item_price_entitlements_updated" | "item_price_entitlements_removed" | "subscription_ramp_created" | "subscription_ramp_deleted" | "subscription_ramp_applied" | "subscription_ramp_drafted" | "subscription_ramp_updated" | "price_variant_created" | "price_variant_updated" | "price_variant_deleted" | "customer_entitlements_updated" | "subscription_moved_in" | "subscription_moved_out" | "subscription_movement_failed" | "omnichannel_subscription_created" | "omnichannel_subscription_item_renewed" | "omnichannel_subscription_item_downgraded" | "omnichannel_subscription_item_expired" | "omnichannel_subscription_item_cancellation_scheduled" | "omnichannel_subscription_item_scheduled_cancellation_removed" | "omnichannel_subscription_item_resubscribed" | "omnichannel_subscription_item_upgraded" | "omnichannel_subscription_item_cancelled" | "omnichannel_subscription_imported" | "omnichannel_subscription_item_grace_period_started" | "omnichannel_subscription_item_grace_period_expired" | "omnichannel_subscription_item_dunning_started" | "omnichannel_subscription_item_dunning_expired" | "rule_created" | "rule_updated" | "rule_deleted" | "record_purchase_failed" | "omnichannel_subscription_item_change_scheduled" | "omnichannel_subscription_item_scheduled_change_removed" | "omnichannel_subscription_item_reactivated" | "sales_order_created" | "sales_order_updated" | "omnichannel_subscription_item_changed" | "omnichannel_subscription_item_paused" | "omnichannel_subscription_item_resumed" | "omnichannel_one_time_order_created" | "omnichannel_one_time_order_item_cancelled" | "usage_file_ingested" | "omnichannel_subscription_item_pause_scheduled" | "omnichannel_subscription_moved_in" | "omnichannel_transaction_created" | "alert_status_changed" | "omnichannel_subscription_item_updated" | "omnichannel_subscription_item_recovered" | "omnichannel_subscription_item_mrr_updated" | "ledger_account_balance_updated" | "grant_blocks_created" | "grant_blocks_updated" | "ledger_updated" | "vault_token_created" | "vault_token_updated" | "vault_token_deleted")[];
|
|
1375
1403
|
}
|
|
1376
1404
|
export interface CreateAnAlertParams {
|
|
1377
|
-
type?: "usage_exceeded";
|
|
1405
|
+
type?: "usage_exceeded" | "spend_exceeded" | "credit_balance_dropped";
|
|
1378
1406
|
name?: string;
|
|
1379
1407
|
description?: string;
|
|
1380
1408
|
metered_feature_id?: string;
|
|
1409
|
+
currency_code?: string;
|
|
1410
|
+
unit_id?: string;
|
|
1381
1411
|
subscription_id?: string;
|
|
1382
1412
|
meta?: string;
|
|
1383
1413
|
threshold?: {
|
|
@@ -1780,6 +1810,7 @@ export interface CreateInvoiceForItemsAndOneTimeChargesParams {
|
|
|
1780
1810
|
auto_collection?: "on" | "off";
|
|
1781
1811
|
net_term_days?: number;
|
|
1782
1812
|
invoice_date?: number;
|
|
1813
|
+
create_pending_invoice?: boolean;
|
|
1783
1814
|
token_id?: string;
|
|
1784
1815
|
replace_primary_payment_source?: boolean;
|
|
1785
1816
|
retain_payment_source?: boolean;
|
|
@@ -1841,7 +1872,7 @@ export interface CreateInvoiceForItemsAndOneTimeChargesParams {
|
|
|
1841
1872
|
billing_address?: Record<string, unknown>;
|
|
1842
1873
|
};
|
|
1843
1874
|
payment_method?: {
|
|
1844
|
-
type?: "card" | "paypal_express_checkout" | "amazon_payments" | "direct_debit" | "generic" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "upi" | "netbanking_emandates" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
1875
|
+
type?: "card" | "paypal_express_checkout" | "amazon_payments" | "direct_debit" | "generic" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "upi" | "netbanking_emandates" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
1845
1876
|
gateway_account_id?: string;
|
|
1846
1877
|
reference_id?: string;
|
|
1847
1878
|
tmp_token?: string;
|
|
@@ -1852,7 +1883,7 @@ export interface CreateInvoiceForItemsAndOneTimeChargesParams {
|
|
|
1852
1883
|
id?: string;
|
|
1853
1884
|
gateway_account_id?: string;
|
|
1854
1885
|
gw_token?: string;
|
|
1855
|
-
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
1886
|
+
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
1856
1887
|
reference_id?: string;
|
|
1857
1888
|
additional_information?: Record<string, unknown>;
|
|
1858
1889
|
};
|
|
@@ -1864,6 +1895,8 @@ export interface CreateInvoiceForItemsAndOneTimeChargesParams {
|
|
|
1864
1895
|
unit_price_in_decimal?: (string)[];
|
|
1865
1896
|
date_from?: (number)[];
|
|
1866
1897
|
date_to?: (number)[];
|
|
1898
|
+
description?: (string)[];
|
|
1899
|
+
entity_description?: (string)[];
|
|
1867
1900
|
};
|
|
1868
1901
|
item_tiers?: {
|
|
1869
1902
|
item_price_id?: (string)[];
|
|
@@ -1877,6 +1910,7 @@ export interface CreateInvoiceForItemsAndOneTimeChargesParams {
|
|
|
1877
1910
|
package_size?: (number)[];
|
|
1878
1911
|
};
|
|
1879
1912
|
charges?: {
|
|
1913
|
+
entity_description?: (string)[];
|
|
1880
1914
|
amount?: (number)[];
|
|
1881
1915
|
amount_in_decimal?: (string)[];
|
|
1882
1916
|
description?: (string)[];
|
|
@@ -1958,6 +1992,8 @@ export interface CreateInvoiceForItemsEstimateParams {
|
|
|
1958
1992
|
unit_price_in_decimal?: (string)[];
|
|
1959
1993
|
date_from?: (number)[];
|
|
1960
1994
|
date_to?: (number)[];
|
|
1995
|
+
description?: (string)[];
|
|
1996
|
+
entity_description?: (string)[];
|
|
1961
1997
|
};
|
|
1962
1998
|
item_tiers?: {
|
|
1963
1999
|
item_price_id?: (string)[];
|
|
@@ -1986,6 +2022,7 @@ export interface CreateInvoiceForItemsEstimateParams {
|
|
|
1986
2022
|
avalara_service_type?: (number)[];
|
|
1987
2023
|
date_from?: (number)[];
|
|
1988
2024
|
date_to?: (number)[];
|
|
2025
|
+
entity_description?: (string)[];
|
|
1989
2026
|
};
|
|
1990
2027
|
notes_to_remove?: {
|
|
1991
2028
|
entity_type?: ("customer" | "subscription" | "coupon" | "plan_item_price" | "addon_item_price" | "charge_item_price")[];
|
|
@@ -2158,7 +2195,7 @@ export interface CreateSubscriptionForItemsParams {
|
|
|
2158
2195
|
id?: string;
|
|
2159
2196
|
gateway_account_id?: string;
|
|
2160
2197
|
gw_token?: string;
|
|
2161
|
-
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
2198
|
+
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
2162
2199
|
reference_id?: string;
|
|
2163
2200
|
additional_information?: Record<string, unknown>;
|
|
2164
2201
|
};
|
|
@@ -2259,7 +2296,7 @@ export interface CreateUsingChargebeeTokenParams {
|
|
|
2259
2296
|
export interface CreateUsingGatewayTemporaryTokenParams {
|
|
2260
2297
|
customer_id?: string;
|
|
2261
2298
|
gateway_account_id?: string;
|
|
2262
|
-
type?: "card" | "paypal_express_checkout" | "amazon_payments" | "direct_debit" | "generic" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "upi" | "netbanking_emandates" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
2299
|
+
type?: "card" | "paypal_express_checkout" | "amazon_payments" | "direct_debit" | "generic" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "upi" | "netbanking_emandates" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
2263
2300
|
tmp_token?: string;
|
|
2264
2301
|
issuing_country?: string;
|
|
2265
2302
|
replace_primary_payment_source?: boolean;
|
|
@@ -2272,7 +2309,7 @@ export interface CreateUsingPaymentIntentParams {
|
|
|
2272
2309
|
id?: string;
|
|
2273
2310
|
gateway_account_id?: string;
|
|
2274
2311
|
gw_token?: string;
|
|
2275
|
-
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
2312
|
+
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
2276
2313
|
reference_id?: string;
|
|
2277
2314
|
additional_info?: Record<string, unknown>;
|
|
2278
2315
|
additional_information?: Record<string, unknown>;
|
|
@@ -2280,7 +2317,7 @@ export interface CreateUsingPaymentIntentParams {
|
|
|
2280
2317
|
}
|
|
2281
2318
|
export interface CreateUsingPermanentTokenParams {
|
|
2282
2319
|
customer_id?: string;
|
|
2283
|
-
type?: "card" | "paypal_express_checkout" | "amazon_payments" | "direct_debit" | "generic" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "upi" | "netbanking_emandates" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
2320
|
+
type?: "card" | "paypal_express_checkout" | "amazon_payments" | "direct_debit" | "generic" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "upi" | "netbanking_emandates" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
2284
2321
|
gateway_account_id?: string;
|
|
2285
2322
|
reference_id?: string;
|
|
2286
2323
|
issuing_country?: string;
|
|
@@ -2442,6 +2479,7 @@ export interface EditCreateSubscriptionQuoteForItemsParams {
|
|
|
2442
2479
|
charge_on_option?: ("immediately" | "on_event")[];
|
|
2443
2480
|
start_date?: (number)[];
|
|
2444
2481
|
end_date?: (number)[];
|
|
2482
|
+
description?: (string)[];
|
|
2445
2483
|
ramp_tier_id?: (string)[];
|
|
2446
2484
|
};
|
|
2447
2485
|
discounts?: {
|
|
@@ -2636,6 +2674,7 @@ export interface EditUpdateSubscriptionQuoteForItemsParams {
|
|
|
2636
2674
|
charge_on_option?: ("immediately" | "on_event")[];
|
|
2637
2675
|
start_date?: (number)[];
|
|
2638
2676
|
end_date?: (number)[];
|
|
2677
|
+
description?: (string)[];
|
|
2639
2678
|
ramp_tier_id?: (string)[];
|
|
2640
2679
|
};
|
|
2641
2680
|
discounts?: {
|
|
@@ -4573,6 +4612,31 @@ export interface ExportRevenueRecognitionReportsParams {
|
|
|
4573
4612
|
};
|
|
4574
4613
|
};
|
|
4575
4614
|
}
|
|
4615
|
+
export interface ExportSubscriptionRampsParams {
|
|
4616
|
+
export_type?: "data" | "import_friendly_data";
|
|
4617
|
+
ramp?: {
|
|
4618
|
+
status?: {
|
|
4619
|
+
is?: "scheduled" | "succeeded" | "failed" | "draft";
|
|
4620
|
+
in?: "scheduled" | "succeeded" | "failed" | "draft";
|
|
4621
|
+
};
|
|
4622
|
+
subscription_id?: {
|
|
4623
|
+
is?: string;
|
|
4624
|
+
in?: string;
|
|
4625
|
+
};
|
|
4626
|
+
effective_from?: {
|
|
4627
|
+
after?: string;
|
|
4628
|
+
before?: string;
|
|
4629
|
+
on?: string;
|
|
4630
|
+
between?: string;
|
|
4631
|
+
};
|
|
4632
|
+
updated_at?: {
|
|
4633
|
+
after?: string;
|
|
4634
|
+
before?: string;
|
|
4635
|
+
on?: string;
|
|
4636
|
+
between?: string;
|
|
4637
|
+
};
|
|
4638
|
+
};
|
|
4639
|
+
}
|
|
4576
4640
|
export interface ExportSubscriptionsParams {
|
|
4577
4641
|
export_type?: "data" | "import_friendly_data";
|
|
4578
4642
|
item_id?: {
|
|
@@ -4683,6 +4747,9 @@ export interface ExportSubscriptionsParams {
|
|
|
4683
4747
|
in?: "web" | "app_store" | "play_store";
|
|
4684
4748
|
not_in?: "web" | "app_store" | "play_store";
|
|
4685
4749
|
};
|
|
4750
|
+
decommissioned?: {
|
|
4751
|
+
is?: "true" | "false";
|
|
4752
|
+
};
|
|
4686
4753
|
};
|
|
4687
4754
|
}
|
|
4688
4755
|
export interface ExportTransactionsParams {
|
|
@@ -4719,10 +4786,10 @@ export interface ExportTransactionsParams {
|
|
|
4719
4786
|
not_in?: string;
|
|
4720
4787
|
};
|
|
4721
4788
|
payment_method?: {
|
|
4722
|
-
is?: "card" | "cash" | "check" | "chargeback" | "bank_transfer" | "amazon_payments" | "paypal_express_checkout" | "direct_debit" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ach_credit" | "sepa_credit" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "other" | "upi" | "netbanking_emandates" | "custom" | "boleto" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "pix" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
4723
|
-
is_not?: "card" | "cash" | "check" | "chargeback" | "bank_transfer" | "amazon_payments" | "paypal_express_checkout" | "direct_debit" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ach_credit" | "sepa_credit" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "other" | "upi" | "netbanking_emandates" | "custom" | "boleto" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "pix" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
4724
|
-
in?: "card" | "cash" | "check" | "chargeback" | "bank_transfer" | "amazon_payments" | "paypal_express_checkout" | "direct_debit" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ach_credit" | "sepa_credit" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "other" | "upi" | "netbanking_emandates" | "custom" | "boleto" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "pix" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
4725
|
-
not_in?: "card" | "cash" | "check" | "chargeback" | "bank_transfer" | "amazon_payments" | "paypal_express_checkout" | "direct_debit" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ach_credit" | "sepa_credit" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "other" | "upi" | "netbanking_emandates" | "custom" | "boleto" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "pix" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
4789
|
+
is?: "card" | "cash" | "check" | "chargeback" | "bank_transfer" | "amazon_payments" | "paypal_express_checkout" | "direct_debit" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ach_credit" | "sepa_credit" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "other" | "upi" | "netbanking_emandates" | "custom" | "boleto" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "pix" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
4790
|
+
is_not?: "card" | "cash" | "check" | "chargeback" | "bank_transfer" | "amazon_payments" | "paypal_express_checkout" | "direct_debit" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ach_credit" | "sepa_credit" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "other" | "upi" | "netbanking_emandates" | "custom" | "boleto" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "pix" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
4791
|
+
in?: "card" | "cash" | "check" | "chargeback" | "bank_transfer" | "amazon_payments" | "paypal_express_checkout" | "direct_debit" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ach_credit" | "sepa_credit" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "other" | "upi" | "netbanking_emandates" | "custom" | "boleto" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "pix" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
4792
|
+
not_in?: "card" | "cash" | "check" | "chargeback" | "bank_transfer" | "amazon_payments" | "paypal_express_checkout" | "direct_debit" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ach_credit" | "sepa_credit" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "other" | "upi" | "netbanking_emandates" | "custom" | "boleto" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "pix" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
4726
4793
|
};
|
|
4727
4794
|
gateway?: {
|
|
4728
4795
|
is?: "chargebee" | "chargebee_payments" | "adyen" | "stripe" | "wepay" | "braintree" | "authorize_net" | "paypal_pro" | "pin" | "eway" | "eway_rapid" | "worldpay" | "balanced_payments" | "beanstream" | "bluepay" | "elavon" | "first_data_global" | "hdfc" | "migs" | "nmi" | "ogone" | "paymill" | "paypal_payflow_pro" | "sage_pay" | "tco" | "wirecard" | "amazon_payments" | "paypal_express_checkout" | "gocardless" | "orbital" | "moneris_us" | "moneris" | "bluesnap" | "cybersource" | "vantiv" | "checkout_com" | "paypal" | "ingenico_direct" | "exact" | "mollie" | "quickbooks" | "razorpay" | "global_payments" | "bank_of_america" | "ecentric" | "metrics_global" | "windcave" | "pay_com" | "ebanx" | "dlocal" | "nuvei" | "solidgate" | "paystack" | "jp_morgan" | "deutsche_bank" | "ezidebit" | "twikey" | "tempus" | "moyasar" | "payway" | "not_applicable";
|
|
@@ -4833,7 +4900,7 @@ export interface GiftSubscriptionEstimateForItemsParams {
|
|
|
4833
4900
|
id?: string;
|
|
4834
4901
|
gateway_account_id?: string;
|
|
4835
4902
|
gw_token?: string;
|
|
4836
|
-
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
4903
|
+
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
4837
4904
|
reference_id?: string;
|
|
4838
4905
|
additional_information?: Record<string, unknown>;
|
|
4839
4906
|
};
|
|
@@ -4999,6 +5066,7 @@ export interface ImportCreditNoteParams {
|
|
|
4999
5066
|
tax9_amount?: (number)[];
|
|
5000
5067
|
tax10_name?: (string)[];
|
|
5001
5068
|
tax10_amount?: (number)[];
|
|
5069
|
+
proration_mode?: ("reset" | "delta" | "service_period_revision" | "adjusted_term")[];
|
|
5002
5070
|
};
|
|
5003
5071
|
line_item_tiers?: {
|
|
5004
5072
|
line_item_id?: (string)[];
|
|
@@ -5035,7 +5103,7 @@ export interface ImportCreditNoteParams {
|
|
|
5035
5103
|
linked_refunds?: {
|
|
5036
5104
|
id?: (string)[];
|
|
5037
5105
|
amount?: (number)[];
|
|
5038
|
-
payment_method?: ("cash" | "check" | "bank_transfer" | "other" | "custom")[];
|
|
5106
|
+
payment_method?: ("cash" | "check" | "bank_transfer" | "other" | "custom" | "dana" | "touch_n_go" | "tamara" | "qpay")[];
|
|
5039
5107
|
date?: (number)[];
|
|
5040
5108
|
reference_number?: (string)[];
|
|
5041
5109
|
};
|
|
@@ -5047,7 +5115,7 @@ export interface ImportInvoiceParams {
|
|
|
5047
5115
|
subscription_id?: string;
|
|
5048
5116
|
po_number?: string;
|
|
5049
5117
|
price_type?: "tax_exclusive" | "tax_inclusive";
|
|
5050
|
-
tax_override_reason?: "id_exempt" | "customer_exempt" | "export";
|
|
5118
|
+
tax_override_reason?: "zero_rated" | "id_exempt" | "customer_exempt" | "region_non_taxable" | "product_exempt" | "export" | "high_value_physical_goods" | "zero_value_item" | "tax_not_configured_external_provider";
|
|
5051
5119
|
vat_number?: string;
|
|
5052
5120
|
vat_number_prefix?: string;
|
|
5053
5121
|
date?: number;
|
|
@@ -5063,6 +5131,7 @@ export interface ImportInvoiceParams {
|
|
|
5063
5131
|
net_term_days?: number;
|
|
5064
5132
|
has_advance_charges?: boolean;
|
|
5065
5133
|
use_for_proration?: boolean;
|
|
5134
|
+
paid_at?: number;
|
|
5066
5135
|
credit_note?: {
|
|
5067
5136
|
id?: string;
|
|
5068
5137
|
};
|
|
@@ -5136,6 +5205,7 @@ export interface ImportInvoiceParams {
|
|
|
5136
5205
|
tax9_amount?: (number)[];
|
|
5137
5206
|
tax10_name?: (string)[];
|
|
5138
5207
|
tax10_amount?: (number)[];
|
|
5208
|
+
proration_mode?: ("reset" | "delta" | "service_period_revision" | "adjusted_term")[];
|
|
5139
5209
|
created_at?: (number)[];
|
|
5140
5210
|
};
|
|
5141
5211
|
payment_reference_numbers?: {
|
|
@@ -5173,7 +5243,7 @@ export interface ImportInvoiceParams {
|
|
|
5173
5243
|
payments?: {
|
|
5174
5244
|
id?: (string)[];
|
|
5175
5245
|
amount?: (number)[];
|
|
5176
|
-
payment_method?: ("cash" | "check" | "bank_transfer" | "other" | "custom")[];
|
|
5246
|
+
payment_method?: ("cash" | "check" | "bank_transfer" | "other" | "custom" | "dana" | "touch_n_go" | "tamara" | "qpay")[];
|
|
5177
5247
|
date?: (number)[];
|
|
5178
5248
|
reference_number?: (string)[];
|
|
5179
5249
|
};
|
|
@@ -5249,7 +5319,7 @@ export interface ImportSubscriptionForItemsParams {
|
|
|
5249
5319
|
};
|
|
5250
5320
|
transaction?: {
|
|
5251
5321
|
amount?: number;
|
|
5252
|
-
payment_method?: "cash" | "check" | "bank_transfer" | "other" | "custom";
|
|
5322
|
+
payment_method?: "cash" | "check" | "bank_transfer" | "other" | "custom" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
5253
5323
|
reference_number?: string;
|
|
5254
5324
|
date?: number;
|
|
5255
5325
|
};
|
|
@@ -5413,7 +5483,7 @@ export interface ListAlertsParams {
|
|
|
5413
5483
|
in?: string;
|
|
5414
5484
|
};
|
|
5415
5485
|
type?: {
|
|
5416
|
-
is?: "usage_exceeded";
|
|
5486
|
+
is?: "usage_exceeded" | "spend_exceeded" | "credit_balance_dropped";
|
|
5417
5487
|
};
|
|
5418
5488
|
subscription_id?: {
|
|
5419
5489
|
is?: string;
|
|
@@ -5422,6 +5492,18 @@ export interface ListAlertsParams {
|
|
|
5422
5492
|
is?: "enabled" | "disabled";
|
|
5423
5493
|
};
|
|
5424
5494
|
}
|
|
5495
|
+
export interface ListAllAvailableMetersParams {
|
|
5496
|
+
limit?: number;
|
|
5497
|
+
offset?: string;
|
|
5498
|
+
name?: {
|
|
5499
|
+
is?: string;
|
|
5500
|
+
starts_with?: string;
|
|
5501
|
+
};
|
|
5502
|
+
sort_by?: {
|
|
5503
|
+
asc?: "id" | "name" | "created_at" | "updated_at";
|
|
5504
|
+
desc?: "id" | "name" | "created_at" | "updated_at";
|
|
5505
|
+
};
|
|
5506
|
+
}
|
|
5425
5507
|
export interface ListAllEntitlementsParams {
|
|
5426
5508
|
limit?: number;
|
|
5427
5509
|
offset?: string;
|
|
@@ -5445,7 +5527,7 @@ export interface ListApplicableAlertsForASubscriptionParams {
|
|
|
5445
5527
|
is?: "enabled" | "disabled";
|
|
5446
5528
|
};
|
|
5447
5529
|
type?: {
|
|
5448
|
-
is?: "usage_exceeded";
|
|
5530
|
+
is?: "usage_exceeded" | "spend_exceeded" | "credit_balance_dropped";
|
|
5449
5531
|
};
|
|
5450
5532
|
}
|
|
5451
5533
|
export interface ListApplicableItemPricesForAPlanItemPriceParams {
|
|
@@ -5819,6 +5901,18 @@ export interface ListCreditNotesParams {
|
|
|
5819
5901
|
};
|
|
5820
5902
|
};
|
|
5821
5903
|
}
|
|
5904
|
+
export interface ListCreditUnitsParams {
|
|
5905
|
+
limit?: number;
|
|
5906
|
+
offset?: string;
|
|
5907
|
+
status?: {
|
|
5908
|
+
is?: "active" | "archived";
|
|
5909
|
+
in?: "active" | "archived";
|
|
5910
|
+
};
|
|
5911
|
+
id?: {
|
|
5912
|
+
is?: string;
|
|
5913
|
+
in?: string;
|
|
5914
|
+
};
|
|
5915
|
+
}
|
|
5822
5916
|
export interface ListCurrenciesParams {
|
|
5823
5917
|
limit?: number;
|
|
5824
5918
|
offset?: string;
|
|
@@ -5990,10 +6084,10 @@ export interface ListEventsParams {
|
|
|
5990
6084
|
not_in?: "not_configured" | "scheduled" | "succeeded" | "re_scheduled" | "failed" | "skipped" | "not_applicable" | "disabled" | "rate_limited";
|
|
5991
6085
|
};
|
|
5992
6086
|
event_type?: {
|
|
5993
|
-
is?: "coupon_created" | "coupon_updated" | "coupon_deleted" | "coupon_set_created" | "coupon_set_updated" | "coupon_set_deleted" | "coupon_codes_added" | "coupon_codes_deleted" | "coupon_codes_updated" | "customer_created" | "customer_changed" | "customer_deleted" | "customer_moved_out" | "customer_moved_in" | "promotional_credits_added" | "promotional_credits_deducted" | "subscription_created" | "subscription_created_with_backdating" | "subscription_started" | "subscription_trial_end_reminder" | "subscription_activated" | "subscription_activated_with_backdating" | "subscription_changed" | "subscription_trial_extended" | "mrr_updated" | "subscription_changed_with_backdating" | "subscription_cancellation_scheduled" | "subscription_cancellation_reminder" | "subscription_cancelled" | "subscription_canceled_with_backdating" | "subscription_reactivated" | "subscription_reactivated_with_backdating" | "subscription_renewed" | "subscription_items_renewed" | "subscription_scheduled_cancellation_removed" | "subscription_changes_scheduled" | "subscription_scheduled_changes_removed" | "subscription_shipping_address_updated" | "subscription_deleted" | "subscription_paused" | "subscription_pause_scheduled" | "subscription_scheduled_pause_removed" | "subscription_resumed" | "subscription_resumption_scheduled" | "subscription_scheduled_resumption_removed" | "subscription_advance_invoice_schedule_added" | "subscription_advance_invoice_schedule_updated" | "subscription_advance_invoice_schedule_removed" | "pending_invoice_created" | "pending_invoice_updated" | "invoice_generated" | "invoice_generated_with_backdating" | "invoice_updated" | "invoice_deleted" | "credit_note_created" | "credit_note_created_with_backdating" | "credit_note_updated" | "credit_note_deleted" | "payment_schedules_created" | "payment_schedules_updated" | "payment_schedule_scheme_created" | "payment_schedule_scheme_deleted" | "subscription_renewal_reminder" | "add_usages_reminder" | "payment_due_reminder" | "transaction_created" | "transaction_updated" | "transaction_deleted" | "payment_succeeded" | "payment_failed" | "dunning_updated" | "payment_refunded" | "payment_initiated" | "refund_initiated" | "authorization_succeeded" | "authorization_voided" | "card_added" | "card_updated" | "card_expiry_reminder" | "card_expired" | "card_deleted" | "payment_source_added" | "payment_source_updated" | "payment_source_deleted" | "payment_source_expiring" | "payment_source_expired" | "payment_source_locally_deleted" | "virtual_bank_account_added" | "virtual_bank_account_updated" | "virtual_bank_account_deleted" | "token_created" | "token_consumed" | "token_expired" | "unbilled_charges_created" | "unbilled_charges_voided" | "unbilled_charges_deleted" | "unbilled_charges_invoiced" | "order_created" | "order_updated" | "order_cancelled" | "order_delivered" | "order_returned" | "order_ready_to_process" | "order_ready_to_ship" | "order_deleted" | "order_resent" | "quote_created" | "quote_updated" | "quote_deleted" | "tax_withheld_recorded" | "tax_withheld_deleted" | "tax_withheld_refunded" | "gift_scheduled" | "gift_unclaimed" | "gift_claimed" | "gift_expired" | "gift_cancelled" | "gift_updated" | "hierarchy_created" | "hierarchy_deleted" | "payment_intent_created" | "payment_intent_updated" | "contract_term_created" | "contract_term_renewed" | "contract_term_terminated" | "contract_term_completed" | "contract_term_cancelled" | "item_family_created" | "item_family_updated" | "item_family_deleted" | "item_created" | "item_updated" | "item_deleted" | "item_price_created" | "item_price_updated" | "item_price_deleted" | "attached_item_created" | "attached_item_updated" | "attached_item_deleted" | "differential_price_created" | "differential_price_updated" | "differential_price_deleted" | "feature_created" | "feature_updated" | "feature_deleted" | "feature_activated" | "feature_reactivated" | "feature_archived" | "item_entitlements_updated" | "entitlement_overrides_updated" | "entitlement_overrides_removed" | "item_entitlements_removed" | "entitlement_overrides_auto_removed" | "subscription_entitlements_created" | "subscription_entitlements_updated" | "business_entity_created" | "business_entity_updated" | "business_entity_deleted" | "customer_business_entity_changed" | "subscription_business_entity_changed" | "purchase_created" | "voucher_created" | "voucher_expired" | "voucher_create_failed" | "item_price_entitlements_updated" | "item_price_entitlements_removed" | "subscription_ramp_created" | "subscription_ramp_deleted" | "subscription_ramp_applied" | "subscription_ramp_drafted" | "subscription_ramp_updated" | "price_variant_created" | "price_variant_updated" | "price_variant_deleted" | "customer_entitlements_updated" | "subscription_moved_in" | "subscription_moved_out" | "subscription_movement_failed" | "omnichannel_subscription_created" | "omnichannel_subscription_item_renewed" | "omnichannel_subscription_item_downgraded" | "omnichannel_subscription_item_expired" | "omnichannel_subscription_item_cancellation_scheduled" | "omnichannel_subscription_item_scheduled_cancellation_removed" | "omnichannel_subscription_item_resubscribed" | "omnichannel_subscription_item_upgraded" | "omnichannel_subscription_item_cancelled" | "omnichannel_subscription_imported" | "omnichannel_subscription_item_grace_period_started" | "omnichannel_subscription_item_grace_period_expired" | "omnichannel_subscription_item_dunning_started" | "omnichannel_subscription_item_dunning_expired" | "rule_created" | "rule_updated" | "rule_deleted" | "record_purchase_failed" | "omnichannel_subscription_item_change_scheduled" | "omnichannel_subscription_item_scheduled_change_removed" | "omnichannel_subscription_item_reactivated" | "sales_order_created" | "sales_order_updated" | "omnichannel_subscription_item_changed" | "omnichannel_subscription_item_paused" | "omnichannel_subscription_item_resumed" | "omnichannel_one_time_order_created" | "omnichannel_one_time_order_item_cancelled" | "usage_file_ingested" | "omnichannel_subscription_item_pause_scheduled" | "omnichannel_subscription_moved_in" | "omnichannel_transaction_created" | "alert_status_changed" | "omnichannel_subscription_item_updated" | "omnichannel_subscription_item_recovered";
|
|
5994
|
-
is_not?: "coupon_created" | "coupon_updated" | "coupon_deleted" | "coupon_set_created" | "coupon_set_updated" | "coupon_set_deleted" | "coupon_codes_added" | "coupon_codes_deleted" | "coupon_codes_updated" | "customer_created" | "customer_changed" | "customer_deleted" | "customer_moved_out" | "customer_moved_in" | "promotional_credits_added" | "promotional_credits_deducted" | "subscription_created" | "subscription_created_with_backdating" | "subscription_started" | "subscription_trial_end_reminder" | "subscription_activated" | "subscription_activated_with_backdating" | "subscription_changed" | "subscription_trial_extended" | "mrr_updated" | "subscription_changed_with_backdating" | "subscription_cancellation_scheduled" | "subscription_cancellation_reminder" | "subscription_cancelled" | "subscription_canceled_with_backdating" | "subscription_reactivated" | "subscription_reactivated_with_backdating" | "subscription_renewed" | "subscription_items_renewed" | "subscription_scheduled_cancellation_removed" | "subscription_changes_scheduled" | "subscription_scheduled_changes_removed" | "subscription_shipping_address_updated" | "subscription_deleted" | "subscription_paused" | "subscription_pause_scheduled" | "subscription_scheduled_pause_removed" | "subscription_resumed" | "subscription_resumption_scheduled" | "subscription_scheduled_resumption_removed" | "subscription_advance_invoice_schedule_added" | "subscription_advance_invoice_schedule_updated" | "subscription_advance_invoice_schedule_removed" | "pending_invoice_created" | "pending_invoice_updated" | "invoice_generated" | "invoice_generated_with_backdating" | "invoice_updated" | "invoice_deleted" | "credit_note_created" | "credit_note_created_with_backdating" | "credit_note_updated" | "credit_note_deleted" | "payment_schedules_created" | "payment_schedules_updated" | "payment_schedule_scheme_created" | "payment_schedule_scheme_deleted" | "subscription_renewal_reminder" | "add_usages_reminder" | "payment_due_reminder" | "transaction_created" | "transaction_updated" | "transaction_deleted" | "payment_succeeded" | "payment_failed" | "dunning_updated" | "payment_refunded" | "payment_initiated" | "refund_initiated" | "authorization_succeeded" | "authorization_voided" | "card_added" | "card_updated" | "card_expiry_reminder" | "card_expired" | "card_deleted" | "payment_source_added" | "payment_source_updated" | "payment_source_deleted" | "payment_source_expiring" | "payment_source_expired" | "payment_source_locally_deleted" | "virtual_bank_account_added" | "virtual_bank_account_updated" | "virtual_bank_account_deleted" | "token_created" | "token_consumed" | "token_expired" | "unbilled_charges_created" | "unbilled_charges_voided" | "unbilled_charges_deleted" | "unbilled_charges_invoiced" | "order_created" | "order_updated" | "order_cancelled" | "order_delivered" | "order_returned" | "order_ready_to_process" | "order_ready_to_ship" | "order_deleted" | "order_resent" | "quote_created" | "quote_updated" | "quote_deleted" | "tax_withheld_recorded" | "tax_withheld_deleted" | "tax_withheld_refunded" | "gift_scheduled" | "gift_unclaimed" | "gift_claimed" | "gift_expired" | "gift_cancelled" | "gift_updated" | "hierarchy_created" | "hierarchy_deleted" | "payment_intent_created" | "payment_intent_updated" | "contract_term_created" | "contract_term_renewed" | "contract_term_terminated" | "contract_term_completed" | "contract_term_cancelled" | "item_family_created" | "item_family_updated" | "item_family_deleted" | "item_created" | "item_updated" | "item_deleted" | "item_price_created" | "item_price_updated" | "item_price_deleted" | "attached_item_created" | "attached_item_updated" | "attached_item_deleted" | "differential_price_created" | "differential_price_updated" | "differential_price_deleted" | "feature_created" | "feature_updated" | "feature_deleted" | "feature_activated" | "feature_reactivated" | "feature_archived" | "item_entitlements_updated" | "entitlement_overrides_updated" | "entitlement_overrides_removed" | "item_entitlements_removed" | "entitlement_overrides_auto_removed" | "subscription_entitlements_created" | "subscription_entitlements_updated" | "business_entity_created" | "business_entity_updated" | "business_entity_deleted" | "customer_business_entity_changed" | "subscription_business_entity_changed" | "purchase_created" | "voucher_created" | "voucher_expired" | "voucher_create_failed" | "item_price_entitlements_updated" | "item_price_entitlements_removed" | "subscription_ramp_created" | "subscription_ramp_deleted" | "subscription_ramp_applied" | "subscription_ramp_drafted" | "subscription_ramp_updated" | "price_variant_created" | "price_variant_updated" | "price_variant_deleted" | "customer_entitlements_updated" | "subscription_moved_in" | "subscription_moved_out" | "subscription_movement_failed" | "omnichannel_subscription_created" | "omnichannel_subscription_item_renewed" | "omnichannel_subscription_item_downgraded" | "omnichannel_subscription_item_expired" | "omnichannel_subscription_item_cancellation_scheduled" | "omnichannel_subscription_item_scheduled_cancellation_removed" | "omnichannel_subscription_item_resubscribed" | "omnichannel_subscription_item_upgraded" | "omnichannel_subscription_item_cancelled" | "omnichannel_subscription_imported" | "omnichannel_subscription_item_grace_period_started" | "omnichannel_subscription_item_grace_period_expired" | "omnichannel_subscription_item_dunning_started" | "omnichannel_subscription_item_dunning_expired" | "rule_created" | "rule_updated" | "rule_deleted" | "record_purchase_failed" | "omnichannel_subscription_item_change_scheduled" | "omnichannel_subscription_item_scheduled_change_removed" | "omnichannel_subscription_item_reactivated" | "sales_order_created" | "sales_order_updated" | "omnichannel_subscription_item_changed" | "omnichannel_subscription_item_paused" | "omnichannel_subscription_item_resumed" | "omnichannel_one_time_order_created" | "omnichannel_one_time_order_item_cancelled" | "usage_file_ingested" | "omnichannel_subscription_item_pause_scheduled" | "omnichannel_subscription_moved_in" | "omnichannel_transaction_created" | "alert_status_changed" | "omnichannel_subscription_item_updated" | "omnichannel_subscription_item_recovered";
|
|
5995
|
-
in?: "coupon_created" | "coupon_updated" | "coupon_deleted" | "coupon_set_created" | "coupon_set_updated" | "coupon_set_deleted" | "coupon_codes_added" | "coupon_codes_deleted" | "coupon_codes_updated" | "customer_created" | "customer_changed" | "customer_deleted" | "customer_moved_out" | "customer_moved_in" | "promotional_credits_added" | "promotional_credits_deducted" | "subscription_created" | "subscription_created_with_backdating" | "subscription_started" | "subscription_trial_end_reminder" | "subscription_activated" | "subscription_activated_with_backdating" | "subscription_changed" | "subscription_trial_extended" | "mrr_updated" | "subscription_changed_with_backdating" | "subscription_cancellation_scheduled" | "subscription_cancellation_reminder" | "subscription_cancelled" | "subscription_canceled_with_backdating" | "subscription_reactivated" | "subscription_reactivated_with_backdating" | "subscription_renewed" | "subscription_items_renewed" | "subscription_scheduled_cancellation_removed" | "subscription_changes_scheduled" | "subscription_scheduled_changes_removed" | "subscription_shipping_address_updated" | "subscription_deleted" | "subscription_paused" | "subscription_pause_scheduled" | "subscription_scheduled_pause_removed" | "subscription_resumed" | "subscription_resumption_scheduled" | "subscription_scheduled_resumption_removed" | "subscription_advance_invoice_schedule_added" | "subscription_advance_invoice_schedule_updated" | "subscription_advance_invoice_schedule_removed" | "pending_invoice_created" | "pending_invoice_updated" | "invoice_generated" | "invoice_generated_with_backdating" | "invoice_updated" | "invoice_deleted" | "credit_note_created" | "credit_note_created_with_backdating" | "credit_note_updated" | "credit_note_deleted" | "payment_schedules_created" | "payment_schedules_updated" | "payment_schedule_scheme_created" | "payment_schedule_scheme_deleted" | "subscription_renewal_reminder" | "add_usages_reminder" | "payment_due_reminder" | "transaction_created" | "transaction_updated" | "transaction_deleted" | "payment_succeeded" | "payment_failed" | "dunning_updated" | "payment_refunded" | "payment_initiated" | "refund_initiated" | "authorization_succeeded" | "authorization_voided" | "card_added" | "card_updated" | "card_expiry_reminder" | "card_expired" | "card_deleted" | "payment_source_added" | "payment_source_updated" | "payment_source_deleted" | "payment_source_expiring" | "payment_source_expired" | "payment_source_locally_deleted" | "virtual_bank_account_added" | "virtual_bank_account_updated" | "virtual_bank_account_deleted" | "token_created" | "token_consumed" | "token_expired" | "unbilled_charges_created" | "unbilled_charges_voided" | "unbilled_charges_deleted" | "unbilled_charges_invoiced" | "order_created" | "order_updated" | "order_cancelled" | "order_delivered" | "order_returned" | "order_ready_to_process" | "order_ready_to_ship" | "order_deleted" | "order_resent" | "quote_created" | "quote_updated" | "quote_deleted" | "tax_withheld_recorded" | "tax_withheld_deleted" | "tax_withheld_refunded" | "gift_scheduled" | "gift_unclaimed" | "gift_claimed" | "gift_expired" | "gift_cancelled" | "gift_updated" | "hierarchy_created" | "hierarchy_deleted" | "payment_intent_created" | "payment_intent_updated" | "contract_term_created" | "contract_term_renewed" | "contract_term_terminated" | "contract_term_completed" | "contract_term_cancelled" | "item_family_created" | "item_family_updated" | "item_family_deleted" | "item_created" | "item_updated" | "item_deleted" | "item_price_created" | "item_price_updated" | "item_price_deleted" | "attached_item_created" | "attached_item_updated" | "attached_item_deleted" | "differential_price_created" | "differential_price_updated" | "differential_price_deleted" | "feature_created" | "feature_updated" | "feature_deleted" | "feature_activated" | "feature_reactivated" | "feature_archived" | "item_entitlements_updated" | "entitlement_overrides_updated" | "entitlement_overrides_removed" | "item_entitlements_removed" | "entitlement_overrides_auto_removed" | "subscription_entitlements_created" | "subscription_entitlements_updated" | "business_entity_created" | "business_entity_updated" | "business_entity_deleted" | "customer_business_entity_changed" | "subscription_business_entity_changed" | "purchase_created" | "voucher_created" | "voucher_expired" | "voucher_create_failed" | "item_price_entitlements_updated" | "item_price_entitlements_removed" | "subscription_ramp_created" | "subscription_ramp_deleted" | "subscription_ramp_applied" | "subscription_ramp_drafted" | "subscription_ramp_updated" | "price_variant_created" | "price_variant_updated" | "price_variant_deleted" | "customer_entitlements_updated" | "subscription_moved_in" | "subscription_moved_out" | "subscription_movement_failed" | "omnichannel_subscription_created" | "omnichannel_subscription_item_renewed" | "omnichannel_subscription_item_downgraded" | "omnichannel_subscription_item_expired" | "omnichannel_subscription_item_cancellation_scheduled" | "omnichannel_subscription_item_scheduled_cancellation_removed" | "omnichannel_subscription_item_resubscribed" | "omnichannel_subscription_item_upgraded" | "omnichannel_subscription_item_cancelled" | "omnichannel_subscription_imported" | "omnichannel_subscription_item_grace_period_started" | "omnichannel_subscription_item_grace_period_expired" | "omnichannel_subscription_item_dunning_started" | "omnichannel_subscription_item_dunning_expired" | "rule_created" | "rule_updated" | "rule_deleted" | "record_purchase_failed" | "omnichannel_subscription_item_change_scheduled" | "omnichannel_subscription_item_scheduled_change_removed" | "omnichannel_subscription_item_reactivated" | "sales_order_created" | "sales_order_updated" | "omnichannel_subscription_item_changed" | "omnichannel_subscription_item_paused" | "omnichannel_subscription_item_resumed" | "omnichannel_one_time_order_created" | "omnichannel_one_time_order_item_cancelled" | "usage_file_ingested" | "omnichannel_subscription_item_pause_scheduled" | "omnichannel_subscription_moved_in" | "omnichannel_transaction_created" | "alert_status_changed" | "omnichannel_subscription_item_updated" | "omnichannel_subscription_item_recovered";
|
|
5996
|
-
not_in?: "coupon_created" | "coupon_updated" | "coupon_deleted" | "coupon_set_created" | "coupon_set_updated" | "coupon_set_deleted" | "coupon_codes_added" | "coupon_codes_deleted" | "coupon_codes_updated" | "customer_created" | "customer_changed" | "customer_deleted" | "customer_moved_out" | "customer_moved_in" | "promotional_credits_added" | "promotional_credits_deducted" | "subscription_created" | "subscription_created_with_backdating" | "subscription_started" | "subscription_trial_end_reminder" | "subscription_activated" | "subscription_activated_with_backdating" | "subscription_changed" | "subscription_trial_extended" | "mrr_updated" | "subscription_changed_with_backdating" | "subscription_cancellation_scheduled" | "subscription_cancellation_reminder" | "subscription_cancelled" | "subscription_canceled_with_backdating" | "subscription_reactivated" | "subscription_reactivated_with_backdating" | "subscription_renewed" | "subscription_items_renewed" | "subscription_scheduled_cancellation_removed" | "subscription_changes_scheduled" | "subscription_scheduled_changes_removed" | "subscription_shipping_address_updated" | "subscription_deleted" | "subscription_paused" | "subscription_pause_scheduled" | "subscription_scheduled_pause_removed" | "subscription_resumed" | "subscription_resumption_scheduled" | "subscription_scheduled_resumption_removed" | "subscription_advance_invoice_schedule_added" | "subscription_advance_invoice_schedule_updated" | "subscription_advance_invoice_schedule_removed" | "pending_invoice_created" | "pending_invoice_updated" | "invoice_generated" | "invoice_generated_with_backdating" | "invoice_updated" | "invoice_deleted" | "credit_note_created" | "credit_note_created_with_backdating" | "credit_note_updated" | "credit_note_deleted" | "payment_schedules_created" | "payment_schedules_updated" | "payment_schedule_scheme_created" | "payment_schedule_scheme_deleted" | "subscription_renewal_reminder" | "add_usages_reminder" | "payment_due_reminder" | "transaction_created" | "transaction_updated" | "transaction_deleted" | "payment_succeeded" | "payment_failed" | "dunning_updated" | "payment_refunded" | "payment_initiated" | "refund_initiated" | "authorization_succeeded" | "authorization_voided" | "card_added" | "card_updated" | "card_expiry_reminder" | "card_expired" | "card_deleted" | "payment_source_added" | "payment_source_updated" | "payment_source_deleted" | "payment_source_expiring" | "payment_source_expired" | "payment_source_locally_deleted" | "virtual_bank_account_added" | "virtual_bank_account_updated" | "virtual_bank_account_deleted" | "token_created" | "token_consumed" | "token_expired" | "unbilled_charges_created" | "unbilled_charges_voided" | "unbilled_charges_deleted" | "unbilled_charges_invoiced" | "order_created" | "order_updated" | "order_cancelled" | "order_delivered" | "order_returned" | "order_ready_to_process" | "order_ready_to_ship" | "order_deleted" | "order_resent" | "quote_created" | "quote_updated" | "quote_deleted" | "tax_withheld_recorded" | "tax_withheld_deleted" | "tax_withheld_refunded" | "gift_scheduled" | "gift_unclaimed" | "gift_claimed" | "gift_expired" | "gift_cancelled" | "gift_updated" | "hierarchy_created" | "hierarchy_deleted" | "payment_intent_created" | "payment_intent_updated" | "contract_term_created" | "contract_term_renewed" | "contract_term_terminated" | "contract_term_completed" | "contract_term_cancelled" | "item_family_created" | "item_family_updated" | "item_family_deleted" | "item_created" | "item_updated" | "item_deleted" | "item_price_created" | "item_price_updated" | "item_price_deleted" | "attached_item_created" | "attached_item_updated" | "attached_item_deleted" | "differential_price_created" | "differential_price_updated" | "differential_price_deleted" | "feature_created" | "feature_updated" | "feature_deleted" | "feature_activated" | "feature_reactivated" | "feature_archived" | "item_entitlements_updated" | "entitlement_overrides_updated" | "entitlement_overrides_removed" | "item_entitlements_removed" | "entitlement_overrides_auto_removed" | "subscription_entitlements_created" | "subscription_entitlements_updated" | "business_entity_created" | "business_entity_updated" | "business_entity_deleted" | "customer_business_entity_changed" | "subscription_business_entity_changed" | "purchase_created" | "voucher_created" | "voucher_expired" | "voucher_create_failed" | "item_price_entitlements_updated" | "item_price_entitlements_removed" | "subscription_ramp_created" | "subscription_ramp_deleted" | "subscription_ramp_applied" | "subscription_ramp_drafted" | "subscription_ramp_updated" | "price_variant_created" | "price_variant_updated" | "price_variant_deleted" | "customer_entitlements_updated" | "subscription_moved_in" | "subscription_moved_out" | "subscription_movement_failed" | "omnichannel_subscription_created" | "omnichannel_subscription_item_renewed" | "omnichannel_subscription_item_downgraded" | "omnichannel_subscription_item_expired" | "omnichannel_subscription_item_cancellation_scheduled" | "omnichannel_subscription_item_scheduled_cancellation_removed" | "omnichannel_subscription_item_resubscribed" | "omnichannel_subscription_item_upgraded" | "omnichannel_subscription_item_cancelled" | "omnichannel_subscription_imported" | "omnichannel_subscription_item_grace_period_started" | "omnichannel_subscription_item_grace_period_expired" | "omnichannel_subscription_item_dunning_started" | "omnichannel_subscription_item_dunning_expired" | "rule_created" | "rule_updated" | "rule_deleted" | "record_purchase_failed" | "omnichannel_subscription_item_change_scheduled" | "omnichannel_subscription_item_scheduled_change_removed" | "omnichannel_subscription_item_reactivated" | "sales_order_created" | "sales_order_updated" | "omnichannel_subscription_item_changed" | "omnichannel_subscription_item_paused" | "omnichannel_subscription_item_resumed" | "omnichannel_one_time_order_created" | "omnichannel_one_time_order_item_cancelled" | "usage_file_ingested" | "omnichannel_subscription_item_pause_scheduled" | "omnichannel_subscription_moved_in" | "omnichannel_transaction_created" | "alert_status_changed" | "omnichannel_subscription_item_updated" | "omnichannel_subscription_item_recovered";
|
|
6087
|
+
is?: "coupon_created" | "coupon_updated" | "coupon_deleted" | "coupon_set_created" | "coupon_set_updated" | "coupon_set_deleted" | "coupon_codes_added" | "coupon_codes_deleted" | "coupon_codes_updated" | "customer_created" | "customer_changed" | "customer_deleted" | "customer_moved_out" | "customer_moved_in" | "promotional_credits_added" | "promotional_credits_deducted" | "subscription_created" | "subscription_created_with_backdating" | "subscription_started" | "subscription_trial_end_reminder" | "subscription_activated" | "subscription_activated_with_backdating" | "subscription_changed" | "subscription_trial_extended" | "mrr_updated" | "subscription_changed_with_backdating" | "subscription_cancellation_scheduled" | "subscription_cancellation_reminder" | "subscription_cancelled" | "subscription_canceled_with_backdating" | "subscription_reactivated" | "subscription_reactivated_with_backdating" | "subscription_renewed" | "subscription_items_renewed" | "subscription_scheduled_cancellation_removed" | "subscription_changes_scheduled" | "subscription_scheduled_changes_removed" | "subscription_shipping_address_updated" | "subscription_deleted" | "subscription_paused" | "subscription_pause_scheduled" | "subscription_scheduled_pause_removed" | "subscription_resumed" | "subscription_resumption_scheduled" | "subscription_scheduled_resumption_removed" | "subscription_advance_invoice_schedule_added" | "subscription_advance_invoice_schedule_updated" | "subscription_advance_invoice_schedule_removed" | "pending_invoice_created" | "pending_invoice_updated" | "invoice_generated" | "invoice_generated_with_backdating" | "invoice_updated" | "invoice_deleted" | "credit_note_created" | "credit_note_created_with_backdating" | "credit_note_updated" | "credit_note_deleted" | "payment_schedules_created" | "payment_schedules_updated" | "payment_schedule_scheme_created" | "payment_schedule_scheme_deleted" | "subscription_renewal_reminder" | "add_usages_reminder" | "payment_due_reminder" | "transaction_created" | "transaction_updated" | "transaction_deleted" | "payment_succeeded" | "payment_failed" | "dunning_updated" | "payment_refunded" | "payment_initiated" | "refund_initiated" | "authorization_succeeded" | "authorization_voided" | "card_added" | "card_updated" | "card_expiry_reminder" | "card_expired" | "card_deleted" | "payment_source_added" | "payment_source_updated" | "payment_source_deleted" | "payment_source_expiring" | "payment_source_expired" | "payment_source_locally_deleted" | "virtual_bank_account_added" | "virtual_bank_account_updated" | "virtual_bank_account_deleted" | "token_created" | "token_consumed" | "token_expired" | "unbilled_charges_created" | "unbilled_charges_voided" | "unbilled_charges_deleted" | "unbilled_charges_invoiced" | "order_created" | "order_updated" | "order_cancelled" | "order_delivered" | "order_returned" | "order_ready_to_process" | "order_ready_to_ship" | "order_deleted" | "order_resent" | "quote_created" | "quote_updated" | "quote_deleted" | "tax_withheld_recorded" | "tax_withheld_deleted" | "tax_withheld_refunded" | "gift_scheduled" | "gift_unclaimed" | "gift_claimed" | "gift_expired" | "gift_cancelled" | "gift_updated" | "hierarchy_created" | "hierarchy_deleted" | "payment_intent_created" | "payment_intent_updated" | "contract_term_created" | "contract_term_renewed" | "contract_term_terminated" | "contract_term_completed" | "contract_term_cancelled" | "item_family_created" | "item_family_updated" | "item_family_deleted" | "item_created" | "item_updated" | "item_deleted" | "item_price_created" | "item_price_updated" | "item_price_deleted" | "attached_item_created" | "attached_item_updated" | "attached_item_deleted" | "differential_price_created" | "differential_price_updated" | "differential_price_deleted" | "feature_created" | "feature_updated" | "feature_deleted" | "feature_activated" | "feature_reactivated" | "feature_archived" | "item_entitlements_updated" | "entitlement_overrides_updated" | "entitlement_overrides_removed" | "item_entitlements_removed" | "entitlement_overrides_auto_removed" | "subscription_entitlements_created" | "subscription_entitlements_updated" | "business_entity_created" | "business_entity_updated" | "business_entity_deleted" | "customer_business_entity_changed" | "subscription_business_entity_changed" | "payment_source_business_entity_changed" | "purchase_created" | "voucher_created" | "voucher_expired" | "voucher_create_failed" | "item_price_entitlements_updated" | "item_price_entitlements_removed" | "subscription_ramp_created" | "subscription_ramp_deleted" | "subscription_ramp_applied" | "subscription_ramp_drafted" | "subscription_ramp_updated" | "price_variant_created" | "price_variant_updated" | "price_variant_deleted" | "customer_entitlements_updated" | "subscription_moved_in" | "subscription_moved_out" | "subscription_movement_failed" | "omnichannel_subscription_created" | "omnichannel_subscription_item_renewed" | "omnichannel_subscription_item_downgraded" | "omnichannel_subscription_item_expired" | "omnichannel_subscription_item_cancellation_scheduled" | "omnichannel_subscription_item_scheduled_cancellation_removed" | "omnichannel_subscription_item_resubscribed" | "omnichannel_subscription_item_upgraded" | "omnichannel_subscription_item_cancelled" | "omnichannel_subscription_imported" | "omnichannel_subscription_item_grace_period_started" | "omnichannel_subscription_item_grace_period_expired" | "omnichannel_subscription_item_dunning_started" | "omnichannel_subscription_item_dunning_expired" | "rule_created" | "rule_updated" | "rule_deleted" | "record_purchase_failed" | "omnichannel_subscription_item_change_scheduled" | "omnichannel_subscription_item_scheduled_change_removed" | "omnichannel_subscription_item_reactivated" | "sales_order_created" | "sales_order_updated" | "omnichannel_subscription_item_changed" | "omnichannel_subscription_item_paused" | "omnichannel_subscription_item_resumed" | "omnichannel_one_time_order_created" | "omnichannel_one_time_order_item_cancelled" | "usage_file_ingested" | "omnichannel_subscription_item_pause_scheduled" | "omnichannel_subscription_moved_in" | "omnichannel_transaction_created" | "alert_status_changed" | "omnichannel_subscription_item_updated" | "omnichannel_subscription_item_recovered" | "omnichannel_subscription_item_mrr_updated" | "ledger_account_balance_updated" | "grant_blocks_created" | "grant_blocks_updated" | "ledger_updated" | "vault_token_created" | "vault_token_updated" | "vault_token_deleted";
|
|
6088
|
+
is_not?: "coupon_created" | "coupon_updated" | "coupon_deleted" | "coupon_set_created" | "coupon_set_updated" | "coupon_set_deleted" | "coupon_codes_added" | "coupon_codes_deleted" | "coupon_codes_updated" | "customer_created" | "customer_changed" | "customer_deleted" | "customer_moved_out" | "customer_moved_in" | "promotional_credits_added" | "promotional_credits_deducted" | "subscription_created" | "subscription_created_with_backdating" | "subscription_started" | "subscription_trial_end_reminder" | "subscription_activated" | "subscription_activated_with_backdating" | "subscription_changed" | "subscription_trial_extended" | "mrr_updated" | "subscription_changed_with_backdating" | "subscription_cancellation_scheduled" | "subscription_cancellation_reminder" | "subscription_cancelled" | "subscription_canceled_with_backdating" | "subscription_reactivated" | "subscription_reactivated_with_backdating" | "subscription_renewed" | "subscription_items_renewed" | "subscription_scheduled_cancellation_removed" | "subscription_changes_scheduled" | "subscription_scheduled_changes_removed" | "subscription_shipping_address_updated" | "subscription_deleted" | "subscription_paused" | "subscription_pause_scheduled" | "subscription_scheduled_pause_removed" | "subscription_resumed" | "subscription_resumption_scheduled" | "subscription_scheduled_resumption_removed" | "subscription_advance_invoice_schedule_added" | "subscription_advance_invoice_schedule_updated" | "subscription_advance_invoice_schedule_removed" | "pending_invoice_created" | "pending_invoice_updated" | "invoice_generated" | "invoice_generated_with_backdating" | "invoice_updated" | "invoice_deleted" | "credit_note_created" | "credit_note_created_with_backdating" | "credit_note_updated" | "credit_note_deleted" | "payment_schedules_created" | "payment_schedules_updated" | "payment_schedule_scheme_created" | "payment_schedule_scheme_deleted" | "subscription_renewal_reminder" | "add_usages_reminder" | "payment_due_reminder" | "transaction_created" | "transaction_updated" | "transaction_deleted" | "payment_succeeded" | "payment_failed" | "dunning_updated" | "payment_refunded" | "payment_initiated" | "refund_initiated" | "authorization_succeeded" | "authorization_voided" | "card_added" | "card_updated" | "card_expiry_reminder" | "card_expired" | "card_deleted" | "payment_source_added" | "payment_source_updated" | "payment_source_deleted" | "payment_source_expiring" | "payment_source_expired" | "payment_source_locally_deleted" | "virtual_bank_account_added" | "virtual_bank_account_updated" | "virtual_bank_account_deleted" | "token_created" | "token_consumed" | "token_expired" | "unbilled_charges_created" | "unbilled_charges_voided" | "unbilled_charges_deleted" | "unbilled_charges_invoiced" | "order_created" | "order_updated" | "order_cancelled" | "order_delivered" | "order_returned" | "order_ready_to_process" | "order_ready_to_ship" | "order_deleted" | "order_resent" | "quote_created" | "quote_updated" | "quote_deleted" | "tax_withheld_recorded" | "tax_withheld_deleted" | "tax_withheld_refunded" | "gift_scheduled" | "gift_unclaimed" | "gift_claimed" | "gift_expired" | "gift_cancelled" | "gift_updated" | "hierarchy_created" | "hierarchy_deleted" | "payment_intent_created" | "payment_intent_updated" | "contract_term_created" | "contract_term_renewed" | "contract_term_terminated" | "contract_term_completed" | "contract_term_cancelled" | "item_family_created" | "item_family_updated" | "item_family_deleted" | "item_created" | "item_updated" | "item_deleted" | "item_price_created" | "item_price_updated" | "item_price_deleted" | "attached_item_created" | "attached_item_updated" | "attached_item_deleted" | "differential_price_created" | "differential_price_updated" | "differential_price_deleted" | "feature_created" | "feature_updated" | "feature_deleted" | "feature_activated" | "feature_reactivated" | "feature_archived" | "item_entitlements_updated" | "entitlement_overrides_updated" | "entitlement_overrides_removed" | "item_entitlements_removed" | "entitlement_overrides_auto_removed" | "subscription_entitlements_created" | "subscription_entitlements_updated" | "business_entity_created" | "business_entity_updated" | "business_entity_deleted" | "customer_business_entity_changed" | "subscription_business_entity_changed" | "payment_source_business_entity_changed" | "purchase_created" | "voucher_created" | "voucher_expired" | "voucher_create_failed" | "item_price_entitlements_updated" | "item_price_entitlements_removed" | "subscription_ramp_created" | "subscription_ramp_deleted" | "subscription_ramp_applied" | "subscription_ramp_drafted" | "subscription_ramp_updated" | "price_variant_created" | "price_variant_updated" | "price_variant_deleted" | "customer_entitlements_updated" | "subscription_moved_in" | "subscription_moved_out" | "subscription_movement_failed" | "omnichannel_subscription_created" | "omnichannel_subscription_item_renewed" | "omnichannel_subscription_item_downgraded" | "omnichannel_subscription_item_expired" | "omnichannel_subscription_item_cancellation_scheduled" | "omnichannel_subscription_item_scheduled_cancellation_removed" | "omnichannel_subscription_item_resubscribed" | "omnichannel_subscription_item_upgraded" | "omnichannel_subscription_item_cancelled" | "omnichannel_subscription_imported" | "omnichannel_subscription_item_grace_period_started" | "omnichannel_subscription_item_grace_period_expired" | "omnichannel_subscription_item_dunning_started" | "omnichannel_subscription_item_dunning_expired" | "rule_created" | "rule_updated" | "rule_deleted" | "record_purchase_failed" | "omnichannel_subscription_item_change_scheduled" | "omnichannel_subscription_item_scheduled_change_removed" | "omnichannel_subscription_item_reactivated" | "sales_order_created" | "sales_order_updated" | "omnichannel_subscription_item_changed" | "omnichannel_subscription_item_paused" | "omnichannel_subscription_item_resumed" | "omnichannel_one_time_order_created" | "omnichannel_one_time_order_item_cancelled" | "usage_file_ingested" | "omnichannel_subscription_item_pause_scheduled" | "omnichannel_subscription_moved_in" | "omnichannel_transaction_created" | "alert_status_changed" | "omnichannel_subscription_item_updated" | "omnichannel_subscription_item_recovered" | "omnichannel_subscription_item_mrr_updated" | "ledger_account_balance_updated" | "grant_blocks_created" | "grant_blocks_updated" | "ledger_updated" | "vault_token_created" | "vault_token_updated" | "vault_token_deleted";
|
|
6089
|
+
in?: "coupon_created" | "coupon_updated" | "coupon_deleted" | "coupon_set_created" | "coupon_set_updated" | "coupon_set_deleted" | "coupon_codes_added" | "coupon_codes_deleted" | "coupon_codes_updated" | "customer_created" | "customer_changed" | "customer_deleted" | "customer_moved_out" | "customer_moved_in" | "promotional_credits_added" | "promotional_credits_deducted" | "subscription_created" | "subscription_created_with_backdating" | "subscription_started" | "subscription_trial_end_reminder" | "subscription_activated" | "subscription_activated_with_backdating" | "subscription_changed" | "subscription_trial_extended" | "mrr_updated" | "subscription_changed_with_backdating" | "subscription_cancellation_scheduled" | "subscription_cancellation_reminder" | "subscription_cancelled" | "subscription_canceled_with_backdating" | "subscription_reactivated" | "subscription_reactivated_with_backdating" | "subscription_renewed" | "subscription_items_renewed" | "subscription_scheduled_cancellation_removed" | "subscription_changes_scheduled" | "subscription_scheduled_changes_removed" | "subscription_shipping_address_updated" | "subscription_deleted" | "subscription_paused" | "subscription_pause_scheduled" | "subscription_scheduled_pause_removed" | "subscription_resumed" | "subscription_resumption_scheduled" | "subscription_scheduled_resumption_removed" | "subscription_advance_invoice_schedule_added" | "subscription_advance_invoice_schedule_updated" | "subscription_advance_invoice_schedule_removed" | "pending_invoice_created" | "pending_invoice_updated" | "invoice_generated" | "invoice_generated_with_backdating" | "invoice_updated" | "invoice_deleted" | "credit_note_created" | "credit_note_created_with_backdating" | "credit_note_updated" | "credit_note_deleted" | "payment_schedules_created" | "payment_schedules_updated" | "payment_schedule_scheme_created" | "payment_schedule_scheme_deleted" | "subscription_renewal_reminder" | "add_usages_reminder" | "payment_due_reminder" | "transaction_created" | "transaction_updated" | "transaction_deleted" | "payment_succeeded" | "payment_failed" | "dunning_updated" | "payment_refunded" | "payment_initiated" | "refund_initiated" | "authorization_succeeded" | "authorization_voided" | "card_added" | "card_updated" | "card_expiry_reminder" | "card_expired" | "card_deleted" | "payment_source_added" | "payment_source_updated" | "payment_source_deleted" | "payment_source_expiring" | "payment_source_expired" | "payment_source_locally_deleted" | "virtual_bank_account_added" | "virtual_bank_account_updated" | "virtual_bank_account_deleted" | "token_created" | "token_consumed" | "token_expired" | "unbilled_charges_created" | "unbilled_charges_voided" | "unbilled_charges_deleted" | "unbilled_charges_invoiced" | "order_created" | "order_updated" | "order_cancelled" | "order_delivered" | "order_returned" | "order_ready_to_process" | "order_ready_to_ship" | "order_deleted" | "order_resent" | "quote_created" | "quote_updated" | "quote_deleted" | "tax_withheld_recorded" | "tax_withheld_deleted" | "tax_withheld_refunded" | "gift_scheduled" | "gift_unclaimed" | "gift_claimed" | "gift_expired" | "gift_cancelled" | "gift_updated" | "hierarchy_created" | "hierarchy_deleted" | "payment_intent_created" | "payment_intent_updated" | "contract_term_created" | "contract_term_renewed" | "contract_term_terminated" | "contract_term_completed" | "contract_term_cancelled" | "item_family_created" | "item_family_updated" | "item_family_deleted" | "item_created" | "item_updated" | "item_deleted" | "item_price_created" | "item_price_updated" | "item_price_deleted" | "attached_item_created" | "attached_item_updated" | "attached_item_deleted" | "differential_price_created" | "differential_price_updated" | "differential_price_deleted" | "feature_created" | "feature_updated" | "feature_deleted" | "feature_activated" | "feature_reactivated" | "feature_archived" | "item_entitlements_updated" | "entitlement_overrides_updated" | "entitlement_overrides_removed" | "item_entitlements_removed" | "entitlement_overrides_auto_removed" | "subscription_entitlements_created" | "subscription_entitlements_updated" | "business_entity_created" | "business_entity_updated" | "business_entity_deleted" | "customer_business_entity_changed" | "subscription_business_entity_changed" | "payment_source_business_entity_changed" | "purchase_created" | "voucher_created" | "voucher_expired" | "voucher_create_failed" | "item_price_entitlements_updated" | "item_price_entitlements_removed" | "subscription_ramp_created" | "subscription_ramp_deleted" | "subscription_ramp_applied" | "subscription_ramp_drafted" | "subscription_ramp_updated" | "price_variant_created" | "price_variant_updated" | "price_variant_deleted" | "customer_entitlements_updated" | "subscription_moved_in" | "subscription_moved_out" | "subscription_movement_failed" | "omnichannel_subscription_created" | "omnichannel_subscription_item_renewed" | "omnichannel_subscription_item_downgraded" | "omnichannel_subscription_item_expired" | "omnichannel_subscription_item_cancellation_scheduled" | "omnichannel_subscription_item_scheduled_cancellation_removed" | "omnichannel_subscription_item_resubscribed" | "omnichannel_subscription_item_upgraded" | "omnichannel_subscription_item_cancelled" | "omnichannel_subscription_imported" | "omnichannel_subscription_item_grace_period_started" | "omnichannel_subscription_item_grace_period_expired" | "omnichannel_subscription_item_dunning_started" | "omnichannel_subscription_item_dunning_expired" | "rule_created" | "rule_updated" | "rule_deleted" | "record_purchase_failed" | "omnichannel_subscription_item_change_scheduled" | "omnichannel_subscription_item_scheduled_change_removed" | "omnichannel_subscription_item_reactivated" | "sales_order_created" | "sales_order_updated" | "omnichannel_subscription_item_changed" | "omnichannel_subscription_item_paused" | "omnichannel_subscription_item_resumed" | "omnichannel_one_time_order_created" | "omnichannel_one_time_order_item_cancelled" | "usage_file_ingested" | "omnichannel_subscription_item_pause_scheduled" | "omnichannel_subscription_moved_in" | "omnichannel_transaction_created" | "alert_status_changed" | "omnichannel_subscription_item_updated" | "omnichannel_subscription_item_recovered" | "omnichannel_subscription_item_mrr_updated" | "ledger_account_balance_updated" | "grant_blocks_created" | "grant_blocks_updated" | "ledger_updated" | "vault_token_created" | "vault_token_updated" | "vault_token_deleted";
|
|
6090
|
+
not_in?: "coupon_created" | "coupon_updated" | "coupon_deleted" | "coupon_set_created" | "coupon_set_updated" | "coupon_set_deleted" | "coupon_codes_added" | "coupon_codes_deleted" | "coupon_codes_updated" | "customer_created" | "customer_changed" | "customer_deleted" | "customer_moved_out" | "customer_moved_in" | "promotional_credits_added" | "promotional_credits_deducted" | "subscription_created" | "subscription_created_with_backdating" | "subscription_started" | "subscription_trial_end_reminder" | "subscription_activated" | "subscription_activated_with_backdating" | "subscription_changed" | "subscription_trial_extended" | "mrr_updated" | "subscription_changed_with_backdating" | "subscription_cancellation_scheduled" | "subscription_cancellation_reminder" | "subscription_cancelled" | "subscription_canceled_with_backdating" | "subscription_reactivated" | "subscription_reactivated_with_backdating" | "subscription_renewed" | "subscription_items_renewed" | "subscription_scheduled_cancellation_removed" | "subscription_changes_scheduled" | "subscription_scheduled_changes_removed" | "subscription_shipping_address_updated" | "subscription_deleted" | "subscription_paused" | "subscription_pause_scheduled" | "subscription_scheduled_pause_removed" | "subscription_resumed" | "subscription_resumption_scheduled" | "subscription_scheduled_resumption_removed" | "subscription_advance_invoice_schedule_added" | "subscription_advance_invoice_schedule_updated" | "subscription_advance_invoice_schedule_removed" | "pending_invoice_created" | "pending_invoice_updated" | "invoice_generated" | "invoice_generated_with_backdating" | "invoice_updated" | "invoice_deleted" | "credit_note_created" | "credit_note_created_with_backdating" | "credit_note_updated" | "credit_note_deleted" | "payment_schedules_created" | "payment_schedules_updated" | "payment_schedule_scheme_created" | "payment_schedule_scheme_deleted" | "subscription_renewal_reminder" | "add_usages_reminder" | "payment_due_reminder" | "transaction_created" | "transaction_updated" | "transaction_deleted" | "payment_succeeded" | "payment_failed" | "dunning_updated" | "payment_refunded" | "payment_initiated" | "refund_initiated" | "authorization_succeeded" | "authorization_voided" | "card_added" | "card_updated" | "card_expiry_reminder" | "card_expired" | "card_deleted" | "payment_source_added" | "payment_source_updated" | "payment_source_deleted" | "payment_source_expiring" | "payment_source_expired" | "payment_source_locally_deleted" | "virtual_bank_account_added" | "virtual_bank_account_updated" | "virtual_bank_account_deleted" | "token_created" | "token_consumed" | "token_expired" | "unbilled_charges_created" | "unbilled_charges_voided" | "unbilled_charges_deleted" | "unbilled_charges_invoiced" | "order_created" | "order_updated" | "order_cancelled" | "order_delivered" | "order_returned" | "order_ready_to_process" | "order_ready_to_ship" | "order_deleted" | "order_resent" | "quote_created" | "quote_updated" | "quote_deleted" | "tax_withheld_recorded" | "tax_withheld_deleted" | "tax_withheld_refunded" | "gift_scheduled" | "gift_unclaimed" | "gift_claimed" | "gift_expired" | "gift_cancelled" | "gift_updated" | "hierarchy_created" | "hierarchy_deleted" | "payment_intent_created" | "payment_intent_updated" | "contract_term_created" | "contract_term_renewed" | "contract_term_terminated" | "contract_term_completed" | "contract_term_cancelled" | "item_family_created" | "item_family_updated" | "item_family_deleted" | "item_created" | "item_updated" | "item_deleted" | "item_price_created" | "item_price_updated" | "item_price_deleted" | "attached_item_created" | "attached_item_updated" | "attached_item_deleted" | "differential_price_created" | "differential_price_updated" | "differential_price_deleted" | "feature_created" | "feature_updated" | "feature_deleted" | "feature_activated" | "feature_reactivated" | "feature_archived" | "item_entitlements_updated" | "entitlement_overrides_updated" | "entitlement_overrides_removed" | "item_entitlements_removed" | "entitlement_overrides_auto_removed" | "subscription_entitlements_created" | "subscription_entitlements_updated" | "business_entity_created" | "business_entity_updated" | "business_entity_deleted" | "customer_business_entity_changed" | "subscription_business_entity_changed" | "payment_source_business_entity_changed" | "purchase_created" | "voucher_created" | "voucher_expired" | "voucher_create_failed" | "item_price_entitlements_updated" | "item_price_entitlements_removed" | "subscription_ramp_created" | "subscription_ramp_deleted" | "subscription_ramp_applied" | "subscription_ramp_drafted" | "subscription_ramp_updated" | "price_variant_created" | "price_variant_updated" | "price_variant_deleted" | "customer_entitlements_updated" | "subscription_moved_in" | "subscription_moved_out" | "subscription_movement_failed" | "omnichannel_subscription_created" | "omnichannel_subscription_item_renewed" | "omnichannel_subscription_item_downgraded" | "omnichannel_subscription_item_expired" | "omnichannel_subscription_item_cancellation_scheduled" | "omnichannel_subscription_item_scheduled_cancellation_removed" | "omnichannel_subscription_item_resubscribed" | "omnichannel_subscription_item_upgraded" | "omnichannel_subscription_item_cancelled" | "omnichannel_subscription_imported" | "omnichannel_subscription_item_grace_period_started" | "omnichannel_subscription_item_grace_period_expired" | "omnichannel_subscription_item_dunning_started" | "omnichannel_subscription_item_dunning_expired" | "rule_created" | "rule_updated" | "rule_deleted" | "record_purchase_failed" | "omnichannel_subscription_item_change_scheduled" | "omnichannel_subscription_item_scheduled_change_removed" | "omnichannel_subscription_item_reactivated" | "sales_order_created" | "sales_order_updated" | "omnichannel_subscription_item_changed" | "omnichannel_subscription_item_paused" | "omnichannel_subscription_item_resumed" | "omnichannel_one_time_order_created" | "omnichannel_one_time_order_item_cancelled" | "usage_file_ingested" | "omnichannel_subscription_item_pause_scheduled" | "omnichannel_subscription_moved_in" | "omnichannel_transaction_created" | "alert_status_changed" | "omnichannel_subscription_item_updated" | "omnichannel_subscription_item_recovered" | "omnichannel_subscription_item_mrr_updated" | "ledger_account_balance_updated" | "grant_blocks_created" | "grant_blocks_updated" | "ledger_updated" | "vault_token_created" | "vault_token_updated" | "vault_token_deleted";
|
|
5997
6091
|
};
|
|
5998
6092
|
source?: {
|
|
5999
6093
|
is?: "admin_console" | "api" | "scheduled_job" | "hosted_page" | "portal" | "system" | "none" | "js_api" | "migration" | "bulk_operation" | "external_service";
|
|
@@ -6041,6 +6135,9 @@ export interface ListFeaturesParams {
|
|
|
6041
6135
|
in?: "switch" | "custom" | "quantity" | "range";
|
|
6042
6136
|
not_in?: "switch" | "custom" | "quantity" | "range";
|
|
6043
6137
|
};
|
|
6138
|
+
metered?: {
|
|
6139
|
+
is?: "true" | "false";
|
|
6140
|
+
};
|
|
6044
6141
|
}
|
|
6045
6142
|
export interface ListGiftsParams {
|
|
6046
6143
|
limit?: number;
|
|
@@ -6080,6 +6177,9 @@ export interface ListGrantBlocksParams {
|
|
|
6080
6177
|
unit_id?: {
|
|
6081
6178
|
is?: string;
|
|
6082
6179
|
};
|
|
6180
|
+
account_type?: {
|
|
6181
|
+
is?: "provisioned" | "overdraft";
|
|
6182
|
+
};
|
|
6083
6183
|
effective_from?: {
|
|
6084
6184
|
after?: string;
|
|
6085
6185
|
before?: string;
|
|
@@ -6278,9 +6378,6 @@ export interface ListInvoicesParams {
|
|
|
6278
6378
|
asc?: "date" | "updated_at";
|
|
6279
6379
|
desc?: "date" | "updated_at";
|
|
6280
6380
|
};
|
|
6281
|
-
exclude?: {
|
|
6282
|
-
in?: string;
|
|
6283
|
-
};
|
|
6284
6381
|
einvoice?: {
|
|
6285
6382
|
status?: {
|
|
6286
6383
|
is?: "scheduled" | "skipped" | "in_progress" | "success" | "failed" | "registered" | "accepted" | "rejected" | "message_acknowledgement" | "in_process" | "under_query" | "conditionally_accepted" | "paid";
|
|
@@ -6618,12 +6715,16 @@ export interface ListOmnichannelSubscriptionsParams {
|
|
|
6618
6715
|
not_in?: string;
|
|
6619
6716
|
};
|
|
6620
6717
|
updated_at?: {
|
|
6621
|
-
|
|
6718
|
+
between?: string;
|
|
6622
6719
|
after?: string;
|
|
6720
|
+
before?: string;
|
|
6721
|
+
on?: string;
|
|
6623
6722
|
};
|
|
6624
6723
|
purchased_at?: {
|
|
6625
|
-
|
|
6724
|
+
between?: string;
|
|
6626
6725
|
after?: string;
|
|
6726
|
+
before?: string;
|
|
6727
|
+
on?: string;
|
|
6627
6728
|
};
|
|
6628
6729
|
sort_by?: {
|
|
6629
6730
|
asc?: "created_at" | "updated_at";
|
|
@@ -6765,10 +6866,10 @@ export interface ListPaymentSourcesParams {
|
|
|
6765
6866
|
not_in?: string;
|
|
6766
6867
|
};
|
|
6767
6868
|
type?: {
|
|
6768
|
-
is?: "card" | "paypal_express_checkout" | "amazon_payments" | "direct_debit" | "generic" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "upi" | "netbanking_emandates" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
6769
|
-
is_not?: "card" | "paypal_express_checkout" | "amazon_payments" | "direct_debit" | "generic" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "upi" | "netbanking_emandates" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
6770
|
-
in?: "card" | "paypal_express_checkout" | "amazon_payments" | "direct_debit" | "generic" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "upi" | "netbanking_emandates" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
6771
|
-
not_in?: "card" | "paypal_express_checkout" | "amazon_payments" | "direct_debit" | "generic" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "upi" | "netbanking_emandates" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
6869
|
+
is?: "card" | "paypal_express_checkout" | "amazon_payments" | "direct_debit" | "generic" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "upi" | "netbanking_emandates" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
6870
|
+
is_not?: "card" | "paypal_express_checkout" | "amazon_payments" | "direct_debit" | "generic" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "upi" | "netbanking_emandates" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
6871
|
+
in?: "card" | "paypal_express_checkout" | "amazon_payments" | "direct_debit" | "generic" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "upi" | "netbanking_emandates" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
6872
|
+
not_in?: "card" | "paypal_express_checkout" | "amazon_payments" | "direct_debit" | "generic" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "upi" | "netbanking_emandates" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
6772
6873
|
};
|
|
6773
6874
|
status?: {
|
|
6774
6875
|
is?: "valid" | "expiring" | "expired" | "invalid" | "pending_verification";
|
|
@@ -7129,6 +7230,9 @@ export interface ListSubscriptionsParams {
|
|
|
7129
7230
|
in?: "web" | "app_store" | "play_store";
|
|
7130
7231
|
not_in?: "web" | "app_store" | "play_store";
|
|
7131
7232
|
};
|
|
7233
|
+
decommissioned?: {
|
|
7234
|
+
is?: "true" | "false";
|
|
7235
|
+
};
|
|
7132
7236
|
}
|
|
7133
7237
|
export interface ListTheBusinessEntityTransfersParams {
|
|
7134
7238
|
limit?: number;
|
|
@@ -7189,10 +7293,10 @@ export interface ListTransactionsParams {
|
|
|
7189
7293
|
not_in?: string;
|
|
7190
7294
|
};
|
|
7191
7295
|
payment_method?: {
|
|
7192
|
-
is?: "card" | "cash" | "check" | "chargeback" | "bank_transfer" | "amazon_payments" | "paypal_express_checkout" | "direct_debit" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ach_credit" | "sepa_credit" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "other" | "upi" | "netbanking_emandates" | "custom" | "boleto" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "pix" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
7193
|
-
is_not?: "card" | "cash" | "check" | "chargeback" | "bank_transfer" | "amazon_payments" | "paypal_express_checkout" | "direct_debit" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ach_credit" | "sepa_credit" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "other" | "upi" | "netbanking_emandates" | "custom" | "boleto" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "pix" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
7194
|
-
in?: "card" | "cash" | "check" | "chargeback" | "bank_transfer" | "amazon_payments" | "paypal_express_checkout" | "direct_debit" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ach_credit" | "sepa_credit" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "other" | "upi" | "netbanking_emandates" | "custom" | "boleto" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "pix" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
7195
|
-
not_in?: "card" | "cash" | "check" | "chargeback" | "bank_transfer" | "amazon_payments" | "paypal_express_checkout" | "direct_debit" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ach_credit" | "sepa_credit" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "other" | "upi" | "netbanking_emandates" | "custom" | "boleto" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "pix" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
7296
|
+
is?: "card" | "cash" | "check" | "chargeback" | "bank_transfer" | "amazon_payments" | "paypal_express_checkout" | "direct_debit" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ach_credit" | "sepa_credit" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "other" | "upi" | "netbanking_emandates" | "custom" | "boleto" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "pix" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
7297
|
+
is_not?: "card" | "cash" | "check" | "chargeback" | "bank_transfer" | "amazon_payments" | "paypal_express_checkout" | "direct_debit" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ach_credit" | "sepa_credit" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "other" | "upi" | "netbanking_emandates" | "custom" | "boleto" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "pix" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
7298
|
+
in?: "card" | "cash" | "check" | "chargeback" | "bank_transfer" | "amazon_payments" | "paypal_express_checkout" | "direct_debit" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ach_credit" | "sepa_credit" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "other" | "upi" | "netbanking_emandates" | "custom" | "boleto" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "pix" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
7299
|
+
not_in?: "card" | "cash" | "check" | "chargeback" | "bank_transfer" | "amazon_payments" | "paypal_express_checkout" | "direct_debit" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ach_credit" | "sepa_credit" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "other" | "upi" | "netbanking_emandates" | "custom" | "boleto" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "pix" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
7196
7300
|
};
|
|
7197
7301
|
gateway?: {
|
|
7198
7302
|
is?: "chargebee" | "chargebee_payments" | "adyen" | "stripe" | "wepay" | "braintree" | "authorize_net" | "paypal_pro" | "pin" | "eway" | "eway_rapid" | "worldpay" | "balanced_payments" | "beanstream" | "bluepay" | "elavon" | "first_data_global" | "hdfc" | "migs" | "nmi" | "ogone" | "paymill" | "paypal_payflow_pro" | "sage_pay" | "tco" | "wirecard" | "amazon_payments" | "paypal_express_checkout" | "gocardless" | "orbital" | "moneris_us" | "moneris" | "bluesnap" | "cybersource" | "vantiv" | "checkout_com" | "paypal" | "ingenico_direct" | "exact" | "mollie" | "quickbooks" | "razorpay" | "global_payments" | "bank_of_america" | "ecentric" | "metrics_global" | "windcave" | "pay_com" | "ebanx" | "dlocal" | "nuvei" | "solidgate" | "paystack" | "jp_morgan" | "deutsche_bank" | "ezidebit" | "twikey" | "tempus" | "moyasar" | "payway" | "not_applicable";
|
|
@@ -7422,7 +7526,6 @@ export interface NotifyAnEventParams {
|
|
|
7422
7526
|
export interface OverrideBillingProfileParams {
|
|
7423
7527
|
payment_source_id?: string;
|
|
7424
7528
|
auto_collection?: "on" | "off";
|
|
7425
|
-
payment_intent_id?: string;
|
|
7426
7529
|
}
|
|
7427
7530
|
export interface PauseASubscriptionParams {
|
|
7428
7531
|
pause_option?: "immediately" | "end_of_term" | "specific_date" | "billing_cycles";
|
|
@@ -7484,7 +7587,7 @@ export interface ReactivateASubscriptionParams {
|
|
|
7484
7587
|
id?: string;
|
|
7485
7588
|
gateway_account_id?: string;
|
|
7486
7589
|
gw_token?: string;
|
|
7487
|
-
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
7590
|
+
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
7488
7591
|
reference_id?: string;
|
|
7489
7592
|
additional_information?: Record<string, unknown>;
|
|
7490
7593
|
};
|
|
@@ -7498,6 +7601,9 @@ export interface RecordAPurchaseParams {
|
|
|
7498
7601
|
app_id?: string;
|
|
7499
7602
|
customer?: {
|
|
7500
7603
|
id?: string;
|
|
7604
|
+
email?: string;
|
|
7605
|
+
first_name?: string;
|
|
7606
|
+
last_name?: string;
|
|
7501
7607
|
};
|
|
7502
7608
|
apple_app_store?: {
|
|
7503
7609
|
transaction_id?: string;
|
|
@@ -7520,7 +7626,7 @@ export interface RecordAnExcessPaymentForACustomerParams {
|
|
|
7520
7626
|
amount?: number;
|
|
7521
7627
|
currency_code?: string;
|
|
7522
7628
|
date?: number;
|
|
7523
|
-
payment_method?: "cash" | "check" | "bank_transfer" | "other" | "custom";
|
|
7629
|
+
payment_method?: "cash" | "check" | "bank_transfer" | "other" | "custom" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
7524
7630
|
reference_number?: string;
|
|
7525
7631
|
custom_payment_method_id?: string;
|
|
7526
7632
|
};
|
|
@@ -7529,7 +7635,7 @@ export interface RecordAnInvoicePaymentParams {
|
|
|
7529
7635
|
comment?: string;
|
|
7530
7636
|
transaction?: {
|
|
7531
7637
|
amount?: number;
|
|
7532
|
-
payment_method?: "cash" | "check" | "bank_transfer" | "other" | "custom";
|
|
7638
|
+
payment_method?: "cash" | "check" | "bank_transfer" | "other" | "custom" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
7533
7639
|
reference_number?: string;
|
|
7534
7640
|
custom_payment_method_id?: string;
|
|
7535
7641
|
id_at_gateway?: string;
|
|
@@ -7541,7 +7647,7 @@ export interface RecordAnInvoicePaymentParams {
|
|
|
7541
7647
|
}
|
|
7542
7648
|
export interface RecordAnOfflineRefundParams {
|
|
7543
7649
|
amount?: number;
|
|
7544
|
-
payment_method?: "cash" | "check" | "chargeback" | "bank_transfer" | "other" | "custom";
|
|
7650
|
+
payment_method?: "cash" | "check" | "chargeback" | "bank_transfer" | "other" | "custom" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
7545
7651
|
date?: number;
|
|
7546
7652
|
reference_number?: string;
|
|
7547
7653
|
custom_payment_method_id?: string;
|
|
@@ -7553,7 +7659,7 @@ export interface RecordRefundForACreditNoteParams {
|
|
|
7553
7659
|
transaction?: {
|
|
7554
7660
|
id?: string;
|
|
7555
7661
|
amount?: number;
|
|
7556
|
-
payment_method?: "cash" | "check" | "chargeback" | "bank_transfer" | "other" | "custom";
|
|
7662
|
+
payment_method?: "cash" | "check" | "chargeback" | "bank_transfer" | "other" | "custom" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
7557
7663
|
reference_number?: string;
|
|
7558
7664
|
custom_payment_method_id?: string;
|
|
7559
7665
|
date?: number;
|
|
@@ -7564,7 +7670,7 @@ export interface RecordRefundForAnInvoiceParams {
|
|
|
7564
7670
|
customer_notes?: string;
|
|
7565
7671
|
transaction?: {
|
|
7566
7672
|
amount?: number;
|
|
7567
|
-
payment_method?: "cash" | "check" | "chargeback" | "bank_transfer" | "other" | "custom";
|
|
7673
|
+
payment_method?: "cash" | "check" | "chargeback" | "bank_transfer" | "other" | "custom" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
7568
7674
|
reference_number?: string;
|
|
7569
7675
|
custom_payment_method_id?: string;
|
|
7570
7676
|
date?: number;
|
|
@@ -7665,11 +7771,6 @@ export interface ResendAnOrderParams {
|
|
|
7665
7771
|
fulfillment_quantity?: (number)[];
|
|
7666
7772
|
};
|
|
7667
7773
|
}
|
|
7668
|
-
export interface ResendFailedEinvoiceInInvoicesParams {
|
|
7669
|
-
response_document_type?: "application_response";
|
|
7670
|
-
response_status?: "accepted" | "rejected" | "message_acknowledgement" | "in_process" | "under_query" | "conditionally_accepted" | "paid";
|
|
7671
|
-
response_message?: string;
|
|
7672
|
-
}
|
|
7673
7774
|
export interface ResumeASubscriptionParams {
|
|
7674
7775
|
resume_option?: "immediately" | "specific_date";
|
|
7675
7776
|
resume_date?: number;
|
|
@@ -7680,7 +7781,7 @@ export interface ResumeASubscriptionParams {
|
|
|
7680
7781
|
id?: string;
|
|
7681
7782
|
gateway_account_id?: string;
|
|
7682
7783
|
gw_token?: string;
|
|
7683
|
-
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
7784
|
+
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
7684
7785
|
reference_id?: string;
|
|
7685
7786
|
additional_information?: Record<string, unknown>;
|
|
7686
7787
|
};
|
|
@@ -7758,11 +7859,6 @@ export interface RetrieveUsagesForAnInvoiceAsPdfParams {
|
|
|
7758
7859
|
id?: string;
|
|
7759
7860
|
};
|
|
7760
7861
|
}
|
|
7761
|
-
export interface SendAnEinvoiceForInvoicesParams {
|
|
7762
|
-
response_document_type?: "application_response";
|
|
7763
|
-
response_status?: "accepted" | "rejected" | "message_acknowledgement" | "in_process" | "under_query" | "conditionally_accepted" | "paid";
|
|
7764
|
-
response_message?: string;
|
|
7765
|
-
}
|
|
7766
7862
|
export interface SetPromotionalCreditsParams {
|
|
7767
7863
|
customer_id?: string;
|
|
7768
7864
|
amount?: number;
|
|
@@ -7872,6 +7968,10 @@ export interface UpdateACouponSetParams {
|
|
|
7872
7968
|
name?: string;
|
|
7873
7969
|
meta_data?: Record<string, unknown>;
|
|
7874
7970
|
}
|
|
7971
|
+
export interface UpdateACreditUnitParams {
|
|
7972
|
+
name?: string;
|
|
7973
|
+
external_name?: string;
|
|
7974
|
+
}
|
|
7875
7975
|
export interface UpdateACurrencyParams {
|
|
7876
7976
|
forex_type?: "manual" | "auto";
|
|
7877
7977
|
manual_exchange_rate?: string;
|
|
@@ -7950,7 +8050,7 @@ export interface UpdateAPaymentIntentParams {
|
|
|
7950
8050
|
amount?: number;
|
|
7951
8051
|
currency_code?: string;
|
|
7952
8052
|
gateway_account_id?: string;
|
|
7953
|
-
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
8053
|
+
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
7954
8054
|
success_url?: string;
|
|
7955
8055
|
failure_url?: string;
|
|
7956
8056
|
}
|
|
@@ -8020,6 +8120,7 @@ export interface UpdateASubscriptionRampParams {
|
|
|
8020
8120
|
duration_type?: ("one_time" | "forever" | "limited_period")[];
|
|
8021
8121
|
percentage?: (number)[];
|
|
8022
8122
|
amount?: (number)[];
|
|
8123
|
+
quantity?: (number)[];
|
|
8023
8124
|
period?: (number)[];
|
|
8024
8125
|
period_unit?: ("day" | "week" | "month" | "year")[];
|
|
8025
8126
|
included_in_mrr?: (boolean)[];
|
|
@@ -8035,7 +8136,7 @@ export interface UpdateAWebhookEndpointParams {
|
|
|
8035
8136
|
basic_auth_password?: string;
|
|
8036
8137
|
basic_auth_username?: string;
|
|
8037
8138
|
disabled?: boolean;
|
|
8038
|
-
enabled_events?: ("coupon_created" | "coupon_updated" | "coupon_deleted" | "coupon_set_created" | "coupon_set_updated" | "coupon_set_deleted" | "coupon_codes_added" | "coupon_codes_deleted" | "coupon_codes_updated" | "customer_created" | "customer_changed" | "customer_deleted" | "customer_moved_out" | "customer_moved_in" | "promotional_credits_added" | "promotional_credits_deducted" | "subscription_created" | "subscription_created_with_backdating" | "subscription_started" | "subscription_trial_end_reminder" | "subscription_activated" | "subscription_activated_with_backdating" | "subscription_changed" | "subscription_trial_extended" | "mrr_updated" | "subscription_changed_with_backdating" | "subscription_cancellation_scheduled" | "subscription_cancellation_reminder" | "subscription_cancelled" | "subscription_canceled_with_backdating" | "subscription_reactivated" | "subscription_reactivated_with_backdating" | "subscription_renewed" | "subscription_items_renewed" | "subscription_scheduled_cancellation_removed" | "subscription_changes_scheduled" | "subscription_scheduled_changes_removed" | "subscription_shipping_address_updated" | "subscription_deleted" | "subscription_paused" | "subscription_pause_scheduled" | "subscription_scheduled_pause_removed" | "subscription_resumed" | "subscription_resumption_scheduled" | "subscription_scheduled_resumption_removed" | "subscription_advance_invoice_schedule_added" | "subscription_advance_invoice_schedule_updated" | "subscription_advance_invoice_schedule_removed" | "pending_invoice_created" | "pending_invoice_updated" | "invoice_generated" | "invoice_generated_with_backdating" | "invoice_updated" | "invoice_deleted" | "credit_note_created" | "credit_note_created_with_backdating" | "credit_note_updated" | "credit_note_deleted" | "payment_schedules_created" | "payment_schedules_updated" | "payment_schedule_scheme_created" | "payment_schedule_scheme_deleted" | "subscription_renewal_reminder" | "add_usages_reminder" | "payment_due_reminder" | "transaction_created" | "transaction_updated" | "transaction_deleted" | "payment_succeeded" | "payment_failed" | "dunning_updated" | "payment_refunded" | "payment_initiated" | "refund_initiated" | "authorization_succeeded" | "authorization_voided" | "card_added" | "card_updated" | "card_expiry_reminder" | "card_expired" | "card_deleted" | "payment_source_added" | "payment_source_updated" | "payment_source_deleted" | "payment_source_expiring" | "payment_source_expired" | "payment_source_locally_deleted" | "virtual_bank_account_added" | "virtual_bank_account_updated" | "virtual_bank_account_deleted" | "token_created" | "token_consumed" | "token_expired" | "unbilled_charges_created" | "unbilled_charges_voided" | "unbilled_charges_deleted" | "unbilled_charges_invoiced" | "order_created" | "order_updated" | "order_cancelled" | "order_delivered" | "order_returned" | "order_ready_to_process" | "order_ready_to_ship" | "order_deleted" | "order_resent" | "quote_created" | "quote_updated" | "quote_deleted" | "tax_withheld_recorded" | "tax_withheld_deleted" | "tax_withheld_refunded" | "gift_scheduled" | "gift_unclaimed" | "gift_claimed" | "gift_expired" | "gift_cancelled" | "gift_updated" | "hierarchy_created" | "hierarchy_deleted" | "payment_intent_created" | "payment_intent_updated" | "contract_term_created" | "contract_term_renewed" | "contract_term_terminated" | "contract_term_completed" | "contract_term_cancelled" | "item_family_created" | "item_family_updated" | "item_family_deleted" | "item_created" | "item_updated" | "item_deleted" | "item_price_created" | "item_price_updated" | "item_price_deleted" | "attached_item_created" | "attached_item_updated" | "attached_item_deleted" | "differential_price_created" | "differential_price_updated" | "differential_price_deleted" | "feature_created" | "feature_updated" | "feature_deleted" | "feature_activated" | "feature_reactivated" | "feature_archived" | "item_entitlements_updated" | "entitlement_overrides_updated" | "entitlement_overrides_removed" | "item_entitlements_removed" | "entitlement_overrides_auto_removed" | "subscription_entitlements_created" | "subscription_entitlements_updated" | "business_entity_created" | "business_entity_updated" | "business_entity_deleted" | "customer_business_entity_changed" | "subscription_business_entity_changed" | "purchase_created" | "voucher_created" | "voucher_expired" | "voucher_create_failed" | "item_price_entitlements_updated" | "item_price_entitlements_removed" | "subscription_ramp_created" | "subscription_ramp_deleted" | "subscription_ramp_applied" | "subscription_ramp_drafted" | "subscription_ramp_updated" | "price_variant_created" | "price_variant_updated" | "price_variant_deleted" | "customer_entitlements_updated" | "subscription_moved_in" | "subscription_moved_out" | "subscription_movement_failed" | "omnichannel_subscription_created" | "omnichannel_subscription_item_renewed" | "omnichannel_subscription_item_downgraded" | "omnichannel_subscription_item_expired" | "omnichannel_subscription_item_cancellation_scheduled" | "omnichannel_subscription_item_scheduled_cancellation_removed" | "omnichannel_subscription_item_resubscribed" | "omnichannel_subscription_item_upgraded" | "omnichannel_subscription_item_cancelled" | "omnichannel_subscription_imported" | "omnichannel_subscription_item_grace_period_started" | "omnichannel_subscription_item_grace_period_expired" | "omnichannel_subscription_item_dunning_started" | "omnichannel_subscription_item_dunning_expired" | "rule_created" | "rule_updated" | "rule_deleted" | "record_purchase_failed" | "omnichannel_subscription_item_change_scheduled" | "omnichannel_subscription_item_scheduled_change_removed" | "omnichannel_subscription_item_reactivated" | "sales_order_created" | "sales_order_updated" | "omnichannel_subscription_item_changed" | "omnichannel_subscription_item_paused" | "omnichannel_subscription_item_resumed" | "omnichannel_one_time_order_created" | "omnichannel_one_time_order_item_cancelled" | "usage_file_ingested" | "omnichannel_subscription_item_pause_scheduled" | "omnichannel_subscription_moved_in" | "omnichannel_transaction_created" | "alert_status_changed" | "omnichannel_subscription_item_updated" | "omnichannel_subscription_item_recovered")[];
|
|
8139
|
+
enabled_events?: ("coupon_created" | "coupon_updated" | "coupon_deleted" | "coupon_set_created" | "coupon_set_updated" | "coupon_set_deleted" | "coupon_codes_added" | "coupon_codes_deleted" | "coupon_codes_updated" | "customer_created" | "customer_changed" | "customer_deleted" | "customer_moved_out" | "customer_moved_in" | "promotional_credits_added" | "promotional_credits_deducted" | "subscription_created" | "subscription_created_with_backdating" | "subscription_started" | "subscription_trial_end_reminder" | "subscription_activated" | "subscription_activated_with_backdating" | "subscription_changed" | "subscription_trial_extended" | "mrr_updated" | "subscription_changed_with_backdating" | "subscription_cancellation_scheduled" | "subscription_cancellation_reminder" | "subscription_cancelled" | "subscription_canceled_with_backdating" | "subscription_reactivated" | "subscription_reactivated_with_backdating" | "subscription_renewed" | "subscription_items_renewed" | "subscription_scheduled_cancellation_removed" | "subscription_changes_scheduled" | "subscription_scheduled_changes_removed" | "subscription_shipping_address_updated" | "subscription_deleted" | "subscription_paused" | "subscription_pause_scheduled" | "subscription_scheduled_pause_removed" | "subscription_resumed" | "subscription_resumption_scheduled" | "subscription_scheduled_resumption_removed" | "subscription_advance_invoice_schedule_added" | "subscription_advance_invoice_schedule_updated" | "subscription_advance_invoice_schedule_removed" | "pending_invoice_created" | "pending_invoice_updated" | "invoice_generated" | "invoice_generated_with_backdating" | "invoice_updated" | "invoice_deleted" | "credit_note_created" | "credit_note_created_with_backdating" | "credit_note_updated" | "credit_note_deleted" | "payment_schedules_created" | "payment_schedules_updated" | "payment_schedule_scheme_created" | "payment_schedule_scheme_deleted" | "subscription_renewal_reminder" | "add_usages_reminder" | "payment_due_reminder" | "transaction_created" | "transaction_updated" | "transaction_deleted" | "payment_succeeded" | "payment_failed" | "dunning_updated" | "payment_refunded" | "payment_initiated" | "refund_initiated" | "authorization_succeeded" | "authorization_voided" | "card_added" | "card_updated" | "card_expiry_reminder" | "card_expired" | "card_deleted" | "payment_source_added" | "payment_source_updated" | "payment_source_deleted" | "payment_source_expiring" | "payment_source_expired" | "payment_source_locally_deleted" | "virtual_bank_account_added" | "virtual_bank_account_updated" | "virtual_bank_account_deleted" | "token_created" | "token_consumed" | "token_expired" | "unbilled_charges_created" | "unbilled_charges_voided" | "unbilled_charges_deleted" | "unbilled_charges_invoiced" | "order_created" | "order_updated" | "order_cancelled" | "order_delivered" | "order_returned" | "order_ready_to_process" | "order_ready_to_ship" | "order_deleted" | "order_resent" | "quote_created" | "quote_updated" | "quote_deleted" | "tax_withheld_recorded" | "tax_withheld_deleted" | "tax_withheld_refunded" | "gift_scheduled" | "gift_unclaimed" | "gift_claimed" | "gift_expired" | "gift_cancelled" | "gift_updated" | "hierarchy_created" | "hierarchy_deleted" | "payment_intent_created" | "payment_intent_updated" | "contract_term_created" | "contract_term_renewed" | "contract_term_terminated" | "contract_term_completed" | "contract_term_cancelled" | "item_family_created" | "item_family_updated" | "item_family_deleted" | "item_created" | "item_updated" | "item_deleted" | "item_price_created" | "item_price_updated" | "item_price_deleted" | "attached_item_created" | "attached_item_updated" | "attached_item_deleted" | "differential_price_created" | "differential_price_updated" | "differential_price_deleted" | "feature_created" | "feature_updated" | "feature_deleted" | "feature_activated" | "feature_reactivated" | "feature_archived" | "item_entitlements_updated" | "entitlement_overrides_updated" | "entitlement_overrides_removed" | "item_entitlements_removed" | "entitlement_overrides_auto_removed" | "subscription_entitlements_created" | "subscription_entitlements_updated" | "business_entity_created" | "business_entity_updated" | "business_entity_deleted" | "customer_business_entity_changed" | "subscription_business_entity_changed" | "payment_source_business_entity_changed" | "purchase_created" | "voucher_created" | "voucher_expired" | "voucher_create_failed" | "item_price_entitlements_updated" | "item_price_entitlements_removed" | "subscription_ramp_created" | "subscription_ramp_deleted" | "subscription_ramp_applied" | "subscription_ramp_drafted" | "subscription_ramp_updated" | "price_variant_created" | "price_variant_updated" | "price_variant_deleted" | "customer_entitlements_updated" | "subscription_moved_in" | "subscription_moved_out" | "subscription_movement_failed" | "omnichannel_subscription_created" | "omnichannel_subscription_item_renewed" | "omnichannel_subscription_item_downgraded" | "omnichannel_subscription_item_expired" | "omnichannel_subscription_item_cancellation_scheduled" | "omnichannel_subscription_item_scheduled_cancellation_removed" | "omnichannel_subscription_item_resubscribed" | "omnichannel_subscription_item_upgraded" | "omnichannel_subscription_item_cancelled" | "omnichannel_subscription_imported" | "omnichannel_subscription_item_grace_period_started" | "omnichannel_subscription_item_grace_period_expired" | "omnichannel_subscription_item_dunning_started" | "omnichannel_subscription_item_dunning_expired" | "rule_created" | "rule_updated" | "rule_deleted" | "record_purchase_failed" | "omnichannel_subscription_item_change_scheduled" | "omnichannel_subscription_item_scheduled_change_removed" | "omnichannel_subscription_item_reactivated" | "sales_order_created" | "sales_order_updated" | "omnichannel_subscription_item_changed" | "omnichannel_subscription_item_paused" | "omnichannel_subscription_item_resumed" | "omnichannel_one_time_order_created" | "omnichannel_one_time_order_item_cancelled" | "usage_file_ingested" | "omnichannel_subscription_item_pause_scheduled" | "omnichannel_subscription_moved_in" | "omnichannel_transaction_created" | "alert_status_changed" | "omnichannel_subscription_item_updated" | "omnichannel_subscription_item_recovered" | "omnichannel_subscription_item_mrr_updated" | "ledger_account_balance_updated" | "grant_blocks_created" | "grant_blocks_updated" | "ledger_updated" | "vault_token_created" | "vault_token_updated" | "vault_token_deleted")[];
|
|
8039
8140
|
}
|
|
8040
8141
|
export interface UpdateAnAddressParams {
|
|
8041
8142
|
subscription_id?: string;
|
|
@@ -8283,6 +8384,9 @@ export interface UpdateContactsForACustomerParams {
|
|
|
8283
8384
|
send_account_email?: boolean;
|
|
8284
8385
|
};
|
|
8285
8386
|
}
|
|
8387
|
+
export interface UpdateCreditNoteDetailsParams {
|
|
8388
|
+
comment?: string;
|
|
8389
|
+
}
|
|
8286
8390
|
export interface UpdateHierarchyAccessSettingsForACustomerParams {
|
|
8287
8391
|
use_default_hierarchy_settings?: boolean;
|
|
8288
8392
|
parent_account_access?: {
|
|
@@ -8343,7 +8447,7 @@ export interface UpdateInvoiceDetailsParams {
|
|
|
8343
8447
|
}
|
|
8344
8448
|
export interface UpdatePaymentMethodForACustomerParams {
|
|
8345
8449
|
payment_method?: {
|
|
8346
|
-
type?: "card" | "paypal_express_checkout" | "amazon_payments" | "direct_debit" | "generic" | "alipay" | "unionpay" | "wechat_pay" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "upi" | "netbanking_emandates" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
8450
|
+
type?: "card" | "paypal_express_checkout" | "amazon_payments" | "direct_debit" | "generic" | "alipay" | "unionpay" | "wechat_pay" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "upi" | "netbanking_emandates" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
8347
8451
|
gateway_account_id?: string;
|
|
8348
8452
|
reference_id?: string;
|
|
8349
8453
|
tmp_token?: string;
|
|
@@ -8409,7 +8513,7 @@ export interface UpdateSubscriptionForItemsParams {
|
|
|
8409
8513
|
additional_information?: Record<string, unknown>;
|
|
8410
8514
|
};
|
|
8411
8515
|
payment_method?: {
|
|
8412
|
-
type?: "card" | "paypal_express_checkout" | "amazon_payments" | "direct_debit" | "generic" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "upi" | "netbanking_emandates" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
8516
|
+
type?: "card" | "paypal_express_checkout" | "amazon_payments" | "direct_debit" | "generic" | "alipay" | "unionpay" | "apple_pay" | "wechat_pay" | "ideal" | "google_pay" | "sofort" | "bancontact" | "giropay" | "dotpay" | "upi" | "netbanking_emandates" | "venmo" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "automated_bank_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
8413
8517
|
gateway_account_id?: string;
|
|
8414
8518
|
reference_id?: string;
|
|
8415
8519
|
tmp_token?: string;
|
|
@@ -8420,7 +8524,7 @@ export interface UpdateSubscriptionForItemsParams {
|
|
|
8420
8524
|
id?: string;
|
|
8421
8525
|
gateway_account_id?: string;
|
|
8422
8526
|
gw_token?: string;
|
|
8423
|
-
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards";
|
|
8527
|
+
payment_method_type?: "card" | "ideal" | "sofort" | "bancontact" | "google_pay" | "dotpay" | "giropay" | "apple_pay" | "upi" | "netbanking_emandates" | "paypal_express_checkout" | "direct_debit" | "boleto" | "venmo" | "amazon_payments" | "pay_to" | "faster_payments" | "sepa_instant_transfer" | "klarna_pay_now" | "online_banking_poland" | "payconiq_by_bancontact" | "electronic_payment_standard" | "kbc_payment_button" | "pay_by_bank" | "trustly" | "stablecoin" | "kakao_pay" | "naver_pay" | "revolut_pay" | "cash_app_pay" | "wechat_pay" | "alipay" | "twint" | "go_pay" | "grab_pay" | "pay_co" | "after_pay" | "swish" | "payme" | "pix" | "klarna" | "alipay_hk" | "paypay" | "gcash" | "south_korean_cards" | "paynow" | "bizum" | "promptpay" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
8424
8528
|
reference_id?: string;
|
|
8425
8529
|
additional_information?: Record<string, unknown>;
|
|
8426
8530
|
};
|
|
@@ -8538,6 +8642,7 @@ export interface UpsertOrRemoveEntitlementsForAFeatureParams {
|
|
|
8538
8642
|
entity_type?: ("plan" | "addon" | "charge" | "plan_price" | "addon_price")[];
|
|
8539
8643
|
value?: (string)[];
|
|
8540
8644
|
apply_grandfathering?: (boolean)[];
|
|
8645
|
+
effective_on_event?: ("subscription_renewal")[];
|
|
8541
8646
|
};
|
|
8542
8647
|
}
|
|
8543
8648
|
export interface UpsertOrRemoveItemEntitlementsForAFeatureParams {
|
|
@@ -8587,6 +8692,7 @@ export interface OperationParamsMap {
|
|
|
8587
8692
|
"add_promotional_credits": AddPromotionalCreditsParams;
|
|
8588
8693
|
"add_schedule": AddScheduleParams;
|
|
8589
8694
|
"advance_invoice_estimate": AdvanceInvoiceEstimateParams;
|
|
8695
|
+
"allocate": AllocateParams;
|
|
8590
8696
|
"apply_credits_for_an_invoice": ApplyCreditsForAnInvoiceParams;
|
|
8591
8697
|
"apply_payment_schedule_scheme_to_an_invoice": ApplyPaymentScheduleSchemeToAnInvoiceParams;
|
|
8592
8698
|
"apply_payments_for_an_invoice": ApplyPaymentsForAnInvoiceParams;
|
|
@@ -8615,11 +8721,13 @@ export interface OperationParamsMap {
|
|
|
8615
8721
|
"create_a_comment": CreateACommentParams;
|
|
8616
8722
|
"create_a_coupon_for_items": CreateACouponForItemsParams;
|
|
8617
8723
|
"create_a_coupon_set": CreateACouponSetParams;
|
|
8724
|
+
"create_a_credit_unit": CreateACreditUnitParams;
|
|
8618
8725
|
"create_a_customer": CreateACustomerParams;
|
|
8619
8726
|
"create_a_differential_price": CreateADifferentialPriceParams;
|
|
8620
8727
|
"create_a_feature": CreateAFeatureParams;
|
|
8621
8728
|
"create_a_gift_subscription_for_items": CreateAGiftSubscriptionForItemsParams;
|
|
8622
8729
|
"create_a_hosted_page_to_view_boleto_vouchers": CreateAHostedPageToViewBoletoVouchersParams;
|
|
8730
|
+
"create_a_metered_feature": CreateAMeteredFeatureParams;
|
|
8623
8731
|
"create_a_payment_intent": CreateAPaymentIntentParams;
|
|
8624
8732
|
"create_a_payment_schedule_scheme": CreateAPaymentScheduleSchemeParams;
|
|
8625
8733
|
"create_a_portal_session": CreateAPortalSessionParams;
|
|
@@ -8698,6 +8806,7 @@ export interface OperationParamsMap {
|
|
|
8698
8806
|
"export_payment_source": ExportPaymentSourceParams;
|
|
8699
8807
|
"export_price_variants": ExportPriceVariantsParams;
|
|
8700
8808
|
"export_revenue_recognition_reports": ExportRevenueRecognitionReportsParams;
|
|
8809
|
+
"export_subscription_ramps": ExportSubscriptionRampsParams;
|
|
8701
8810
|
"export_subscriptions": ExportSubscriptionsParams;
|
|
8702
8811
|
"export_transactions": ExportTransactionsParams;
|
|
8703
8812
|
"extend_expiry_date": ExtendExpiryDateParams;
|
|
@@ -8718,6 +8827,7 @@ export interface OperationParamsMap {
|
|
|
8718
8827
|
"list_alert_statuses_for_a_subscription": ListAlertStatusesForASubscriptionParams;
|
|
8719
8828
|
"list_alert_statuses_for_an_alert": ListAlertStatusesForAnAlertParams;
|
|
8720
8829
|
"list_alerts": ListAlertsParams;
|
|
8830
|
+
"list_all_available_meters": ListAllAvailableMetersParams;
|
|
8721
8831
|
"list_all_entitlements": ListAllEntitlementsParams;
|
|
8722
8832
|
"list_applicable_alerts_for_a_subscription": ListApplicableAlertsForASubscriptionParams;
|
|
8723
8833
|
"list_applicable_item_prices_for_a_plan-item_price": ListApplicableItemPricesForAPlanItemPriceParams;
|
|
@@ -8729,6 +8839,7 @@ export interface OperationParamsMap {
|
|
|
8729
8839
|
"list_coupon_sets": ListCouponSetsParams;
|
|
8730
8840
|
"list_coupons": ListCouponsParams;
|
|
8731
8841
|
"list_credit_notes": ListCreditNotesParams;
|
|
8842
|
+
"list_credit_units": ListCreditUnitsParams;
|
|
8732
8843
|
"list_currencies": ListCurrenciesParams;
|
|
8733
8844
|
"list_customer_entitlements": ListCustomerEntitlementsParams;
|
|
8734
8845
|
"list_customers": ListCustomersParams;
|
|
@@ -8810,7 +8921,6 @@ export interface OperationParamsMap {
|
|
|
8810
8921
|
"remove_tax_withheld_refunds_from_a_credit_note": RemoveTaxWithheldRefundsFromACreditNoteParams;
|
|
8811
8922
|
"reopen_a_cancelled_order": ReopenACancelledOrderParams;
|
|
8812
8923
|
"resend_an_order": ResendAnOrderParams;
|
|
8813
|
-
"resend_failed_einvoice_in_invoices": ResendFailedEinvoiceInInvoicesParams;
|
|
8814
8924
|
"resume_a_subscription": ResumeASubscriptionParams;
|
|
8815
8925
|
"resume_dunning_for_invoice": ResumeDunningForInvoiceParams;
|
|
8816
8926
|
"resume_subscription_estimate": ResumeSubscriptionEstimateParams;
|
|
@@ -8829,7 +8939,6 @@ export interface OperationParamsMap {
|
|
|
8829
8939
|
"retrieve_usage_charges_for_a_subscription": RetrieveUsageChargesForASubscriptionParams;
|
|
8830
8940
|
"retrieve_usage_summary_for_a_subscription": RetrieveUsageSummaryForASubscriptionParams;
|
|
8831
8941
|
"retrieve_usages_for_an_invoice_as_pdf": RetrieveUsagesForAnInvoiceAsPdfParams;
|
|
8832
|
-
"send_an_einvoice_for_invoices": SendAnEinvoiceForInvoicesParams;
|
|
8833
8942
|
"set_promotional_credits": SetPromotionalCreditsParams;
|
|
8834
8943
|
"start_afresh": StartAfreshParams;
|
|
8835
8944
|
"stop_dunning_for_invoice": StopDunningForInvoiceParams;
|
|
@@ -8844,6 +8953,7 @@ export interface OperationParamsMap {
|
|
|
8844
8953
|
"update_a_card_payment_source": UpdateACardPaymentSourceParams;
|
|
8845
8954
|
"update_a_coupon_for_items": UpdateACouponForItemsParams;
|
|
8846
8955
|
"update_a_coupon_set": UpdateACouponSetParams;
|
|
8956
|
+
"update_a_credit_unit": UpdateACreditUnitParams;
|
|
8847
8957
|
"update_a_currency": UpdateACurrencyParams;
|
|
8848
8958
|
"update_a_customer": UpdateACustomerParams;
|
|
8849
8959
|
"update_a_differential_price": UpdateADifferentialPriceParams;
|
|
@@ -8864,6 +8974,7 @@ export interface OperationParamsMap {
|
|
|
8864
8974
|
"update_billing_info_for_a_customer": UpdateBillingInfoForACustomerParams;
|
|
8865
8975
|
"update_card_for_a_customer": UpdateCardForACustomerParams;
|
|
8866
8976
|
"update_contacts_for_a_customer": UpdateContactsForACustomerParams;
|
|
8977
|
+
"update_credit_note_details": UpdateCreditNoteDetailsParams;
|
|
8867
8978
|
"update_hierarchy_access_settings_for_a_customer": UpdateHierarchyAccessSettingsForACustomerParams;
|
|
8868
8979
|
"update_invoice_details": UpdateInvoiceDetailsParams;
|
|
8869
8980
|
"update_payment_method_for_a_customer": UpdatePaymentMethodForACustomerParams;
|