This directory contains the complete documentation for the Paycrest Protocol, built with Mintlify.
"To accelerate the creation of democratized payment systems of the future"
Paycrest is building the infrastructure for a more inclusive, transparent, and efficient global payment ecosystem. Our documentation reflects this mission by providing comprehensive, accessible resources for developers, providers, and users of the protocol.
docs/
├── docs.json # Mintlify configuration (navigation, theme)
├── openapi-v1.yaml # OpenAPI spec — legacy v1 API
├── openapi-v2.yaml # OpenAPI spec — current v2 API
├── logo/ # Brand assets
│ ├── dark.svg
│ └── light.svg
├── introduction.mdx # Main introduction page
├── quickstart.mdx # Getting started guide
├── protocol-overview.mdx # Protocol architecture overview
├── concepts/ # Core concept pages
│ └── participants.mdx # Protocol participants
├── api-reference/ # API documentation
│ └── introduction.mdx # API reference introduction
├── implementation/ # Implementation guides
├── guides/ # How-to guides
└── protocol/ # Protocol governance
- Node.js 16+ installed
- Mintlify CLI installed
- Install Mintlify CLI:
npm install -g mintlify- Install dependencies:
npm installStart the development server:
mintlify devThe documentation will be available at http://localhost:3000.
- Introduction: Overview of the Paycrest Protocol
- Quickstart: Step-by-step guide to create your first payment order
- Protocol Overview: Deep dive into architecture and components
- Participants: Understanding Senders, Recipients, Providers, and Aggregators
- Architecture: Technical architecture and component interactions
- Order Lifecycle: How payment orders flow through the system
- KYC/KYB: Identity verification and compliance requirements
- Introduction: API authentication, endpoints, and usage
- Sender Endpoints: Create and manage payment orders
- Provider Endpoints: Fulfill orders and manage liquidity
- General Endpoints: Protocol information and utilities
- Aggregator Setup: Deploy and configure aggregator nodes
- Provider Setup: Set up provider infrastructure and PSP integrations
- Sender Integration: Integrate the Paycrest API into your application
- Smart Contracts: Understanding the Gateway contract and interactions
- Creating Payment Orders: Best practices for order creation
- Fulfilling Orders: How providers fulfill payment orders
- Multi-Chain Support: Working with different blockchain networks
- Security Best Practices: Security considerations and recommendations
- PIP-0 Overview: Protocol Improvement Proposal overview
- Governance: Protocol governance and decision-making
- Security Considerations: Security model and considerations
The main configuration file that defines:
- Navigation structure: How pages are organized (including version tabs)
- Branding: Logo, colors, and theme
- Social links: GitHub, Community, etc.
Split OpenAPI specs (v1 legacy vs v2 current) that define:
- API endpoints for that version
- Request/response schemas
- Authentication: API key (
API-Keyheader) - Examples used by Mintlify API pages
API Reference .mdx files reference the appropriate file in frontmatter (e.g. openapi: "openapi-v2.yaml POST /sender/orders").
- Create a new
.mdxfile in the appropriate directory - Add frontmatter with title and description
- Update
docs.jsonnavigation to include the new page
The documentation uses Mintlify's built-in components:
<Card>: For feature highlights<Steps>: For step-by-step guides<Note>: For important information<CodeGroup>: For multi-language code examples
The API documentation is generated from openapi-v1.yaml / openapi-v2.yaml and the api-reference/**/*.mdx pages. To update:
- Modify the correct spec file for the version you are changing
- Restart or refresh local preview; changes show under API Reference
- Push changes to the repository
- Mintlify will automatically build and deploy
- The documentation will be available at your configured domain
- Configure your domain in the Mintlify dashboard
- Update DNS settings as instructed
- The documentation will be available at your custom domain
- Create a new
.mdxfile - Follow the existing structure and formatting
- Include frontmatter with title and description
- Update navigation in
docs.json
- Modify
openapi-v1.yamland/oropenapi-v2.yaml(and any linked MDXopenapi:frontmatter) - Test locally with
mintlify dev
When adding code examples:
- Use syntax highlighting for the appropriate language
- Include comments explaining the code
- Provide examples for multiple languages when possible
- Test the examples to ensure they work
For documentation issues or questions:
- GitHub: Create an issue in the repository
- Discord: Ask in the #documentation channel
- Email: Contact the documentation team
This documentation is licensed under the same license as the Paycrest Protocol.