Skip to content

Update API docs for session-based billing#110

Open
mintlify[bot] wants to merge 3 commits intomainfrom
mintlify/gateway-config-docs-1774365568
Open

Update API docs for session-based billing#110
mintlify[bot] wants to merge 3 commits intomainfrom
mintlify/gateway-config-docs-1774365568

Conversation

@mintlify
Copy link
Contributor

@mintlify mintlify bot commented Mar 24, 2026

Summary

  • Updated gateway API docs to document session-based billing as a third payment method alongside MPP and Stripe
  • Added new request headers (X-Session-Id, X-Wallet-Address) and response headers (X-Session-Remaining, updated Payment-Receipt)
  • Documented new session-specific error codes (session_required, session_invalid, insufficient_balance, voucher_failed)
  • Added wallet top-up endpoint documentation for Stripe-funded session deposits
  • Updated MPP payments page to describe how sessions integrate with the gateway auto-debit flow
  • Updated default gateway plugin from generate-text to agent and corrected CORS allowed headers

@mintlify
Copy link
Contributor Author

mintlify bot commented Mar 24, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
Agentbot 🟢 Ready View Preview Mar 24, 2026, 3:23 PM

@vercel
Copy link

vercel bot commented Mar 24, 2026

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

Project Deployment Actions Updated (UTC)
mintlify-docs Ready Ready Preview, Comment Mar 24, 2026 10:04pm

Request Review

@mintlify mintlify bot changed the title Update gateway API defaults and CORS settings Update API docs for session-based billing Mar 24, 2026
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.

0 participants