Skip to main content
Skip to main content

updatePaymentSession - Payment Module Reference

This documentation provides a reference to the updatePaymentSession method. This belongs to the Payment Module.

This method updates a payment session.

Example

const paymentSession =
await paymentModuleService.updatePaymentSession({
id: "payses_123",
currency_code: "usd",
amount: 3000,
data: {},
})

Parameters

The attributes to update in the payment session.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<PaymentSessionDTO>Required
The payment session's details.
Was this section helpful?