This documentation provides a reference to the updatePaymentSession method. This belongs to the Payment Module.
updatePaymentSession
This method updates a payment session.
Code1const paymentSession =2 await paymentModuleService.updatePaymentSession({3 id: "payses_123",4 currency_code: "usd",5 amount: 3000,6 data: {},7 })
1const paymentSession =2 await paymentModuleService.updatePaymentSession({3 id: "payses_123",4 currency_code: "usd",5 amount: 3000,6 data: {},7 })
data
sharedContext
Promise