PARA DESARROLLADORES
API y webhooks de GramPayBot
Integra autenticación por token de API, creación y consulta de facturas y webhooks firmados. Ejemplos en curl, Node.js, Python, Go y PHP.
Inicio rápido: autenticación y primera factura
Obtén token, crea factura y usa la URL devuelta.
Abrir ↗Referencia de la API
getMe, createInvoice, getInvoice, getInvoices, cancelInvoice y getStats.
Abrir ↗Webhooks: firma, prueba y reintentos
HMAC-SHA256, auditoría de tres peticiones y entrega.
Abrir ↗Eventos y formatos de payload
Formas JSON reales para invoice, billing y test.
Abrir ↗Ejemplos de integración
Creación y verificación de raw body.
Abrir ↗