> For the complete documentation index, see [llms.txt](https://richnologies.gitbook.io/ngx-stripe/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://richnologies.gitbook.io/ngx-stripe/core-concepts/service.md).

# Service

Once imported, you can inject the `StripeService` anywhere you need. The stripe script will be loaded the first time the service is injected.

The stripe service exposes the same methods as the **StripeJS** instance but with typescript types. The API is based on **Observables** so it can be combined with other actions.

This is a full list of the methods available in the Stripe Service. In the future more details will be added to this docs. In the mean time you can check the official StripeJS [docs](https://stripe.com/docs/js) for more details:

#### confirmAuBecsDebitPayment

#### [confirmBancontactPayment](https://stripe.com/docs/js/payment_intents/confirm_bancontact_payment)

#### [confirmCardPayment](https://stripe.com/docs/js/payment_intents/confirm_card_payment)

#### [confirmEpsPayment](https://stripe.com/docs/js/payment_intents/confirm_eps_payment)

#### [confirmFpxPayment](https://stripe.com/docs/js/payment_intents/confirm_fpx_payment)

#### [confirmGiropayPayment](https://stripe.com/docs/js/payment_intents/confirm_giropay_payment)

#### [confirmIdealPayment](https://stripe.com/docs/js/payment_intents/confirm_ideal_payment)

#### [confirmP24Payment](https://stripe.com/docs/js/payment_intents/confirm_p24_payment)

#### [confirmSepaDebitPayment](https://stripe.com/docs/js/payment_intents/confirm_sepa_debit_payment)

#### [handleCardAction](https://stripe.com/docs/js/payment_intents/handle_card_action)

#### [createPaymentMethod](https://stripe.com/docs/js/payment_methods/create_payment_method)

#### [retrievePaymentIntent](https://stripe.com/docs/js/payment_intents/retrieve_payment_intent)

#### confirmAuBecsDebitSetup

#### [confirmCardSetup](https://stripe.com/docs/js/setup_intents/confirm_card_setup)

#### [confirmSepaDebitSetup](https://stripe.com/docs/js/setup_intents/confirm_sepa_debit_setup)

#### [retrieveSetupIntent](https://stripe.com/docs/js/setup_intents/retrieve_setup_intent)

#### [paymentRequest](https://stripe.com/docs/js/payment_request/create)

#### [createToken](https://stripe.com/docs/js/tokens_sources/create_token?type=cardElement)

#### [createSource](https://stripe.com/docs/js/tokens_sources/create_source)

#### [retrieveSource](https://stripe.com/docs/js/tokens_sources/retrieve_source)

#### \[DEPRECATED] [handleCardPayment](https://stripe.com/docs/js/deprecated/handle_card_payment_element)

#### \[DEPRECATED] [confirmPaymentIntent](https://stripe.com/docs/js/deprecated/confirm_payment_intent_element)

#### \[DEPRECATED] [handleCardSetup](https://stripe.com/docs/js/deprecated/handle_card_setup)

#### \[DEPRECATED] [confirmSetupIntent](https://stripe.com/docs/js/deprecated/confirm_setup_intent)

#### \[DEPRECATED] [handleFpxPayment](https://stripe.com/docs/js/deprecated/handle_fpx_payment)
