Document agent BTCPay connect (sandbox, scoped key)
Add the "Connect BTCPay programmatically" agent workflow and a payment_providers:write extra-scope note to agent.html; correct the "not exposed to agents" section to the accurate gate (scoped connect is sandbox + non-mainnet only; disconnect and production/mainnet stay master-only). Fix the BTCPay permission list in install.html to the five permissions the daemon actually requests, and point operators at the agent path.
This commit is contained in:
+5
-1
@@ -88,9 +88,11 @@
|
||||
<p>In Keysat’s service page, click <strong>Actions → Connect BTCPay</strong>. You’ll be redirected to BTCPay’s authorize page, where you grant Keysat the permissions it needs:</p>
|
||||
|
||||
<ul>
|
||||
<li><code>btcpay.store.canviewstoresettings</code></li>
|
||||
<li><code>btcpay.store.canmodifystoresettings</code> (to register the settle webhook)</li>
|
||||
<li><code>btcpay.store.canviewinvoices</code></li>
|
||||
<li><code>btcpay.store.cancreateinvoice</code></li>
|
||||
<li><code>btcpay.store.canmodifywebhooks</code></li>
|
||||
<li><code>btcpay.store.canmodifyinvoices</code></li>
|
||||
</ul>
|
||||
|
||||
<p>Once you confirm, BTCPay redirects back to Keysat with an API key and store id. Keysat:</p>
|
||||
@@ -105,6 +107,8 @@
|
||||
<p><strong>Connect is idempotent.</strong> If you click it again later, Keysat detects the existing connection and returns success without re-authorizing. To force a re-authorize, run the <strong>Disconnect BTCPay</strong> action first.</p>
|
||||
</div>
|
||||
|
||||
<p>Automating setup? On a <strong>sandbox</strong> daemon you can connect a non-mainnet BTCPay over the API instead of clicking, using a scoped key carrying the <code>payment_providers:write</code> scope. See <a href="agent.html#connect-btcpay">Agent integration: Connect BTCPay programmatically</a>.</p>
|
||||
|
||||
<p>Click <strong>Actions → Check BTCPay connection</strong> to verify the wiring. It should report:</p>
|
||||
|
||||
<pre class="code"><span class="c"># Expected output:</span>
|
||||
|
||||
Reference in New Issue
Block a user