Skip to content

Commit 6a45b24

Browse files
committed
Merge branch 'feature/jss-134-nagadocs-improve-payment-docs-to-explain-how-it-works' of github.com:LIT-Protocol/js-sdk into feature/jss-134-nagadocs-improve-payment-docs-to-explain-how-it-works
2 parents 1701eec + d69c453 commit 6a45b24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/sdk/getting-started/payment-manager-setup.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ If your app previously minted Capacity Credits and handed users a `CapacityDeleg
109109
- **Manual (no Auth Service)** – generate a wallet yourself (e.g. `privateKeyToAccount`) and store the private key securely; you’ll call the Payment Manager directly in the next step.
110110
3. **Delegate end-user addresses** – map users to the payer:
111111
- Using an Auth Service: POST to `authService.add-users`.
112-
- Manual route: call `paymentManager.delegatePayments*` with your server-side account; this writes to the same Payment Delegation contract.
112+
- Manual route: call `paymentManager.delegatePayments` (for a single user) or `paymentManager.delegatePaymentsBatch` (for multiple users) with your server-side account; this writes to the same Payment Delegation contract.
113113

114114
<Note>
115115
For production environments we recommend running your own Auth Service (self-hosted) so you retain full custody over the `LIT_DELEGATION_ROOT_MNEMONIC` and derivation secrets. The Lit-hosted Auth Service is handy for prototypes and quick starts, but you still remain responsible for storing the returned `payerSecretKey` securely.

0 commit comments

Comments
 (0)