Skip to content

📝 Add guide for setting partner fees#792

Open
MattPoblete wants to merge 1 commit intomainfrom
docs/fee-config
Open

📝 Add guide for setting partner fees#792
MattPoblete wants to merge 1 commit intomainfrom
docs/fee-config

Conversation

@MattPoblete
Copy link
Collaborator

Summary

  • Add new documentation guide explaining how to set and update partner fees via the DeFindex SDK
  • Update SUMMARY.md to include the new guide in the navigation

Closes #786

Copilot AI review requested due to automatic review settings February 12, 2026 11:18
@vercel
Copy link

vercel bot commented Feb 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
defindex-dapp Ready Ready Preview, Comment Feb 12, 2026 11:21am
defindex-landing Ready Ready Preview, Comment Feb 12, 2026 11:21am
defindex-rust-docs Ready Ready Preview, Comment Feb 12, 2026 11:21am

Request Review

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new API integration guide that documents how partners can view and manage vault fee settings (fee rate, fee receiver, and fee distribution) and links it into the docs navigation.

Changes:

  • Added a new “Setting Partner Fees” guide with step-by-step API calls and workflow summary.
  • Updated the docs table of contents to include the new guide under “Guides and Tutorials”.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
apps/docs/api-integration-guide/guides-and-tutorials/setting-partner-fees.md New guide describing partner fee configuration and distribution flows via API endpoints.
apps/docs/SUMMARY.md Adds the new guide to the GitBook navigation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


```bash
curl -X GET "https://api.defindex.io/vault/YOUR_VAULT_ADDRESS?network=mainnet" \
-H "Authorization: Bearer YOUR_JWT_TOKEN"
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The guide’s prerequisites call this credential an “API key”, but the curl examples use YOUR_JWT_TOKEN. Elsewhere in the docs (e.g., API guide / troubleshooting) the value passed in Authorization: Bearer … is the API key itself (typically sk_…), not a JWT. Consider renaming the placeholder to YOUR_API_KEY (or similar) throughout this guide and adjusting the surrounding text so readers don’t think they need an extra JWT-exchange step.

Suggested change
-H "Authorization: Bearer YOUR_JWT_TOKEN"
-H "Authorization: Bearer YOUR_API_KEY"

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs] Add guide to change parner fee

2 participants