Integration with serverless & AWS Api Gateway/Marketplace

Hello,

I just came across the possibility to sell one’s API Gateway API via AWS marketplace. This means I could sell API calls to my AWS lambda function written in serverless.

Has anyone ever done this in combination with serverless? Did it work properly?

Are there other useful approaches, if you do not want to push your lambda on the serverless repository, because you do not want to share the data or the code inside the lambda.

Thanks for any help and pointers.

–Alex