Back to Docs

LLM Reference

A comprehensive, plain-text reference document designed for Large Language Models (ChatGPT, Claude, Gemini, etc.) to understand DGateway's full API surface. Feed this to your AI assistant so it can help you integrate DGateway.

Copy the full reference

Copy the entire LLM reference to your clipboard and paste it into any AI chat as context.

Direct URL for LLMs

Point your AI tool directly to the raw text file. Works with tools that support URL fetching.

dgateway.desispay.com/llms.txt

What's Included

All API endpoints with HTTP methods
Full request & response JSON schemas
Provider capabilities & currency routing
Transaction lifecycle & status flow
Subscription plans & billing cycles
Wallet balances & withdrawal logic
Webhook events & formats
Integration examples (Node, Go, PHP, Python, Rust, cURL)
Error codes & rate limits
Common use cases & patterns

Example Prompts for Your AI

"Using the DGateway reference above, write a Next.js API route that collects a mobile money payment and polls for completion."
"Based on the DGateway docs, create a Laravel controller that sets up recurring monthly billing with subscriptions."
"Help me build a Python script that checks my DGateway wallet balance and initiates a withdrawal if above 500,000 UGX."
"Using DGateway, write a Go function that creates a subscription plan and subscribes a customer with a 7-day trial."

Preview

Click "Show Full Reference" to preview the document, or copy it directly.