API de Pagamentos
Criar pagamento manual
http
POST /api/payments
Authorization: Bearer {token}
Content-Type: application/json
{
"lead_id": "uuid",
"amount_cents": 1500000,
"payment_method": "pix",
"product_name": "Mentoria Premium",
"status": "paid",
"paid_at": "2026-05-22"
}Listar pagamentos
http
GET /api/payments?start=2026-05-11&end=2026-06-10
Authorization: Bearer {token}Listar vendas
http
GET /api/sales?start=2026-05-11&end=2026-06-10
Authorization: Bearer {token}