{
    "name": "Gr4vy Payment API",
    "version": "1.0.0",
    "status": "active",
    "payment_flow": {
        "1. Create Session": "POST \/api\/sessions",
        "2. Use Embed": "Frontend integration with returned token",
        "3. Check Status": "GET \/api\/payments\/{transaction_id}"
    },
    "endpoints": {
        "GET \/": "API information",
        "GET \/api\/health": "Health check",
        "POST \/api\/sessions": "Create checkout session & get embed token",
        "GET \/api\/payments\/{id}": "Get payment status",
        "GET \/api\/payment-methods": "List available payment methods info",
        "POST \/api\/transactions": "Direct transactions (requires saved payment methods)"
    },
    "recommended_flow": "Use sessions + embed for new payments"
}