Using Wix booking app to store a service and using a difference price for it at checkout

Hi guys,
I am stuck in a serious problem and I have tried multiple solutions but did not succeed.

I am using Wix Studios editor.

The problem:

I have a service in Wix bookings app, I have created a custom bookings page to book that service and used wix pay api as checkout. The price for the service in the bookings app is $50, but on the customized bookings page, I am doing calculations based on number of people and days of the week, For example,

1 person and Day is monday, Price will be $50.
2 people and for Saturday, price will be $200.

Now I needed to create checkout using this price, which I managed to do by passing total price to wix api but I wasnt able to complete the booking.

Is it something not doable on wix? Can’t we receive custom online payments other than those that are fed in the bookings app itself?

PLEASE HELP

Hi, this is Carmel from the Wix Bookings team.

Please check and use the pricing SPI to do so. Her’s also a Velo example.

I hope this helps:)
Carmel and the Bookings team