authority_certify_credits
Certify a purchase order: return a Schnorr-signed Nostr event certificate.
The paid_tool decorator handles the ad valorem fee debit and stores the cost in runtime._last_debit_cost. No recomputation needed.
Called by operator MCP servers (not end users) when a patron purchases credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npub | No | The operator's DPYC npub (from register_operator response). | |
| dpop_token | No | ||
| amount_sats | No | The total purchase amount in satoshis. Must be positive. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||