You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@dmdeveloppement/directus-endpoint-stripe

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dmdeveloppement/directus-endpoint-stripe

Directus endpoint for gateway for stripe informations

1.6.1
latest
npmnpm
Version published
Weekly downloads
23
53.33%
Maintainers
0
Weekly downloads
 
Created
Source

directus-endpoint-stripe

Proxies, webhook, endpoints

Endpoints

/stripe/pricing: Fomated products[plans] for pricing page

/stripe/create-checkout-session: Create sessions checkout stripe

/stripe/check-session: Check session informations

Proxies

Proxy informations from stripe

  • plans /stripe/plans
  • products /stripe/products

Webhook

Events

checkout.session.completed

Occurs when a Checkout Session has been successfully completed. Because a checkout session completed could potentially result in a failed payment, we can update the user's payment details here, but confirm credits or a subscription if the payment succeeds in other, more specific, webhooks.

invoice.paid

Occurs whenever an invoice payment attempt succeeds or an invoice is marked as paid out-of-band. This is called when a subscription is purchased or renewed and payment succeeds.

customer.subscription.updated

Occurs whenever a subscription changes (e.g., switching from one plan to another, or changing the status from trial to active)

customer.subscription.deleted

Occurs whenever a customer’s subscription ends.

Keywords

directus

FAQs

Package last updated on 18 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts