pull down to refresh
Thanks! For now, I've configured the amount field as an environment variable, but I plan to make it configurable per API directly from nginx.conf. Alternatively, I might explore a way to make the amount dynamic, similar to how Aperture handles it.
reply
If you can make it configurable per API using redis/memcache as source of invoice amt, that would be awesome.
reply
If you can make it configurable per API using redis/memcache as source of invoice amt, that would be awesome.
Thank you, that’s a great suggestion, especially for handling dynamic pricing. I’ve created an issue for it and look forward to working on it.
reply
👍
reply
/api/predictions/buy
, each unique API calls would require different sats amount to be paid. The sats amount/invoice can be passed in the http header.