- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Payment Module
The Payment Module provides payment-related features in your Medusa and Node.js applications.
How to Use Payment Module's Service#
You can use the Payment Module's main service by resolving from the Medusa container the resource Modules.PAYMENT
.
For example:
Features#
Add Payment Functionalities to Any Resource#
The Payment Module provides payment functionalities that allow you to process payment of any resource, such as a cart.
All payment processing starts with creating a payment collection, which carries information for authorized, captured, and refunded payments for a single resource.
Authorize, Capture, and Refund Payment#
Receive and handle payments, including authorizing, capturing, and refunding payment.
Integrate Third-Party Payment Providers#
Use payment providers like Stripe to handle and process payments.
Handle Webhook Events#
The Payment Module allows you to handle webhook events from third-party providers and process the associated payment.
Configure Payment Module#
Refer to this documentation for details on the module's options.