I haven’t paid close attention to the GraphQL mutations for creating items with respect to paying invoices on demand. Is it the case that as long as your account has an external spending wallet configured, the spending wallet should be used automatically and an API client shouldn’t have to do anything with the spending wallet directly?
Edit: I’m asking for my automated bot comments. They’ve been mostly working with my external spending wallet configured, but occasionally they fail and I notice that in my notifications later
100 sats \ 1 reply \ @k00b OP 15 Oct
For automated things I’d use cowboy credits which won’t require additional work.
If your account doesn’t have enough cowboy credits to perform the action, the response returns an invoice that needs to be paid by the client (we don’t store spending permissions on the server). If the invoice goes unpaid we send that notification.
reply
Thank you, I think that all makes sense. And I should have remembered that spending permissions aren’t stored!
reply