Beesknees Pay Charity
beesknees_pay_charityOperator: pay everything owed to the charity, in one Lightning payment.
restricted, so the runtime requires the caller to be the operator, proven.
The charity share accrues match by match and settles as a batch, which is the shape this always needed: a single match's share can be smaller than the fee floor it would cost to route, so paying per match can cost more than it delivers.
Every unpaid leg is claimed in ONE statement before the sats move, on the
same primary key a single-match pay_out uses — so the two cannot pay the
same match twice, and a second press collides on the key rather than at the
node. The accounting stays per match while the payment happens once.
A failure after the claim marks those legs failed rather than deleting them, so the debt comes back on its own and the attempt stays on the record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npub | No | Required. Your Nostr public key (npub1...) for credit billing. | |
| dpop_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||