@chargebee/code-sample-generator 0.5.8 → 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-BALS6ZSS.js → LanguageSwitcher-BGbaXdWc.js} +201 -113
- package/dist/LanguageSwitcher-BGbaXdWc.js.map +1 -0
- package/dist/browser/index.d.ts +12 -0
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser.js +23 -9
- 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 +12 -0
- 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-Ckuf1a6B.js → generate-from-sample-DKnqaFrs.js} +5661 -2600
- package/dist/{generate-from-sample-Ckuf1a6B.js.map → generate-from-sample-DKnqaFrs.js.map} +1 -1
- package/dist/generated/ops/operation-ids.d.ts +3 -3
- package/dist/generated/ops/operation-ids.d.ts.map +1 -1
- package/dist/generated/ops/operation-params.d.ts +316 -103
- 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/index.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/{v1/update_payment_method.d.ts → v2-pcv1/list_grant_blocks.d.ts} +1 -1
- package/dist/generated/ops/v2-pcv1/list_grant_blocks.d.ts.map +1 -0
- package/dist/generated/ops/v2-pcv1/list_hosted_pages.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-pcv1/update_payment_method.d.ts → v2-pcv2/allocate.d.ts} +1 -1
- package/dist/generated/ops/v2-pcv2/allocate.d.ts.map +1 -0
- package/dist/generated/ops/v2-pcv2/{update_payment_method.d.ts → archive_a_credit_unit.d.ts} +1 -1
- 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 +4 -0
- package/dist/generated/ops/v2-pcv2/authorize.d.ts.map +1 -0
- 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 +4 -0
- package/dist/generated/ops/v2-pcv2/capture.d.ts.map +1 -0
- package/dist/generated/ops/v2-pcv2/capture_authorization.d.ts +4 -0
- package/dist/generated/ops/v2-pcv2/capture_authorization.d.ts.map +1 -0
- 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_promotional_grant.d.ts +4 -0
- package/dist/generated/ops/v2-pcv2/create_promotional_grant.d.ts.map +1 -0
- 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 +4 -0
- package/dist/generated/ops/v2-pcv2/list_grant_blocks.d.ts.map +1 -0
- package/dist/generated/ops/v2-pcv2/list_hosted_pages.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 +4 -0
- package/dist/generated/ops/v2-pcv2/list_ledger_account_balances.d.ts.map +1 -0
- package/dist/generated/ops/v2-pcv2/list_ledger_operations.d.ts +4 -0
- package/dist/generated/ops/v2-pcv2/list_ledger_operations.d.ts.map +1 -0
- 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 +4 -0
- package/dist/generated/ops/v2-pcv2/release_authorization.d.ts.map +1 -0
- 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_ledger_operation.d.ts +4 -0
- package/dist/generated/ops/v2-pcv2/retrieve_ledger_operation.d.ts.map +1 -0
- 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/generators/java/v4.d.ts.map +1 -1
- package/dist/generators/nodejs.d.ts.map +1 -1
- package/dist/generators/php.d.ts.map +1 -1
- package/dist/generators/python.d.ts.map +1 -1
- package/dist/generators/ruby.d.ts.map +1 -1
- package/dist/generators/utils.d.ts +35 -0
- package/dist/generators/utils.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/types.d.ts +6 -0
- package/dist/types.d.ts.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-BALS6ZSS.js.map +0 -1
- package/dist/generated/ops/v1/update_payment_method.d.ts.map +0 -1
- package/dist/generated/ops/v2-pcv1/update_payment_method.d.ts.map +0 -1
- package/dist/generated/ops/v2-pcv2/update_payment_method.d.ts.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?: {
|
|
@@ -158,6 +165,15 @@ export interface AssignPaymentRoleParams {
|
|
|
158
165
|
payment_source_id?: string;
|
|
159
166
|
role?: "primary" | "backup" | "none";
|
|
160
167
|
}
|
|
168
|
+
export interface AuthorizeParams {
|
|
169
|
+
id?: string;
|
|
170
|
+
subscription_id?: string;
|
|
171
|
+
unit_id?: string;
|
|
172
|
+
amount?: string;
|
|
173
|
+
ledger_operation_timestamp?: number;
|
|
174
|
+
auto_release_timestamp?: number;
|
|
175
|
+
metadata?: Record<string, unknown>;
|
|
176
|
+
}
|
|
161
177
|
export interface CancelAnOrderParams {
|
|
162
178
|
cancellation_reason?: "shipping_cut_off_passed" | "product_unsatisfactory" | "third_party_cancellation" | "product_not_required" | "delivery_date_missed" | "alternative_found" | "invoice_written_off" | "invoice_voided" | "fraudulent_transaction" | "payment_declined" | "subscription_cancelled" | "product_not_available" | "others" | "order_resent";
|
|
163
179
|
customer_notes?: string;
|
|
@@ -177,6 +193,7 @@ export interface CancelSubscriptionForItemsParams {
|
|
|
177
193
|
refundable_credits_handling?: "no_action" | "schedule_refund";
|
|
178
194
|
contract_term_cancel_option?: "terminate_immediately" | "end_of_contract_term" | "specific_date" | "end_of_subscription_billing_term";
|
|
179
195
|
invoice_date?: number;
|
|
196
|
+
include_cancellation_day_in_billing?: boolean;
|
|
180
197
|
cancel_reason_code?: string;
|
|
181
198
|
decommissioned?: boolean;
|
|
182
199
|
subscription_items?: {
|
|
@@ -198,6 +215,7 @@ export interface CancelSubscriptionForItemsEstimateParams {
|
|
|
198
215
|
refundable_credits_handling?: "no_action" | "schedule_refund";
|
|
199
216
|
contract_term_cancel_option?: "terminate_immediately" | "end_of_contract_term" | "specific_date" | "end_of_subscription_billing_term";
|
|
200
217
|
invoice_date?: number;
|
|
218
|
+
include_cancellation_day_in_billing?: boolean;
|
|
201
219
|
cancel_reason_code?: string;
|
|
202
220
|
subscription_items?: {
|
|
203
221
|
item_price_id?: (string)[];
|
|
@@ -208,6 +226,21 @@ export interface CancelSubscriptionForItemsEstimateParams {
|
|
|
208
226
|
service_period_days?: (number)[];
|
|
209
227
|
};
|
|
210
228
|
}
|
|
229
|
+
export interface CaptureParams {
|
|
230
|
+
id?: string;
|
|
231
|
+
subscription_id?: string;
|
|
232
|
+
unit_id?: string;
|
|
233
|
+
amount?: string;
|
|
234
|
+
ledger_operation_timestamp?: number;
|
|
235
|
+
metadata?: Record<string, unknown>;
|
|
236
|
+
}
|
|
237
|
+
export interface CaptureAuthorizationParams {
|
|
238
|
+
authorization_id?: string;
|
|
239
|
+
id?: string;
|
|
240
|
+
amount?: string;
|
|
241
|
+
ledger_operation_timestamp?: number;
|
|
242
|
+
metadata?: Record<string, unknown>;
|
|
243
|
+
}
|
|
211
244
|
export interface ChangeBillingDateParams {
|
|
212
245
|
billing_date?: number;
|
|
213
246
|
billing_month?: number;
|
|
@@ -378,7 +411,6 @@ export interface CheckoutGiftSubscriptionForItemsParams {
|
|
|
378
411
|
};
|
|
379
412
|
}
|
|
380
413
|
export interface ClaimAGiftSubscriptionParams {
|
|
381
|
-
layout?: "in_app" | "full_page";
|
|
382
414
|
redirect_url?: string;
|
|
383
415
|
gift?: {
|
|
384
416
|
id?: string;
|
|
@@ -423,7 +455,7 @@ export interface CollectPaymentForCustomerParams {
|
|
|
423
455
|
retain_payment_source?: boolean;
|
|
424
456
|
payment_initiator?: "customer" | "merchant";
|
|
425
457
|
payment_method?: {
|
|
426
|
-
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";
|
|
427
459
|
gateway_account_id?: string;
|
|
428
460
|
reference_id?: string;
|
|
429
461
|
tmp_token?: string;
|
|
@@ -451,7 +483,7 @@ export interface CollectPaymentForCustomerParams {
|
|
|
451
483
|
id?: string;
|
|
452
484
|
gateway_account_id?: string;
|
|
453
485
|
gw_token?: string;
|
|
454
|
-
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";
|
|
455
487
|
reference_id?: string;
|
|
456
488
|
additional_information?: Record<string, unknown>;
|
|
457
489
|
};
|
|
@@ -576,6 +608,13 @@ export interface CreateACouponSetParams {
|
|
|
576
608
|
id?: string;
|
|
577
609
|
meta_data?: Record<string, unknown>;
|
|
578
610
|
}
|
|
611
|
+
export interface CreateACreditUnitParams {
|
|
612
|
+
id?: string;
|
|
613
|
+
name?: string;
|
|
614
|
+
is_unlimited?: boolean;
|
|
615
|
+
overdraft_amount?: string;
|
|
616
|
+
external_name?: string;
|
|
617
|
+
}
|
|
579
618
|
export interface CreateACustomerParams {
|
|
580
619
|
id?: string;
|
|
581
620
|
first_name?: string;
|
|
@@ -648,7 +687,7 @@ export interface CreateACustomerParams {
|
|
|
648
687
|
billing_address?: Record<string, unknown>;
|
|
649
688
|
};
|
|
650
689
|
payment_method?: {
|
|
651
|
-
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";
|
|
652
691
|
gateway_account_id?: string;
|
|
653
692
|
reference_id?: string;
|
|
654
693
|
tmp_token?: string;
|
|
@@ -659,7 +698,7 @@ export interface CreateACustomerParams {
|
|
|
659
698
|
id?: string;
|
|
660
699
|
gateway_account_id?: string;
|
|
661
700
|
gw_token?: string;
|
|
662
|
-
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";
|
|
663
702
|
reference_id?: string;
|
|
664
703
|
additional_information?: Record<string, unknown>;
|
|
665
704
|
};
|
|
@@ -748,7 +787,7 @@ export interface CreateAGiftSubscriptionForItemsParams {
|
|
|
748
787
|
id?: string;
|
|
749
788
|
gateway_account_id?: string;
|
|
750
789
|
gw_token?: string;
|
|
751
|
-
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";
|
|
752
791
|
reference_id?: string;
|
|
753
792
|
additional_information?: Record<string, unknown>;
|
|
754
793
|
};
|
|
@@ -793,6 +832,16 @@ export interface CreateAHostedPageToViewBoletoVouchersParams {
|
|
|
793
832
|
locale?: string;
|
|
794
833
|
};
|
|
795
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
|
+
}
|
|
796
845
|
export interface CreateAPaymentIntentParams {
|
|
797
846
|
business_entity_id?: string;
|
|
798
847
|
customer_id?: string;
|
|
@@ -801,7 +850,7 @@ export interface CreateAPaymentIntentParams {
|
|
|
801
850
|
gateway_account_id?: string;
|
|
802
851
|
reference_id?: string;
|
|
803
852
|
defer_payment_method_type?: boolean;
|
|
804
|
-
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";
|
|
805
854
|
success_url?: string;
|
|
806
855
|
failure_url?: string;
|
|
807
856
|
}
|
|
@@ -861,7 +910,7 @@ export interface CreateAPurchaseParams {
|
|
|
861
910
|
id?: string;
|
|
862
911
|
gateway_account_id?: string;
|
|
863
912
|
gw_token?: string;
|
|
864
|
-
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";
|
|
865
914
|
reference_id?: string;
|
|
866
915
|
additional_information?: Record<string, unknown>;
|
|
867
916
|
};
|
|
@@ -991,6 +1040,7 @@ export interface CreateAQuoteForANewSubscriptionItemsParams {
|
|
|
991
1040
|
charge_on_option?: ("immediately" | "on_event")[];
|
|
992
1041
|
start_date?: (number)[];
|
|
993
1042
|
end_date?: (number)[];
|
|
1043
|
+
description?: (string)[];
|
|
994
1044
|
ramp_tier_id?: (string)[];
|
|
995
1045
|
};
|
|
996
1046
|
discounts?: {
|
|
@@ -1189,6 +1239,7 @@ export interface CreateAQuoteForUpdateSubscriptionItemsParams {
|
|
|
1189
1239
|
charge_on_option?: ("immediately" | "on_event")[];
|
|
1190
1240
|
start_date?: (number)[];
|
|
1191
1241
|
end_date?: (number)[];
|
|
1242
|
+
description?: (string)[];
|
|
1192
1243
|
ramp_tier_id?: (string)[];
|
|
1193
1244
|
};
|
|
1194
1245
|
discounts?: {
|
|
@@ -1279,6 +1330,7 @@ export interface CreateARampParams {
|
|
|
1279
1330
|
duration_type?: ("one_time" | "forever" | "limited_period")[];
|
|
1280
1331
|
percentage?: (number)[];
|
|
1281
1332
|
amount?: (number)[];
|
|
1333
|
+
quantity?: (number)[];
|
|
1282
1334
|
period?: (number)[];
|
|
1283
1335
|
period_unit?: ("day" | "week" | "month" | "year")[];
|
|
1284
1336
|
included_in_mrr?: (boolean)[];
|
|
@@ -1347,13 +1399,15 @@ export interface CreateAWebhookEndpointParams {
|
|
|
1347
1399
|
basic_auth_username?: string;
|
|
1348
1400
|
send_card_resource?: boolean;
|
|
1349
1401
|
chargebee_response_schema_type?: "plans_addons" | "items" | "compat";
|
|
1350
|
-
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")[];
|
|
1351
1403
|
}
|
|
1352
1404
|
export interface CreateAnAlertParams {
|
|
1353
|
-
type?: "usage_exceeded";
|
|
1405
|
+
type?: "usage_exceeded" | "spend_exceeded" | "credit_balance_dropped";
|
|
1354
1406
|
name?: string;
|
|
1355
1407
|
description?: string;
|
|
1356
1408
|
metered_feature_id?: string;
|
|
1409
|
+
currency_code?: string;
|
|
1410
|
+
unit_id?: string;
|
|
1357
1411
|
subscription_id?: string;
|
|
1358
1412
|
meta?: string;
|
|
1359
1413
|
threshold?: {
|
|
@@ -1756,6 +1810,7 @@ export interface CreateInvoiceForItemsAndOneTimeChargesParams {
|
|
|
1756
1810
|
auto_collection?: "on" | "off";
|
|
1757
1811
|
net_term_days?: number;
|
|
1758
1812
|
invoice_date?: number;
|
|
1813
|
+
create_pending_invoice?: boolean;
|
|
1759
1814
|
token_id?: string;
|
|
1760
1815
|
replace_primary_payment_source?: boolean;
|
|
1761
1816
|
retain_payment_source?: boolean;
|
|
@@ -1817,7 +1872,7 @@ export interface CreateInvoiceForItemsAndOneTimeChargesParams {
|
|
|
1817
1872
|
billing_address?: Record<string, unknown>;
|
|
1818
1873
|
};
|
|
1819
1874
|
payment_method?: {
|
|
1820
|
-
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";
|
|
1821
1876
|
gateway_account_id?: string;
|
|
1822
1877
|
reference_id?: string;
|
|
1823
1878
|
tmp_token?: string;
|
|
@@ -1828,7 +1883,7 @@ export interface CreateInvoiceForItemsAndOneTimeChargesParams {
|
|
|
1828
1883
|
id?: string;
|
|
1829
1884
|
gateway_account_id?: string;
|
|
1830
1885
|
gw_token?: string;
|
|
1831
|
-
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";
|
|
1832
1887
|
reference_id?: string;
|
|
1833
1888
|
additional_information?: Record<string, unknown>;
|
|
1834
1889
|
};
|
|
@@ -1840,6 +1895,8 @@ export interface CreateInvoiceForItemsAndOneTimeChargesParams {
|
|
|
1840
1895
|
unit_price_in_decimal?: (string)[];
|
|
1841
1896
|
date_from?: (number)[];
|
|
1842
1897
|
date_to?: (number)[];
|
|
1898
|
+
description?: (string)[];
|
|
1899
|
+
entity_description?: (string)[];
|
|
1843
1900
|
};
|
|
1844
1901
|
item_tiers?: {
|
|
1845
1902
|
item_price_id?: (string)[];
|
|
@@ -1853,6 +1910,7 @@ export interface CreateInvoiceForItemsAndOneTimeChargesParams {
|
|
|
1853
1910
|
package_size?: (number)[];
|
|
1854
1911
|
};
|
|
1855
1912
|
charges?: {
|
|
1913
|
+
entity_description?: (string)[];
|
|
1856
1914
|
amount?: (number)[];
|
|
1857
1915
|
amount_in_decimal?: (string)[];
|
|
1858
1916
|
description?: (string)[];
|
|
@@ -1934,6 +1992,8 @@ export interface CreateInvoiceForItemsEstimateParams {
|
|
|
1934
1992
|
unit_price_in_decimal?: (string)[];
|
|
1935
1993
|
date_from?: (number)[];
|
|
1936
1994
|
date_to?: (number)[];
|
|
1995
|
+
description?: (string)[];
|
|
1996
|
+
entity_description?: (string)[];
|
|
1937
1997
|
};
|
|
1938
1998
|
item_tiers?: {
|
|
1939
1999
|
item_price_id?: (string)[];
|
|
@@ -1962,6 +2022,7 @@ export interface CreateInvoiceForItemsEstimateParams {
|
|
|
1962
2022
|
avalara_service_type?: (number)[];
|
|
1963
2023
|
date_from?: (number)[];
|
|
1964
2024
|
date_to?: (number)[];
|
|
2025
|
+
entity_description?: (string)[];
|
|
1965
2026
|
};
|
|
1966
2027
|
notes_to_remove?: {
|
|
1967
2028
|
entity_type?: ("customer" | "subscription" | "coupon" | "plan_item_price" | "addon_item_price" | "charge_item_price")[];
|
|
@@ -2075,6 +2136,13 @@ export interface CreatePricingPageForNewSubscriptionParams {
|
|
|
2075
2136
|
label?: (string)[];
|
|
2076
2137
|
};
|
|
2077
2138
|
}
|
|
2139
|
+
export interface CreatePromotionalGrantParams {
|
|
2140
|
+
subscription_id?: string;
|
|
2141
|
+
unit_id?: string;
|
|
2142
|
+
amount?: string;
|
|
2143
|
+
expires_at?: number;
|
|
2144
|
+
metadata?: Record<string, unknown>;
|
|
2145
|
+
}
|
|
2078
2146
|
export interface CreateSubscriptionForItemsParams {
|
|
2079
2147
|
id?: string;
|
|
2080
2148
|
business_entity_id?: string;
|
|
@@ -2127,7 +2195,7 @@ export interface CreateSubscriptionForItemsParams {
|
|
|
2127
2195
|
id?: string;
|
|
2128
2196
|
gateway_account_id?: string;
|
|
2129
2197
|
gw_token?: string;
|
|
2130
|
-
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";
|
|
2131
2199
|
reference_id?: string;
|
|
2132
2200
|
additional_information?: Record<string, unknown>;
|
|
2133
2201
|
};
|
|
@@ -2228,7 +2296,7 @@ export interface CreateUsingChargebeeTokenParams {
|
|
|
2228
2296
|
export interface CreateUsingGatewayTemporaryTokenParams {
|
|
2229
2297
|
customer_id?: string;
|
|
2230
2298
|
gateway_account_id?: string;
|
|
2231
|
-
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";
|
|
2232
2300
|
tmp_token?: string;
|
|
2233
2301
|
issuing_country?: string;
|
|
2234
2302
|
replace_primary_payment_source?: boolean;
|
|
@@ -2241,7 +2309,7 @@ export interface CreateUsingPaymentIntentParams {
|
|
|
2241
2309
|
id?: string;
|
|
2242
2310
|
gateway_account_id?: string;
|
|
2243
2311
|
gw_token?: string;
|
|
2244
|
-
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";
|
|
2245
2313
|
reference_id?: string;
|
|
2246
2314
|
additional_info?: Record<string, unknown>;
|
|
2247
2315
|
additional_information?: Record<string, unknown>;
|
|
@@ -2249,7 +2317,7 @@ export interface CreateUsingPaymentIntentParams {
|
|
|
2249
2317
|
}
|
|
2250
2318
|
export interface CreateUsingPermanentTokenParams {
|
|
2251
2319
|
customer_id?: string;
|
|
2252
|
-
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";
|
|
2253
2321
|
gateway_account_id?: string;
|
|
2254
2322
|
reference_id?: string;
|
|
2255
2323
|
issuing_country?: string;
|
|
@@ -2411,6 +2479,7 @@ export interface EditCreateSubscriptionQuoteForItemsParams {
|
|
|
2411
2479
|
charge_on_option?: ("immediately" | "on_event")[];
|
|
2412
2480
|
start_date?: (number)[];
|
|
2413
2481
|
end_date?: (number)[];
|
|
2482
|
+
description?: (string)[];
|
|
2414
2483
|
ramp_tier_id?: (string)[];
|
|
2415
2484
|
};
|
|
2416
2485
|
discounts?: {
|
|
@@ -2605,6 +2674,7 @@ export interface EditUpdateSubscriptionQuoteForItemsParams {
|
|
|
2605
2674
|
charge_on_option?: ("immediately" | "on_event")[];
|
|
2606
2675
|
start_date?: (number)[];
|
|
2607
2676
|
end_date?: (number)[];
|
|
2677
|
+
description?: (string)[];
|
|
2608
2678
|
ramp_tier_id?: (string)[];
|
|
2609
2679
|
};
|
|
2610
2680
|
discounts?: {
|
|
@@ -3062,8 +3132,8 @@ export interface ExportCouponsParams {
|
|
|
3062
3132
|
not_in?: string;
|
|
3063
3133
|
};
|
|
3064
3134
|
applicable_item_price_ids?: {
|
|
3065
|
-
in?: string;
|
|
3066
3135
|
is?: string;
|
|
3136
|
+
in?: string;
|
|
3067
3137
|
};
|
|
3068
3138
|
coupon?: {
|
|
3069
3139
|
id?: {
|
|
@@ -3829,8 +3899,8 @@ export interface ExportInvoicesParams {
|
|
|
3829
3899
|
}
|
|
3830
3900
|
export interface ExportItemFamiliesParams {
|
|
3831
3901
|
business_entity_id?: {
|
|
3832
|
-
is_present?: "true" | "false";
|
|
3833
3902
|
is?: string;
|
|
3903
|
+
is_present?: "true" | "false";
|
|
3834
3904
|
};
|
|
3835
3905
|
include_site_level_resources?: {
|
|
3836
3906
|
is?: "true" | "false";
|
|
@@ -3878,8 +3948,8 @@ export interface ExportItemPricesParams {
|
|
|
3878
3948
|
not_in?: string;
|
|
3879
3949
|
};
|
|
3880
3950
|
business_entity_id?: {
|
|
3881
|
-
is_present?: "true" | "false";
|
|
3882
3951
|
is?: string;
|
|
3952
|
+
is_present?: "true" | "false";
|
|
3883
3953
|
};
|
|
3884
3954
|
include_site_level_resources?: {
|
|
3885
3955
|
is?: "true" | "false";
|
|
@@ -3971,8 +4041,8 @@ export interface ExportItemPricesParams {
|
|
|
3971
4041
|
}
|
|
3972
4042
|
export interface ExportItemsParams {
|
|
3973
4043
|
business_entity_id?: {
|
|
3974
|
-
is_present?: "true" | "false";
|
|
3975
4044
|
is?: string;
|
|
4045
|
+
is_present?: "true" | "false";
|
|
3976
4046
|
};
|
|
3977
4047
|
include_site_level_resources?: {
|
|
3978
4048
|
is?: "true" | "false";
|
|
@@ -4176,8 +4246,8 @@ export interface ExportPaymentSourceParams {
|
|
|
4176
4246
|
}
|
|
4177
4247
|
export interface ExportPriceVariantsParams {
|
|
4178
4248
|
business_entity_id?: {
|
|
4179
|
-
is_present?: "true" | "false";
|
|
4180
4249
|
is?: string;
|
|
4250
|
+
is_present?: "true" | "false";
|
|
4181
4251
|
};
|
|
4182
4252
|
include_site_level_resources?: {
|
|
4183
4253
|
is?: "true" | "false";
|
|
@@ -4542,6 +4612,31 @@ export interface ExportRevenueRecognitionReportsParams {
|
|
|
4542
4612
|
};
|
|
4543
4613
|
};
|
|
4544
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
|
+
}
|
|
4545
4640
|
export interface ExportSubscriptionsParams {
|
|
4546
4641
|
export_type?: "data" | "import_friendly_data";
|
|
4547
4642
|
item_id?: {
|
|
@@ -4652,6 +4747,9 @@ export interface ExportSubscriptionsParams {
|
|
|
4652
4747
|
in?: "web" | "app_store" | "play_store";
|
|
4653
4748
|
not_in?: "web" | "app_store" | "play_store";
|
|
4654
4749
|
};
|
|
4750
|
+
decommissioned?: {
|
|
4751
|
+
is?: "true" | "false";
|
|
4752
|
+
};
|
|
4655
4753
|
};
|
|
4656
4754
|
}
|
|
4657
4755
|
export interface ExportTransactionsParams {
|
|
@@ -4688,10 +4786,10 @@ export interface ExportTransactionsParams {
|
|
|
4688
4786
|
not_in?: string;
|
|
4689
4787
|
};
|
|
4690
4788
|
payment_method?: {
|
|
4691
|
-
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";
|
|
4692
|
-
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";
|
|
4693
|
-
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";
|
|
4694
|
-
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";
|
|
4695
4793
|
};
|
|
4696
4794
|
gateway?: {
|
|
4697
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";
|
|
@@ -4802,7 +4900,7 @@ export interface GiftSubscriptionEstimateForItemsParams {
|
|
|
4802
4900
|
id?: string;
|
|
4803
4901
|
gateway_account_id?: string;
|
|
4804
4902
|
gw_token?: string;
|
|
4805
|
-
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";
|
|
4806
4904
|
reference_id?: string;
|
|
4807
4905
|
additional_information?: Record<string, unknown>;
|
|
4808
4906
|
};
|
|
@@ -4968,6 +5066,7 @@ export interface ImportCreditNoteParams {
|
|
|
4968
5066
|
tax9_amount?: (number)[];
|
|
4969
5067
|
tax10_name?: (string)[];
|
|
4970
5068
|
tax10_amount?: (number)[];
|
|
5069
|
+
proration_mode?: ("reset" | "delta" | "service_period_revision" | "adjusted_term")[];
|
|
4971
5070
|
};
|
|
4972
5071
|
line_item_tiers?: {
|
|
4973
5072
|
line_item_id?: (string)[];
|
|
@@ -5004,7 +5103,7 @@ export interface ImportCreditNoteParams {
|
|
|
5004
5103
|
linked_refunds?: {
|
|
5005
5104
|
id?: (string)[];
|
|
5006
5105
|
amount?: (number)[];
|
|
5007
|
-
payment_method?: ("cash" | "check" | "bank_transfer" | "other" | "custom")[];
|
|
5106
|
+
payment_method?: ("cash" | "check" | "bank_transfer" | "other" | "custom" | "dana" | "touch_n_go" | "tamara" | "qpay")[];
|
|
5008
5107
|
date?: (number)[];
|
|
5009
5108
|
reference_number?: (string)[];
|
|
5010
5109
|
};
|
|
@@ -5016,7 +5115,7 @@ export interface ImportInvoiceParams {
|
|
|
5016
5115
|
subscription_id?: string;
|
|
5017
5116
|
po_number?: string;
|
|
5018
5117
|
price_type?: "tax_exclusive" | "tax_inclusive";
|
|
5019
|
-
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";
|
|
5020
5119
|
vat_number?: string;
|
|
5021
5120
|
vat_number_prefix?: string;
|
|
5022
5121
|
date?: number;
|
|
@@ -5032,6 +5131,7 @@ export interface ImportInvoiceParams {
|
|
|
5032
5131
|
net_term_days?: number;
|
|
5033
5132
|
has_advance_charges?: boolean;
|
|
5034
5133
|
use_for_proration?: boolean;
|
|
5134
|
+
paid_at?: number;
|
|
5035
5135
|
credit_note?: {
|
|
5036
5136
|
id?: string;
|
|
5037
5137
|
};
|
|
@@ -5105,6 +5205,7 @@ export interface ImportInvoiceParams {
|
|
|
5105
5205
|
tax9_amount?: (number)[];
|
|
5106
5206
|
tax10_name?: (string)[];
|
|
5107
5207
|
tax10_amount?: (number)[];
|
|
5208
|
+
proration_mode?: ("reset" | "delta" | "service_period_revision" | "adjusted_term")[];
|
|
5108
5209
|
created_at?: (number)[];
|
|
5109
5210
|
};
|
|
5110
5211
|
payment_reference_numbers?: {
|
|
@@ -5142,7 +5243,7 @@ export interface ImportInvoiceParams {
|
|
|
5142
5243
|
payments?: {
|
|
5143
5244
|
id?: (string)[];
|
|
5144
5245
|
amount?: (number)[];
|
|
5145
|
-
payment_method?: ("cash" | "check" | "bank_transfer" | "other" | "custom")[];
|
|
5246
|
+
payment_method?: ("cash" | "check" | "bank_transfer" | "other" | "custom" | "dana" | "touch_n_go" | "tamara" | "qpay")[];
|
|
5146
5247
|
date?: (number)[];
|
|
5147
5248
|
reference_number?: (string)[];
|
|
5148
5249
|
};
|
|
@@ -5218,7 +5319,7 @@ export interface ImportSubscriptionForItemsParams {
|
|
|
5218
5319
|
};
|
|
5219
5320
|
transaction?: {
|
|
5220
5321
|
amount?: number;
|
|
5221
|
-
payment_method?: "cash" | "check" | "bank_transfer" | "other" | "custom";
|
|
5322
|
+
payment_method?: "cash" | "check" | "bank_transfer" | "other" | "custom" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
5222
5323
|
reference_number?: string;
|
|
5223
5324
|
date?: number;
|
|
5224
5325
|
};
|
|
@@ -5382,7 +5483,7 @@ export interface ListAlertsParams {
|
|
|
5382
5483
|
in?: string;
|
|
5383
5484
|
};
|
|
5384
5485
|
type?: {
|
|
5385
|
-
is?: "usage_exceeded";
|
|
5486
|
+
is?: "usage_exceeded" | "spend_exceeded" | "credit_balance_dropped";
|
|
5386
5487
|
};
|
|
5387
5488
|
subscription_id?: {
|
|
5388
5489
|
is?: string;
|
|
@@ -5391,20 +5492,32 @@ export interface ListAlertsParams {
|
|
|
5391
5492
|
is?: "enabled" | "disabled";
|
|
5392
5493
|
};
|
|
5393
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
|
+
}
|
|
5394
5507
|
export interface ListAllEntitlementsParams {
|
|
5395
5508
|
limit?: number;
|
|
5396
5509
|
offset?: string;
|
|
5397
5510
|
feature_id?: {
|
|
5398
|
-
in?: string;
|
|
5399
5511
|
is?: string;
|
|
5512
|
+
in?: string;
|
|
5400
5513
|
};
|
|
5401
5514
|
entity_type?: {
|
|
5402
|
-
in?: "plan" | "addon" | "charge" | "plan_price" | "addon_price";
|
|
5403
5515
|
is?: "plan" | "addon" | "charge" | "plan_price" | "addon_price";
|
|
5516
|
+
in?: "plan" | "addon" | "charge" | "plan_price" | "addon_price";
|
|
5404
5517
|
};
|
|
5405
5518
|
entity_id?: {
|
|
5406
|
-
in?: string;
|
|
5407
5519
|
is?: string;
|
|
5520
|
+
in?: string;
|
|
5408
5521
|
};
|
|
5409
5522
|
}
|
|
5410
5523
|
export interface ListApplicableAlertsForASubscriptionParams {
|
|
@@ -5414,7 +5527,7 @@ export interface ListApplicableAlertsForASubscriptionParams {
|
|
|
5414
5527
|
is?: "enabled" | "disabled";
|
|
5415
5528
|
};
|
|
5416
5529
|
type?: {
|
|
5417
|
-
is?: "usage_exceeded";
|
|
5530
|
+
is?: "usage_exceeded" | "spend_exceeded" | "credit_balance_dropped";
|
|
5418
5531
|
};
|
|
5419
5532
|
}
|
|
5420
5533
|
export interface ListApplicableItemPricesForAPlanItemPriceParams {
|
|
@@ -5646,8 +5759,8 @@ export interface ListCouponsParams {
|
|
|
5646
5759
|
not_in?: string;
|
|
5647
5760
|
};
|
|
5648
5761
|
applicable_item_price_ids?: {
|
|
5649
|
-
in?: string;
|
|
5650
5762
|
is?: string;
|
|
5763
|
+
in?: string;
|
|
5651
5764
|
};
|
|
5652
5765
|
}
|
|
5653
5766
|
export interface ListCreditNotesParams {
|
|
@@ -5788,6 +5901,18 @@ export interface ListCreditNotesParams {
|
|
|
5788
5901
|
};
|
|
5789
5902
|
};
|
|
5790
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
|
+
}
|
|
5791
5916
|
export interface ListCurrenciesParams {
|
|
5792
5917
|
limit?: number;
|
|
5793
5918
|
offset?: string;
|
|
@@ -5959,10 +6084,10 @@ export interface ListEventsParams {
|
|
|
5959
6084
|
not_in?: "not_configured" | "scheduled" | "succeeded" | "re_scheduled" | "failed" | "skipped" | "not_applicable" | "disabled" | "rate_limited";
|
|
5960
6085
|
};
|
|
5961
6086
|
event_type?: {
|
|
5962
|
-
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";
|
|
5963
|
-
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";
|
|
5964
|
-
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";
|
|
5965
|
-
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";
|
|
5966
6091
|
};
|
|
5967
6092
|
source?: {
|
|
5968
6093
|
is?: "admin_console" | "api" | "scheduled_job" | "hosted_page" | "portal" | "system" | "none" | "js_api" | "migration" | "bulk_operation" | "external_service";
|
|
@@ -6010,6 +6135,9 @@ export interface ListFeaturesParams {
|
|
|
6010
6135
|
in?: "switch" | "custom" | "quantity" | "range";
|
|
6011
6136
|
not_in?: "switch" | "custom" | "quantity" | "range";
|
|
6012
6137
|
};
|
|
6138
|
+
metered?: {
|
|
6139
|
+
is?: "true" | "false";
|
|
6140
|
+
};
|
|
6013
6141
|
}
|
|
6014
6142
|
export interface ListGiftsParams {
|
|
6015
6143
|
limit?: number;
|
|
@@ -6040,6 +6168,41 @@ export interface ListGiftsParams {
|
|
|
6040
6168
|
};
|
|
6041
6169
|
};
|
|
6042
6170
|
}
|
|
6171
|
+
export interface ListGrantBlocksParams {
|
|
6172
|
+
limit?: number;
|
|
6173
|
+
offset?: string;
|
|
6174
|
+
subscription_id?: {
|
|
6175
|
+
is?: string;
|
|
6176
|
+
};
|
|
6177
|
+
unit_id?: {
|
|
6178
|
+
is?: string;
|
|
6179
|
+
};
|
|
6180
|
+
account_type?: {
|
|
6181
|
+
is?: "provisioned" | "overdraft";
|
|
6182
|
+
};
|
|
6183
|
+
effective_from?: {
|
|
6184
|
+
after?: string;
|
|
6185
|
+
before?: string;
|
|
6186
|
+
on?: string;
|
|
6187
|
+
between?: string;
|
|
6188
|
+
};
|
|
6189
|
+
expires_at?: {
|
|
6190
|
+
after?: string;
|
|
6191
|
+
before?: string;
|
|
6192
|
+
on?: string;
|
|
6193
|
+
between?: string;
|
|
6194
|
+
};
|
|
6195
|
+
created_at?: {
|
|
6196
|
+
after?: string;
|
|
6197
|
+
before?: string;
|
|
6198
|
+
on?: string;
|
|
6199
|
+
between?: string;
|
|
6200
|
+
};
|
|
6201
|
+
sort_by?: {
|
|
6202
|
+
asc?: "effective_from" | "expires_at" | "created_at";
|
|
6203
|
+
desc?: "effective_from" | "expires_at" | "created_at";
|
|
6204
|
+
};
|
|
6205
|
+
}
|
|
6043
6206
|
export interface ListHierarchyDetailsParams {
|
|
6044
6207
|
limit?: number;
|
|
6045
6208
|
offset?: string;
|
|
@@ -6056,10 +6219,10 @@ export interface ListHostedPagesParams {
|
|
|
6056
6219
|
not_in?: string;
|
|
6057
6220
|
};
|
|
6058
6221
|
type?: {
|
|
6059
|
-
is?: "checkout_new" | "checkout_existing" | "
|
|
6060
|
-
is_not?: "checkout_new" | "checkout_existing" | "
|
|
6061
|
-
in?: "checkout_new" | "checkout_existing" | "
|
|
6062
|
-
not_in?: "checkout_new" | "checkout_existing" | "
|
|
6222
|
+
is?: "checkout_new" | "checkout_existing" | "manage_payment_sources" | "collect_now" | "extend_subscription" | "checkout_one_time" | "pre_cancel" | "view_voucher" | "accept_quote";
|
|
6223
|
+
is_not?: "checkout_new" | "checkout_existing" | "manage_payment_sources" | "collect_now" | "extend_subscription" | "checkout_one_time" | "pre_cancel" | "view_voucher" | "accept_quote";
|
|
6224
|
+
in?: "checkout_new" | "checkout_existing" | "manage_payment_sources" | "collect_now" | "extend_subscription" | "checkout_one_time" | "pre_cancel" | "view_voucher" | "accept_quote";
|
|
6225
|
+
not_in?: "checkout_new" | "checkout_existing" | "manage_payment_sources" | "collect_now" | "extend_subscription" | "checkout_one_time" | "pre_cancel" | "view_voucher" | "accept_quote";
|
|
6063
6226
|
};
|
|
6064
6227
|
state?: {
|
|
6065
6228
|
is?: "created" | "requested" | "succeeded" | "cancelled" | "acknowledged";
|
|
@@ -6215,9 +6378,6 @@ export interface ListInvoicesParams {
|
|
|
6215
6378
|
asc?: "date" | "updated_at";
|
|
6216
6379
|
desc?: "date" | "updated_at";
|
|
6217
6380
|
};
|
|
6218
|
-
exclude?: {
|
|
6219
|
-
in?: string;
|
|
6220
|
-
};
|
|
6221
6381
|
einvoice?: {
|
|
6222
6382
|
status?: {
|
|
6223
6383
|
is?: "scheduled" | "skipped" | "in_progress" | "success" | "failed" | "registered" | "accepted" | "rejected" | "message_acknowledgement" | "in_process" | "under_query" | "conditionally_accepted" | "paid";
|
|
@@ -6257,8 +6417,8 @@ export interface ListItemFamiliesParams {
|
|
|
6257
6417
|
between?: string;
|
|
6258
6418
|
};
|
|
6259
6419
|
business_entity_id?: {
|
|
6260
|
-
is_present?: "true" | "false";
|
|
6261
6420
|
is?: string;
|
|
6421
|
+
is_present?: "true" | "false";
|
|
6262
6422
|
};
|
|
6263
6423
|
include_site_level_resources?: {
|
|
6264
6424
|
is?: "true" | "false";
|
|
@@ -6349,8 +6509,8 @@ export interface ListItemPricesParams {
|
|
|
6349
6509
|
between?: string;
|
|
6350
6510
|
};
|
|
6351
6511
|
business_entity_id?: {
|
|
6352
|
-
is_present?: "true" | "false";
|
|
6353
6512
|
is?: string;
|
|
6513
|
+
is_present?: "true" | "false";
|
|
6354
6514
|
};
|
|
6355
6515
|
include_site_level_resources?: {
|
|
6356
6516
|
is?: "true" | "false";
|
|
@@ -6452,8 +6612,8 @@ export interface ListItemsParams {
|
|
|
6452
6612
|
not_in?: "web" | "app_store" | "play_store";
|
|
6453
6613
|
};
|
|
6454
6614
|
business_entity_id?: {
|
|
6455
|
-
is_present?: "true" | "false";
|
|
6456
6615
|
is?: string;
|
|
6616
|
+
is_present?: "true" | "false";
|
|
6457
6617
|
};
|
|
6458
6618
|
include_site_level_resources?: {
|
|
6459
6619
|
is?: "true" | "false";
|
|
@@ -6471,6 +6631,40 @@ export interface ListItemsParams {
|
|
|
6471
6631
|
};
|
|
6472
6632
|
};
|
|
6473
6633
|
}
|
|
6634
|
+
export interface ListLedgerAccountBalancesParams {
|
|
6635
|
+
limit?: number;
|
|
6636
|
+
offset?: string;
|
|
6637
|
+
subscription_id?: {
|
|
6638
|
+
is?: string;
|
|
6639
|
+
};
|
|
6640
|
+
unit_id?: {
|
|
6641
|
+
is?: string;
|
|
6642
|
+
};
|
|
6643
|
+
}
|
|
6644
|
+
export interface ListLedgerOperationsParams {
|
|
6645
|
+
limit?: number;
|
|
6646
|
+
offset?: string;
|
|
6647
|
+
subscription_id?: {
|
|
6648
|
+
is?: string;
|
|
6649
|
+
};
|
|
6650
|
+
unit_id?: {
|
|
6651
|
+
is?: string;
|
|
6652
|
+
};
|
|
6653
|
+
created_at?: {
|
|
6654
|
+
after?: string;
|
|
6655
|
+
before?: string;
|
|
6656
|
+
on?: string;
|
|
6657
|
+
between?: string;
|
|
6658
|
+
};
|
|
6659
|
+
type?: {
|
|
6660
|
+
is?: "allocation" | "capture" | "authorize" | "release_authorization" | "capture_authorization" | "expiry" | "void" | "rollover" | "adjustment";
|
|
6661
|
+
in?: "allocation" | "capture" | "authorize" | "release_authorization" | "capture_authorization" | "expiry" | "void" | "rollover" | "adjustment";
|
|
6662
|
+
};
|
|
6663
|
+
sort_by?: {
|
|
6664
|
+
asc?: "created_at";
|
|
6665
|
+
desc?: "created_at";
|
|
6666
|
+
};
|
|
6667
|
+
}
|
|
6474
6668
|
export interface ListOfContactsForACustomerParams {
|
|
6475
6669
|
limit?: number;
|
|
6476
6670
|
offset?: string;
|
|
@@ -6521,12 +6715,20 @@ export interface ListOmnichannelSubscriptionsParams {
|
|
|
6521
6715
|
not_in?: string;
|
|
6522
6716
|
};
|
|
6523
6717
|
updated_at?: {
|
|
6524
|
-
|
|
6718
|
+
between?: string;
|
|
6525
6719
|
after?: string;
|
|
6720
|
+
before?: string;
|
|
6721
|
+
on?: string;
|
|
6526
6722
|
};
|
|
6527
6723
|
purchased_at?: {
|
|
6528
|
-
|
|
6724
|
+
between?: string;
|
|
6529
6725
|
after?: string;
|
|
6726
|
+
before?: string;
|
|
6727
|
+
on?: string;
|
|
6728
|
+
};
|
|
6729
|
+
sort_by?: {
|
|
6730
|
+
asc?: "created_at" | "updated_at";
|
|
6731
|
+
desc?: "created_at" | "updated_at";
|
|
6530
6732
|
};
|
|
6531
6733
|
omnichannel_subscription_item?: {
|
|
6532
6734
|
status?: {
|
|
@@ -6641,13 +6843,13 @@ export interface ListPaymentReferenceNumbersParams {
|
|
|
6641
6843
|
limit?: number;
|
|
6642
6844
|
offset?: string;
|
|
6643
6845
|
id?: {
|
|
6644
|
-
in?: string;
|
|
6645
6846
|
is?: string;
|
|
6847
|
+
in?: string;
|
|
6646
6848
|
};
|
|
6647
6849
|
payment_reference_number?: {
|
|
6648
6850
|
number?: {
|
|
6649
|
-
in?: string;
|
|
6650
6851
|
is?: string;
|
|
6852
|
+
in?: string;
|
|
6651
6853
|
};
|
|
6652
6854
|
};
|
|
6653
6855
|
}
|
|
@@ -6664,10 +6866,10 @@ export interface ListPaymentSourcesParams {
|
|
|
6664
6866
|
not_in?: string;
|
|
6665
6867
|
};
|
|
6666
6868
|
type?: {
|
|
6667
|
-
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";
|
|
6668
|
-
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";
|
|
6669
|
-
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";
|
|
6670
|
-
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";
|
|
6671
6873
|
};
|
|
6672
6874
|
status?: {
|
|
6673
6875
|
is?: "valid" | "expiring" | "expired" | "invalid" | "pending_verification";
|
|
@@ -6749,8 +6951,8 @@ export interface ListPriceVariantsParams {
|
|
|
6749
6951
|
between?: string;
|
|
6750
6952
|
};
|
|
6751
6953
|
business_entity_id?: {
|
|
6752
|
-
is_present?: "true" | "false";
|
|
6753
6954
|
is?: string;
|
|
6955
|
+
is_present?: "true" | "false";
|
|
6754
6956
|
};
|
|
6755
6957
|
include_site_level_resources?: {
|
|
6756
6958
|
is?: "true" | "false";
|
|
@@ -6844,12 +7046,12 @@ export interface ListRampsParams {
|
|
|
6844
7046
|
offset?: string;
|
|
6845
7047
|
include_deleted?: boolean;
|
|
6846
7048
|
status?: {
|
|
6847
|
-
in?: "scheduled" | "succeeded" | "failed" | "draft";
|
|
6848
7049
|
is?: "scheduled" | "succeeded" | "failed" | "draft";
|
|
7050
|
+
in?: "scheduled" | "succeeded" | "failed" | "draft";
|
|
6849
7051
|
};
|
|
6850
7052
|
subscription_id?: {
|
|
6851
|
-
in?: string;
|
|
6852
7053
|
is?: string;
|
|
7054
|
+
in?: string;
|
|
6853
7055
|
};
|
|
6854
7056
|
effective_from?: {
|
|
6855
7057
|
after?: string;
|
|
@@ -7028,6 +7230,9 @@ export interface ListSubscriptionsParams {
|
|
|
7028
7230
|
in?: "web" | "app_store" | "play_store";
|
|
7029
7231
|
not_in?: "web" | "app_store" | "play_store";
|
|
7030
7232
|
};
|
|
7233
|
+
decommissioned?: {
|
|
7234
|
+
is?: "true" | "false";
|
|
7235
|
+
};
|
|
7031
7236
|
}
|
|
7032
7237
|
export interface ListTheBusinessEntityTransfersParams {
|
|
7033
7238
|
limit?: number;
|
|
@@ -7088,10 +7293,10 @@ export interface ListTransactionsParams {
|
|
|
7088
7293
|
not_in?: string;
|
|
7089
7294
|
};
|
|
7090
7295
|
payment_method?: {
|
|
7091
|
-
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";
|
|
7092
|
-
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";
|
|
7093
|
-
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";
|
|
7094
|
-
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";
|
|
7095
7300
|
};
|
|
7096
7301
|
gateway?: {
|
|
7097
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";
|
|
@@ -7321,7 +7526,6 @@ export interface NotifyAnEventParams {
|
|
|
7321
7526
|
export interface OverrideBillingProfileParams {
|
|
7322
7527
|
payment_source_id?: string;
|
|
7323
7528
|
auto_collection?: "on" | "off";
|
|
7324
|
-
payment_intent_id?: string;
|
|
7325
7529
|
}
|
|
7326
7530
|
export interface PauseASubscriptionParams {
|
|
7327
7531
|
pause_option?: "immediately" | "end_of_term" | "specific_date" | "billing_cycles";
|
|
@@ -7383,7 +7587,7 @@ export interface ReactivateASubscriptionParams {
|
|
|
7383
7587
|
id?: string;
|
|
7384
7588
|
gateway_account_id?: string;
|
|
7385
7589
|
gw_token?: string;
|
|
7386
|
-
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";
|
|
7387
7591
|
reference_id?: string;
|
|
7388
7592
|
additional_information?: Record<string, unknown>;
|
|
7389
7593
|
};
|
|
@@ -7397,6 +7601,9 @@ export interface RecordAPurchaseParams {
|
|
|
7397
7601
|
app_id?: string;
|
|
7398
7602
|
customer?: {
|
|
7399
7603
|
id?: string;
|
|
7604
|
+
email?: string;
|
|
7605
|
+
first_name?: string;
|
|
7606
|
+
last_name?: string;
|
|
7400
7607
|
};
|
|
7401
7608
|
apple_app_store?: {
|
|
7402
7609
|
transaction_id?: string;
|
|
@@ -7419,7 +7626,7 @@ export interface RecordAnExcessPaymentForACustomerParams {
|
|
|
7419
7626
|
amount?: number;
|
|
7420
7627
|
currency_code?: string;
|
|
7421
7628
|
date?: number;
|
|
7422
|
-
payment_method?: "cash" | "check" | "bank_transfer" | "other" | "custom";
|
|
7629
|
+
payment_method?: "cash" | "check" | "bank_transfer" | "other" | "custom" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
7423
7630
|
reference_number?: string;
|
|
7424
7631
|
custom_payment_method_id?: string;
|
|
7425
7632
|
};
|
|
@@ -7428,7 +7635,7 @@ export interface RecordAnInvoicePaymentParams {
|
|
|
7428
7635
|
comment?: string;
|
|
7429
7636
|
transaction?: {
|
|
7430
7637
|
amount?: number;
|
|
7431
|
-
payment_method?: "cash" | "check" | "bank_transfer" | "other" | "custom";
|
|
7638
|
+
payment_method?: "cash" | "check" | "bank_transfer" | "other" | "custom" | "dana" | "touch_n_go" | "tamara" | "qpay";
|
|
7432
7639
|
reference_number?: string;
|
|
7433
7640
|
custom_payment_method_id?: string;
|
|
7434
7641
|
id_at_gateway?: string;
|
|
@@ -7440,7 +7647,7 @@ export interface RecordAnInvoicePaymentParams {
|
|
|
7440
7647
|
}
|
|
7441
7648
|
export interface RecordAnOfflineRefundParams {
|
|
7442
7649
|
amount?: number;
|
|
7443
|
-
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";
|
|
7444
7651
|
date?: number;
|
|
7445
7652
|
reference_number?: string;
|
|
7446
7653
|
custom_payment_method_id?: string;
|
|
@@ -7452,7 +7659,7 @@ export interface RecordRefundForACreditNoteParams {
|
|
|
7452
7659
|
transaction?: {
|
|
7453
7660
|
id?: string;
|
|
7454
7661
|
amount?: number;
|
|
7455
|
-
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";
|
|
7456
7663
|
reference_number?: string;
|
|
7457
7664
|
custom_payment_method_id?: string;
|
|
7458
7665
|
date?: number;
|
|
@@ -7463,7 +7670,7 @@ export interface RecordRefundForAnInvoiceParams {
|
|
|
7463
7670
|
customer_notes?: string;
|
|
7464
7671
|
transaction?: {
|
|
7465
7672
|
amount?: number;
|
|
7466
|
-
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";
|
|
7467
7674
|
reference_number?: string;
|
|
7468
7675
|
custom_payment_method_id?: string;
|
|
7469
7676
|
date?: number;
|
|
@@ -7511,6 +7718,12 @@ export interface RegenerateInvoiceEstimateParams {
|
|
|
7511
7718
|
prorate?: boolean;
|
|
7512
7719
|
invoice_immediately?: boolean;
|
|
7513
7720
|
}
|
|
7721
|
+
export interface ReleaseAuthorizationParams {
|
|
7722
|
+
authorization_id?: string;
|
|
7723
|
+
id?: string;
|
|
7724
|
+
ledger_operation_timestamp?: number;
|
|
7725
|
+
metadata?: Record<string, unknown>;
|
|
7726
|
+
}
|
|
7514
7727
|
export interface RemoveAnAdvanceInvoiceSchedulesParams {
|
|
7515
7728
|
specific_dates_schedule?: {
|
|
7516
7729
|
id?: (string)[];
|
|
@@ -7558,11 +7771,6 @@ export interface ResendAnOrderParams {
|
|
|
7558
7771
|
fulfillment_quantity?: (number)[];
|
|
7559
7772
|
};
|
|
7560
7773
|
}
|
|
7561
|
-
export interface ResendFailedEinvoiceInInvoicesParams {
|
|
7562
|
-
response_document_type?: "application_response";
|
|
7563
|
-
response_status?: "accepted" | "rejected" | "message_acknowledgement" | "in_process" | "under_query" | "conditionally_accepted" | "paid";
|
|
7564
|
-
response_message?: string;
|
|
7565
|
-
}
|
|
7566
7774
|
export interface ResumeASubscriptionParams {
|
|
7567
7775
|
resume_option?: "immediately" | "specific_date";
|
|
7568
7776
|
resume_date?: number;
|
|
@@ -7573,7 +7781,7 @@ export interface ResumeASubscriptionParams {
|
|
|
7573
7781
|
id?: string;
|
|
7574
7782
|
gateway_account_id?: string;
|
|
7575
7783
|
gw_token?: string;
|
|
7576
|
-
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";
|
|
7577
7785
|
reference_id?: string;
|
|
7578
7786
|
additional_information?: Record<string, unknown>;
|
|
7579
7787
|
};
|
|
@@ -7651,11 +7859,6 @@ export interface RetrieveUsagesForAnInvoiceAsPdfParams {
|
|
|
7651
7859
|
id?: string;
|
|
7652
7860
|
};
|
|
7653
7861
|
}
|
|
7654
|
-
export interface SendAnEinvoiceForInvoicesParams {
|
|
7655
|
-
response_document_type?: "application_response";
|
|
7656
|
-
response_status?: "accepted" | "rejected" | "message_acknowledgement" | "in_process" | "under_query" | "conditionally_accepted" | "paid";
|
|
7657
|
-
response_message?: string;
|
|
7658
|
-
}
|
|
7659
7862
|
export interface SetPromotionalCreditsParams {
|
|
7660
7863
|
customer_id?: string;
|
|
7661
7864
|
amount?: number;
|
|
@@ -7765,6 +7968,10 @@ export interface UpdateACouponSetParams {
|
|
|
7765
7968
|
name?: string;
|
|
7766
7969
|
meta_data?: Record<string, unknown>;
|
|
7767
7970
|
}
|
|
7971
|
+
export interface UpdateACreditUnitParams {
|
|
7972
|
+
name?: string;
|
|
7973
|
+
external_name?: string;
|
|
7974
|
+
}
|
|
7768
7975
|
export interface UpdateACurrencyParams {
|
|
7769
7976
|
forex_type?: "manual" | "auto";
|
|
7770
7977
|
manual_exchange_rate?: string;
|
|
@@ -7843,7 +8050,7 @@ export interface UpdateAPaymentIntentParams {
|
|
|
7843
8050
|
amount?: number;
|
|
7844
8051
|
currency_code?: string;
|
|
7845
8052
|
gateway_account_id?: string;
|
|
7846
|
-
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";
|
|
7847
8054
|
success_url?: string;
|
|
7848
8055
|
failure_url?: string;
|
|
7849
8056
|
}
|
|
@@ -7913,6 +8120,7 @@ export interface UpdateASubscriptionRampParams {
|
|
|
7913
8120
|
duration_type?: ("one_time" | "forever" | "limited_period")[];
|
|
7914
8121
|
percentage?: (number)[];
|
|
7915
8122
|
amount?: (number)[];
|
|
8123
|
+
quantity?: (number)[];
|
|
7916
8124
|
period?: (number)[];
|
|
7917
8125
|
period_unit?: ("day" | "week" | "month" | "year")[];
|
|
7918
8126
|
included_in_mrr?: (boolean)[];
|
|
@@ -7928,7 +8136,7 @@ export interface UpdateAWebhookEndpointParams {
|
|
|
7928
8136
|
basic_auth_password?: string;
|
|
7929
8137
|
basic_auth_username?: string;
|
|
7930
8138
|
disabled?: boolean;
|
|
7931
|
-
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")[];
|
|
7932
8140
|
}
|
|
7933
8141
|
export interface UpdateAnAddressParams {
|
|
7934
8142
|
subscription_id?: string;
|
|
@@ -8176,6 +8384,9 @@ export interface UpdateContactsForACustomerParams {
|
|
|
8176
8384
|
send_account_email?: boolean;
|
|
8177
8385
|
};
|
|
8178
8386
|
}
|
|
8387
|
+
export interface UpdateCreditNoteDetailsParams {
|
|
8388
|
+
comment?: string;
|
|
8389
|
+
}
|
|
8179
8390
|
export interface UpdateHierarchyAccessSettingsForACustomerParams {
|
|
8180
8391
|
use_default_hierarchy_settings?: boolean;
|
|
8181
8392
|
parent_account_access?: {
|
|
@@ -8234,21 +8445,9 @@ export interface UpdateInvoiceDetailsParams {
|
|
|
8234
8445
|
descriptor?: string;
|
|
8235
8446
|
};
|
|
8236
8447
|
}
|
|
8237
|
-
export interface UpdatePaymentMethodParams {
|
|
8238
|
-
redirect_url?: string;
|
|
8239
|
-
cancel_url?: string;
|
|
8240
|
-
pass_thru_content?: string;
|
|
8241
|
-
iframe_messaging?: boolean;
|
|
8242
|
-
customer?: {
|
|
8243
|
-
id?: string;
|
|
8244
|
-
};
|
|
8245
|
-
card?: {
|
|
8246
|
-
gateway_account_id?: string;
|
|
8247
|
-
};
|
|
8248
|
-
}
|
|
8249
8448
|
export interface UpdatePaymentMethodForACustomerParams {
|
|
8250
8449
|
payment_method?: {
|
|
8251
|
-
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";
|
|
8252
8451
|
gateway_account_id?: string;
|
|
8253
8452
|
reference_id?: string;
|
|
8254
8453
|
tmp_token?: string;
|
|
@@ -8314,7 +8513,7 @@ export interface UpdateSubscriptionForItemsParams {
|
|
|
8314
8513
|
additional_information?: Record<string, unknown>;
|
|
8315
8514
|
};
|
|
8316
8515
|
payment_method?: {
|
|
8317
|
-
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";
|
|
8318
8517
|
gateway_account_id?: string;
|
|
8319
8518
|
reference_id?: string;
|
|
8320
8519
|
tmp_token?: string;
|
|
@@ -8325,7 +8524,7 @@ export interface UpdateSubscriptionForItemsParams {
|
|
|
8325
8524
|
id?: string;
|
|
8326
8525
|
gateway_account_id?: string;
|
|
8327
8526
|
gw_token?: string;
|
|
8328
|
-
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";
|
|
8329
8528
|
reference_id?: string;
|
|
8330
8529
|
additional_information?: Record<string, unknown>;
|
|
8331
8530
|
};
|
|
@@ -8443,6 +8642,7 @@ export interface UpsertOrRemoveEntitlementsForAFeatureParams {
|
|
|
8443
8642
|
entity_type?: ("plan" | "addon" | "charge" | "plan_price" | "addon_price")[];
|
|
8444
8643
|
value?: (string)[];
|
|
8445
8644
|
apply_grandfathering?: (boolean)[];
|
|
8645
|
+
effective_on_event?: ("subscription_renewal")[];
|
|
8446
8646
|
};
|
|
8447
8647
|
}
|
|
8448
8648
|
export interface UpsertOrRemoveItemEntitlementsForAFeatureParams {
|
|
@@ -8492,13 +8692,17 @@ export interface OperationParamsMap {
|
|
|
8492
8692
|
"add_promotional_credits": AddPromotionalCreditsParams;
|
|
8493
8693
|
"add_schedule": AddScheduleParams;
|
|
8494
8694
|
"advance_invoice_estimate": AdvanceInvoiceEstimateParams;
|
|
8695
|
+
"allocate": AllocateParams;
|
|
8495
8696
|
"apply_credits_for_an_invoice": ApplyCreditsForAnInvoiceParams;
|
|
8496
8697
|
"apply_payment_schedule_scheme_to_an_invoice": ApplyPaymentScheduleSchemeToAnInvoiceParams;
|
|
8497
8698
|
"apply_payments_for_an_invoice": ApplyPaymentsForAnInvoiceParams;
|
|
8498
8699
|
"assign_payment_role": AssignPaymentRoleParams;
|
|
8700
|
+
"authorize": AuthorizeParams;
|
|
8499
8701
|
"cancel_an_order": CancelAnOrderParams;
|
|
8500
8702
|
"cancel_subscription_for_items": CancelSubscriptionForItemsParams;
|
|
8501
8703
|
"cancel_subscription_for_items_estimate": CancelSubscriptionForItemsEstimateParams;
|
|
8704
|
+
"capture": CaptureParams;
|
|
8705
|
+
"capture_authorization": CaptureAuthorizationParams;
|
|
8502
8706
|
"change_billing_date": ChangeBillingDateParams;
|
|
8503
8707
|
"change_term_end": ChangeTermEndParams;
|
|
8504
8708
|
"charge_future_renewals": ChargeFutureRenewalsParams;
|
|
@@ -8517,11 +8721,13 @@ export interface OperationParamsMap {
|
|
|
8517
8721
|
"create_a_comment": CreateACommentParams;
|
|
8518
8722
|
"create_a_coupon_for_items": CreateACouponForItemsParams;
|
|
8519
8723
|
"create_a_coupon_set": CreateACouponSetParams;
|
|
8724
|
+
"create_a_credit_unit": CreateACreditUnitParams;
|
|
8520
8725
|
"create_a_customer": CreateACustomerParams;
|
|
8521
8726
|
"create_a_differential_price": CreateADifferentialPriceParams;
|
|
8522
8727
|
"create_a_feature": CreateAFeatureParams;
|
|
8523
8728
|
"create_a_gift_subscription_for_items": CreateAGiftSubscriptionForItemsParams;
|
|
8524
8729
|
"create_a_hosted_page_to_view_boleto_vouchers": CreateAHostedPageToViewBoletoVouchersParams;
|
|
8730
|
+
"create_a_metered_feature": CreateAMeteredFeatureParams;
|
|
8525
8731
|
"create_a_payment_intent": CreateAPaymentIntentParams;
|
|
8526
8732
|
"create_a_payment_schedule_scheme": CreateAPaymentScheduleSchemeParams;
|
|
8527
8733
|
"create_a_portal_session": CreateAPortalSessionParams;
|
|
@@ -8558,6 +8764,7 @@ export interface OperationParamsMap {
|
|
|
8558
8764
|
"create_invoice_for_items_estimate": CreateInvoiceForItemsEstimateParams;
|
|
8559
8765
|
"create_pricing_page_for_existing_subscription": CreatePricingPageForExistingSubscriptionParams;
|
|
8560
8766
|
"create_pricing_page_for_new_subscription": CreatePricingPageForNewSubscriptionParams;
|
|
8767
|
+
"create_promotional_grant": CreatePromotionalGrantParams;
|
|
8561
8768
|
"create_subscription_for_items": CreateSubscriptionForItemsParams;
|
|
8562
8769
|
"create_unbilled_charges_for_item_subscription": CreateUnbilledChargesForItemSubscriptionParams;
|
|
8563
8770
|
"create_using_chargebee_token": CreateUsingChargebeeTokenParams;
|
|
@@ -8599,6 +8806,7 @@ export interface OperationParamsMap {
|
|
|
8599
8806
|
"export_payment_source": ExportPaymentSourceParams;
|
|
8600
8807
|
"export_price_variants": ExportPriceVariantsParams;
|
|
8601
8808
|
"export_revenue_recognition_reports": ExportRevenueRecognitionReportsParams;
|
|
8809
|
+
"export_subscription_ramps": ExportSubscriptionRampsParams;
|
|
8602
8810
|
"export_subscriptions": ExportSubscriptionsParams;
|
|
8603
8811
|
"export_transactions": ExportTransactionsParams;
|
|
8604
8812
|
"extend_expiry_date": ExtendExpiryDateParams;
|
|
@@ -8619,6 +8827,7 @@ export interface OperationParamsMap {
|
|
|
8619
8827
|
"list_alert_statuses_for_a_subscription": ListAlertStatusesForASubscriptionParams;
|
|
8620
8828
|
"list_alert_statuses_for_an_alert": ListAlertStatusesForAnAlertParams;
|
|
8621
8829
|
"list_alerts": ListAlertsParams;
|
|
8830
|
+
"list_all_available_meters": ListAllAvailableMetersParams;
|
|
8622
8831
|
"list_all_entitlements": ListAllEntitlementsParams;
|
|
8623
8832
|
"list_applicable_alerts_for_a_subscription": ListApplicableAlertsForASubscriptionParams;
|
|
8624
8833
|
"list_applicable_item_prices_for_a_plan-item_price": ListApplicableItemPricesForAPlanItemPriceParams;
|
|
@@ -8630,6 +8839,7 @@ export interface OperationParamsMap {
|
|
|
8630
8839
|
"list_coupon_sets": ListCouponSetsParams;
|
|
8631
8840
|
"list_coupons": ListCouponsParams;
|
|
8632
8841
|
"list_credit_notes": ListCreditNotesParams;
|
|
8842
|
+
"list_credit_units": ListCreditUnitsParams;
|
|
8633
8843
|
"list_currencies": ListCurrenciesParams;
|
|
8634
8844
|
"list_customer_entitlements": ListCustomerEntitlementsParams;
|
|
8635
8845
|
"list_customers": ListCustomersParams;
|
|
@@ -8639,6 +8849,7 @@ export interface OperationParamsMap {
|
|
|
8639
8849
|
"list_events": ListEventsParams;
|
|
8640
8850
|
"list_features": ListFeaturesParams;
|
|
8641
8851
|
"list_gifts": ListGiftsParams;
|
|
8852
|
+
"list_grant_blocks": ListGrantBlocksParams;
|
|
8642
8853
|
"list_hierarchy_details": ListHierarchyDetailsParams;
|
|
8643
8854
|
"list_hosted_pages": ListHostedPagesParams;
|
|
8644
8855
|
"list_invoices": ListInvoicesParams;
|
|
@@ -8647,6 +8858,8 @@ export interface OperationParamsMap {
|
|
|
8647
8858
|
"list_item_families": ListItemFamiliesParams;
|
|
8648
8859
|
"list_item_prices": ListItemPricesParams;
|
|
8649
8860
|
"list_items": ListItemsParams;
|
|
8861
|
+
"list_ledger_account_balances": ListLedgerAccountBalancesParams;
|
|
8862
|
+
"list_ledger_operations": ListLedgerOperationsParams;
|
|
8650
8863
|
"list_of_contacts_for_a_customer": ListOfContactsForACustomerParams;
|
|
8651
8864
|
"list_omnichannel_one_time_orders": ListOmnichannelOneTimeOrdersParams;
|
|
8652
8865
|
"list_omnichannel_subscriptions": ListOmnichannelSubscriptionsParams;
|
|
@@ -8698,6 +8911,7 @@ export interface OperationParamsMap {
|
|
|
8698
8911
|
"refund_an_invoice": RefundAnInvoiceParams;
|
|
8699
8912
|
"regenerate_an_invoice": RegenerateAnInvoiceParams;
|
|
8700
8913
|
"regenerate_invoice_estimate": RegenerateInvoiceEstimateParams;
|
|
8914
|
+
"release_authorization": ReleaseAuthorizationParams;
|
|
8701
8915
|
"remove_an_advance_invoice_schedules": RemoveAnAdvanceInvoiceSchedulesParams;
|
|
8702
8916
|
"remove_coupons": RemoveCouponsParams;
|
|
8703
8917
|
"remove_credit_note_from_an_invoice": RemoveCreditNoteFromAnInvoiceParams;
|
|
@@ -8707,7 +8921,6 @@ export interface OperationParamsMap {
|
|
|
8707
8921
|
"remove_tax_withheld_refunds_from_a_credit_note": RemoveTaxWithheldRefundsFromACreditNoteParams;
|
|
8708
8922
|
"reopen_a_cancelled_order": ReopenACancelledOrderParams;
|
|
8709
8923
|
"resend_an_order": ResendAnOrderParams;
|
|
8710
|
-
"resend_failed_einvoice_in_invoices": ResendFailedEinvoiceInInvoicesParams;
|
|
8711
8924
|
"resume_a_subscription": ResumeASubscriptionParams;
|
|
8712
8925
|
"resume_dunning_for_invoice": ResumeDunningForInvoiceParams;
|
|
8713
8926
|
"resume_subscription_estimate": ResumeSubscriptionEstimateParams;
|
|
@@ -8726,7 +8939,6 @@ export interface OperationParamsMap {
|
|
|
8726
8939
|
"retrieve_usage_charges_for_a_subscription": RetrieveUsageChargesForASubscriptionParams;
|
|
8727
8940
|
"retrieve_usage_summary_for_a_subscription": RetrieveUsageSummaryForASubscriptionParams;
|
|
8728
8941
|
"retrieve_usages_for_an_invoice_as_pdf": RetrieveUsagesForAnInvoiceAsPdfParams;
|
|
8729
|
-
"send_an_einvoice_for_invoices": SendAnEinvoiceForInvoicesParams;
|
|
8730
8942
|
"set_promotional_credits": SetPromotionalCreditsParams;
|
|
8731
8943
|
"start_afresh": StartAfreshParams;
|
|
8732
8944
|
"stop_dunning_for_invoice": StopDunningForInvoiceParams;
|
|
@@ -8741,6 +8953,7 @@ export interface OperationParamsMap {
|
|
|
8741
8953
|
"update_a_card_payment_source": UpdateACardPaymentSourceParams;
|
|
8742
8954
|
"update_a_coupon_for_items": UpdateACouponForItemsParams;
|
|
8743
8955
|
"update_a_coupon_set": UpdateACouponSetParams;
|
|
8956
|
+
"update_a_credit_unit": UpdateACreditUnitParams;
|
|
8744
8957
|
"update_a_currency": UpdateACurrencyParams;
|
|
8745
8958
|
"update_a_customer": UpdateACustomerParams;
|
|
8746
8959
|
"update_a_differential_price": UpdateADifferentialPriceParams;
|
|
@@ -8761,9 +8974,9 @@ export interface OperationParamsMap {
|
|
|
8761
8974
|
"update_billing_info_for_a_customer": UpdateBillingInfoForACustomerParams;
|
|
8762
8975
|
"update_card_for_a_customer": UpdateCardForACustomerParams;
|
|
8763
8976
|
"update_contacts_for_a_customer": UpdateContactsForACustomerParams;
|
|
8977
|
+
"update_credit_note_details": UpdateCreditNoteDetailsParams;
|
|
8764
8978
|
"update_hierarchy_access_settings_for_a_customer": UpdateHierarchyAccessSettingsForACustomerParams;
|
|
8765
8979
|
"update_invoice_details": UpdateInvoiceDetailsParams;
|
|
8766
|
-
"update_payment_method": UpdatePaymentMethodParams;
|
|
8767
8980
|
"update_payment_method_for_a_customer": UpdatePaymentMethodForACustomerParams;
|
|
8768
8981
|
"update_quote_status": UpdateQuoteStatusParams;
|
|
8769
8982
|
"update_subscription_for_items": UpdateSubscriptionForItemsParams;
|