- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
createPaymentSession - Payment Module Reference
This documentation provides a reference to the createPaymentSession
method. This belongs to the Payment Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead .
This method creates a payment session in a payment collection.
Example#
Parameters#
paymentCollectionId
stringThe ID of the payment collection to create the session for.
The details of the payment session.
Returns#
Promise
Promise<PaymentSessionDTO>The payment collection's details.
Promise
Promise<PaymentSessionDTO>Was this page helpful?