## Stripe CLI

The Stripe Command Line Interface (CLI) allows you to interact with the Stripe API directly from your terminal.

### CLI Reference

This section provides a comprehensive reference for all Stripe CLI commands and their options.

*   **CLI Overview**: [cli](/cli) - An introduction to the Stripe CLI.
*   **Authentication**:
    *   [Login](/cli/login) - Log in to your Stripe account.
    *   [Logout](/cli/logout) - Log out of your Stripe account.
    *   [API Keys](/cli/api_keys) - Manage your API keys.
*   **Configuration**:
    *   [Configuration](/cli/config) - Configure Stripe CLI settings.
    *   [Telemetry](/cli/telemetry) - Manage telemetry settings.
*   **Core Functionality**:
    *   [Help](/cli/help) - Get help for Stripe CLI commands.
    *   [Version](/cli/version) - Display the Stripe CLI version.
    *   [Completion](/cli/completion) - Enable shell autocompletion.
    *   [Flags](/cli/flags) - Common flags for Stripe CLI commands.
*   **Interacting with Stripe**:
    *   [Intro to Stripe API](intro_stripe) - Learn how to interact with the Stripe API using the CLI.
    *   [HTTP Methods](/cli/get), [POST](/cli/post), [DELETE](/cli/delete) - Make direct HTTP requests to the Stripe API.
    *   [Resources](/cli/resources) - List and manage Stripe resources.
    *   [Open](open) - Open a Stripe resource in your browser.
*   **Webhooks**:
    *   [Intro to Webhooks](/cli/intro_webhooks) - Understand how to use webhooks with the CLI.
    *   [Listen](/cli/listen) - Forward Stripe events to your local machine.
    *   [Trigger](/cli/trigger) - Manually trigger Stripe events.
    *   [Resend Events](/cli/events/resend) - Resend specific Stripe events.
*   **Stripe Samples**:
    *   [Intro to Stripe Samples](/cli/intro_stripe_samples) - Get started with Stripe sample projects.
    *   [Create Sample](/cli/samples/create) - Create a new Stripe sample project.
    *   [List Samples](/cli/samples/list) - List available Stripe sample projects.
*   **Development Tools**:
    *   [Serve](/cli/serve) - Serve your application locally with Stripe support.
    *   [Fixtures](/cli/fixtures) - Manage test data fixtures.
    *   [Tail Logs](/cli/logs/tail) - Tail Stripe logs in real-time.
*   **Advanced Usage**:
    *   [Intro to Additional Commands](/cli/intro_additional_commands) - Explore more advanced CLI commands.
    *   [Docker](/cli/docker) - Use the Stripe CLI with Docker.
*   **Other**:
    *   [Feedback](/cli/feedback) - Provide feedback on the Stripe CLI.
    *   [License](/cli/license) - View the Stripe CLI license.
    *   [Intro to Further Information](/cli/intro_further_information) - Find more resources and information.
*   **Terminal**:
    *   [Terminal Quickstart](/cli/terminal/quickstart) - Get started with Stripe Terminal using the CLI.

## Stripe JS

The Stripe JavaScript library provides a client-side interface for integrating Stripe payments into your web applications.

### Core Concepts

*   **Including Stripe.js**: [including](/js/including) - How to add Stripe.js to your project.
*   **Initializing Stripe.js**: [initializing](/js/initializing) - Setting up the Stripe.js library.
*   **Elements Object**: [elements\_object](/js/elements_object) - The central object for managing Stripe Elements.
    *   [Creating Elements Object](/js/elements_object/create)
    *   [Create Elements Object without Payment Intent](/js/elements_object/create_without_intent)
    *   [Updating Elements Object](/js/elements_object/update)
    *   [Fetching Updates](/js/elements_object/fetch_updates)
*   **Elements**: [elements](/js/elements) - Represents individual input fields for payment details.
    *   [Submitting Elements](/elements/submit)
    *   [Payment Element](/js/element/payment\_element)
        *   [Create Payment Element](/js/elements_object/create_payment_element)
        *   [Get Payment Element](/js/elements_object/get_payment_element)
        *   [Update Payment Element](/js/elements_object/update_payment_element)
        *   [Collapse Payment Element](/js/elements_object/collapse_payment_element)
    *   [Express Checkout Element](/js/element/express\_checkout\_element)
        *   [Create Express Checkout Element](/js/elements_object/create_express_checkout_element)
        *   [Get Express Checkout Element](/js/elements_object/get_express_checkout_element)
        *   [Update Express Checkout Element](/js/elements_object/update_express_checkout_element)
        *   [Express Checkout Element Events](/js/elements_object/express\_checkout\_element\_click\_event), [/js/elements_object/express\_checkout\_element\_confirm\_event), [/js/elements_object/express\_checkout\_element\_cancel\_event), [/js/elements_object/express\_checkout\_element\_shippingaddresschange\_event), [/js/elements_object/express\_checkout\_element\_shippingratechange\_event)
    *   [Link Authentication Element](/js/element/link\_authentication\_element)
        *   [Create Link Authentication Element](/js/elements_object/create_link_authentication_element)
        *   [Get Link Authentication Element](/js/elements_object/get_link_authentication_element)
    *   [Address Element](/js/element/address\_element)
        *   [Create Address Element](/js/elements_object/create_address_element)
        *   [Get Address Element](/js/elements_object/get_address_element)
        *   [Update Address Element](/js/elements_object/update_address_element)
        *   [Get Value Address Element](/js/elements_object/get_value_address_element)
    *   [Tax ID Element](/js/element/tax\_id\_element)
        *   [Create Tax ID Element](/js/elements_object/create_tax_id_element)
        *   [Get Tax ID Element](/js/elements_object/get_tax_id_element)
        *   [Get Value Tax ID Element](/js/elements_object/get_value_tax_id_element)
    *   [Issuing Element](/js/element/issuing)
        *   [Create Issuing Element](/js/issuing\_elements/create)
    *   [Other Element](/js/element/other\_element)
        *   [Create Element](/js/elements_object/create_element)
        *   [Get Element](/js/elements_object/get_element)
    *   [Element Container](/js/element/the\_element\_container)
    *   [Input Validation](/js/element/input\_validation)
    *   [Postal Code Formatting](/js/element/postal\_code\_formatting)
*   **Element Methods**:
    *   [Mount Element](/js/element/mount)
    *   [Unmount Element](/js/element/unmount)
    *   [Update Element](/js/element/other\_methods/update)
    *   [Blur Element](/js/element/other\_methods/blur)
    *   [Clear Element](/js/element/other\_methods/clear)
    *   [Destroy Element](/js/element/other\_methods/destroy)
    *   [Focus Element](/js/element/other\_methods/focus)
    *   [Other Methods](/js/element/other\_methods)
*   **Element Events**:
    *   [Overview](/js/element/events)
    *   [on\_update\_end](/js/element/events/on_update_end)
    *   [on\_change](/js/element/events/on_change)
    *   [on\_ready](/js/element/events/on_ready)
    *   [on\_focus](/js/element/events/on_focus)
    *   [on\_blur](/js/element/events/on_blur)
    *   [on\_escape](/js/element/events/on_escape)
    *   [on\_click](/js/element/events/on_click)
    *   [on\_loaderror](/js/element/events/on_loaderror)
    *   [on\_loaderstart](/js/element/events/on_loaderstart)
    *   [on\_networkschange](/js/element/events/on_networkschange)
*   **Embedded Checkout**:
    *   [Embedded Checkout](/js/embedded_checkout)
    *   [Create Embedded Checkout](/js/embedded_checkout/create)
    *   [Mount Embedded Checkout](/js/embedded_checkout/mount)
    *   [Unmount Embedded Checkout](/js/embedded_checkout/unmount)
    *   [Destroy Embedded Checkout](/js/embedded_checkout/destroy)
*   **Custom Checkout**:
    *   [Custom Checkout](/js/custom_checkout)
    *   [Initialize Custom Checkout](/js/custom_checkout/init)
    *   [Checkout Object](/js/custom_checkout/checkout_object)
    *   [Session Object](/js/custom_checkout/session_object)
    *   [Session Updates](/js/custom_checkout/session)
    *   [Apply Promotion Code](/js/custom_checkout/apply_promotion_code)
    *   [Remove Promotion Code](/js/custom_checkout/remove_promotion_code)
    *   [Update Shipping Address](/js/custom_checkout/update_shipping_address)
    *   [Update Billing Address](/js/custom_checkout/update_billing_address)
    *   [Update Email](/js/custom_checkout/update_email)
    *   [Update Phone Number](/js/custom_checkout/update_phone_number)
    *   [Update Tax ID Info](/js/custom_checkout/update_tax_id_info)
    *   [Update Line Item Quantity](/js/custom_checkout/update_line_item_quantity)
    *   [Update Shipping Option](/js/custom_checkout/update_shipping_option)
    *   [Confirm Custom Checkout](/js/custom_checkout/confirm)
    *   [Run Server Update](/js/custom_checkout/run_server_update)
    *   [Custom Checkout Events](/js/custom_checkout/events)
    *   [Change Event](/js/custom_checkout/change_event)
    *   [Custom Checkout Elements**:
        *   [Overview](/js/custom_checkout/custom_checkout_elements)
        *   [Create Payment Element](/js/custom_checkout/create_payment_element)
        *   [Create Billing Address Element](/js/custom_checkout/create_billing_address_element)
        *   [Create Shipping Address Element](/js/custom_checkout/create_shipping_address_element)
        *   [Create Express Checkout Element](/js/custom_checkout/create_express_checkout_element)
        *   [Create Currency Selector Element](/js/custom_checkout/create_currency_selector_element)
        *   [Create Tax ID Element](/js/custom_checkout/create_tax_id_element)
        *   [Get Payment Element](/js/custom_checkout/get_payment_element)
        *   [Get Billing Address Element](/js/custom_checkout/get_billing_address_element)
        *   [Get Value Billing Address Element](/js/custom_checkout/get_value_billing_address_element)
        *   [Get Shipping Address Element](/js/custom_checkout/get_shipping_address_element)
        *   [Get Value Shipping Address Element](/js/custom_checkout/get_value_shipping_address_element)
        *   [Get Express Checkout Element](/js/custom_checkout/get_express_checkout_element)
        *   [Get Currency Selector Element](/js/custom_checkout/get_currency_selector_element)
    *   [Change Appearance](/js/custom_checkout/change_appearance)
    *   [Load Fonts](/js/custom_checkout/load_fonts)
    *   [Element Events**:
        *   [Overview](/js/custom_checkout/element_events)
        *   [on\_change](/js/custom_checkout/element_events/on_change)
        *   [on\_ready](/js/custom_checkout/element_events/on_ready)
        *   [on\_focus](/js/custom_checkout/element_events/on_focus)
        *   [on\_blur](/js/custom_checkout/element_events/on_blur)
        *   [on\_escape](/js/custom_checkout/element_events/on_escape)
        *   [on\_loaderror](/js/custom_checkout/element_events/on_loaderror)
        *   [on\_loaderstart](/js/custom_checkout/element_events/on_loaderstart)
        *   [on\_confirm](/js/custom_checkout/element_events/on_confirm)
        *   [on\_cancel](/js/custom_checkout/element_events/on_cancel)
*   **React Stripe.js**:
    *   [React Stripe.js](/js/react_stripe_js) - Integrate Stripe.js with React.
    *   [Checkout**:
        *   [Overview](/js/react_stripe_js/checkout)
        *   [Checkout Provider](/js/react_stripe_js/checkout/checkout_provider)
        *   [useCheckout Hook](/js/react_stripe_js/checkout/use_checkout)
        *   [Apply Promotion Code](/js/react_stripe_js/checkout/apply_promotion_code)
        *   [Remove Promotion Code](/js/react_stripe_js/checkout/remove_promotion_code)
        *   [Update Shipping Address](/js/react_stripe_js/checkout/update_shipping_address)
        *   [Update Billing Address](/js/react_stripe_js/checkout/update_billing_address)
        *   [Update Email](/js/react_stripe_js/checkout/update_email)
        *   [Update Phone Number](/js/react_stripe_js/checkout/update_phone_number)
        *   [Update Tax ID Info](/js/react_stripe_js/checkout/update_tax_id_info)
        *   [Update Line Item Quantity](/js/react_stripe_js/checkout/update_line_item_quantity)
        *   [Update Shipping Option](/js/react_stripe_js/checkout/update_shipping_option)
        *   [Confirm Checkout](/js/react_stripe_js/checkout/confirm)
        *   [Run Server Update](/js/react_stripe_js/checkout/run_server_update)
        *   [Payment Element](/js/react_stripe_js/checkout/payment_element)
        *   [Express Checkout Element](/js/react_stripe_js/checkout/express_checkout_element)
        *   [Billing Address Element](/js/react_stripe_js/checkout/billing_address_element)
        *   [Shipping Address Element](/js/react_stripe_js/checkout/shipping_address_element)
        *   [Currency Selector Element](/js/react_stripe_js/checkout/currency_selector_element)
        *   [Tax ID Element](/js/react_stripe_js/checkout/tax_id_element)
    *   [Elements**:
        *   [Overview](/js/react_stripe_js/elements)
        *   [Elements Provider](/js/react_stripe_js/elements/elements_provider)
        *   [Elements Provider without Payment Intent](/js/react_stripe_js/elements/elements_provider_without_intent)
        *   [useStripe Hook](/js/react_stripe_js/elements/use_stripe)
        *   [useElements Hook](/js/react_stripe_js/elements/use_elements)
        *   [Elements Consumer](/js/react_stripe_js/elements/elements_consumer)
        *   [Payment Element](/js/react_stripe_js/elements/payment_element)
        *   [Express Checkout Element](/js/react_stripe_js/elements/express_checkout_element)
        *   [Address Element](/js/react_stripe_js/elements/address_element)
        *   [Link Authentication Element](/js/react_stripe_js/elements/link_authentication_element)
        *   [Tax ID Element](/js/react_stripe_js/elements/tax_id_element)
        *   [Other Elements](/js/react_stripe_js/elements/other)
*   **Payment Intents**:
    *   [Payment Intents](/js/payment_intents)
    *   [Confirm Payment](/js/payment_intents/confirm_payment)
    *   [Payment Method](/js/payment_intents/payment_method)
    *   [Confirm Card Payment](/js/payment_intents/confirm_card_payment)
    *   [Confirm US Bank Account Payment](/js/payment_intents/confirm_us_bank_account_payment)
    *   [Confirm ACSS Debit Payment](/js/payment_intents/confirm_acss_debit_payment)
    *   [Confirm Affirm Payment](/js/payment_intents/confirm_affirm_payment)
    *   [Confirm Afterpay Clearpay Payment](/js/payment_intents/confirm_afterpay_clearpay_payment)
    *   [Confirm Alipay Payment](/js/payment_intents/confirm_alipay_payment)
    *   [Confirm AU BECS Debit Payment](/js/payment_intents/confirm_au_becs_debit_payment)
    *   [Confirm Bancontact Payment](/js/payment_intents/confirm_bancontact_payment)
    *   [Confirm BLIK Payment](/js/payment_intents/confirm_blik_payment)
    *   [Confirm Boleto Payment](/js/payment_intents/confirm_boleto_payment)
    *   [Confirm Customer Balance Payment](/js/payment_intents/confirm_customer_balance_payment)
    *   [Confirm Cash App Payment](/js/payment_intents/confirm_cashapp_payment)
    *   [Confirm EPS Payment](/js/payment_intents/confirm_eps_payment)
    *   [Confirm FPX Payment](/js/payment_intents/confirm_fpx_payment)
    *   [Confirm Giropay Payment](/js/payment_intents/confirm_giropay_payment)
    *   [Confirm GrabPay Payment](/js/payment_intents/confirm_grabpay_payment)
    *   [Confirm iDEAL Payment](/js/payment_intents/confirm_ideal_payment)
    *   [Confirm Klarna Payment](/js/payment_intents/confirm_klarna_payment)
    *   [Confirm Konbini Payment](/js/payment_intents/confirm_konbini_payment)
    *   [Confirm MB WAY Payment](/js/payment_intents/confirm_mb_way_payment)
    *   [Confirm MobilePay Payment](/js/payment_intents/confirm_mobilepay_payment)
    *   [Confirm Multibanco Payment](/js/payment_intents/confirm_multibanco_payment)
    *   [Confirm OXXO Payment](/js/payment_intents/confirm_oxxo_payment)
    *   [Confirm P24 Payment](/js/payment_intents/confirm_p24_payment)
    *   [Confirm Pay by Bank Payment](/js/payment_intents/confirm_pay_by_bank_payment)
    *   [Confirm PayNow Payment](/js/payment_intents/confirm_paynow_payment)
    *   [Confirm PayPal Payment](/js/payment_intents/confirm_paypal_payment)
    *   [Confirm PayTo Payment](/js/payment_intents/confirm_payto_payment)
    *   [Confirm Pix Payment](/js/payment_intents/confirm_pix_payment)
    *   [Confirm PromptPay Payment](/js/payment_intents/confirm_promptpay_payment)
    *   [Confirm SEPA Debit Payment](/js/payment_intents/confirm_sepa_debit_payment)
    *   [Confirm Sofort Payment](/js/payment_intents/confirm_sofort_payment)
    *   [Confirm TWINT Payment](/js/payment_intents/confirm_twint_payment)
    *   [Confirm UPI Payment](/js/payment_intents/confirm_upi_payment)
    *   [Confirm WeChat Pay Payment](/js/payment_intents/confirm_wechat_pay_payment)
    *   [Confirm Zip Payment](/js/payment_intents/confirm_zip_payment)
    *   [Retrieve Payment Intent](/js/payment_intents/retrieve_payment_intent)
    *   [Verify Microdeposits for Payment](/js/payment_intents/verify_microdeposits_for_payment)
    *   [Create Radar Session](/js/payment_intents/create_radar_session)
    *   [Handle Next Action](/js/payment_intents/handle_next_action)
    *   [Handle Card Action](/js/payment_intents/handle_card_action)
    *   [Collect Bank Account for Payment](/js/payment_intents/collect_bank_account_for_payment)
*   **Setup Intents**:
    *   [Setup Intents](/js/setup_intents)
    *   [Confirm Setup](/js/setup_intents/confirm_setup)
    *   [Payment Method](/js/setup_intents/payment_method)
    *   [Confirm Card Setup](/js/setup_intents/confirm_card_setup)
    *   [Confirm US Bank Account Setup](/js/setup_intents/confirm_us_bank_account_setup)
    *   [Confirm ACSS Debit Setup](/js/setup_intents/confirm_acss_debit_setup)
    *   [Confirm AU BECS Debit Setup](/js/setup_intents/confirm_au_becs_debit_setup)
    *   [Confirm BACS Debit Setup](/js/setup_intents/confirm_bacs_debit_setup)
    *   [Confirm Bancontact Setup](/js/setup_intents/confirm_bancontact_setup)
    *   [Confirm Cash App Setup](/js/setup_intents/confirm_cashapp_setup)
    *   [Confirm iDEAL Setup](/js/setup_intents/confirm_ideal_setup)
    *   [Confirm Klarna Setup](/js/setup_intents/confirm_klarna_setup)
    *   [Confirm PayPal Setup](/js/setup_intents/confirm_paypal_setup)
    *   [Confirm PayTo Setup](/js/setup_intents/confirm_payto_setup)
    *   [Confirm SEPA Debit Setup](/js/setup_intents/confirm_sepa_debit_setup)
    *   [Confirm Sofort Setup](/js/setup_intents/confirm_sofort_setup)
    *   [Retrieve Setup Intent](/js/setup_intents/retrieve_setup_intent)
    *   [Verify Microdeposits for Setup](/js/setup_intents/verify_microdeposits_for_setup)
    *   [Handle Next Action](/js/setup_intents/handle_next_action)
    *   [Collect Bank Account for Setup](/js/setup_intents/collect_bank_account_for_setup)
*   **Payment Request**:
    *   [Payment Request](/js/payment_request)
    *   [Create Payment Request](/js/payment_request/create)
    *   [Can Make Payment](/js/payment_request/can_make_payment)
    *   [Show Payment Request](/js/payment_request/show)
    *   [Update Payment Request](/js/payment_request/update)
    *   [Payment Request Events**:
        *   [Overview](/js/payment_request/events)
        *   [on\_token](/js/payment_request/events/on_token)
        *   [on\_paymentmethod](/js/payment_request/events/on_paymentmethod)
        *   [on\_source](/js/payment_request/events/on_source)
        *   [on\_cancel](/js/payment_request/events/on_cancel)
        *   [on\_shipping\_address\_change](/js/payment_request/events/on_shipping_address_change)
        *   [on\_shipping\_option\_change](/js/payment_request/events/on_shipping_option_change)
*   **Confirmation Tokens**:
    *   [Confirmation Tokens](/js/confirmation_tokens)
    *   [Create Confirmation Token](/js/confirmation_tokens/create_confirmation_token)
*   **Payment Methods**:
    *   [Payment Methods](/js/payment_methods)
    *   [Create Payment Method](/js/payment_methods/create_payment_method)
    *   [Create Payment Method Elements](/js/payment_methods/create_payment_method_elements)
*   **Tokens**:
    *   [Tokens](/js/tokens)
    *   [Create Token](/js/tokens/create_token)
*   **Identity**:
    *   [Identity Modal](/js/identity/modal)
*   **Issuing**:
    *   [Create Issuing Ephemeral Key Nonce](/js/issuing/create_ephemeral_key_nonce)
    *   [Retrieve Issuing Card](/js/issuing/retrieve_issuing_card)
*   **Financial Connections**:
    *   [Financial Connections](/js/financial_connections)
    *   [Collect Financial Connections Accounts](/js/financial_connections/collect_financial_connections_accounts)
    *   [Collect Bank Account Token](/js/financial_connections/collect_bank_account_token)
*   **Retrieve Card Networks**:
    *   [Overview](/js/retrieve_card_networks/intro)
    *   [Retrieve Card Networks](/js/retrieve_card_networks)
*   **Appendix**:
    *   [CSS Font Source Object](/js/appendix/css_font_source_object)
    *   [Custom Font Source Object](/js/appendix/custom_font_source_object)
    *   [Payment Item Object](/js/appendix/payment_item_object)
    *   [Payment Response](/js/appendix/payment_response)
    *   [Shipping Option](/js/appendix/shipping_option)
    *   [Style Object](/js/appendix/style)
    *   [Update Details](/js/appendix/update_details)
    *   [Supported Browsers](/js/appendix/supported_browsers)
    *   [Cross-Origin Isolation](/js/appendix/cross_origin_isolation)
    *   [Supported Locales](/js/appendix/supported_locales)
    *   [Cookies](/js/appendix/cookies)
    *   [Viewport Meta Requirements](/js/appendix/viewport_meta_requirements)
*   **Deprecated**:
    *   [Handle Card Payment Element](/js/deprecated/handle_card_payment_element)
    *   [Handle Card Payment](/js/deprecated/handle_card_payment)
    *   [Confirm Payment Intent Element](/js/deprecated/confirm_payment_intent_element)
    *   [Confirm Payment Intent](/js/deprecated/confirm_payment_intent)
    *   [Handle Card Setup Element](/js/deprecated/handle_card_setup_element)
    *   [Handle Card Setup](/js/deprecated/handle_card_setup)
    *   [Confirm Setup Intent Element](/js/deprecated/confirm_setup_intent_element)
    *   [Confirm Setup Intent](/js/deprecated/confirm_setup_intent)
    *   [Handle FPX Payment](/js/deprecated/handle_fpx_payment)
    *   [Sources](/js/deprecated/sources)
    *   [Create Source](/js/deprecated/sources/create_source)
    *   [Create Source Data](/js/deprecated/sources/create_source_data)
    *   [Retrieve Source](/js/deprecated/sources/retrieve_source)