I think eCash could be a better fit for these. Publishers and Consumers of API join same mint, fund with LN, then consumer passes eCash token to Publisher for access.
The problem using LN in such scenarios is routing fails enough to make it unusable (even if routing only fails 5% of time, for a commercial service it becomes unusable)
Indeed, this seems like the perfect use case for cashu/fedimint , maybe sulu could be the mint here, since you are already giving trust to the service anyway.
reply