FOR DEVELOPERS
GramPayBot API and webhooks
Integrate the product with API-token authentication, invoice creation and lookup, and signed webhooks. Examples for curl, Node.js, Python, Go and PHP.
Quickstart: authenticate and create an invoice
Get an API token, call createInvoice and open the returned checkout URL.
Open ↗API reference
getMe, createInvoice, getInvoice, getInvoices, cancelInvoice/deleteInvoice and getStats.
Open ↗Webhooks: signatures, verification and retries
Webhook headers, raw-body HMAC verification, setup audit, retries and endpoint disabling.
Open ↗Events and payload shapes
Invoice events, billing events and the exact distinction between their JSON bodies.
Open ↗Integration examples
Copy-ready patterns for createInvoice and raw-body webhook signature verification.
Open ↗